Thursday, January 23, 2025

.Net 9 with Angular 19

Visual Studio provides a project template for working with Angular and .Net Core.









It creates a solution with separate Web Api and Angular projects.




WeatherForecast Web API's data is consumed by the Angular Component. 






Converting Module based project to Stand alone


The Angular project still uses Modules instead of Stand Alone Component.





ng g @angular/core:standalone
ng generate @angular/core:standalone schematics can be used to convert Module based Angular project to Stand alone.

No comments:

Post a Comment