ASP. NET Vnext Summary: KVM

Source: Internet
Author: User

1. Preface

This chapter is also the first chapter of the CLR Kre and the fourth EF k EF Commands Supplement, which uses KVM. Non-professional writing technology articles are really not good enough to fully express all aspects.

Is KVM a god horse? What about it? Let's talk about the following. Actually, you're not going to go deep. What are the KVM commands? There are basically some setup ways to do it in VS, but KVM is behind it.

I'm very sorry to say that title is introducing KVM, and I can't tell you the following. To tell the truth, write a post is for yourself to learn to summarize, take out and share with you, if there is misleading, also not responsible, because I did not collect your money. Next, you can understand the compilation, release, and deployment of the project.

2. Installing the KVM

To enter DOS as an administrator user:

Note (command characters are longer):

   @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString(‘https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.ps1‘))"

You also see Kre (can go to the first chapter of the post Introduction) where to install. If you need to upgrade, you can perform: KVM upgrade .

After this installation, such as: K EF Migration and other K commands can be used.

3.KRE

To perform a KVM list:

Alias is labeled default Kre version in VS:

4.project.json

Open the Projest.json in the "vnext.webstartertemplate" project:

You can set debug:

5.Started Project

Go back to the path under Project Project.json and execute KPM restore:

Perform k MyWeb:

After opening, you can browse:

Note: This deployment is the same as the VS Setup Debug. KVM has no more to say.

6. Release

To be Continued ...

ASP. NET Vnext Summary: KVM

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.