Blazor WebAssembly ASP.NET Core Hosted in .NET 8 🔥

preview_player
Показать описание


Table of Contents:
00:00 Blazor WebAssembly ASP.NET Core Hosted in .NET 8 🔥
00:57 A quick look at the "old" .NET 7 solution
01:54 Build it in .NET 8
03:24 Add the Client & Shared projects
06:45 Add dependencies and configure the Server project
11:17 Change the launch settings
12:44 Final code changes

#DotNet #Blazor #BlazorWebAssembly
Рекомендации по теме
Комментарии
Автор

Thanks Patrick. Idk why MS can't release proper guides when they make changes to their product. I would have been lost if it wasnt for your videos.

divanvanzyl
Автор

This is exactly what I have been trying to do for the last couple days. Thanks for posting this!

joker-imbl
Автор

Thanks a lot Patrick, you saved me from a lot of pain with this one!!

iroelperez
Автор

Wow! This was again the most required demo! Thanks!

nagendravc
Автор

Thank you Patrick for another very helpful and well presented video.

stephenshillitoe
Автор

can't be more perfectly timed :) thank you!

purplepixeleater
Автор

Just started using blazer 8 and it’s been driving me crazy. This is exactly what I needed. Thank you sir

herewegotoday
Автор

Thank you! Loved seeing how that all works. Now how about exporting the three projects into a template for future use?

mtranchi
Автор

Thank you Patrick for your detailed explanation. Looks like .NET 8 version of Blazor is two steps forward one step back. Lots of hoops to go through to create a simple Core Hosted Site. I agree with mtranchi, hopefully someone will create an add-on template to make this much easier.

cchiarelli
Автор

Thank (Patrick) God this video exists! The Blazor App template was driving me insane. Never been so happy to click that counter "Click Me!" button while getting my 50 degrees Celsius weather reports! Restructured my whole project using this. I will sleep soundly today knowing my client side and server side have clear separation :)

Caphalem
Автор

Cant understand why they removed template with api controllers for server and blazor for client-side rendering. It seems like fully dumb decision from Microsoft.

kittkillward
Автор

Thanks, Patrick!! I can't count the times you've saved my ass! :) this video was just what I needed

kimwingco
Автор

Very helpful, thank you. I was missing one line in the Program.cs.

saddlebear
Автор

awesome dude!, I love old architecture, i don't know why to remove it, but anyway, thanks

LerivangohHannibalLeckterMx
Автор

Thanks for the tutorial bro. Really sucks that Microsoft ditched this awesome architecture.

eddyelamin
Автор

How sweet it is to find EXACTLY what you're looking for. Thanks!!
one question: Why didn't you bring app.UseRouting(); in to Program.cs from .net 7 ?

SharifYazdian
Автор

Excellent!, Thanks But what about publishing and deploy process ? It would be interesting!

peakcodesamples
Автор

I tried to update my hosted wasm app to the new fancy WebApp to be able to enable AutoRender and use the new Auth stuff, but failed utterly :P It would be nice, if you could make a tutorial with one of your old .NET 7 app, hosted wasm, EF, and the old JWT auth you made, like maybe the Webshop app.

sokoo
Автор

So why doesn't dotnet8 have this template again? I understand this (united) template which does make certain things easier for sure. But for certain use cases, what am I supposed to use? Lets say I have a complex commercial app with a lot of server logic, automation and data persistance (database) on one hand and complex frontend with diagrams and a lot of menus on the other. I can't think of how this united template could statisfy this scenario, you do need both aspects which you connect with webapi calls. So thank you for the video, but why? Why does this template not exist? Why was this video needed in the first place?

kuper
Автор

If you are trying to do this after .NET 8 release and getting error in program.cs after adding UseWebAssemblyDebugging & blazorframework files just add nuget package to server project which is not added by default in web api project in .NET 8

broadshare