Clear the website on IIS Express, iisexpress
By default, When Visual Studio is used to browse Web pages, websites are saved on IIS Express and need to be cleaned manually. You can use the command line or interface to clean up.
□Use the command line
Find appcmd.exe in the C: \ Program Files \ IIS Express folder.
→ Enter the following command to access drive C:
Upload to the folder where appcmd.exe is located
→ List all Websites stored on IIS Express
→ If you want to see the folder where the website is located
→ If you want to rename a website, for example, you want to rename the "First WCF Demo"
→ If you want to delete a website, such as "hellowcf ",
Note: The website is only deleted from the IIS Express website and will not be deleted from the disk.
□Interface
→ Click "file" -- "New Website"
→ For example, select the "Visual C #" option under "template ".
→ Click "Browse"
→ Click "Local IIS" to view all websites on IIS and IIS Express. Select a website and click Delete in the upper-right corner to delete the website.
Note: The website is only deleted from the IIS Express website and will not be deleted from the disk.
How does the server clear IIS cache records?
IIS is available on each server. IIS is no stranger to everyone. IIS caching improves server capabilities for one reason, but its negative effects bring serious problems to websites. Check the HTTP protocol, and the netizens will find that this command Cache-Control: no-cache can be defined in the HTTP header returned by the server. This approach can be used to solve problems. Step 2: Open the IIS configuration management software (Internet Information Service (IIS) manager ). Select a website (You may want to configure the existing website, select the "website" icon in the "click" website "") and click the "attribute" option. A Configuration window is displayed. Step 2: Select the "HTTP header" TAB. Next, you will observe the column "select HTTP header. OK! This is the place! Step 2: click the "add (D)..." option next to it to add the command. In the pop-up window, in "select HTTP header name (C) by yourself", enter "Cache-Control", and in "select HTTP header value by yourself (U: "no-cache ". Okay, there will be OK in this place. Just click "OK" to save it. In this case, the IIS cache on the server has been completely cleared.
Can IIs7 Express be used as an IIS server independently?
Yes, I have used it.
"Website", "set", and change the IP address on the right to the machine name or IP address.