How to store custom objects in web.config ?
In this Post, I am going to discuss about web.config. Normally in our daily life, we used to have some…
In this Post, I am going to discuss about web.config. Normally in our daily life, we used to have some…
How to manage the controller’s session state? Simply we can decorate the controller class with “SessionState” attribute. [SessionState()] attribute accepts…
ASP.net by default calls the function window.scrollTo(0,0) after the validation failure from ASP.net validators but not always we have the validation summary control placed at the top. There are instances where we need to place validation summary at some other location but by doing this, instead the user being scrolled to see the validation error, he will always see the top of the page.
By default ViewState is saved inside the web page. In ASP.NET using SessionPageStatePersister ViewState can be saved inside Session instead. This helps in securing the ViewState as well as reducing the size of the web page
For Any ASP.NET application, monitoring performance is an important job. Performance Monitor tool having some nice features that helps us…
Machine key can be generated in IIS 7/ IIS 7.5 by following steps listed below 1. Open the IIS Manager.…
While running your ASP.NET application, you must have seen, it is running on Integrated Web development environment. Visual Studio 2010…
To answer this question In a single statement, you can use HttpContext.Current.Items for very short term storage. By Short term…