IIS express support is introduced in SP1 of vs2010, which is a pleasure ...... Because the built-in Asp.net development server can only run on a single site, and cloud issues such as virtual directories cannot be set.
Similar to many versions, only Vista/win7 basic does not have IIS.
Can I build a. Net Open Source CMS for intranet use in similar schools?
This article describes how to set up. Net Open Source CMS using IIS Express.
Required download:
IIS express and webmatrix
You can download it from the official website:
You can also use the complete package I prepared
Webmatrix 1.13
Http://down.51cto.com/data/522985
Webmatrix 2.0
Http://down.51cto.com/data/523240
Note: IIS express 7.5 has a large Internet access restriction and requires many additional settings. Therefore, we recommend that you download webmatrix 2.0 + IIS express 8.0
. NET Framework 4.0/4.5 and. NET Framework 3.5
In this article, CMS requires. NET Framework 2.0, so WINXP also needs to install. NET Framework 3.5.
SQL Server Express
Generally, small sites and express are enough. After SQL Server express 2008r2, up to 10 Gb of database files are supported.
Official download
Microsoft SQL Server 2005 Express
Http://www.microsoft.com/zh-cn/download/details.aspx? Id = 15291
Microsoft SQL Server 2012 express
Http://www.microsoft.com/zh-cn/download/details.aspx? Id = 29062
SQL Server 2008 SP3 Express
Http://www.microsoft.com/zh-cn/download/details.aspx? Id = 27597
To Install SQL Server, You must select the hybrid login mode, that is, you must set the SA access password and then configure the CMS to use
Enable SQL Server TCP/IP access (optional)
Open SQL Server Configuration Manager
Find the sqlexpress protocol, and find the TCP/IP setting to Enabled
Find the SQL native client Configuration
-> Set TCP/IP to enabled for client Protocol
Find the SQL Server service
Right-click SQL Server Browser and set the start mode to automatic (disabled by default, which cannot be started by right-click)
Right-click SQL Server Browser and choose start
Database management considerationsSQL Server Management studio ExpressWe will not discuss it here. The version must be matched.
Download related CMS files, such as the easy-to-use sitefactory
Decompress and find the website directory path. For example, my website directory is c: \ Users \ luozhuang \ Documents \ My web sites \ website.
Find webmatrix in the Start Menu
Vista/win7 Note: Right-click webmatrix and select the Administrator to run
If you want IIS express to support non-localhost mode, that is, bind your own IP address, you must start IIS as an administrator.
Start webmatrix to open the website and select to use folders as the site
Select the website directory path. For example, my website directory is c: \ Users \ luozhuang \ Documents \ My web sites \ website.
CMS is easy to install. You only need to check the so-called installation instructions.
Easy-to-use sitefactory compressed packages have a fast installation Description. txt
Take a closer look and go to the/install/default. aspx page of the website.
Step by step.
If you want CMS to allow Internet access, you need to set the local IP address in webmatrix, and then you can use the local IP address to access it (if windows network firewall is not configured, close it)