Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Enterprise Application Development with C# 10 and .NET 6
  • Table Of Contents Toc
Enterprise Application Development with C# 10 and .NET 6

Enterprise Application Development with C# 10 and .NET 6 - Second Edition

By : Ravindra Akella, Arun Kumar Tamirisa , Suneel Kumar Kunani, Bhupesh Guptha Muthiyalu
4.2 (5)
close
close
Enterprise Application Development with C# 10 and .NET 6

Enterprise Application Development with C# 10 and .NET 6

4.2 (5)
By: Ravindra Akella, Arun Kumar Tamirisa , Suneel Kumar Kunani, Bhupesh Guptha Muthiyalu

Overview of this book

Building production-ready enterprise applications can be a challenging task due to the overabundance of tools and their different versions that make app development complex. This book simplifies the process with an end-to-end road map for building enterprise applications from scratch using the latest features of .NET Core 6 and C# 10. Throughout the book, you'll work on creating an enterprise app, adding a key component to the app with each chapter, before ?nally 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. The book then shows you how the latest Microsoft Visual Studio and C# 10 help you simplify developer tasks and shares tips and tricks in Visual Studio to improve your productivity. You'll discover various testing techniques, such as unit testing and performance testing, as well as di?erent 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 6 and deploy them to the cloud while working with various cloud components using Azure.
Table of Contents (23 chapters)
close
close
1
Part 1: Fundamentals
5
Part 2: Cross-Cutting Concerns
11
Part 3: Developing Enterprise Applications
15
Part 4: Security
18
Part 5: Health Checks, Unit Testing, Deployment, and Diagnostics

Designing a cache abstraction layer using distributed caching

In enterprise applications, it's always good to have a wrapper class on top of an underlying cache implementation as it abstracts the core logic of caching and can also be used as one single class that holds application-wide default cache entry options.

We will be implementing a cache wrapper class with an underlying store as Azure Cache for Redis using the IDistributedCache implementation. It's a .NET Standard 2.1 class library; the source code for this library is available in the Packt.Ecommerce.Caching project. Any class that wants to cache data should inject IDistributedCacheService using constructor injection and can call the following various methods:

  • AddOrUpdateCacheAsync<T>: Adds or updates cache entries of type T asynchronously
  • AddOrUpdateCacheStringAsync: Adds or updates cache entries of the string type asynchronously
  • GetCacheAsync<T>: Gets cache entries of type T asynchronously...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Enterprise Application Development with C# 10 and .NET 6
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon