Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ASP.NET Core MVC 2.0 Cookbook

You're reading from   ASP.NET Core MVC 2.0 Cookbook Effective ways to build modern, interactive web applications with ASP.NET Core MVC 2.0

Arrow left icon
Product type Paperback
Published in Feb 2018
Publisher
ISBN-13 9781785886751
Length 668 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (3):
Arrow left icon
Engin Polat Engin Polat
Author Profile Icon Engin Polat
Engin Polat
Jason De Oliveira Jason De Oliveira
Author Profile Icon Jason De Oliveira
Jason De Oliveira
Stephane Belkheraz Stephane Belkheraz
Author Profile Icon Stephane Belkheraz
Stephane Belkheraz
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Cross-Platform with .NET Core FREE CHAPTER 2. Visual Studio 2017, C# 6, IDEs, and Roslyn 3. Working with npm, Frontend Package Managers, and Task Runners 4. Reusing Code with NuGet 5. SOLID Principles, Inversion of Control, and Dependency Injection 6. Data Access - EF7 with Repository, SQL Server, and Stored Procedures 7. Accessing data with Micro ORMs, NoSQL, and Azure 8. Cache and Session - Distributed, Server, and Client 9. Routing 10. ASP.NET Core MVC 11. Web API 12. Filters 13. Views, Models, and ViewModels 14. Razor and Views 15. TagHelpers and ViewComponents 16. OWIN and Middleware 17. Security 18. Frontend Development 19. Deployment and Hosting 20. Other Books You May Enjoy

What's new in ASP.NET and CLR?

We now will use two frameworks, and have two options to develop web applications:

  • The Framework 4.6, which offers us maximum compatibility with legacy apps and the previous .NET frameworks. Framework 4.6 only works on Windows. One of the most interesting new features of ASP.NET 4.6 is HTTP2, which gives us:
    • Asynchronous ModelBinding
    • Ability to always encrypt exchanges on the web
    • Pre-population of the browser's cache
    • Interruption of a TCP connection without closing
  • The .NET Core 2.0, which is the modular and lightweight approach above the Core CLR to develop cross-platform applications.

We can use them independently, or both at the same time, in order to create a two-frameworks-compatible application, and the old DLLs of the legacy applications will have to migrate on .NET Core version 2.0.

Two versions of the .NET framework can also live side by side in the same application; for example, .NET Framework 4.6 and .NET Core 2.0.

Before .NET Core, Mono was used as and open source cross-platform .NET Framework.

All the libraries outside the framework are optional, available in the form of packages.

Before .NET Core, a .NET application could only be executed under Windows, because only Windows could instantiate the CLR. If IIS was in charge of the instantiation, WebEngine.dll was responsible for instantiating CLR.

Now, we have a new SDK with a lot of tools to allow us to execute ASP.NET applications outside IIS and independently from any web server.

You have been reading a chapter from
ASP.NET Core MVC 2.0 Cookbook
Published in: Feb 2018
Publisher:
ISBN-13: 9781785886751
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image