Under Construction
Latest News
Free Video Training on ASP.NET MVC
If you are looking for free online tutorials to learn ASP.NET MVC 3 basics then you should check out ASP.NET MVC site. Microsoft has made arrangements with Pluralsight to provide many on-demand videos free of charge. Link: ASP.NET MVC 1. Introduction 35 mins 2. Controllers 35 mins 3. Razor Views 45 mins [...]
Quote
Walking on water and developing software from a specification are easy if both are frozen. – Edward V Berard
Stop IE flickering between pages
If you hate that slight flicker in IE browser between page transitions then you will find this snippet useful. When user navigate from one page to another in IE, there is slight “white out” before this transition. Whereas in Firefox and other browsers this page transition is very smooth. IE browser will show blank page [...]
Implementing Auto-Logout functionality
Here is small javascript snippet you will find useful for your web application. It will automatically logout user after specific time of inactivity. <script type="text/javascript"> var timer; var wait=10; document.onkeypress=resetTimer; document.onmousemove=resetTimer; function resetTimer() { clearTimeout(timer); timer=setTimeout("logout()", 60000*wait); } function logout() { window.location.href=’Logout.aspx’; } </script> Code is self explanatory. We are using setTimeout method which [...]
Generating JSON from TSQL Query
I was looking for TSQL implementation which can build JSON payload directly from database. After couple of failed search, I decided to create my own stored procedure which can render JSON based for any query passed as parameter. After few keystrokes in SQL Server Management Studio, I have this semi-finish stored procedure which I thought [...]
