Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Real-World Web Development with .NET 10

You're reading from   Real-World Web Development with .NET 10 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 2025
Publisher Packt
ISBN-13 9781835888926
Length 744 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Mark  J. Price Mark J. Price
Author Profile Icon Mark J. Price
Mark J. Price
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Introducing Real-World Web Development Using .NET 2. Building Websites Using ASP.NET Core MVC FREE CHAPTER 3. Model Binding, Validation, and Data Using EF Core 4. Building and Localizing Web User Interfaces 5. Authentication and Authorization 6. Performance and Scalability 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 Clients for Web Services 11. Testing and Debugging Web Services 12. Building Web Services Using ASP.NET Core OData 13. Building Web Services Using FastEndpoints 14. Web Content Management Using Umbraco CMS 15. Customizing and Extending Umbraco CMS 16. Epilogue 17. Unlock Your Exclusive Benefits 18. Index

Building a web service that supports OData

There is no dotnet new project template for ASP.NET Core OData, but it uses controller classes, so we will use the ASP.NET Core Web API using controllers project template and then add package references to add the OData capabilities:

  1. Use your preferred code editor to add a new project, as defined in the following list:
    • Project template: ASP.NET Core Web API / webapi --use-controllers
    • Solution file and folder: MatureWeb
    • Project file and folder: Northwind.OData
  2. If you are using Visual Studio, then confirm that the following defaults have been chosen:
    • Framework: .NET 10.0 (Long Term Support)
    • Authentication type: None
    • Configure for HTTPS: Selected
    • Enable container support: Cleared
    • Enable OpenAPI support: Selected
    • Do not use top-level statements: Cleared
    • Use controllers: Selected
    • Enlist in Aspire orchestration...
lock icon The rest of the chapter is locked
Visually different images
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.
Real-World Web Development with .NET 10
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 €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon