Install a shared Assembly to the GAC as post build event from Visual Studio August 25, 2011
Posted by Abhijit Jana in .NET 4.0, Visual Studio, Visual Studio 2010.Tags: .NET, .NET 4.0, Assembly, GAC, Gacutil, install Assembly into GAC from Visual Studio
4 comments
The Global Assembly Cache (GAC) is a Cache for globally available Assemblies. Most of the shared assemblies are installed inside GAC to shared across different applications. The Global Assembly Cache tool (Gacutil.exe) allow us to manipulate the contents of the global assembly cache along with install and un-install Assembly. During the development, we generally take help of gacutil from command prompt to install or uninstall assemblies into or from GAC. This is a repetitive process, every time you made some changes in your library you might need to deploy it into the GAC. Visual Studio has a nice feature called Pre-Build and Post-Build events. Using these events we execute some specific commands before or after the build. In this post I am going to show you how we can configure the post build event to deploy an Assembly to GAC.
Tracking Out of Scope Objects using DataTips while debugging in Visual Studio 2010 August 10, 2011
Posted by Abhijit Jana in .NET 4.0, Debugging, Visual Studio 2010.Tags: .NET, DataTips, Debugging, Track out of scope Object, Visual Studio 2010
4 comments
Visual Studio 2010 introduced a nice new “DataTip pinning” features that enable you to better track of variable and expression while debugging. I am sure by this time you must be knowing what is “Data Tips” and different features of it. In In this Post I am going to share a small tip which talks about tracking some out of scope object using DataTips while debugging.
Multiple URL Binding with IIS Express August 5, 2011
Posted by Abhijit Jana in IIS Express.Tags: .NET, ASP.Net, Binding, IIS Express, Multiple Binding
5 comments
IIS Express is a lightweight, self-contained version of IIS and optimized for developers. IIS Express provides the power of IIS7.x and makes it very easy to develop and test web applications. Visual Studio 2010 SP1 provides complete integration with IIS Express. In one of my previous post I discussed How you can Run “IIS Express” and “Cassini” simultaneously in Visual Studio 2010 SP1. In this post I am going to discuss about how you can bind multiple URL’s for a single Web Application with IIS Express.
.NET Tips – Links on ASP.NET C# WPF , IIS Express, Visual Studio Tips – July 2011 July 31, 2011
Posted by Abhijit Jana in .NET 4.0, .NET Community Events, ASP.NET 4.0, IIS Express, WPF.Tags: .NET, C#, dailydotnettips, Tips, Tips & Tricks
2 comments
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 July 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
39 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
Web Camps Session PPT Download–“What’s new in Visual Studio 2010 SP1 for Web Developers” June 19, 2011
Posted by Abhijit Jana in .NET Community Events, Web Camps.Tags: .NET, Community Events, Microsoft, web camps
add a comment
Here is the Presentation slide that I used during my session at Microsoft Web Camps, Hyderabad. During the session I have discussed about IIS Express, SQL Server Compact Edition Tooling Support, Web Deployment Tools, IntelliTrace Debugging etc. During demo I have shown Basic and Advanced features of IIS Express , Enabling SSL with IIS Express, Running IIS Express and Cassini side by side , SQL Server CE with Entity Frame work and ASP.NET 4.0, Web Deployment Tool 2.0, and demos related with IntelliTrace.
.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.
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
5 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
14 Useful .NET Debugging Tips & Tricks in Visual Studio March 12, 2011
Posted by Abhijit Jana in .NET 4.0, Debugging, Tips and Tricks.Tags: .NET, C#, Debugging, Tips & Tricks
add a comment
List of few useful debugging tips and tricks
1. How to use Runtime Objects in Watch Window during debugging in Visual Studio ?
2. How to use out of scope object with in Conditional Breakpoint ?
3. Use Conditional Breakpoints with Method Calling in Visual Studio
4. Calling Methods From Watch Window
5. Changing Variables Display Format in Watch Window
6. Get Object Generation using Watch Window
7. Save IntelliTrace Log from IntelliTrace Window
8. Last Session Debugging Value using Data Tips
9. Few Tips on Customizing Debugging Window View in Visual Studio
10. Using DebuggerStepThrough attributes to stepped over code during debugging
11. Hide Methods from debugger Using DebuggerHidden attribute
12. Use “Obsolete” attributes to indicate Obsolete Methods
13. How to suppress compiler warning using #pragma warning directives in Visual Studio ?
14. Customize the Debugging Windows : Change Debugging Window View as per your requirements
To know more Tips and Tricks visit http://dailydotnettips.com and Follow @DailyDotNetTips
Thanks !
AJ
Few Tips on Customizing Debugging Window View in Visual Studio August 29, 2010
Posted by Abhijit Jana in General, Tips and Tricks, Visual Studio.Tags: .NET, codeproject, DebuggerBrowsable, DebuggerDisplay, Debugging, Development Tools, How To, Microsoft Visual Studio, Programming, Tips and Tricks, Visual Studio
11 comments
In this post I am going to discuss about few tips on customizing debugging debugging windows. This may be very helpful during debugging of application. While debugging, you may want to simplify debug window or you may want to clean up all the unnecessary fields that are not important during debugging from debugging windows. Here is few tips for customization of debug window.
Use DebuggerBrowsable attribute to customize the debugging windows
Use DebuggerDisplay attribute to customize the debugging display.
To use above attributes you have to use System.Diagnostics namesapce







