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