Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Real-World Web Development with .NET 9

You're reading from   Real-World Web Development with .NET 9 Build websites and services using mature and proven ASP.NET Core MVC, Web API, and Umbraco CMS

Arrow left icon
Product type Paperback
Published in Dec 2024
Publisher Packt
ISBN-13 9781835880388
Length
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Real-World Web Development with .NET 9: Build websites and services using mature and proven ASP.NET Core MVC, Web API, and Umbraco CMS
1 Introducing Web Development Using Controllers FREE CHAPTER 2 Building Websites Using ASP.NET Core MVC 3 Model Binding, Validation, and Data Using EF Core 4 Building and Localizing Web User Interfaces 5 Authentication and Authorization 6 Performance Optimization Using Caching 7 Web User Interface Testing Using Playwright 8 Configuring and Containerizing ASP.NET Core Projects 9 Building Web Services Using ASP.NET Core Web API 10 Building Web Services Using ASP.NET Core OData 11 Building Web Services Using FastEndpoints 12 Web Service Integration Testing 13 Web Content Management Using Umbraco 14 Customizing and Extending Umbraco 15 Epilogue

Building an entity model for use in the rest of the book

Websites and web services usually need to work with data in a relational database or another data store. There are several technologies that could be used, from lower-level ADO.NET to higher-level EF Core. We will use EF Core since it is flexible and more familiar to .NET developers.

In this section, we will define an EF Core entity data model for a database named Northwind stored in SQL Server. It will be used in most of the projects that we create in subsequent chapters.

Northwind database SQL scripts

The script for SQL Server creates 13 tables as well as related views and stored procedures. The SQL scripts are found at https://github.com/markjprice/web-dev-net9/tree/main/scripts/sql-scripts.

There are multiple SQL scripts to choose from, as described in the following list:

  • Northwind4AzureSqlEdgeDocker.sql script: To use SQL Server on a local computer in Docker. The script creates the Northwind database. It does not drop it...
You have been reading a chapter from
Real-World Web Development with .NET 9
Published in: Dec 2024
Publisher: Packt
ISBN-13: 9781835880388
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image