.NET Tips – Links on ASP.NET C# MVC Visual Studio Tips – June 2011 July 3, 2011
Posted by Abhijit Jana in .NET 4.0, .NET Community Events, ASP.NET 4.0.Tags: ASP.Net, C#, dailydotnettips, Tips & Tricks, Visual Studio
1 comment so far
Daily .NET Tips is aiming to sharing useful coding tips and tricks for .NET Developers. This site completely design for sharing Tips and Tricks, useful Code Snippet which anyone use in daily development work and targeted anything related with .NET. In this post I am quickly listing down all the tips which are posted over the month June 2011.
ASP.NET Internals : Visualizing ASP.NET Page Life Cycle using IntelliTrace June 26, 2011
Posted by Abhijit Jana in .NET 4.0, ASP.NET, ASP.NET 4.0, IntelliTrace, Visual Studio, Visual Studio 2010.Tags: .NET, ASP.Net, ASP.NET Internals, IntelliTrace, page life cycle, Visual Studio 2010 Ultimate
36 comments
Understanding the ASP.NET Page Life Cycle is an essential knowledge for developing ASP.NET Web Application. When request come from client to server there are many operations performed in backend before sending response to the client. When client request for some information from a web server, request first reaches to HTTP.SYS, which is the kernel level of IIS. HTTP.SYS then send the request to respective Application Pool. Application Pool then forward the request to worker process to load the ISAPI Extension which will create an HTTPRuntime Object to Process the request via HTTPModule and HTTPHanlder. Once request passed through the HTPP Pipeline, ASP.NET Page Life Cycle Start. You will find several articles that describes the What is ASP.NET Page lifecycle, what are the different events fired during page lifecycle. This post is something different, I will show you how you can see the each and individual Page life cycle events using IntelliTrace
Run “IIS Express” and “Cassini” simultaneously in Visual Studio 2010 SP1 June 12, 2011
Posted by Abhijit Jana in .NET 4.0, ASP.NET 4.0, IIS Express, Visual Studio 2010, Visual Studio 2010 SP1.Tags: Cassini, IIS Express, multi targeting, multiple startup project, Visual Studio 2010 SP 1
6 comments
IIS Express is a lightweight, self-contained version of IIS optimized for developers. IIS Express provides the power of IIS7.x while making it easy to develop and test websites. Why we say that it has power of IIS7.x because it runs on code base of IIS 7.5. Visual Studio 2010 SP1 Beta allows you to build and test web applications using IIS Express instead of the built-in ASP.NET Development Web Server (Cassini). If you want to use IIS Express with VS 2010, you have to install IIS Express separately on top of Service Pack 1. To know more about details of use of IIS Express, please read the post http://bit.ly/i8BN1H . We can set IIS Express as default Web Server for Visual Studio or We can also change from Project Properties. Well, In this post I am going to talk about how we run the both IIS and Cassini simultaneously for multiple projects in a single solutions.
IntelliTrace Log ( .iTrace ) files and Visual Studio 2010 SP 1– Some Hidden Stuff June 7, 2011
Posted by Abhijit Jana in .NET 4.0, IntelliTrace, Visual Studio, Visual Studio 2010.Tags: .iTrace, Debugging, IntelliTrace, Tips, Visual Studio 2010, Visual Studio 2010 SP 1, Visual Studio 2010 Ultimate
5 comments
IntelliTrace debugging is only available with Visual Studio 2010 Ultimate Edition, which collects debugging information in background and can be used at any point to time to analysis previous debugging data. IntelliTrace collected debugger information into a trace log file (.iTrace ) that can then be opened and debugged using Visual Studio later. Size of .iTrace was always a concerns, as it’s take huge amount of your hard drive space and IntelliTrace is on by default. So whenever you are doing F5 debugging in Visual studio .iTrace is getting saved and it’s consuming your hard drive.
Well, before moving forward, I must thank to Larry Guger , Program Manager for IntelliTrace features . Yesterday I had a discussion with him on IntelliTrace . During discussion I found there are several changes on IntelliTrace log saving which has been shifted with Visual Studio 2010 SP1. I have already blogged about few of them over here http://bit.ly/f8awhz. But few hidden stuff was missing which I got to know from Larry only. In this post I am going to discussed about those changes.
Collecting Module Specific Debugging Information using IntelliTrace June 4, 2011
Posted by Abhijit Jana in .NET 4.0, Debugging, IntelliTrace, Visual Studio 2010.Tags: capturing module Information, Debugging, IntelliTrace
2 comments
I am sure by this time all of you already aware of what is IntelliTrace Debugging. Just to give a quick overview, IntelliTrace is a new features of Visual Studio 2010 Ultimate Edition. By default IntelliTrace is enabled . During debugging in Visual Studio, IntelliTrace works in the background and collect debugging information automatically and stored them in IntelliTrace Log File (. iTrace File ) . You can use the log file at any point of time to see what happened exactly at background during your live debugging. To know more details, you can see my several articles published on IntelliTrace and for step by step guide read “Debugging Application using IntelliTrace” from MSDN .
Using IntelliTrace you can capture module specific information. This is really helpful when you don’t want to debug certain modules during your debugging process. In this post I am going to discuss about how you can collect module specific information using IntelliTrace.
ASP.NET Internals : “Clearing ASP.NET Session Variables” a in-depth look June 4, 2011
Posted by Abhijit Jana in .NET 4.0, ASP.NET.Tags: ASP.Net, ASP.NET Internals, Difference between Session.Clear Vs Session.RemoveAll, Session, Session.Clear Vs Session.RemoveAll, state Management
22 comments
ASP.NET Session is one of most common state management technique for any ASP.NET Web Application. If you want to do a quick refresh or want to know some thing more, please go ahead and read one of my article “Exploring Session in ASP.NET” published at Code Project. ASP.NET provides several methods for removing Session. But which methods needs to use at what time, is a must known stuff for asp.net developer. In this post I going to talk about bit internals of removing session variables from applications. Why this Post ? I found many people having some confusion around removing / clearing the session variable ( Mainly with Session.Clear(), Session.RemoveAll(), Session.Abandon()) , which method needs to use, what is the purpose of particular method etc.
.NET Tips – Links on ASP.NET C# MVC Visual Studio Tips – May 2011 June 1, 2011
Posted by Abhijit Jana in .NET 4.0, ASP.NET 4.0, MVC Framework, Tips and Tricks, Visual Studio.Tags: .NET, ASP.Net, C#, MVC, Tips & Tricks, Visual Studio
1 comment so far
Daily .NET Tips is aiming to sharing useful coding tips and tricks for .NET Developers. This site completely design for sharing Tips and Tricks, useful Code Snippet which anyone use in daily development work and targeted anything related with .NET. In this post I am quickly listing down all the tips which are posted over the month May 2011.
Download My Virtual Tech Days Session Video on Caching enhancements in ASP.NET 4.0– Feb 2011 May 25, 2011
Posted by Abhijit Jana in .NET 4.0, .NET Community Events, ASP.NET 4.0.Tags: ASP.Net, asp.net 4.0, caching, Community Events, Community TechDays, Virtual Tech Days
add a comment
The 11th edition of Virtual TechDays – was held on 9th to 11th Feb 2011. I presented a session on “Caching enhancements in ASP.NET 4.0” . In this session I have talked about different enhancement of Caching in ASP.NET 4.0 with many demos. The recording session is now available for download.
You can download all the session video from Virtual Tech Days Site
How to retrieve HTTPModule details from HttpModuleCollection ? May 23, 2011
Posted by Abhijit Jana in .NET 4.0, ASP.NET 4.0, General.Tags: .NET, ASP.Net, C#, HttpApplication, HttpModule, Request, Tips
1 comment so far
In one of my previous post I have talked about How to get list of all active HttpModules in ASP.NET? Where I have explained how we can get list of all active modules of an ASP.NET Application at runtime. In this post, I am going discussed about, how you can get details of a particular module details from list of modules.
Few important tips that you should know while using ASP.NET Session May 3, 2011
Posted by Abhijit Jana in .NET 4.0, ASP.NET 4.0, Tips and Tricks, Visual Studio, Visual Studio 2010.Tags: .NET, ASP.Net, asp.net 4.0, C#, codeproject, EnableSessionState, HTTPContext, HttpModule, httpPipeline, Session, Session Mode, SessionStatebehavior, state Management, Web.config
3 comments
While working with ASP.NET web application you must be familiar with one of most important state management technique “Session”. If you want to do a quick refresh or want to know some thing more, please go ahead and read one of my article “Exploring Session in ASP.NET” published at Code Project. In this post I am going to share some important tips that might be useful.
24 .NET Tips Links on ASP.NET C# MVC Silverlight Windows Phone – April 2011 April 30, 2011
Posted by Abhijit Jana in .NET 4.0, Tips and Tricks.Tags: .NET, ASP.Net, asp.net 4.0, C#, Debugging, MVC, Silverlight 4.0, Visual Studio, Visual Studio Editor, windows phone
1 comment so far
Daily .NET Tips is aiming to sharing useful coding tips and tricks for .NET Developers. This site completely design for sharing Tips and Tricks, useful Code Snippet which anyone use in daily development work and targeted anything related with .NET. In this post I am quickly listing down all the tips which are posted over the month April 2011.
TOD : Wrapping Code Block and Statements in Visual Studio April 23, 2011
Posted by Abhijit Jana in .NET 4.0, Tips and Tricks, Visual Studio.Tags: .NET, C#, Code Formatting, How To, Microsoft Visual Studio, Productivity Tips, Programming, Tips and Tricks, Tools, Visual Studio Editor, Visual Studio Tips, Wrapping Code Block
add a comment
In this tips I have explained how you can automatically wrap up code blocks or code statement in Visual Studio. We can use Document formatting to format the whole contents, but that doesn’t wrap single line code block like Properties or not even single line multiple declaration statement. Let’s consider an example, you are creating a Properties using code snippet and by default it will came up like
![]()
But, you want you code to be look like as below

How ? Read Complete Tips
100 Useful .NET Tips & Tricks April 15, 2011
Posted by Abhijit Jana in .NET 4.0, ASP.NET 4.0, Debugging, Tips and Tricks.Tags: asp.net 4.0, C#, dailydotnettips, Debugging, Silverlight 4.0, Tips & Tricks
1 comment so far
Daily .NET Tips is aiming to sharing useful coding tips and tricks for .NET Developers. This site completely design for sharing Tips and Tricks, useful Code Snippet which anyone use in daily development work and targeted anything related with .NET. I started with this new site few months back and with in short time period we have total 100 Tips which mainly focused on the practical oriented problem. You can find tips related with C#, ASP.NET, Silverlight, WPF, WCF, JQuery, WP7 etc.
To know more ……
Visit http://dailydotnettips.com
Subscribe Tips to your mail box : http://bit.ly/hFAhop
For Quick Update Follow : @dailydotnettips
Thanks to all the contributors Abhishek Sur, Prayan Rana, Jebarson Jebamony, Atul Verma,Shravan Kumar who spends their time and shared tips.
Looking forward more contribution from all of you.
If you want to contribute your tips at http://dailydotnettips.com , please contact with me via Contact Page.
Thanks !
AJ







