Objective This tutorial will explain step by step explanation of how to use UNITY Framework in code. UNITY Framework is a framework of Microsoft to achieve Inversion of Control Design Pattern. To know more about, what is Inversion of Control and Dependency Pattern design pattern read my previous article Click here. Two very good articlesContinueContinue reading “Unity Framework”
Category Archives: Miscellaneous
Events in c#
Windows based application are message based. Application is communicating with windows and windows is communicating with application by using predefined messages. .Net wrap up the messages with ‘EVENTS’. And .Net reacting a particular message by handling events. Events are the message sent by an object to indicate the occurrence of an event. Event can alsoContinueContinue reading “Events in c#”
Delegate in c#
A delegate in C# is simillar to a FUNCTION POINTER in C or C++. Delgate can be defind as an Object which contains the address of a method. Delegate is a reference type used to encapsulate a method with a speciific signature and return type. As written in MSDN ” A Delegate isContinueContinue reading “Delegate in c#”
Dynamic Data Part# 2
Objective This is Part#2 of ASP.Net Dynamic Data article series. This article will give introductions of different scaffold templates. This article will explain how to customize the templates also. This article is containing three samples which is demonstrating, how to update the default templates. We could customize the templates given as default with ASP.Net DynamicContinueContinue reading “Dynamic Data Part# 2”
Dynamic Data Part #1
Objective: This is Part#1 of Dynamic Data article series. This article will give an introduction of Dynamic data and how to create a very basic data driven web application on North wind database using Dynamic data feature of ASP.Net 3.5 extension. Introduction It is a feature of ASP.Net 3.5 Extensions. It allows easily building, customizingContinueContinue reading “Dynamic Data Part #1”
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#”