Stories recently tagged with 'httphandler'

Using Generic Http Handlers to Speed Up ASP.Net – Writing XML(blog.image0.com)

submitted by image0image0(189) 1 year, 1 month ago

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 would have to write with classic ASP 3.0. With all this magic, however, there is a lot that happens behind the curtains. There are 11 events that take place during the loading of an ASP.Net page. A Generic .ashx handler just has the ProcessRequest method. read more...

add a comment |category: |Views: 8

tags: another

ASP.NET Futures: Generating Dynamic Images w/ HttpHandlers Gets Easier(hanselman.com)

submitted by crpietschmanncrpietschmann(11.3k) 3 years, 9 months ago

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 messing around in with MemoryStreams and Images, and then you serialize the result out to the Response.OutputStream, making sure the MIME Types are set appropriately. If you're really clever, you'll remember to do some client-side and appropriate caching, but I rarely see that in the wild. read more...

add a comment |category: |Views: 240

tags: another

How to Send Trackbacks and Pingbacks in ASP.NET(nayyeri.net)

submitted by RyanFarleyRyanFarley(585) 3 years, 9 months ago

This is an excellent article from Keyvan Nayyeri showing how to create trackbacks and pingbacks in ASP.NET. read more...

add a comment |category: |Views: 211

tags: another

How to use the IHttpAsyncHandler in ASP.NET(blog.madskristensen.dk)

submitted by crpietschmanncrpietschmann(11.3k) 3 years, 10 months ago

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 scalability. That’s because each thread is returned much faster to the thread pool. read more...

add a comment |category: |Views: 195

tags: another

CSS and JS compression through ASP.NET handlers(blog.computerero.com)

submitted by dreinavarrodreinavarro(25) 4 years, 3 months ago

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.) read more...

1 comment |category: |Views: 132

tags: another

HttpHandlers(codebetter.com)

submitted by TigraineTigraine(145) 4 years, 5 months ago

A pretty useable article on how to use HTTP Handlers and why not. read more...

add a comment |category: |Views: 15

tags: another

SharpCacheSessionManager(aspadvice.com)

submitted by gavinjoycegavinjoyce(25.7k) 4 years, 7 months ago

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. read more...

1 comment |category: |Views: 11

tags: another

Streaming a vCard on the Fly in ASP.NET with a Custom httpHandler (professionalaspnet.com)

submitted by docluvdocluv(1575) 4 years, 8 months ago

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 standard format for sharing information about a person that can be imported directly to applications like Outlook. read more...

add a comment |category: |Views: 108

tags: another

HttpHandler for Images in ASP .NET 2.0(sunilksaini.blogspot.com)

submitted by sunilksainisunilksaini(170) 4 years, 9 months ago

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 the server, it goes through the Filter and performs operations as per our requirement read more...

add a comment |category: |Views: 49

tags: another

Add variables to standard CSS stylesheets in ASP.NET(madskristensen.dk)

submitted by MHamiltonMHamilton(170) 4 years, 11 months ago

Great way to be more dynamic with your stylesheets. Allows for more flexible website layouts based on dyanmic information. read more...

2 comments |category: |Views: 46

tags: another

HttpHandler and "Save As" prompt(weblogs.asp.net)

submitted by PluginbabyPluginbaby(1190) 5 years, 2 months ago

Forcing an "open, save" prompt for known file types. read more...

add a comment |category: |Views: 18

tags: another

HttpHandler and "Save As" prompt(weblogs.asp.net)

submitted by PluginbabyPluginbaby(1190) 5 years, 2 months ago

Forcing an "open, save" prompt for known file types. read more...

add a comment |category: |Views: 18

tags: another

HttpHandler and "Save As" prompt (weblogs.asp.net)

submitted by crpietschmanncrpietschmann(11.3k) 5 years, 2 months ago

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 from Andrew L. Van Slaars. read more...

add a comment |category: |Views: 35

tags: another