ASP.NET Core SPA Setup | SpaServices.Extensions in .NET Minimal API

preview_player
Показать описание
Example of Microsoft.AspNetCore.SpaServices.Extensions in Minimal Api's setup, and avoid pitfalls. ASP.NET Core Spa Setup

Timestamps
00:00 Base Setup
03:37 Minimal Api Integration
08:30 SPA Config

SpaServices.Extensions Videos:

#csharp #aspnetcore #spa
Рекомендации по теме
Комментарии
Автор

Thank you! This was so helpful: I inherited a vue.js app with a .NET Minimal API at work and this is the only video that helped me understand how it works.
I do have one question though - in my application, when I run the vue app and then run the API, I can hit breakpoints in the API but not in the vue.js code.
Would you have any idea on why that is? Regardless, a very helpful video! :)

adrianimpedovo
Автор

Hi A.,

i´m a .NET developer since more than 20 years and a web developer since 7-8 years. And honestly i have to say: I very very rarely saw someone explaining such type of stuff that straight, clean and easy to understand! Same is true for your previous videos about that topic (at the moment these are the only ones i´ve seen).

Seriously, big kudos!!! And a fat "thx" for helping me with these video tutorials (since i struggle with that things currently)!

Sincerely, a fan of your work. :)

niwes
Автор

Why you dont need to add configs to minimalapi.csproj because I did same, that didnt work properly it was starting at localhost:5000 and it was waiting spa redirecting but it didnt happen, so I add some configs into csproj, now it starts at localhost:5000 with a message, you will redirect when spa is ready, after that get redirected to localhost:3000, 5000 for my api’s 3000 for my fe serving

caglarcansarikaya
Автор

Wow, whenever I search something, your videos is there. Amazing!

JoonhwanLee
Автор

Would love to learn how to do SSR with this setup. If at all possible.

ErikZettersten
Автор

Hey, can you please explain how to pass Env variables from asp net core to spa?

jumpattacker
Автор

Hi,
1) 8:10 app.Use will also make 404 status code, if the request wiil be from client js application?
2) Are you tryied to dockerize asp core self-hosted app with SpaServices.Extensions? I'm stuck on build stage cause regular asp core docker images don't have node for creation js "dist" folder for production.

semen