Mastering ASP.NET Core 2.0
My new book is out! It is called Mastering ASP.NET Core 2.0 and was edited by Packt Publishing, as my previous one, Entity Framework Core Cookbook – Second Edition.
It was big challenge – the book has over 480 pages – and it spanned multiple .NET Core versions – 1.1 and 2.0. I tried to cover the most important things, even with some detail. The chapters are:
-
Getting Started with ASP.NET Core: .NET Core, ASP.NET Core, platforms, DI & IoC, MVC pattern, OWIN, hosting, environments
-
Configuration: providers
-
Routing: templates, handlers, constraints, areas, error handling
-
Controllers and Actions: controller lifecycle, API controllers, versioning, documentation, globalization, binding
-
Views: areas, layouts, Razor pages, globalization
-
Using Forms and Models: metadata, templates, binding, validation
-
Security: authentication, authorization, anti-forgery, CORS, HTTPS
-
Reusable Components: partial views, view components, tag helpers and tag helper components
-
Filters: authorization, resource, action, result, exception, Razor page
-
Logging, Tracing and Diagnostics: custom middleware, logging, DiagnosticSource, ELM, AppInsights, HealthCheck
-
Testing: xUnit, integration tests, UI tests with Selenium
-
Client-Side Development: Bower, Node.js/NPM, Gulp, Grunt, TypeScript, LESS
-
Improving the Performance and Scalability: asynchronous methods, profiling, bundling and minification, caching, response compression
-
Real-Time Communication: SignalR
-
Other Topics: areas, static files, application lifetime events, conventions, embedded resources, hosting extensions, URL rewriting
-
Deployment: Visual Studio, IIS, Azure, AWS, Nginx, Apache, Docker, Windows Service
Whenever there are important differences, I mention the differences between ASP.NET Core 1.x and 2.x, although I think this will be less important over time.
Overall, it was an exciting task, but not one without obstacles. I must thank the team at Packt Publishing, namely, Siddhi Chavan and Abhishek Sharma for all their patience and support. Also, Alvin Ashcraft, who was the technical reviewer.
Do have a look and share your feedback! It is available from the Packt Publishing site, Amazon and others, either in hardcopy or ebook format. The source code is available at https://github.com/PacktPublishing/Mastering-ASP.NET-Core-2.0.