Skip to content

PacktPublishing/ASP.NET-8-Best-Practices

Repository files navigation

ASP.NET 8 Best Practices

ASP.NET 8 Best Practices, Published by Packt

React Interview Guide

This is the code repository for ASP.NET 8 Best Practices, published by Packt.

Explore techniques, patterns, and practices to develop effective large-scale .NET web apps

What is this book about?

This book is for developers who have working knowledge of ASP.NET and want to advance in their careers by learning best practices followed in developer communities or corporate environments. Beginners can use this book as a springboard for integrating best practices into their learning journey, and as a reference to gain clarity on advanced ASP.NET topics at a later time.

This book covers the following exciting features:

  • Explore the common IDE tools used in the industry
  • Identify the best approach for organizing source control, projects, and middleware
  • Uncover and address top web security threats, implementing effective strategies to protect your code
  • Optimize Entity Framework for faster query performance using best practices
  • Automate software through continuous integration/continuous deployment
  • Gain a solid understanding of the .NET Core coding fundamentals for building websites
  • Harness HtmlHelpers, TagHelpers, ViewComponents, and Blazor for component-based development

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Following is what you need for this book: As .NET 8 emerges as a long-term support (LTS) release designed to assist developers in migrating legacy applications to ASP.NET, this best practices book becomes your go-to guide for exploring the intricacies of ASP.NET and advancing your skills as a software engineer, full-stack developer, or web architect.

Table Of Contents

About The Book and Repository

Welcome to ASP.NET 8 Best Practices!

ASP.NET 8 Best Practices contains over 100 best practices used in the ASP.NET community covering topics like how to squeeze the best performance out of your ASP.NET web application, what Entity Framework patterns are available, how to design a minimal web API, and how to structure Visual Studio projects based on project type.

The standards covered in the book include version control, creating software pipelines, creating structured Middleware, security practices, Entity Framework Core patterns and techniques, and automating time-consuming client-side tasks.

While best practices are considered recommendations on how to write professional code, there will always be exceptions to the rule. As developers know, there are so many ways to write code to achieve the same result. Some ways are better than others. These “better ways” are what I consider as best practices.

While covering each topic, the chapter will provide as much detail and referral material to explain why these techniques and patterns are indeed better ways to write professional code. It doesn’t mean they are written in stone. As mentioned before, there will always be exceptions to the rule.

To new developers entering the ASP.NET ecosystem, it can be overwhelming to build a new ASP.NET website and see everything associated with the process. This book is meant to lessen the sense of being overwhelmed by understanding each technology “spoke” attached to an ASP.NET website “hub”; It explores everything involved with creating a “simple” website.

To seasoned developers already using ASP.NET, use this book as a reference of recommendations and observations I’ve had over a 20-year career. Even the experiences with past and present colleagues are apparent in this book.

Code on, readers...Code on!

-Jonathan "JD" Danylko

Built With

The list of technologies used in the book include the following:

Getting Started

Each folder represents a chapter with one or more projects in each subfolder. To get a local copy up and running, follow these simple example steps.

Prerequisites

Visual Studio 2022 is recommended, but not required. Visual Studio Code using the C# DevKit could be used as well.

Installation

  1. Clone the repo using either command-line or Visual Studio
git clone https://github.com/PacktPublishing/ASP.NET-8-Best-Practices.git
  1. Open each chapter's folder to find solution files (*.sln)

Related products

Author

  • Jonathan "JD" Danylko is an award-winning, full-stack ASP.NET architect. He's used ASP.NET as his primary way to build websites since 2002 and before that, Classic ASP. Jonathan contributes to his blog (DanylkoWeb.com) on a weekly basis, has built a custom CMS, is a founder of Tuxboard (an open-source ASP.NET dashboard library), has been on various podcasts, and guest posted on the C# Advent Calendar for 6 years. Jonathan has worked in various industries for small, medium, and Fortune 100 companies, but currently works as an Architect at Insight Enterprise. The best way to contact Jonathan is through GitHub, LinkedIn, Twitter, email, or through the website. - Jonathan Danylko

Caveats

  • I've always been a fan of "real-world" reference books and wanted this book to be written as such for .NET developers. Each chapter is broken into thirds.
    • The first 1/3 is the overview/introduction to the topic with terms and concepts.
    • The second 1/3 contains small, bite-sized nuggets of "best practices"
    • The last 1/3 is a demo/example combining everything from the chapter (where applicable)

About

ASP.NET-8-Best-Practices, Published by Packt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •