What is DevRel? | What is Developer Relations ?
A to Z Full Forms and Acronyms

What's new features in Asp.NET Core 2.0

Here I will explain the new features and point out some benefits of Asp.NET Core 2.0 over Asp.NET Core 1.x

The Asp.net Team announced the release of Asp.net Core 2.0 on 14 Aug 2017 and introducing some top new features like Performance, Razor Pages, Language Support, new and updated templates. You can also build your .NET Core 2.0 application using command line console. If you are using Visual Studio then you can download recently released Visual Studio 2017 Update 3(or VS Core).

 

You can download .NET Core 2.0 from here: Download .NET Core 2.0

 

Asp.net Core 2.0 eliminate many painful tasks of version 1.0 like when you performing migration from project.json to MSBuild was a painful task, but now this problem goes far away.  In this article, we are going to provide more details about the feature of Asp.NET Core 2.0.

I wanted to point out some features in Asp.net Core 2.0

 

OS Support Improvement

.NET Core offers portability across multiple operating systems, including desktops, Servers, and Mobiles. Linux is now treated as single OS instead of different distribution.

 

Razor Pages

Razor pages are a page first structure that allows user to focus on user interface and simplify the server side experience by PageModel objects. Razor pages are works with Asp.net Core 2.0 and supported by Visual studio 2017 v 15.3

 

Razor Support C# 7.1

Razor engine is updated to work with C# 7.1 features like Default expression, Pattern Matching with Generics and Inferred Tuple Names. For use C# 7.1 features in your project, you need to add following properties in your project file.

<LangVersion>latest</LangVersion>

 

Language Support

.Net Core 2.0 support C#, F# and Visual Basic.

 

Full .Net Assembly Support:

If you already create .NET assembly that contains code and you want to share your code between Asp.NET and Core then in .NET core 2.0 you can now reference a full .NET assembly in .NET Core.

 

Retargeting to .NET Core 2.0

When .NET core 2.0 SDK is installed, project that targeted .NET Core 1.x can be retargeted to .NET Core 2.0.

 

You can get more details about Asp.NET Core from the following video.

 

A to Z Full Forms and Acronyms
Nitin Pandit

Nitin Pandit

With over 10 years of vast development experience with different technologies, Nitin Pandit is Microsoft certified Most Valued Professional (Microsoft MVP) with a rich skillset that includes developing and managing IT/Web-based applications in different technologies, such as – C#.NET, ADO.NET, LINQ to SQL, WCF, and ASP.NET 2.0/3.x/4.0, WCF, WPF, MVC 5.0 (Razor), and Silverlight, along with client-side programming techniques, like jQuery and AngularJS. Nitin possesses a Master’s degree in Computer Science and has been actively contributing to the development community for its betterment. He has written more than 100 blogs/articles and 3 eBooks on different technologies to help improve the knowledge of young technology professionals. He has trained more than one lakh students and professionals, as a speaker in workshops and AppFests, conducted in more than 25 universities in North India.

Related Article

Cookies.

By using this website, you automatically accept that we use cookies. What for?

Understood