Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I want to create an Asp.Net application and pack it into one DLL. Actually I want to achieve the same effect FlurioneFX Asp.Net library does. To install this library, you just need to copy one DLL inside of Bin folder, and create empty Gateway.aspx. After that, you can open:
http://yourhost/FlurioneFx.aspx in your browser (which doesn't physically exists) and all resources will be loaded from this Dll.

How can I do the same?
Posted

You can use reflection to look at their code and see how they do it. I imagine they do it with some form of URL redirection, which runs the aspx inside their dll, and sends it in response to a page request for a page that is not physically there. I'm not sure why anyone would want to do this.
 
Share this answer
 
Thanks for the tip about URL redirection. I think it probably it.

The reason, why I want to do it, is that I want to distribute my application in a single file. To make it easy to add it to existent Website, without necessary of copying images, css/javascript files, etc.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900