Can an assembly in an ASP.NET Bin folder automatically register HTTP handlers?

No that is simply not possible Everything in ASP. NET that responds back with HTML output is HttpHandler somewhere in the inheritance hierarchy. So HttpHandlers are really one of the most critical part of ASP.NET runtime.

Even your asp. Net pages aspx,ascx do implement IhttpHandler to be able to serve HTML content You must configure them in your web. Config to have them work for you.

No that is simply not possible. Everything in ASP. NET that responds back with HTML output is HttpHandler somewhere in the inheritance hierarchy.So HttpHandlers are really one of the most critical part of ASP.

NET runtime. Even your asp.Net pages aspx,ascx do implement IhttpHandler to be able to serve HTML content. You must configure them in your web.

Config to have them work for you.

And you only add the Master to the web. Config file, and the rest are just code files in App_Code? – Simon Svensson Jun 22 '09 at 5:27 I was actually looking forward to include something like this in my reply.

Can you explain me your scenario or application context, in order to come up with a right applicable solution for this? Thnx. – this.

__curious_geek Jun 22 '09 at 5:36 Check out www.postsharp.org. This might help you to an extent. – this.

__curious_geek Jul 16 '09 at 11:56.

ASP.NET recognizes the Bin folder of a website as a special folder for specific types of content. A Bin folder is meant to contain compiled assemblies (.dll files) for custom ASP.NET controls, components, or other code that you want to reference in your ASP.NET web application. You can store compiled assemblies in the Bin folder, and other code anywhere in the web application (such as code for pages) automatically references it.

A typical example is that you have the compiled code for a custom class. You can copy the compiled assembly to the Bin folder of your Web application and the class is then available to all pages. Assemblies in the Bin folder do not need to be installed in the Global Assembly Cache (GAC).

The presence of a . Dll file in the Bin folder is sufficient for ASP.NET to recognize it. If you change the .

Dll and write a new version of it to the Bin folder, ASP.NET detects the update and uses the new version of the . Dll for new page requests from then on.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions