How To Create Session-less Controller in MVC3

By | April 29, 2011

How to manage the controller’s session state? Simply we can decorate the controller class with “SessionState” attribute. [SessionState()] attribute accepts SessionStateBehaviour enumeration. SessionStateBehaviour enumeration has the following constants. SessionStateBehavior.Default – ASP.NET default logic is used to determine the session state behavior for the request. SessionStateBehavior.Required – Full read-write session state behavior is enabled for the request. SessionStateBehavior.ReadOnly –… Read More »

How To Scroll To Validation Summary ?

By | April 29, 2011

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.

How to Customize On-Screen Keyboard Layout in Windows Phone 7 application ?

By | April 29, 2011

While you want to enter some text in your Windows Phone 7 application, the first thing that you will notice is your very own on – screen keyboard. As Windows Phone 7 mobile have a very large screen area, most of the phones does not have an analog keyboard associated with it. Hence your application should provide provision… Read More »

Debugging 64 bit application using IntelliTrace – Visual Studio 2010 SP1

By | April 25, 2011

IntelliTrace is a new feature of Visual Studio 2010 Ultimate Edition. By default, IntelliTrace is enabled. During debugging in Visual Studio, IntelliTrace works in the background and collects debugging information automatically and stores them in IntelliTrace Log File (.iTrace file). You can use the log file at any point of time to see what happened exactly in the… Read More »

Different Versions of Integrated Web Server in Visual Studio 2010

By | April 25, 2011

While running your ASP.NET application, you must have seen, it is running on Integrated Web development environment. Visual Studio 2010 comes with two versions of Integrated Web Development environment which could run side by side. In case you run your ASP.NET application in VS 2010, you can have an option to choose between the two versions of Web… Read More »