Book description
Become a professional .NET developer by learning expert techniques for building enterprise-grade applications
Key Features
- Explore the advanced features of C# and .NET 5 to enhance your code and productivity
- Follow clear and easy instructions for building an end-to-end enterprise application
- Learn how to build scalable web applications and host them on the cloud
Book Description
.NET Core is one of the most popular programming platforms in the world for an increasingly large community of developers thanks to its excellent cross-platform support. This book will show you how to confidently use the features of .NET 5 with C# 9 to build robust enterprise applications.
Throughout the book, you'll work on creating an enterprise app and adding a key component to the app with each chapter, before finally getting it ready for testing and deployment. You'll learn concepts relating to advanced data structures, the Entity Framework Core, parallel programming, and dependency injection. As you progress, you'll cover various authentication and authorization schemes provided by .NET Core to make your apps and APIs secure. Next, you'll build web apps using ASP.NET Core 5 and deploy them on the cloud while working with various cloud components using Azure. The book then shows you how to use the latest Microsoft Visual Studio 2019 and C# 9 to simplify developer tasks, and also explores tips and tricks in Visual Studio 2019 to improve your productivity. Later, you'll discover various testing techniques such as unit testing and performance testing as well as different methods to deploy enterprise apps.
By the end of this book, you'll be able to create enterprise apps using the powerful features of .NET 5 and deploy them on the cloud.
What you will learn
- Design enterprise apps by making the most of the latest features of .NET 5
- Discover di?erent layers of an app, such as the data layer, API layer, and web layer
- Explore end-to-end architecture, implement an enterprise web app using .NET and C# 9, and deploy the app on Azure
- Focus on the core concepts of web application development such as dependency injection, caching, logging, con?guration, and authentication, and implement them in .NET 5
- Integrate the new .NET 5 health and performance check APIs with your app
- Understand how .NET 5 works and contribute to the .NET 5 platform
Who this book is for
If you are a developer, architect, or senior programmer who wants to leverage the features of .NET 5 and the C# language, as well as grasp essential techniques to build your skills, then this C# .NET 5 book is for you. Beginner to intermediate-level knowledge of the .NET framework and C# programming is required to understand the concepts covered in this book more effectively.
Table of contents
- Enterprise Application Development with C# 9 and .NET 5
- Contributors
- About the authors
- About the reviewers
- Preface
- Section 1: Architecting an Enterprise Application and its Fundamentals
- Chapter 1: Designing and Architecting the Enterprise Application
- Chapter 2: Introducing .NET 5 Core and Standard
-
Chapter 3: Introducing C# 9
- Technical requirements
- Understanding Init-only setters
- Working with record types
- Understanding top-level statements
- Examining objects with pattern matching
- Understanding type inference with target-typed expressions
- Understanding static anonymous functions
- Eager initialization with module initializers
- Summary
- Questions
- Section 2: Cross-Cutting Concerns
- Chapter 4: Threading and Asynchronous Operations
- Chapter 5: Dependency Injection in .NET
- Chapter 6: Configuration in .NET Core
- Chapter 7: Logging in .NET 5
- Chapter 8: Understanding Caching
- Section 3: Developing Your Enterprise Application
- Chapter 9: Working with Data in .NET 5
- Chapter 10: Creating an ASP.NET Core 5 Web API
- Chapter 11: Creating an ASP.NET Core 5 Web Application
- Section 4: Security
-
Chapter 12: Understanding Authentication
- Technical requirements
- Understanding the elements of authentication in .NET 5
- Introduction to ASP.NET Core Identity
- Understanding OAuth 2.0
- Introduction to Azure AD
- Introduction to Windows Authentication
- Understanding best practices to secure client and server applications
- Summary
- Questions
- Further reading
- Chapter 13: Understanding Authorization
- Section 5: Health Checks, Unit Testing, Deployment, and Diagnostics
- Chapter 14: Health and Diagnostics
- Chapter 15: Testing
- Chapter 16: Deploying the Applications in Azure
- Assessments
- Other Books You May Enjoy
Product information
- Title: Enterprise Application Development with C# 9 and .NET 5
- Author(s):
- Release date: March 2021
- Publisher(s): Packt Publishing
- ISBN: 9781800209442
You might also like
book
Enterprise Application Development with C# 10 and .NET 6 - Second Edition
A comprehensive guide to every important component of C# and .NET 6 required to build robust …
book
C# and .NET Core Test Driven Development
Learn how to apply a test-driven development process by building ready C# 7 and .NET Core …
book
C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development - Fourth Edition
Publisher's Note: Microsoft stops supporting .NET Core 3.1 in December 2022. The newer 7th edition of …
book
Professional C# 7 and .NET Core 2.0, 7th Edition
The professional’s guide to C# 7, with expert guidance on the newest features Professional C# 7 …