Generate Blazor Websites in Minutes with Visual Studio's NEW Scaffolder for RAD development!

Ғылым және технология

You can now scaffold views for Blazor projects, including CRUD (Create-Read-Update-Delete) using Entity Framework in minutes with Visual Studio 2022. Take a model and turn it into 5 full pages with database integration. In this video I show you how.
Links:
API Scaffolding: • Scaffolding .NET Web A...
Visual Studio 2022 v17.9 announcement: devblogs.microsoft.com/visual...
QuickGrid: learn.microsoft.com/aspnet/co...
Join this channel to get access to perks:
/ @jamesmontemagno
👕 Buy some swag! - jamesmontemagno.myspreadshop....
☕️ Buy me a coffee - www.buymeacoffee.com/jamesmon...
Follow:
👨‍💻 GitHub: github.com/jamesmontemagno
🦜 Twitter: / jamesmontemagno
📄 Website: www.montemagno.com
📰 Newsletter: newsletter.montemagno.com/
Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco.myshopify.com/
What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
My Setup:
📷 Canon M50 Mark II - amzn.to/3P8R7lp
💡 Nanoleaf Elements Lights - amzn.to/3umwJVW
🎙 Blue Spark Microphone - amzn.to/3qgtYkq
🎙 Blue Pop Filter - amzn.to/3jEWM3r
🤳 Rode Microphone Arm - amzn.to/2Z68AlE
🎧 Sony MDR7306 Headphones - amzn.to/372jxta
📲 Stream Deck - amzn.to/373Uk1n
🖱 MX Master 2S Mouse - amzn.to/3d7J2gj
⌨️ Tecware Phantom Keyboard - amzn.to/3aUP4y9
Using links I provide I may receive a commission if you buy something which helps support the channel.
#blazor #dotnet #visualstudio

