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

by praveen 11/14/2008 4:37:11 PM
  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]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

ASP.NET | Tips and Tricks

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

by Rahul 7/18/2008 12:56:11 AM
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]


Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

ASP.NET | HttpModules | Tips and Tricks | Troubleshooting

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

by Rahul 7/12/2008 9:02: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]


Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

ASP.NET | Tips and Tricks | Troubleshooting

How to use httpModules to troubleshoot your ASP.NET application

by Rahul 7/12/2008 6:34: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]


Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

.NET | ASP.NET | HttpModules | Troubleshooting

4 ways to send a PDF file to the IE Client in ASP.NET 2.0

by Rahul 6/18/2008 9:32:58 PM
In this scrap, I am sharing a project using which you can send PDF files to the IE Client in four different ways. Create a new C# Website. While creating the following pages ensure that you DON'T have "Place code in Separate file" checkbox as checked. You need to create 4 pages called &q... [More]


Currently rated 4.7 by 3 people

  • Currently 4.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

ASP.NET | Code Snippet | Tips and Tricks

Play with Colors - Part 2 - Check the font on a specific background using .NET reflection

by Rahul 6/12/2008 3:12:25 PM
I have already shown how to use .NET reflection to get the information about all the colors in .NET. Let's say you want to check out how a specific colored font would appear on any background, you may like to check this sample. Use the code which follows to get an output like the one below. ... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

.NET | ASP.NET | Code Snippet | Color | Miscellany | Reflection

System.Web.HttpException: The remote host closed the connection. The error code is 0x80072746.

by Vignesh 6/12/2008 11:21:00 AM
The client had developed an AJAX based ASP.NET 2.0 web application which had been deployed to multiple IIS 6.0 servers. On only one particular server they noticed that the application does not perform as expected. It works for a few hours and then starts to fail with the following error logged in ... [More]


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Tips and Tricks | Troubleshooting | ASP.NET | AJAX

Calendar

<<  January 2009  >>
MoTuWeThFrSaSu
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway. We try our best to write good code, but none of the code here is tested on Production boxes. Feel free to use the code, BUT test it before you do so (in simple words... use it at your own risk)

© Copyright 2009

Sign in