Webmatrix tutorial (1) (Follow Microsoft's latest weapon: Create your first webmatrix website)

Source: Internet
Author: User
Tags dotnetnuke install wordpress orchard cms sql server express
Document directory
  • This article helps you
  • 1. Install webmatrix.
  • 2. Run webmatrix
  • 3. Open Web Gallery
  • 4. Select a system
  • 5. Select the Database Type
  • 6. Set the database administrator password
  • 7. Start Installation
  • 9. Run the website for the first time
  • 10. Enter the website administrator information.
  • 11. Browse home
  • 12. open the file Workspace
  • 13. Open a file
  • 14. edit the file
  • 15. Run the website again
  • 16. Open the database Workspace
  • 17. modify data
  • 18. Test it.
  • 19. Open the report Workspace
  • 20. Create a new report
  • 21. Named report
  • 22. Browse reports
  • 23. Prepare for release
  •  
  • 24. Other methods for creating a website using webmatrix

"Unless you are asleep or have just returned from a long vacation, you should have noticed that ,..., Microsoft entered the "efficient developers" circle again ." -Scott Willhite-Director of Community programs from dotnetnuke

Microsoft defines webmatrix in this way-a brand new network development tool that covers all the website development you need.

You can also select multiple systems in the Web gallery list as the basic platform for your website, for example:

Dotnetnuke, Drupal, orchard CMS, ASP. net mvc, joomla! Umbraco ...., What makes webmatrix really revolutionary is the introduction of razor (cshtml), which can greatly simplify our programming workload.

From today on, I will share with you the new favorite of the future. Some people have already introduced the webmatrix feature in the garden. I will present it to you step by step.

See the following translations from your first website using webmatrix.

This article helps you

Install webmatrix.

Download and install an open-source website application

Perform initialization and installation, including database settings and network administrator settings

Use the built-in editor to edit site content

Use built-in Database Manager

Use site analysis

Prepare the release site

1. Install webmatrix. Visit the webmatrix download page and click Install nowIf you have not installed web platform installer, you may be prompted to install it. Then, click Install in the lower part of the Web Platform installer window.

In the windowWeb Platform Installation, Webmatrix prompts you the required third-party program, clickI accept.The installation is officially started.

2. Run webmatrix

After installation, you can find webmatrix in your Start Menu:Start>All programs>Microsoft webmatrix>Microsoft webmatrix.

3. Open Web Gallery

WebmatrixQuick StartThe page provides you with multiple methods to create a website. Here we will create a website based on an existing system.

InQuick StartPage, clickSite from Web Gallery.

4. Select a system WordPressIn Site nameEnter "mynewblog" and click Next.

5. select a database type. Most systems in the Web gallery List need a database (such as MySQL server or SQL Server express ). wordPress is only compatible with MySQL. the good news is that if you do not have MySQL, webmatrix will help you install one. click Yes, install it on my machineAnd then click Next.

When installing WordPress, you need to set up three sets of certificates (Administrator information ):

  • A set of Database Administrators (that is, the familiar "root" or "sa ").
  • Database User, used to connect to the database used by WordPress.
  • The website administrator used to manage WordPress.

Set these certificates,

6. Set the database administrator password

When you install the database engine for the first time, you need to enter the administrator password. in MySQL, the default name is "root" and in SQL Server it is "sa ".

ClickNext.

7. Start to install the WordPress and PHP

After you agree to the End User License Agreement (EULA), the installation starts.

8. Connect the database to the System

Next you need to set the database information:

Click Next.

After the execution is completed, you will see the completed interface, which may be somewhat different.

By default, the source code of the website isC: \ Users \ <yourusername> \ Documents \ My web sites \ mynewblog.

ClickOK.

9. Run the website for the first time

When you open your website with webmatrix, it looks like, clickRunLoad your website in a browser.

10. Enter the website administrator information.

Finally, you can chooseAllow my site to appear in search enginesThen clickInstall Wordpress

11. Browse home

Click back to my new blog.

By default, you will see:

12. open the file Workspace

For example:

Next, let's try to change the background color of some websites.

13. Open a file

14. edit the file

ClickGo to line, Type "34", and clickGo.

After this line:

font-weight: normal;

Join:

background-color: yellow;

Webmatrix and Visual Studio have the same functions as intelliisense:

ClickSave.

15. Run the website again

Select the entire site and clickRun. (If you do not select the root node of the website but select a file, clickRun, Webmatrix will display error information)

After the change:

16. Open the database Workspace

Let's try to directly modify the data in the database.

ClickDatabases.

17. modify data

Open TableMynewblogdb. Wp_posts.

In the first line,Post_titleModify "Hello world! "Is" Welcome to my new blog! ".

18. Test it.

19. Open the report Workspace

You can use the report function of webmatrix to analyze websites. We can use its modification suggestions to make websites faster or facilitate data collection by search engines.

ClickReports

20. Create a new report

ClickNew

21. Named report

 

22. Browse reports

Seo problems are classified as "information", "warning", or "error ".

You can also clickPerformance,Seo,All,URL,Issue typeFilter and classify results.

23. Prepare for release

ClickPublish.

At the first release, you will seePublish settingsDialog box.

24. Other methods for creating a website using webmatrix
  • Use the built-in Template.
  • Create a blank website.
  • Create from folder.

Pending

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.