Пікірлер: 74

  • @JasonTira
    @JasonTira4 ай бұрын

    Well thats just fantastic. Have a model ready to go and have full crud pages and a db ready to demo in minuets.

  • @benli7348
    @benli73485 күн бұрын

    Even I have done a large .Net core project. but I still find it is very useful to learn some new in .NET core 8. Thanks!

  • @bdaunt
    @bdaunt4 ай бұрын

    Another slick, tight demo that reveals some time saving prototyping power. Well done!

  • @davidjones1735
    @davidjones17354 ай бұрын

    Scaffolding is the most tedious part of developing. This is absolutely amazing

  • @njbrad007
    @njbrad0074 ай бұрын

    Mind BLOWN. I'm always learning about new features from your videos. Keep up the good work.

  • @collynchristopherbrenner3245
    @collynchristopherbrenner32454 ай бұрын

    This is great!! I remember when people were raving about Django and how it comes with a CDM interface. Now any Blazor application can have that too with ease!

  • @Salem309Y
    @Salem309YАй бұрын

    🎉 Thanks JM. That exactly the quick intro demo I was looking for.

  • @vmsaul1
    @vmsaul14 ай бұрын

    Wow! no words to say, just let's get on work, i am thinking about using it with Maui Blazor 🤔 thanks James for the video 👍

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    Nice!!! Should work well :)

  • @eduardohidalgo2720
    @eduardohidalgo27204 ай бұрын

    Amazing!! time saver

  • @mustijack
    @mustijack4 ай бұрын

    Cool 👍🏻 Thanks James

  • @SayyadHasan
    @SayyadHasan4 ай бұрын

    Again awesome video, thanks Jamo👍

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    My pleasure!

  • @krisztiantakacs6001
    @krisztiantakacs60013 ай бұрын

    It was very useful, thank you. I subscribed at now.

  • @SKIDDOW
    @SKIDDOW4 ай бұрын

    Very cool time saving

  • @Vespyro
    @VespyroАй бұрын

    UH MAYZING thank you James 🙏

  • @EviaAir19
    @EviaAir194 ай бұрын

    Awesome!❤

  • @appomobi
    @appomobi4 ай бұрын

    Just great!

  • @kvelez
    @kvelez2 ай бұрын

    Cool, excellent.

  • @asifghafoor3879
    @asifghafoor38794 ай бұрын

    Wonderful

  • @10Totti
    @10Totti4 ай бұрын

    Nice tutorial!

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    Thank you! Cheers!

  • @lightspeedX2
    @lightspeedX24 ай бұрын

    Thanks!

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    Thank you so much!

  • @oscargarin
    @oscargarin3 ай бұрын

    Wow what a great video! Everything that saves time is a bless! How abput adding Authentication/authorization can also be done this way? I saw Net Core 8 improve it a lot (Authentication/authorization/identity).

  • @leammx
    @leammx4 ай бұрын

    Very nice, thank you. How can I reuse all the built-in CRUD operations in a grid component from Syncfusion and/or Radzen?

  • @JamesMontemagno

    @JamesMontemagno

    3 ай бұрын

    Just swap out the quick grid with their grids

  • @alialshreef2874
    @alialshreef28744 ай бұрын

    Thanks James ^_^

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    You are welcome glad you enjoyed

  • @Skint009
    @Skint0094 ай бұрын

    Great video! I didn't know about the GUI for doing EF migrations. I'd love to see a better implementation of identity for Blazor, it currently seems so hacky, not a great experience IMO, and seems a lot of people feel the same after reading all the github issues.

  • @massiv0n
    @massiv0n4 ай бұрын

    That was amazing! Great tutorial thanks! Question! Could that work while we are using a UI Framework lole MudBlazor or AdminLTE? Thanks a lot!

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    I think you would just restyle the controls

  • @dotnetdevni
    @dotnetdevni4 ай бұрын

    Is there plans to go futher said u already had a sql database do the cruds for them

  • @scubaaddict
    @scubaaddict4 ай бұрын

    awesome video. Can you do one to use model popup for crud?

  • @tibba69
    @tibba694 ай бұрын

    What about using a database other than 4 that show up in the CRUD scaffolding options? I need to use IBM iSeries, but support for this in almost impossible to find in EF Core without a licence.

  • @GarethFrow
    @GarethFrow4 ай бұрын

    Nice, thanks. Could you do a demo where it's database first? Can the scaffold templates be customised, for instance for autocomplete boxes for foreign keys etc. ?

  • @SBDavin

    @SBDavin

    4 ай бұрын

    Right - Database First is closer to a real-world requirement.

  • @salimnegan7289
    @salimnegan72894 ай бұрын

    I've started with ASP net core for scaffolding, then I prefer make all stuff myself 🤗

  • @sleepysusie
    @sleepysusie4 ай бұрын

    The team I am in at work normally uses razor for our web apps so blazor is new to me. Is this what I should be shifting too or are there times when you would stick to Razor?

  • @KaraboK9Ntswane
    @KaraboK9Ntswane4 ай бұрын

    Hi James; Could you please make an in-depth tutorial on how to setup everything from a clean new windows 11 install to be able to develop MAUI-MVVM/WPF/Blazor etc projects. I have so many issues. One I can't run MAUI projects targeting my machine but it works with Avalonia UI. Sometimes I get Build errors that are too verbose for beginners to understand. Running on browser also doesn't work since Chrome says it's just blank. Like everything to develop projects without encountering issues. Thanks

  • @amirfahd197
    @amirfahd1974 ай бұрын

    awesome

  • @mkimiro
    @mkimiro4 ай бұрын

    What about to make same type of video but with N-N table relationship.

  • @BryanPoteet67
    @BryanPoteet674 ай бұрын

    Thanks for the tutorial. Quick question. What plugin are you using to keep the open bracket and divs visible in the editor. Timestamp 5:15. Thanks!!

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    Sticky Scroll Code Indentation Pinning in #VisualStudio

  • @I_OptimusPrime
    @I_OptimusPrime4 ай бұрын

    Finallyyy

  • @mandlaenkosihlatshwayo2684
    @mandlaenkosihlatshwayo26843 ай бұрын

    How do you use cascading drop-down list that links models in a relational sql database, i tried evenrything from putting referencing foreign keys in the model but nothing is working, could you please help with this one csuse it seems as if every model is just dependent on its on its own and can't be in a relationship

  • @johnnysc9507
    @johnnysc95074 ай бұрын

    I dont see a video in your library about one click scaffolding of APIs that you mentioned at the beginning. Link or video title?

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    Here you go kzread.info/dash/bejne/ZWadpLOveb23qLg.htmlsi=MW2PVJSy-sQOOv48

  • @Pevi70
    @Pevi704 ай бұрын

    Beautiful. Would you be interested to show how you could collect e.g. monkey data in a maui app (on Android) and store it remotely in this database?

  • @imadabab
    @imadabab4 ай бұрын

    Nice. Thanks for sharing. But I design the Create, Edit, Delete and Details in one page for maintenance purpose in scaffolding it creates 4 pages which make page maintenance a nightmare.

  • @collynchristopherbrenner3245

    @collynchristopherbrenner3245

    4 ай бұрын

    A nightmare? What are you needing to maintain regarding simple CRUD operations?

  • @Discostoff2
    @Discostoff24 ай бұрын

    How to deploy a blazor net 8 webapp with traefik and docker

  • @CarCan316
    @CarCan3164 ай бұрын

    Great feature! How does it handle relationships between the entities? I added 2 classes, with a many-to-many relationship, used this method to add the forms. All went well until I attempted to create an entry, the system returned the error "InvalidOperationException: EditForm requires either a Model parameter, or an EditContext parameter, please provide one of these.".

  • @minnedanhieux1040

    @minnedanhieux1040

    23 күн бұрын

    Silence... ;)

  • @MrNickP
    @MrNickP4 ай бұрын

    I'd love to see how to build an image gallery app with uploading images and some simple organization

  • @rikudouensof
    @rikudouensof4 ай бұрын

    This is cool! Sadly after working in a financial institution. Separation of concerns won't let me scaffold anymore.

  • @collynchristopherbrenner3245
    @collynchristopherbrenner32454 ай бұрын

    0:34 What does "in seconds" mean here Still, really cool. Also I've never used GUI for EF Core migrations and DB update. Will have to give that a try!

  • @ariesandhi
    @ariesandhi4 ай бұрын

    Hi It does not scaffold the photo field with upload photo or image?

  • @maistrstyk
    @maistrstyk4 ай бұрын

    Hi, i am junior programmer and i am learning .NET MAUI. I wanted to create app which will extract data from xml file and display them as table. But i have problem to align header and data section. Any idea how to make columns of the header and data section same automatic size?

  • @charlmalherbe
    @charlmalherbe4 ай бұрын

    RazorComponent Scaffolder not available - Visual Studio Pro 17.8.7

  • @margosdesarian
    @margosdesarian4 ай бұрын

    Does it do hosted Webassembly - with the api and api calls?

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    You could swap out the EF integration with api calls. That would be the best bet.

  • @ivcbusinesssystems6613
    @ivcbusinesssystems66134 ай бұрын

    *Is MySQL supported?*

  • @OttorinoBruni
    @OttorinoBruni4 ай бұрын

    Thanks for sharing. Placing the DbContext directly inside a Blazor project can offer simplicity and direct access to the database, which might be suitable for small projects or prototypes. In a real-world project, I would never opt to place DbContext directly within a Blazor project, as this approach tightly couples your user interface with your data access layer.

  • @oktjona
    @oktjona4 ай бұрын

    error InvalidOperationException: EditForm requires either a Model parameter, or an EditContext parameter, please provide one of these when using sqlserver db

  • @NiAngel-tx1cz
    @NiAngel-tx1czАй бұрын

    Hi James, nice presentation although very simplistic. None develops db apps with just one table!! I tried to create an app with 4 models with 1:n and n:n relationships and although the pages are created the run brakes!! And also I would expect an inputselect to be placed in the create/edif form instead of a inputnumber!! Is that too much!! Come on!! Help us out to make close to real apps Thanks indeed for your presentations guys in microsoft.... We all are trying to keep up... Best regards from Greece James

  • @gower1973
    @gower19734 ай бұрын

    Isn’t SQLite just local storage though? What about authentication, right now anyone could bind on to the endpoint and mess with the CRUD if it was deployed somewhere? Feel like all these videos never give a complete picture of how things work in production and just skirt around the issues.

  • @dotnetdevni
    @dotnetdevni4 ай бұрын

    Finally back to Rad Development

  • @JamesMontemagno

    @JamesMontemagno

    4 ай бұрын

    🎉🎉🎉

  • @Jim_Manlove
    @Jim_Manlove4 ай бұрын

    If you start adding relationships this is going to break.

  • @tibba69

    @tibba69

    4 ай бұрын

    How would it break? Not saying it wouldn’t, just interested.

  • @rafalz3987
    @rafalz39874 ай бұрын

    Please use Roses, no monkeys

  • @philippelhaus
    @philippelhaus4 ай бұрын

    You guys at MS innovate too fast, it‘s impossible to keep up as average Dev 🤯

Келесі