Du er ikke logget ind
Beskrivelse
Build robust, scalable web applications using ASP.NET Core 8, Angular, and Entity Framework Core
Purchase of the print or Kindle book includes a free PDF eBook
Key FeaturesCombine ASP.NET Core and Angular to build highly versatile web applicationsCreate a production-ready Single-Page Application (SPA) or Progressive Web Application (PWA)Adopt a full-stack approach to handle data management, API documentation, Web APIs, end-to-end testing, security, and deploymentBook DescriptionIf you want to learn how to use ASP.NET Core with Angular effectively, this hands-on guide is for you.
Improve the way you create, debug, and deploy web applications while keeping up to date with the latest developments in .NET 8 and modern Angular, including .NET Minimal APIs and the new Angular standalone API defaults.
You'll begin by setting up SQL Server 2022 and building a data model with Entity Framework Core. You'll progress to fetching and displaying data, handling user input with Angular reactive forms, and implementing front-end and back-end validators for maximum effect. After that, you will perform advanced debugging and explore unit testing features with xUnit for .NET, and Jasmine and Karma for Angular. You'll use Identity API endpoints in ASP.NET Core and functional route guards in Angular to add authentication and authorization to your apps. Finally, you'll learn how to deploy to Windows, Linux, and Azure.
By the end of this book, you will understand how to tie together the front-end and back-end to build and deploy secure and robust web applications.
What you will learnExplore the new Angular and ASP.NET Core template with Visual Studio 2022Use modern interfaces and patterns such as the HTML5 pushState API, webhooks, and UI data bindingsAdd real-time capabilities to Angular apps with SignalR and gRPCImplement authentication and authorization using JWTsPerform DBMS structured logging using providers such as SeriLogConvert a standard web application to a progressive web application (PWA)Deploy an Angular app to Azure Static Web AppsAdd GraphQL support to back-end and front-end using HotChocolate and Apollo AngularWho this book is forThis book is for developers who have some familiarity with ASP.NET Core and Angular and want to learn how to use them effectively together.
Table of ContentsIntroducing ASP.NET and AngularGetting ReadyLooking AroundFront-End and Back-End InteractionsData Model with Entity Framework CoreFetching and Displaying DataForms and Data ValidationCode Tweaks and Data ServicesBack-End and Front-End DebuggingASP.NET Core and Angular Unit TestingAuthentication and AuthorizationProgressive Web AppsBeyond REST - Web API with GraphQLReal-Time Updates with SignalRWindows, Linux, and Azure Deployment