Skip to content
Artwork for Adventures in .NET
Adventures in .NET · Dec 10, 2024 · 27 min

Blangular (Blazor + Angular) - .NET 209

Have you ever thought about mixing two SPA frameworks together? In today's episode we discuss doing just that, Blazor and Angular running in the same application. Both Angular and Blazor have ways to export code as web components that can be reused in other applications. In order to use Angular in Blazor you have to get familiar with IJSRuntime and how JavaScript interoperability works in Blazor. We look at how Blazor can provide input and get output from Angular as well as discuss how you can handle CSS between the two. We also go over some of the use cases for using Angular web components inside a Blazor application. Have you worked with Angular Elements or Blazor web components? Let us know on Twitter at @dotnet_Podcast. Links GitHub - danroth27/Blangular: Blazor + Angular Re-Using Angular Components In A Blazor WebAssembly Application Using Angular Elements - Web Components Custom Elements, FTW! Picks Caleb- French Onion Dip Shawn- Microsoft to acquire Activision Blizzard to bring the joy and community of gaming to everyone, across every device Wai- All-new Fire TV Stick 4K Max | Wi-Fi 6 Compatible Become a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.

0:00-27:12

transcript

No transcript — this publisher did not publish one.

show notes

Have you ever thought about mixing two SPA frameworks together? In today's episode we discuss doing just that, Blazor and Angular running in the same application. Both Angular and Blazor have ways to export code as web components that can be reused in other applications. In order to use Angular in Blazor you have to get familiar with IJSRuntime and how JavaScript interoperability works in Blazor. We look at how Blazor can provide input and get output from Angular as well as discuss how you can handle CSS between the two. We also go over some of the use cases for using Angular web components inside a Blazor application. Have you worked with Angular Elements or Blazor web components? Let us know on Twitter at @dotnet_Podcast.

Links

Picks


Become a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-net--6102015/support.
links7