4

In a Class of its own – the .NET Zip Library

The .NET Framework contains several hundreds of classes, yet something is missing: there is no class for compressing and decompressing Zip archives. This omission however can be made up for by using the .NET Zip Library (NZipLib) – it supports… Continue Reading

1,287

Directory Browsing the .NET Way

Enumerating Drives The first thing we should find out is which drives actually are available for browsing on the computer (listdrives.aspx): <% @Page Language=”C#” %> <% @Import Namespace=”System.IO” %> <% string[] achDrives = Directory.GetLogicalDrives(); int nNumOfDrives = achDrives.Length; Response.Write(“<ul>”); for… Continue Reading

83

Expose WCF 4.0 Service as SOAP and REST

WCF services in enterprises are used for developing distributed enterprise application. There are lots of advantages of using WCF services. WCF service can be exposed on multiple endpoints e.g. HTTP, TCP etc. and the client applications have a choice to… Continue Reading