A practical guide for building websites and services with mature and proven ASP.NET Core controller-based technologies.
Key FeaturesMaster ASP.NET Core MVC, Web API, and OData for building robust web services.Get hands-on experience with web testing, security, and containerization techniques.Learn how to implement Umbraco CMS for content management websites.Book DescriptionReal-World Web Development with .NET 9 equips you to build professional websites and services using proven technologies like ASP.NET Core MVC, Web API, and OData—trusted by organizations for delivering robust web applications.
You’ll learn to design and build efficient web applications with ASP.NET Core MVC, creating well-structured, maintainable code that follows industry best practices. From there, you'll dive into Web API, mastering how to build RESTful services that are both secure and scalable. Along the way, you’ll also explore testing, authentication, containerization for deployment, ensuring that your solutions are fully production-ready.
In the final part of the book, you will be introduced to Umbraco CMS, a popular content management system for .NET. By mastering this tool, you’ll learn how to empower users to manage website content independently.
By the end of this book, you'll not only have a solid grasp of controller-based development but also the practical know-how to build dynamic, content-driven websites using a popular .NET CMS.
What you will learnBuild web applications using ASP.NET Core MVC with well-structured, maintainable codeDevelop secure and scalable RESTful services using Web API and ODataImplement authentication and authorization for your applicationsTest and containerize your .NET projects for smooth deploymentOptimize application performance with caching and other techniquesLearn how to use and implement Umbraco CMSWho this book is forThis book is aimed at intermediate .NET developers with a good understanding of C# and .NET fundamentals. It is ideal for developers looking to expand their skills in building professional, controller-based web applications.
Table of ContentsIntroducing Web Development with ControllersBuilding Websites Using ASP.NET Core MVCModel Binding, Validation, and Data Using EF CoreTag Helpers, Partial Views, and View ComponentsAuthentication and AuthorizationPerformance Optimization Using CachingWeb User Interface Testing Using PlaywrightConfiguring and Containerizing ASP.NET Core ProjectsBuilding Services Using ASP.NET Core Web APIBuilding Services Using ASP.NET Core ODataBuilding Services Using FastEndpointsWeb Service Integration TestingWeb Content Management Using UmbracoCustomizing and Extending Umbraco
Mark J Price is a former Microsoft Certified Trainer (MCT) and current Microsoft Specialist: Programming in C# and Architecting Microsoft Azure Solutions, with more than 20 years' of educational and programming experience.
Since 1993 Mark has passed more than 80 Microsoft programming exams and specializes in preparing others to pass them too. His students range from professionals with decades of experience to 16-year-old apprentices with none. Mark successfully guides all of them by combining educational skills with real-world experience consulting and developing systems for enterprises worldwide.
Between 2001 and 2003 Mark was employed full-time to write official courseware for Microsoft in Redmond, USA. Mark's team wrote the first training courses for C# while it was still an early alpha version. While with Microsoft he taught "train-the-trainer" classes to get other MCTs up-to-speed on C# and .NET.
Currently, Mark creates and delivers training courses for Episerver's Digital Experience Platform, the best .NET CMS for Digital Marketing and E-commerce.
In 2010 Mark studied for a Post-Graduate Certificate in Education (PGCE). He taught GCSE and A-Level mathematics in two London secondary schools. Mark holds a Computer Science BSc. Hons. Degree from the University of Bristol, UK.
Another great .Net book from Mark Price, this time with a twist (in my view) because it involves CMS. The book concentrates on building a modern content management website, a very common purpose. It is going to be an easy and practical learning experience using the most modern approaches, in my opinion. It even goes into performance optimization using more than one technique. Who need a slow website after all? Many things are covered in the book, some seem though quite cursory, but it gives you a push to explore further.
My favourite topics are FastEndpoints, testing using dev tunnel CLI, Playwright, and OData integration.
Three great things to mention: 1. The chapter on prototyping with Bootstrap is very useful for early MVPs; 2. Advocacy for using the EF Core, and 3. The use of Razor
Two things I would like to say are odd or to improve: 1) Third party libraries, including Umbraco - they are not .net or even Microsoft own components, so this is not a strictly .Net book, besides I wish Umbraco was covered more in-depth, 2) The use of Docker for containerization, it is for more established companies, in my view, because of their for-profit licensing model changes.
Overall, it is a solid, practical book for a modern web developer.