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#”

Silver Light 4.0 feature # Mouse wheel event

 Objective In this article, I am going to give a basic introduction of Mouse wheel event in Silver Light 4.0. Introduction Silver Light 4.0 has been introduced Mouse wheel event. Now on mouse wheel event can be captured. And the event can be raised for any silver light control.   In below image you canContinueContinue reading “Silver Light 4.0 feature # Mouse wheel event”

Accessing Microsoft Office InterOP Objects using C# 4.0

Objective This article will show, how Microsoft office InterOp objects can be access and use in C#. I will be using dynamic type feature of c# 4.0 To create and open an Excel Application in VS2010 To display list in Active Excel Application. To Create and open a word document in VS2010. To create anContinueContinue reading “Accessing Microsoft Office InterOP Objects using C# 4.0”

Optional Argument in C# 4.0

Objective This article will give a very basic introduction of Optional Argument in C#4.0. This article will explain how Operation overloading and Optional Argument is different with samples. This article will give different syntax with Named parameter to work with Optional arguments. Optional Argument  Five facts about Optional Parameter Each Optional Parameter has a defaultContinueContinue reading “Optional Argument in C# 4.0”