Learn ASP.NET Core 3 - Second Edition
-
Free ChapterSection 1: Introduction and Environment Setup
-
What Is ASP.NET Core 3?
-
Setting Up the Environment
- Setting Up the Environment
- Visual Studio 2019 as a development environment
- How to install Visual Studio 2019 Community Edition
- Basic debugging with Visual Studio 2019
- Visual Studio Code as a development environment
- How to install Visual Studio Code on Linux
- Introduction to the C# Interactive and LINQPad tools
- Summary
-
Continuous Integration Pipeline in Azure DevOps
-
Section 2: A Practical Demonstration of ASP.NET Core 3
-
Basic Concepts of ASP.NET Core 3 via a Custom Application: Part 1
- Basic Concepts of ASP.NET Core 3 via a Custom Application: Part 1
- Preview of the Tic-Tac-Toe demo application
- Building the Tic-Tac-Toe game
- Introduction to the default ASP.NET Core 3 classes
- Preparing the basic project structure
- Creating the Tic-Tac-Toe home page
- Giving your web pages a more modern look by using NPM and layout pages
- Creating the Tic-Tac-Toe user registration page
- Creating the Tic-Tac-Toe user service
- Creating a basic communication middleware for the Tic-Tac-Toe application
- Adding error handling to the Tic-Tac-Toe application
- Summary
-
Basic Concepts of ASP.NET Core 3 via a Custom Application: Part 2
- Basic Concepts of ASP.NET Core 3 via a Custom Application: Part 2
- Client-side development using JavaScript
- Optimizing your web applications and using bundling and minification
- Working with WebSockets for real-time communication scenarios
- Taking advantage of session and user cache management
- Applying globalization and localization for multi-lingual user interfaces
- Configuring your applications and services
- Implementing advanced dependency injection concepts
- Summary
-
Introducing Razor Components and SignalR
-
Creating ASP.NET Core MVC Applications
- Creating ASP.NET Core MVC Applications
- Understanding the Model View Controller pattern
- Creating dedicated layouts for multiple devices
- Understanding ASP.NET Core state management
- Using view pages, partial views, View Components, and Tag Helpers
- Dividing a web application into multiple areas
- Applying advanced concepts such as view engines, unit tests, and integration tests
- Layering ASP.NET Core 3 applications
- Summary
-
Creating Web API Applications
-
Section 3: The ASP.NET Core 3 Supporting Ecosystem
-
Accessing Data Using Entity Framework Core 3
-
Securing ASP.NET Core 3 Applications
-
Securing ASP.NET Applications - Vulnerabilities
- Securing ASP.NET Applications - Vulnerabilities
- Cross-Site Scripting (XSS)
- Cookie stealing
- Eavesdropping, message tampering, and message replay
- Open redirects/XSR
- SQL injection
- Cross-Site Request Forgery (XSRF/CSRF)
- JS/JSON hijacking
- Over-posting
- Clickjacking
- Proper error reporting and stack trace
- Summary
-
Hosting ASP.NET Core 3 Applications
-
Managing ASP.NET Core 3 Applications
-
Other Books You May Enjoy
ASP.NET Core is an open source framework from Microsoft that makes it easy to build highly efficient and dynamic cross-platform web applications. Updated for the latest features of ASP.NET Core 3, this second edition will equip you with the skills you need to build powerful web applications.
The book starts with an introduction to ASP.NET Core and its features, giving you a complete understanding of the framework. You will also learn how to set up your development environment with Visual Studio 2019 and build a fully functioning application from scratch. You’ll then understand core concepts for building web applications such as Model View Controller (MVC), dependency injection, and WebSockets. As you advance, you’ll discover how to use Entity Framework Core 3 to automate all database-related activities for your application. You will then build and document secure web APIs using security best practices to protect your web applications from threats and vulnerabilities. Finally, you will learn how to use Azure DevOps as a CI/CD tool to deploy and monitor your applications using Microsoft Azure, Amazon Web Services (AWS), and Docker.
By the end of this book, you'll have the skills you need to develop efficient and robust web applications in ASP.NET Core 3.
- Publication date:
- December 2019
- Publisher
- Packt
- Pages
- 572
- ISBN
- 9781789610130