Tags: .NET, .NET 4.0, Assembly, GAC, Gacutil, install Assembly into GAC from Visual Studio
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.
Tags: .NET, DataTips, Debugging, Track out of scope Object, Visual Studio 2010
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, 2011Posted by Abhijit Jana in IIS Express.
Tags: .NET, ASP.Net, Binding, IIS Express, Multiple Binding
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.
Tags: .NET, C#, dailydotnettips, Tips, Tips & Tricks
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.
Tags: .NET, ASP.Net, ASP.NET Internals, IntelliTrace, page life cycle, Visual Studio 2010 Ultimate
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, 2011Posted 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.
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.
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.
Tags: .NET, ASP.Net, asp.net 4.0, C#, codeproject, EnableSessionState, HTTPContext, HttpModule, httpPipeline, Session, Session Mode, SessionStatebehavior, state Management, Web.config
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.
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, 2011Posted 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, 2011Posted 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
Few Tips on Customizing Debugging Window View in Visual Studio August 29, 2010Posted 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
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.
To use above attributes you have to use System.Diagnostics namesapce