By tag: httphandler
0
kicks
Using Generic Http Handlers to Speed Up ASP.Net – Writing XML
Web forms (aspx files) and web controls (ascx files) that populate the forms are the two most common elements we create in an ASP.Net web applications. Web forms are great. You put in some <asp:tags /> and ASP.Net does the rest to render the HTML, and it’s done in a lot less lines than you wo...
0
kicks
ASP.NET Futures: Generating Dynamic Images w/ HttpHandlers Gets Easier
I've done a lot of HttpHandlers that generate images. It's usually pretty tedious. When I was working banking, I wrote an example HttpHandler that would take two Check Images (back and front) and composite them into a single image on the server side, then serving up the composite. Usually you're mes...
0
kicks
How to Send Trackbacks and Pingbacks in ASP.NET
This is an excellent article from Keyvan Nayyeri showing how to create trackbacks and pingbacks in ASP.NET.
0
kicks
How to use the IHttpAsyncHandler in ASP.NET
Basically, the IHttpAsyncHandler interface allows you to serve content asynchronously from a HTTP handler. This is great when you need to free up the worker thread to do processing like IO work etc. ASP.NET actually uses fewer threads when it runs asynchronously, which is great for performance and s...
0
kicks
CSS and JS compression through ASP.NET handlers
In this article, I will discuss a technique for distributing compressed website assets (CSS and javascript files) using ASP.NET. Compressing these files reduces bandwidth usage, which means decreased costs on server traffic. (Take 10,000 viewers/users and up, and the savings become significant.)
0
kicks
SharpCacheSessionManager
The SharpCacheSessionManager is a HttpHandler that allows to display the entries stored in the Cache, Session and Application object. You can view the data stored inside the objects and you can also remove the objects from the corresponding storage.
0
kicks
Streaming a vCard on the Fly in ASP.NET with a Custom httpHandler
To continue with my series on httpHandlers I want to cover how to stream a vCard to the user based on a parameter. First let me say that I grabbed the code for the .NET vCard class from a CodeProject.com article. There is also a corresponding vCalendar class. The idea behind a vCard is it is a stand...
0
kicks
HttpHandler for Images in ASP .NET 2.0
Http Handler:
Http Handler is a class that is responsible for rendering a particular resource, or a particular type of resource.
Http Handlers are somewhat similar to ISAPI Extensions. If implements, it behaves like a filter between Web Server and the Client. Whenever client makes a request to t...
0
kicks
Add variables to standard CSS stylesheets in ASP.NET
Great way to be more dynamic with your stylesheets. Allows for more flexible website layouts based on dyanmic information.
0
kicks
HttpHandler and "Save As" prompt
These days I work a lot with Reporting Services and an ASP.NET application which serve reports on an aspx page. The problem is pdf is a known file type so the browser open Adobe Acrobat instead of asking the user to save the file. I knew this is possible so I was happy to google and find this entry ...
0
kicks
HttpHandler and "Save As" prompt
Forcing an "open, save" prompt for known file types.