Coding Short: SPA Projects in Visual Studio 2022?

  Рет қаралды 3,774

Shawn Wildermuth

Shawn Wildermuth

Күн бұрын

Пікірлер: 11
@rankarat
@rankarat Жыл бұрын
I am not a VUE dev but‬‏ still liked this video, clear and straight forward explanation about every single exposed issue. They should place a Svelte project together with those three.
@swildermuth
@swildermuth Жыл бұрын
Agreed, but there are plain JS/TS projects that you could easily just create a SvelteKit project.
@scottmcintosh260
@scottmcintosh260 8 ай бұрын
Good stuff! The only thing I don't like is that when you embed the actual URL in the configuration, as opposed to using axios and the webproxy, you have now created a devops problem. Configuration management is something that in the past I have seen cause numerous issues, especially with an infrastructure team that is not very cloud oriented. I do like the idea of running Vue on the project open. I think I will adopt your idea and then use axios and the webproxy.
@swildermuth
@swildermuth 8 ай бұрын
I agree. I'm revisiting this now using YARP and hosting in same server. Or using something like Aspire to share the server discovery.
@saurabhumadikar2345
@saurabhumadikar2345 Жыл бұрын
This was very helpful👍
@brunotourinho3662
@brunotourinho3662 Жыл бұрын
I had quite a difficult time trying to deploy this kind of project to IIS on Windows Server. Maybe you can maka a quick guide on the topic! :)
@swildermuth
@swildermuth Жыл бұрын
Interesting, I don't think you'd want to deploy this on IIS. For IIS, having the SPA project hosted in the ASP.NET Core project is a better solution. See my video here: kzbin.info/www/bejne/hHiWfHSknJegd6s
@Rein______
@Rein______ Жыл бұрын
Hi. If you use docker compose you can easily setup a nginx as a reverse proxy, then you dont need any CORS stuff. I like it :)
@swildermuth
@swildermuth Жыл бұрын
If you're using Docker for deployment. Benefit of doing this is to not need a server. If you were going to set up a proxy, why not just host it in the same project as the server? (e.g. kzbin.info/www/bejne/hHiWfHSknJegd6s)
@Rein______
@Rein______ Жыл бұрын
@@swildermuth There could be more then 1 api in the backend. If 1 api and 1 frontend, then frontend build could be served as static files from the api project. There are many options. I like to use docker and nginx so that the api and frontend are separated, the code should not care if it is running in development in docker, or is running as a build in production outside docker.
@Someythandle-z4m
@Someythandle-z4m 11 ай бұрын
@@swildermuth Does kzbin.info/www/bejne/hHiWfHSknJegd6s applies also for this kind of template ? New templates are separate projects, not inside the same csproj?
Coding Short: Resilient .NET Apps with Polly
13:59
Shawn Wildermuth
Рет қаралды 3,3 М.
Make Beautiful Desktop Applications in C++
25:51
The Cherno
Рет қаралды 666 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Coding Shorts: Using Vite in ASP.NET Core Projects
14:14
Shawn Wildermuth
Рет қаралды 9 М.
Coding Shorts #102: Using SQL Server Containers for Dev
11:00
Shawn Wildermuth
Рет қаралды 3,4 М.
Coding Shorts: C# Dialects and Idioms
19:13
Shawn Wildermuth
Рет қаралды 3,6 М.
6 Reason to Skip Blazor in 2025
10:15
Deploy & Destroy
Рет қаралды 4,1 М.
Swagger is Gone in .NET 9! Replace It With This.
9:34
Nick Chapsas
Рет қаралды 96 М.
Serilog 🚀 Logging in .NET 7 Made Simple & Fun
16:23
Patrick God
Рет қаралды 50 М.
Coding Shorts: Making Sense of Stack vs. Heap
5:33
Shawn Wildermuth
Рет қаралды 2,2 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН