Creating ASP.NET Core Web Applications
Год издания: 2021
Автор: Strauss D.
Издательство: Apress
ISBN: 978-1-4842-6828-5
Язык: Английский
Формат: PDF/ePub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 300
Описание: Design and develop an ASP.NET Core web application using .NET Core 3.0. This book shows you how to publish a web application to a web server and connect the published web application to a production database.
Creating ASP.NET Core Web Applications starts by setting up the Visual Studio project where you will learn about Razor pages, Entities, and creating a data service. You will create models along with methods to use a query string and handle bad requests. Modifying data with Tag helpers is discussed as well as installation of Entity Framework, working with database migrations, and implementing a data access service. You will learn how to use layout pages and sections with Partial Views, _ViewImports, and _ViewStart files. You also will create custom middleware and log application events. You will be able to deploy the web application as well as connect it to a SQL Server database.
You will:
- Work with models
- Modify data
- Work with EF Core and SQL Server
- Work with Razor pages and Partial Views
- Use separate scripts for production vs development
- Trace client-side errors using Chrome Developer tools
- Create cascading style sheets (CSS) with Sassy CSS (SCSS)
- Explore middleware
- Deploy your web application to IIS
Оглавление
About the Author ix
About the Technical Reviewer xi
Acknowledgments xiii
Introduction xv
Chapter 1: Creating and Setting Up Your Project 1
Chapter 2: Creating Models 39
Chapter 3: Modifying Data 79
Chapter 4: EF Core and SQL Server 119
Chapter 5: Working with Razor Pages 149
Chapter 6: Adding Client-Side Logic 183
Chapter 7: Exploring Middleware 225
Chapter 8: Web Application Deployment 257
Index 285