Asp.net microserver principles

Source: Internet
Author: User

I didn't plan to write it, but in the reply, someone seems to have discovered the principle and replied to the detailed steps. The result was deleted by the blogger, I would like to say that this is a place for communication technology. It is meaningless to delete the post.

 

The reply says that C: \ Program Files (x86) \ Common Files \ microsoft shared \ DevServer \ 10.0 is used for implementation, so curious to open this path, A WebDev. webServer40.EXE, click the following interface, the title is "ASP. NET Development Server ", isn't that used in asp.net application debugging? The prompt information should be added.

So I started to use the powerful Reflector and build it after decompiling. What is wrong? Fortunately, I am also a programmer, so I started to report the error, and finally built successfully. I copied the generated exe to the website directory. Wow, I ran it ..

Double-click the exe selected in the red box. The running effect is as follows:

Note: This path was proposed by the original author. In fact, it mainly uses the content encapsulated by WebDev. WebHost40.dll. The actual call is as follows:

Server server = new Server (port, virtualPath, path, flag2, disableDirectoryListing );

Server. Start ();

 

I just threw the opportunity. If you are interested, please download the source code and study it ..

From: Where is spring?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.