MVC Core website development (Ninesky) 1. Create a project, mvcninesky

Source: Internet
Author: User
Tags database issues

MVC Core website development (Ninesky) 1. Create a project, mvcninesky

Start another project! I am ashamed to say that I haven't finished my previous work every time. I don't want to finish it. I want to try it every time I see new technologies. net Core is itchy again and began to learn MVC Core.

MVC Core attracts three of the following:

  • Cross-platform: both windows and linux can be used. In the future, it is unnecessary for customer service to use windows servers.
  • Multi-database support: This is the Entity framework Core function, which provides SQL Server, SQlite, PostgreSQL, MySQL and other database support. In linux, using. Net MVC no longer has to worry about database issues.
  • Dependency injection: decoupling improves development efficiency.

This time, I didn't set any goals, and I didn't want to write anything about it... You can easily write where it is.

 

I. Development Environment

Visual Studo 2013 Update3

Microsoft. NET Core Tools (Preview 2) 14.1.2111.0

Microsoft SQL Server Data Tools 14.061021.0

Ii. Language

C #

3. Create a project

1. In Visual StudoFile->New->Project

2.Create a projectSelectInstalled->Template->Visual C # ->. Net Core->ASP. NET Core Web Application (. NET Core)

Name:Ninesky. Web

Solution Name:Ninesky

SelectCreate a GIT Repository* If code hosting is not performed, do not select this option.

3. SelectWeb Applications, Authentication:No authentication is performed.ClickOKStart creating a project

After the project is created, the project's organizational structure is shown in figure. The structure changes a lot compared with MVC5.

Click F5 to run and view the default homepage generated by the framework.

4. Others

Code hosting address: https://git.oschina.net/ninesky/Ninesky

Article published by: http://www.ninesky.cn http://mzwhj.cnblogs.com/

Code package download: http://pan.baidu.com/s/1hrAP1ZY

Related Article

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.