Step by step ASP. NET vNext (I)-basic concepts and environment configuration, asp. netvnext

Source: Internet
Author: User

Step by step ASP. NET vNext (I)-basic concepts and environment configuration, asp. netvnext

Forward: Microsoft MVP Lu Jianhui's article, hoping to help you.

Editor's note: The Times are changing. Two articles have been published in csdn for a year. Whatever the reason, I feel ashamed. However, this year, we will share some articles on. NET, mobile cross-platform, cloud computing, and other hot topics. Hope to have better communication.

Let's start with a series of ASP. NET vNext. I believe everyone knows that Microsoft started to open source different technologies in 2014. The. NET open source has different degrees of impact on Microsoft's business and technology. To be honest, the mono community has a name for so many years. I would like to thank Zhang Shanyou, Yi Mingzhi, Li Yang, and other Microsoft MVPs for their important promotion to the mono community on different occasions.

I. Let's take a look at what ASP. NET vNext is?

ASP. NET vNext is a new generation of modern and cloud applications. NET framework. It is a brand new open-source and cross-platform framework of Microsoft for open-source communities. It provides more modular, scalable, and asynchronous Web frameworks for Web applications. You can better integrate technologies such as MVC, Entity Framework, SignalR, and WebAPI in your applications. ASP. NET vNext is a re-architecture framework. You can run in two different runtime lightweight Core CLR and Full CLR. (To put it simply, Full CLR is traditional. NET Framework 4.5 works with traditional desktops/servers, while lightweight Core CLR simulates IIS channel Quick Start pages through command lines ). Let's see:




2. K in ASP. NET vNext

K is a group of tools and command line instruction sets that help ASP. NET vNext compile and run. It is also the development code in ASP. NET vNext. It allows ASP. NET vNext to run on Windows, Linux, and MacOS platforms. K consists of four parts:

KRE-K Runtime Environment

It is a tool and a package for running ASP. NET vNext. You can understand it as. NET/Mono framework runtime.

KVM-K Version Manager

Manage different ASP. NET vNext versions. You can adjust the version based on your different development needs and running needs.

KPM-K Package Manager

ASP. NET vNext Nuget Package Manager. Manage and call the packages required by the project

K/KLR-K runtime/K language runtime

This is a language runtime environment. You can use C #, F # Or VB to Develop ASP. NET vNext through K/KLR translation. Official open-source is a good thing. Apart from traditional languages, I hope Swift will be available,

It is easy to understand how ASP. NET vNext is used together.


3. How to configure your ASP. NET vNext Environment

Because the new ASP. NET vNext can be developed and run on different platforms, it means you can choose to use it in different environments (if you think you are good at yourself, Raspberry Pi is recommended ). Since the official documents are clear, I will omit N words here. For more information, see ASP. NET vNext environment configuration here I want to add a point, because ASP. NET vNext is still in the beta stage, so we suggest you pay attention to the official github as much as possible. You can update your runtime environment at any time and learn about the latest changes.

4. Select development tools

Visual Studio 2015 is the most primitive choice, but I think it is too cumbersome. I prefer to use the lightweight Sublime + git method to manage code (I am not really a hit ). ASP. NET vNext provides excellent plug-ins for Sublime. If you are interested in it, click here. The following is the working environment of my project. Do Visual Studio developers have a bright eye?



Today, we will give you a simple concept. We will go to the Project Practice Stage tomorrow. Please pay attention to it.

Address: http://blog.csdn.net/kinfey/article/details/44306145

Welcome to the anb-io subscription number of this blog. Content is pushed every week, and there are technologies and lives. We will work with you to develop a sentimental program.

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.