Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace skmHttpHandlers
- {
- public class SimpleHandler : IHttpHandler
- {
- public void ProcessRequest (HttpContext context)
- {
- context.Response.Write ("<html><body><h1>Test</h1></body></html>");
- }
- public bool IsReusable
- {
- get
- {
- return false;
- }
- }
- }
- }
- <configuration>
- <system.webServer>
- <handlers>
- <add name="SimpleHandler" path="*" verb="*"
- type="skmHttpHandlers.SimpleHandler, skmHttpHandlers"
- resourceType="Unspecified"
- requireAccess="Script"
- preCondition="integratedMode" />
- </handlers>
- </system.webServer>
- </configuration>
Add Comment
Please, Sign In to add comment