JScript Debugger– “Unable to attach the process. Another debugger might be attached to the process” – while application is running from Visual Studio. [ Solution ] January 20, 2012Posted by Abhijit Jana in .NET 4.0, ASP.NET 4.0, ASP.NET 4.5, Tips and Tricks, Visual Studio, Visual Studio 2010, Visual Studio 2011.
Tags: ASP.Net, codeproject, Debugging, Visual Studio
Bundling and Minification in ASP.NET 4.5 October 6, 2011Posted by Abhijit Jana in ASP.NET 4.5, Developer Preview, Visual Studio 2011, VNext.
Tags: ASP.Net, ASP.NET 4.5, Developer Preview, New Features in ASP.NET VNext, Visual Studio 2011
Dynamically set control visibility inside ItemTemplate’s of GridView using Bind Expression September 1, 2011Posted by Abhijit Jana in .NET 4.0, ASP.NET, C#.
Tags: ASP.Net, Beginners, Binding, BindingExpression, GridView, ItemTemplates
GridView TemplateField allow us to specify custom controls, multiple fields and Html using a custom template. TemplateField allows us to define a completely customized template for GridView Column. We can bind the data with in template control using binding expression. ASP.NET provides number of ways to take control over the template control. In this post I am going to discuss how we can set template control visibility based on certain condition which depends on the data source data. For example, imagine you have a link button within template field. You want to set visibility if that control based on the some value of your data source.
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.
Using ASP.NET 4.0 Chart Control With New Tooling Support for SQL Server CE 4.0 in VS 2010 SP1 and Entity Model July 14, 2011Posted by Abhijit Jana in .NET 4.0, ASP.NET 4.0, SQL Server CE, Visual Studio 2010, Visual Studio 2010 SP1.
Tags: ASP.Net, asp.net 4.0, ASP.NET Chart Control, ASP.NET GridView, Entity Model, SQL Server CE, Visual Studio 2010 SP 1, Web Deployment Tool
In this post I’m going to talk about how we can use ASP.NET 4.0 Chart Control with SQL CE as back-end data base using Entity Framework. I will also show how Visual Studio 2010 SP1 provides new tooling supports for SQL Server CE 4.0. ASP.NET 4.0 introduced inbuilt chart controls features and Visual Studio 2010 SP1 Came up with nice tooling support for SQL Server CE. SQL CE is a free, embedded, lightweight database engine that enables easy database storage. This does not required any installation and runs in memory. Let’s see how we can place this together and create a small apps and deploy it using new “Web Deployment Tool” which is available with Visual Studio 2010 SP1.
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.
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
Tags: ASP.Net, Community Events, MUGH, web camps
1 comment so far
The Microsoft Web Camps have become the epicenter of Microsoft’s interaction with the web development community, where leading-edge developers and architects gather to learn and build websites using ASP.NET MVC 3, Internet Explorer 9 , HTML5 and latest changes in Web Technologies” . Microsoft Web Camps are designed to help you learn to build websites using latest web technologies like ASP.NET MVC, jQuery, Web Matrix, HTML5, IE9 and many more. Web Camps at Hyderabad scheduled on 16th June 2011, at Microsoft Campus , IDC Building .
Tags: ASP.Net, ASP.NET Internals, Difference between Session.Clear Vs Session.RemoveAll, Session, Session.Clear Vs Session.RemoveAll, state Management
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.
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, 2011Posted 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
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.