How to troubleshoot slow Page Rendering in ASP.NET?

by rahul 11/20/2009 2:49:44 PM
Before I answer this question, let us have a quick refresher. Answer this question diligently… Is Page_Render in ASP.NET really an EVENT? A BIG ZERO if you have said YES! The answer is No, It is not. Here is an excerpt from MSDN… <snip> This is not an event; instead, at this stage of proce... [More]


Insert functionality in GridView – Part 2

by rahul 7/10/2009 8:45:07 PM
In my previous post I have shown that if you have no records in your table and try to bind that table to a grid view, you will get nothing. Not even the header rows. To get rid of this issue, there is a very simple way. 1. Select Edit Templates 2. Switch over to EmptyDataTemplate 3. Drag an... [More]


Location of Temporary ASP.NET files in Vista or Windows 7

by rahul 7/9/2009 12:11:03 PM
Ideally, you would see the Temporary ASP.NET files in… C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files But, if you are working on Vista/Windows 7 and not running Visual Studio as an Administrator, you may find that this location Temporary ASP.NET Files will be empty. Thankful... [More]


Missing Insert functionality in GridView – Part 1

by rahul 7/6/2009 12:04:28 PM
I have never been a very big fan of “drag and drop, do data binding… get your application up in no time, and rejoice” approach, but sometimes when I am really lazy I go that route too. So, today was that day… I had a very simple requirement. Let’s take a look at the two tables below… one is Course... [More]


Sample ASPX page to show security details in ASP.NET

by rahul 4/5/2009 9:50:40 AM
This may come in handy if you are trying to troubleshoot security related issues in ASP.NET. I had this page posted here, but it was in VB.NET and I have been experiencing some issues with my previous blog site, so I am cross posting it here in C# for future reference. All you have to do is create a... [More]


Using Javascript and ASP.NET Ajax to create a continuous list

by rahul 1/28/2009 3:46:29 PM
What the heck is a continuous list anyway? Honestly, I don't know if I should be using this name or not, but probably this is what it looks like. Without further ado, let's see what I am referring to... Visit www.dzone.com - Notice that whenever you tend to reach the bottom of the page, there are so... [More]


Having your custom ASPX page in an ASP.NET compiled Website

by praveen 11/15/2008 11:07:11 AM
  When you publish an ASP.NET website using Visual Studio it will give you a pre-compiled site. This process of pre-compilation does various actions on the ASPX pages. Files are treated differently. There are various reasons why you would want to pre-compile your ASP.NET site. If you need more ... [More]


ASP.NET:How to write error messages into a text file using a simple httpModule

by Rahul 7/18/2008 7:26:11 PM
In one of my previous posts, I mentioned about how to troubleshoot some issues with the use of a module. In this post, I will show you how a similar module could be of use when you want to log all the errors in a text file for troubleshooting purposes. Please ensure that C:\Temp folder has Write acc... [More]


Run a batch file as a specific User (or Administrator) from ASP.NET...

by Rahul 7/13/2008 3:32:21 PM
...well first of all, I am NOT recommending it, but sometimes it could be necessary! Now, let's proceed to the code... 1. Create a page called RunBatchFile.vb and paste the following...Imports System.Diagnostics Imports System.IO Partial Class RunBatchFile Inherits System.Web.UI.Page Dim... [More]


How to use httpModules to troubleshoot your ASP.NET application

by Rahul 7/13/2008 1:04:01 PM
No matter how many things you keep in mind before developing an application, when once they are put in production... quite often you will see something not behaving the way you expected. Many-a-times, the applications would throw an error which you can troubleshoot depending on the error message you... [More]


Rahul Soni

Rahul Soni  Twitter

 LinkedIn

 Facebook

 Email me



Vivek Kumbhar

Vivek Kumbhar  Twitter

 LinkedIn

 Facebook

 Email me


Stack Exchange

profile for Vivek at Server Fault, Q&A for system administrators and IT professionals

profile for Rahul Soni at Stack Overflow, Q&A for professional and enthusiast programmers

Calendar

<<  May 2013  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

All Items
Sign in

Visit Microsoft's Site

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2013, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0