Single Instance Management in WCF

Objective This article is part # 3 of Instance Management in WCF. This article will explain about Singleton Service Instance mode. This article will give theoretical introduction and explanation of coding sample also. It will also discuss about various disadvantages of Singleton Service Instance mode and its potential place of uses. Part # 1 ofContinueContinue reading “Single Instance Management in WCF”

Streaming in WCF

Objective In this article, I am going to explain various aspects of streaming of messages in WCF. For example; I/O Streams Streaming and Binding Streaming and Transport channel Stream management Why we need Streaming? In WCF any receiving message is delivered only once entire message has been received. What I mean here is that firstContinueContinue reading “Streaming in WCF”

Transport level Security in WCF

Objective  This article will give a very brief introduction of transport level security in WCF When we say security at the transport layer, then the main concern is with the integrity, privacy and to certain extent authentication of the message as it travels along the wire.  In WCF, the secure transports available for use areContinueContinue reading “Transport level Security in WCF”

Data Contract Hierarchy in WCF

Objective  This article will explain Data Contract hierarchy How base class and sub class are getting exposed in WCF? What is Known Type attribute Mixing of sterilization and Data Contract Data Contract Hierarchy   If any class in hierarchy is not attributed as [DataContract] or [serilizable] then InvalidDataContractException will occur at service run time  WCFContinueContinue reading “Data Contract Hierarchy in WCF”

Triple DES Encryption and Decryption using User provided key

Objective In this article, I will explain how to do a Triple DES encryption on a plain text using user provided key. I will calculate a MD5 Hash on the key provided by the user. And that key will be user to encrypt and decrypt the message. Explanation of DES DES is a symmetric keyContinueContinue reading “Triple DES Encryption and Decryption using User provided key”

Navigation Web Site

Create a website project. Make it a file system based web site. In the File menu , choose either WebSite. Select ASP.Net Web Site in the Templates pane. Change the Name to NavigationSite and click OK. Delete Default page from the application. Why we are deleting Default page because it would be easier to implementContinueContinue reading “Navigation Web Site”

Server Control in ASP.Net 3.5

  Step 1 Creating the Server Control. The first step is to start a new project with the custom control template and build the control. To create the custom control On the File menu, point to New, and then click Project. The New Project dialog box appears. In the Project Types pane, choose either VisualContinueContinue reading “Server Control in ASP.Net 3.5”

Composite Palindrome Control

Step 1 Creating the Server Control. The first step is to start a new project with the custom control template and build the control. To create the custom control On the File menu, point to New, and then click Project. The New Project dialog box appears. In the Project Types pane, choose either Visual BasicContinueContinue reading “Composite Palindrome Control”

Back to Basic # Static class in c#

Objective This article will discuss about static class in c#. Different feature of static class and different way of creating static class also will be discussed. Finally one sample will give a hand on of the static class. Static class is type of classes which cannot be instantiated. Instance of static class cannot be created.ContinueContinue reading “Back to Basic # Static class in c#”