共用方式為


Good article on hosting ASPX pages using System.Web.Hosting api's

With .NET 1.1, a hosting api was shipped under System.Web.Hosting namespace that let users execute ASPX pages without needing to have IIS. The namespace has got some cool features with whidbey beta 1. Whidbey beta 1 also introduced another cool class HttpListener that lets people listen for Http trafffic. I always wanted to post some details on how to integrate the ASPX hosting with HttpListener and found a good article on MSDN. https://msdn.microsoft.com/msdnmag/issues/04/12/ServiceStation/default.aspx. Its an infromative article and also serves as a quick tutorial for using the hosting API's.

PS: HttpListener can also be used to listen for SSL traffic and here is good post by my team member Adarsh on how to set up SSL for HttpListener https://blogs.msdn.com/adarshk/archive/2004/11/10/255467.aspx

 

This posting is provided "AS IS" with no warranties, and confers no rights

Comments