Understanding Code Behind in .Net FrameworkWritten by Balaji
Continued from page 1
But before you create an ASP.NET Code Behind class, you have to reference it to a namespace. The namespace could be System.Web.UI or` System.Web.UI.WebControls. Next you have to inherit class from Page object. You must declare some public instances of server controls using name for variables that are similar to web controls. This procedure will create a link between ASP.NET Code Behind class and server controls. You can use ASP.NET Code Behind feature in various web applications development tools such as Visual Studio.Net and ASP.NET Web Matrix. They provide very easy ways to use ASP.NET Code Behind. After dragging and dropping server control from Toolbox to web page you can just right click on it to view ASP.NET Code Behind page. To access online version of above article, go to http://www.dotnet-guide.com/codebehind.html

Visit http://www.dotnet-guide.com for a complete introduction to .NET framework. Learn about ASP.NET, VB.NET, C# and other related technologies.
| | Understanding Common Type System in .Net FrameworkWritten by Balaji
Continued from page 1
There are two general types of categories in .Net Framework that Common Type System support. They are value types and reference types. Value types contain data and are user-defined or built-in. they are placed in a stack or in order in a structure. Reference types store a reference of value’s memory address. They are allocated in a heap structure. You can determine type of a reference by values of self-describing types. Reference types can be categorized into self-describing types, pointer types, or interface types. There are many other types that can be defined under Value types and Reference types. In .Net Framework, System namespace is root for all data types. This namespace consists of classes such as Object, Byte, String, and Int32 that represents base data types. These base data types are used by all applications. During runtime a type name can be classified into two: assembly name and type’s name within assembly. The runtime in .Net Framework uses assemblies to find and load types. To access online version of above article, go to http://www.dotnet-guide.com/commontype.html

Visit http://www.dotnet-guide.com for a complete introduction to .NET framework. Learn about ASP.NET, VB.NET, C# and other related technologies.
|