Basic use of StaticGatewayResourceHandle and IStaticGateway
Eyal.Albert posted on December 31, 2008 :: 477 views
This small application is a code snippet of how to use a StaticGatewayResourceHandle and IStaticGateway.
The StaticGatewayResourceHandle allows generating resources on demand. StaticGatewayResourceHandle receives a type instead of an instance and using this type it generates a gateway on demand.
I've created a class that inherits from IStaticGateway. In the GetGatewayHandler function I create Html page that uses two properties that where set in query string of the Url.
There is a C# and a VB project.
Enjoy
Eyal Albert
Download Code
Note: Codes are submitted as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Terms of Agreement:
By using this code, you agree to the following terms...
- You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
- You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
- You may link to this code from another website, but ONLY if it is not wrapped in a frame.
- You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.