ASP. NET MVC Core Starter Kit

Source: Internet
Author: User

The previous post, NuGet package for. NET core programs, mentions that you are ready to create a NuGet bundle that automatically generates a simple example project for ASP. Originally intended to be implemented with NuGet, but later discovered that NuGet did not automatically introduce the content directory when using the. NET core NuGet Package, and official documentation also indicated that it was being developed, so this implementation was abandoned.

Can not be implemented with NuGet package, so the implementation of the project template, the implementation process is more simple and fast, the specific process is not detailed, simply say

1 first create your own common Starterkit project, which starts with empty Web project, manually joins the required files and dependencies, and contains the basic MVC framework content.

For code content, see

Https://github.com/shenba2014/AspDotNetCoreMvcExamples/tree/master/StarterKit

There are two items in the Starterkit and Starterkitvsix,starterkit are the actual template content, Starterkitvsix is used to generate the VSIX file.

2 Create a project Template

Reference https://msdn.microsoft.com/en-us/library/xkh1wxd8.aspx

3 Generating a VSIX file

https://msdn.microsoft.com/en-us/library/dd885241.aspx?f=255&MSPPError=-2147217396

In fact, to this step can be directly installed in the generated VSIX file to Vistual Studio, see (Tools->extensions and updates–> installed–> Templates)

4 Publishing templates to visual Studio Marketplace

This step can be omitted, but always feel incomplete, always to share out or later to use or not to look for installation files, like NuGet package

The release is also very simple, log in with Microsoft's account, and follow the prompts step by step, following the successful release

As with the NuGet package release, you will have to wait a while to be searched, and don't have to wait long, this is a link to the template file

Https://marketplace.visualstudio.com/items?itemName=junwenluo.ASPNETMVCCoreStarterKit

Of course, it can be found in Visual Studio.

OK, the project template is created to the end, the follow-up exercises or samples will be more convenient.

ASP. NET MVC Core Starter Kit

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.