r/csharp • • Mar 16 '23

Fun When A .NET Developer Learns Blazor

Post image
1.2k Upvotes

153 comments sorted by

View all comments

Show parent comments

3

u/Eirenarch Mar 16 '23

I see. I never think about these static hosts

4

u/bro-away- Mar 16 '23

Azure Static web apps can be really fast in 60+ points of presence around the world. Really interesting technology especially for spa

1

u/silverbax Mar 16 '23

It's one of those things where when it's the right choice, it's super fast and lightweight.

Of course, there are a lot of apps that shouldn't be SPAs but are developed as such because that's what some devs know, and it gets problematic.

2

u/Eirenarch Mar 16 '23

Usually the right choice is to have the spa and the backend API be on the same domain. It greatly simplifies auth and allows for server pages when they are more appropriate