B
Brian Takita
Hello,
Is there a way to unit test a that derives from IHttpHandler that uses
the HttpResponse in the HttpContext passed to it?
When I try to call the context.Response.End() method, I get the
following error:
Unable to connect to the remote server
I am looking at
http://hyperthink.net/blog/CommentView,guid,271632d2-07e3-41af-9e58-9a7e25348b8c.aspx
which has a way to create a HttpRuntime, so IIS is not needed to unit
test an asp.net page.
Unfortunately, I can't figure out how to get the IHttpHandler attached.
Does anybody know how to do this?
Thank you,
Brian Takita
Is there a way to unit test a that derives from IHttpHandler that uses
the HttpResponse in the HttpContext passed to it?
When I try to call the context.Response.End() method, I get the
following error:
Unable to connect to the remote server
I am looking at
http://hyperthink.net/blog/CommentView,guid,271632d2-07e3-41af-9e58-9a7e25348b8c.aspx
which has a way to create a HttpRuntime, so IIS is not needed to unit
test an asp.net page.
Unfortunately, I can't figure out how to get the IHttpHandler attached.
Does anybody know how to do this?
Thank you,
Brian Takita