Blog
- Home
- ASP.NET Core
- My "Introducing ASP.NET Core 2.0" lesson's review
My "Introducing ASP.NET Core 2.0" lesson's review
1) .NET Standard
- .NET Standard isn't a Framework but an agreement, an interface. .NET Standard is a series of APIs that allow multiple instances of .NET which are agree on something
- .NET Standard provides a specification for any platform to implement. It allows sharing code, binaries, and skills between .NET client, server and all flavors.
- All .NET Runtimes provider by Microsoft implement the standard
How to test
You have to install the .NET Core 2.0 framework and the preview of Visual Studio 2017. Visual Studio 2017 Preview will install another install of Visual Studio 2017 so you can have Visual Studio 2017 and Visual Studio 2017 Preview side-by-side.
Application configuration
- The ASP.NET Core team did a rollback on the project.json file, to come back to a old-like CSPROJ, still in XML but with a much lighter format
- The package dependency management allows to reference packages of packages, to avoid reference dozens of packages manually, but you still can do this if you prefer
- The host and application configuration is now managed by the Dependency Injection module, who simplify the process and add more flexibility
- The default configuratrion file format is still Json
Razor Pages
- Razor Pages are pages, not views
- The folder "Pages" is interpreted and diseapears from the page urls (/Pages/awesome.cshtml -> /awesome)
- Razor pages are not the future of MVC, it's another possibility of MVC
Razor Pages Sample by Damian Edwards on GitHub
SignalR
- Will be introduce in the future version of ASP.NET Core
Performance
- ASP.NET Core 2.0.0 is 25% faster than ASP.NET Core 1.1
- The published files are much lighter than with ASP.NET Core 1.1
Azure
- Application Insights
- Azure AD B2C
Notes
- Kestrel is the name of the tiny cross-platform web server
- There is a certificate store in Visual Studio
Remarks
- Demo starts with Visual Studio Code, the .NET Core CLI and Google Chrome, an "impartial browser" ( :) ), and switches after on Visual Studio 2017 Preview. Interesting to see that a lot of demos from the Build 2017 are using Visual Studio Code instead of Visual Studio, and GIT instead of TSVC when a source control software is needed. Google Chrome makes a lot of apprearance too.
- Channel 9 is a really great source of knowledge
- Scott Hanselman is awesome
May 30, 2017