Adding Blazor to an Existing MVC Application: Carl Franklin's Blazor Train ep 22

preview_player
Показать описание
Carl welcomes Brian MacKay who shows you how to add Blazor pages and components to an existing MVC app.
🔗 Download Files 🔗

🚀 Get Started Today – Free 30 Day Trial 🚀

✅ Pricing and Online Demos ✅

🆘 We Are Here to Help 🆘

👍 Follow DevExpress on Social Media 👍

🏁 Review Customer Testimonials 🏁

#DevExpress #devexpress_blazor #devexpress_web #aspnet #aspnetcore #blazor #datavirtualization #blazortraining #carlfranklin #blazortrain #webdeveloper #microsoft
Рекомендации по теме
Комментарии
Автор

Your comment about it bringing us back to a productivity paradigm closer to Webforms is spot-on AF. I've even had this thought.

jawidhassim
Автор

Any reference that can be used for connecting to mvc controller that has auth?

Got the component working and using http client to call mvc controller to get some data for component as user interact but authentication is missing when calling from component

riaanswart
Автор

Great video. I LOVE Blazor. I complain when my employer won't let me use it for new projects. I hope others embrace it as well.

bendunaway
Автор

will regular .net core pages download any of the blazor js/WebSockets or related files?

hqcart
Автор

That's awesome, will be some tips for webassembly with authentication inside MVC project?

mohamedhajjaj
Автор

What if I just want to use components and no routing? Pretty clean then, right?

JerrodVolzka
Автор

Hi Carl, love the vids! I am currently in a weird spot with a Blazor WASM application. I was using Okta as an auth provider using oidc PKCE, and calling Okta directly from the WASM app. Needless to say we are being asked to change this to have or auth service in the back-end with cookie auth instead.

My question is if I can leave the WASM app as standalone, and use a web api project, or an MVC project that can handle all the auth, the redirect's and token retrieval, and then only pass the required info back to the WASM app? I'm asking because I tried to move most of the code to the web api, and tried to redirect the WASM app to the login for the PKCE retrieval, but this resulted in a CORS error due to understandable securrity reasons.

Someone suggested hosting the WASM app in another app, but this project is 8 months in, and I am not sure how easy it would be to move it. This is why I stumbled on this video, which unfortunately is hosting a server side app. So again just wonderin if I can call an MVC app from the WASM app, let it handle all the auth, and then once the token is retreived return back to the WASM app, set my auth state and be on my way?

Any help is appreciated, thank you for your time.

JacobSnover