WebMatrix IntroductionWebMatrix is a free and lightweight Web development tool developed by Microsoft. It provides a simple way for us to create a site. It includes IIS ExpressWeb Server), ASP. NETWeb Framework), and SQL Server Compact embedded database ). It also provides a simple extension tool that allows your site to combine some popular open-source applications. In addition, you can easily switch from WebMatrix to Visual Studio and SQL Server. You can use WebMatrix to develop dynamic page files based on ASP. NET, Razor, C #, and VB, or create HTML, CSS, JavaScript, and other files. If you create a Web site, you can use WebMatrix as a lightweight tool. In this way, you do not need to endure the depressing snail bait speed of Visual Studio. ^_^!WebMatrix InstallationMicrosoft currently provides WebMatrix 2 Beta version download 1. Use Microsoft Web platform installer, click: http://go.microsoft.com/fwlink? LinkID = 2058672. Direct: http://download.microsoft.com/download/C/9/2/C9288B42-5C25-474D-A51A-1BA3749C4DBF/AspNetWebPages.msiWebMatrix
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1P24K023-0.jpg "/>
You will see a simple interface, you need to know that this device is only 33 M after installation. You can use Open Site to Open a Site you have created, or click Telmplates to create a Site with a specified template. In App Gallery, you can download third-party open-source applications officially from Microsoft. This allows you to easily build more practical or dazzling functions.
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1P24H053-1.jpg "/>
After clicking Templates, you can create an empty site, define a name for your site, and click OK.
- After creation, the interface is as follows:
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1P24K339-2.jpg "/>
After creating a site, you can click Files to enter the file editing area.
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1P24KH5-3.jpg "/>
Open the Default. cshtml file and you can see the preceding HTML code. The @ code is Razor, which will be detailed in future articles. Then, enter some content on your page and run the page to check the result!
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1P24G110-4.jpg "/>
- Click Run and the result is as follows:
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1P24GD2-5.jpg "/>
Summary
In general, WebMatrix is very useful, and the installation package only needs 13 M. After installation, it only has 33 M, and the running speed is also very fast, which is much better than, suitable for WEB developers. In subsequent chapters, we will detail how to use WebMatrix & Razor to create an ASP. NET site.
Resource:
Http://www.asp.net/web-pages/tutorials asp.net official tutorial)
This article is from the "Zhangjian technical column" blog, please be sure to keep this source http://jianle.blog.51cto.com/429692/823258