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

by Rahul 6/19/2008 8:50:58 AM
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 "Way1.aspx", "Way2.aspx", "Way3.aspx" and "PDFContainer.aspx" without a code behind. So the four different ways which I was talking about is as follows... 1) Y... [More]


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

by Rahul 6/13/2008 2:30:25 AM
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. There are various ways to get this output, but I guess this code is pretty small and will show you some of the things that you could do with System.Reflection in .NET. Here is the code... <%@ ... [More]


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

by Vignesh 6/12/2008 10:39:00 PM
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 event log. The only way to recover from the problem is to reboot the server whenever the issue occurs. Exception Type:System.Web.HttpException The remote host closed the connection. The error c... [More]


Search


Tags



Categories

Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

All Items
Sign in

Disclaimer

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

Powered by BlogEngine.NET 1.4.5.0