Different types of Session state management options available with ASP.NET?

ASP.NET provides In-Process and Out-of-Process state management. In-Process stores the session in memory on the web server. This requires the a “sticky-server” (or no load-balancing) so that the user is always reconnected to the same web server. Out-of-Process Session state management stores data in an external data source. The external data source may be either a SQL Server or a State Server service. Out-of-Process state management requires that all objects stored in session are serializable.

An assembly and its benefits and Assembly Versioning

Assemblies are fundamental part of programming in .NET Framework. Assembly performs various functions: It forms a version boundary. The assembly is the smallest versionable unit in the common language runtime; all types and resources in the same assembly are versioned as a unit. The assembly’s manifest describes the version dependencies you specify for any dependent assemblies. For more information about versioning, see Assembly Versioning. It forms a reference scope boundary. The assembly’s manifest contains assembly metadata that is used for resolving types and satisfying resource requests. It specifies the types and resources that are exposed outside the assembly. The manifest … Click here to continue…..

What does the “EnableViewState” property do in ASP.Net Controls? Why would I want it on or off?

It enables the ViewState on the page. It allows the page to save the users input on a form. Enable ViewState Property turns on the automatic state management feature that enables server controls to re-populate their values on a round trip without requiring you to write any code. This feature is not free however, since the state of a control is passed to and from the server in a hidden form field. You should be aware of when ViewState is helping you and when it is not. For example, if you are binding a control to data on every round … Click here to continue…..

Calling Server Code by using javascript

Implementing Client Callbacks Programmatic Without Post-backs in ASP.NET Web Pages How can we call c# server side code by using java-script. Here i am given you an example in which i described that how to call it Use this code in aspx page

and use this code in aspx.cs page

This is the best way to use c# server side code by using java-script  instead of static function web method which calls from page method. For more reference: MSDN Link…