Quick deployment of Asp.net applications into IIS from Visual Studio 2010
Did you know you could deploy your Asp.net web applications from Visual Studio into IIS in a much simpler way now? Visual Studio 2010 and IIS 7 (Or Higher) makes it extremely easy.There are basically...
View ArticleWhat is "App_Browsers" folder in Asp.net?
There are quite a few Asp.net standard folders which are known to the Asp.net run time. To name those: App_Code : You know what this is right?App_Data : Contain database or data source...
View ArticleHTML Encoding and new encoding expression in Asp.net 4.0
What is HTML Encoding? Browsers are capable to parse HTML (Or, XHTML) elements and render the output as instructed. Each and every HTML element is interpreted as an instruction to the browser to render...
View ArticleHandling ThreadAbortException with Response.Redirect() : Best possible...
IntroductionThe story began very simply.I got an error mail from one of our deployed Asp.net application in Production site. The error mail was something like the following:Timestamp: 7/2/2010 7:26:15...
View ArticlePerformance Profiling in Visual Studio
Did you know you could get rich performance profile information from right inside your favorite Visual Studio?You want to ensure your application runs as fast as possible, and one of the most important...
View ArticleException Handling best practices in N-Tier Asp.net applications
"How do you manage Exceptions in your Asp.net applications?"Pretty simple question, but not that much simple to answer. We are good at making things. But, may be, we are not equally good at designing...
View ArticleHTTP Error 404.13 - Not Found : The request filtering module is configured to...
I was developing an application that allows user to upload files to the server using the <asp:FileUpload/> control. In order to make sure that users can upload large files, I configured the...
View ArticleUnderstanding ClientIDMode="Predictable" in Asp.net 4.0 with Examples
IntroductionIf you are an Asp.net developer, you may already be well-aware of the fact that, Asp.net 4.0 lets you control how the ID property value of the server controls gets generated in the HTML...
View ArticleUsing HttpContext.Current.Items as a data storage for current HttpRequest
Did you ever use HttpContext.Current.Items?Chances are there you didn't. Why? Because this is a least known thing which people talks about, but, this could be a good friend of you "in need". Let's see...
View ArticleAsp.net MVP and URL Routing with WebForms. Part1 - The Background
IntroductionLets get back to Asp.net 2.0 days.One of your clients wants to implement SEO friendly URLs in his/her application. That is, instead of the URLs containing messy query string...
View ArticleAsp.net MVP URL Routing with WebForms. Part2 - The Hello World MVP
In the previous post we've discussed the background of Asp.net MVP and how it evolved. In this post we would try to understand the basics of MVP via a "Hello World" MVP example in Asp.net. Just to...
View ArticleAsp.net MVP and URL Routing with WebForms. Part3 - Understanding URL Routing...
IntroductionIf you have read Part1 and Part2 of this article, you already know about the fact that we've been exploring the basics of Asp.net Model View Presenter (MVP) and URL Routing in Asp.net...
View ArticleDynamic typing and late binding in C# 4.0
Static binding in C#Back in C# 2.0 days, there was only static binding, or, static typing supported in the language.That is, unlike JavaScript, or, PHP, we had to specify the type of the variables at...
View ArticleRecursive Function example in SQL Server
In one of my project, I had to process some information by retrieving some data in an SQL Server database which were somewhat like as follows:There was a table ItemNamesAnd, there was another table...
View ArticleSolving Debugging Timeout problem in Visual Studio and IIS7
For those who wonders why debugging time out occurs in Visual Studio, and how to solve the timeout problem, this post is for them.It was kind of irritating to see the debugging process killed...
View ArticlePerformance Monitoring of individual Asp.net Application in Asp.net 4.0
As you may know already, it is possible to monitor performance for Asp.net applications running within the Asp.net worker process (w3wp). It is as easy as adding some performance counters in the...
View ArticleUsing Transformation files to transform web.config files for different target...
Managing different web.config files for different deployment environment could be a troublesome task and synchronization of these different web.config settings could be hard. For example, you may have...
View ArticleImprove deployment process of Asp.net applications by generating database...
Introduction Database deployment is perhaps the most important part of any Asp.net application deployment, and, if the database deployment is smoothly done, there is a chance that the overall...
View ArticleImprove deployment process of Asp.net applications by generating database...
This is the 2nd part of an article, and if you haven't gone through the first part yet, you may want to read it first. Check out the following link:Improve deployment process of Asp.net applications by...
View ArticleRemoving outer table elements from Server Control's generated HTML in Asp.net...
Before Asp.net 4.0, a number of Asp.net server controls used to render their corresponding HTML output within a tabular structure by surrounding the data within <table> <tr> <td>...
View Article