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?