Which C# Web Application Type Should I use? MVC? Blazor? Razor Pages?

2024 ж. 10 Мам.
136 504 Рет қаралды

Should I use MVC in my next project? Should I use Blazor? What type of ASP.NET Core project type is best? Which C# web project type should I learn? These are the questions we will tackle in this episode of Dev Questions.
Interserver Hosting (affiliate link): www.interserver.net/r/589892
Full Course: www.iamtimcorey.com/salespage...
Podcast: iamtimcorey.buzzsprout.com/
Mailing List: signup.iamtimcorey.com/

Пікірлер
  • Amazing content with practical answers to so many questions I come up with. Thank you for these high quality tutorials/informative videos!

    @rendellgood@rendellgood3 жыл бұрын
    • You're very welcome!

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • This really helped me a lot grasping all the essentials differences and advantages of each project type. Very well done Tim!

    @Exozik@Exozik2 жыл бұрын
    • Thanks for watching and for the endorsement.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75972 жыл бұрын
  • Thank you! Loving using C# for everything with Blazor Pages and .NET 6. Keep up the great work!

    @searcey@searcey Жыл бұрын
    • Thanks!

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Excellent video Tim! Thanks!

    @branislavpetrovic7486@branislavpetrovic74863 жыл бұрын
    • Thanks for watching and sharing your thoughts!

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • Hi! Thank you very much for posting this video as it answers all my questions :)

    @krzysztofkrupinski5709@krzysztofkrupinski57093 жыл бұрын
    • Thanks for watching! ... and I bet you could find a couple more questions he did not cover. LOL

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • during college i got bucky roberts at my back but now its tim corey ..

    @christiandiomangay5107@christiandiomangay51073 жыл бұрын
    • Thank you for continuing your learning with Tim.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
    • @@tomthelestaff-iamtimcorey7597 i learned native andoid development fom bucky later got job in xamarin and now trying to learn web development,web api ,xunit tests with tim

      @mememonster2370@mememonster23702 жыл бұрын
    • I use to love bucky :)

      @AlThePal78@AlThePal782 жыл бұрын
  • Thank you for this! I just got a technical challenge and this info helped me to plan what to do.

    @emanuelfaisca1783@emanuelfaisca17832 жыл бұрын
    • Thanks for looking to Tim for you help.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75972 жыл бұрын
  • Awesome! What a good question, thanks for your introduction.

    @charliewong9093@charliewong90932 жыл бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Hey, Tim! Thanks for the video. It was very informative.

    @yusiff@yusiff Жыл бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Hey man, thank´s for this video. I´m from Brasil, and learn a lot in you chanel ! Keep doing this work!

    @bryanplum9061@bryanplum90613 жыл бұрын
    • Glad to hear that!

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • very comprehensive answer, thanks Tim

    @jackma7570@jackma75707 ай бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey7 ай бұрын
  • Excellent explanations - thanks Tim.

    @pw.70@pw.702 жыл бұрын
    • Thanks for supporting Tim

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75972 жыл бұрын
    • @@tomthelestaff-iamtimcorey7597 - Oh no! You must be Tim's Tom! ;o)

      @pw.70@pw.702 жыл бұрын
    • @@pw.70 Truly!

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75972 жыл бұрын
  • Hey Tim thanks for breaking things down, it's hard to get the lay of the land with all the choices. I'm going to buy your course glad I stumbled upon this video

    @ModerateDev@ModerateDev11 ай бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey11 ай бұрын
  • Wow, first year in the industry and you just blew my mind and solved an issues I was having with React and individual account authentication.

    @aaronvancuren7946@aaronvancuren79462 жыл бұрын
    • Great to hear. Check out his YT home page and this playlists for plenty more content.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75972 жыл бұрын
  • Blazor is my tech of choice. We have 4 server side applications in production, being used thousands of times per day, with no iddue. Blazor totally simplifies the development process for single page response application. Plus, I hate JS. :)

    @bendunaway8296@bendunaway82963 жыл бұрын
    • Excellent!

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
    • Some people would say “You are in the wrong job if you are building for the web while hating JavaScript.”

      @jessecavada3015@jessecavada30153 жыл бұрын
    • Began as a complete beginner slightly under two years ago, tried js for a week and it felt like suffering involuntary convulsions every five minutes. C# was enjoyable from the first line i ever wrote in it.

      @maximeumbra7235@maximeumbra7235 Жыл бұрын
    • Once I got hooked up to Blazor, I kissed goodbye to JS.

      @ChamuMatumbura@ChamuMatumbura Жыл бұрын
    • @@ChamuMatumbura is it just me or is there literally still some things you pretty much HAVE to use JS for?

      @MrSurfsAlot@MrSurfsAlot Жыл бұрын
  • Good explenation. Solved a lot my concerns.

    @dawidbiell@dawidbiell3 жыл бұрын
    • Thanks for watching and sharing your thoughts!

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • your channel is the best for learning c# and dotnet, i am experienced with unity3d and now im trying to expand my knoledge of the ecosystem around it and your channel is pure gold

    @pedrodesanti6266@pedrodesanti6266 Жыл бұрын
    • Thank you.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • gr8 vide like always keep going tnx a lot for your efforts

    @michelchaghoury870@michelchaghoury8703 жыл бұрын
    • We appreciate you making Tim a part of your development journey

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • Great video! Your explanation was a huge help

    @ericberman3965@ericberman3965 Жыл бұрын
    • I am glad it was so helpful.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Thanks for that video! that was good and clear. I'm lazy to change to blazer but this video encourages me.

    @mhmrezaramezani4777@mhmrezaramezani4777 Жыл бұрын
    • You can do it!

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • This video is amazing! Thank you Corey. This is how an education video should be. Clear and informative! Just to the point.

    @ChargedPulsar@ChargedPulsar2 жыл бұрын
    • Thank you!

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • This was great information and very timely for me because I was going to start a project in Blazer Web Assembly, and I needed to store secured information. I dodged that nightmare.

    @tccoder3547@tccoder3547 Жыл бұрын
    • You still can, you just need to do so with an API, but it is more complicated than other options.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Thanks for some good information!

    @segelsonproduction@segelsonproduction3 жыл бұрын
    • Thanks for growing your skills with this video.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • Easily one of the best videos for a beginner (Both for Web Dev. & Blazor) !!

    @sriram151092@sriram1510922 жыл бұрын
    • Thanks!

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Awesome analogy there Tim :)

    @ibrahimhussain3248@ibrahimhussain32483 жыл бұрын
    • Thanks for watching and sharing your thoughts!

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • Thanks Tim great video

    @Dotnetexplorer@Dotnetexplorer3 жыл бұрын
    • Glad you enjoyed it.

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • Thank you. I was researching what environment and architecture I might need for an application I am building. Sounds like Blazor Web Assemblies it is. Now time to learn it. :D

    @chrisklecker@chrisklecker2 жыл бұрын
    • Glad it was helpful!

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Nice explanation, thanks a lot!

    @TomRaf@TomRaf2 жыл бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Excellent video, thanks!

    @fredycorea4901@fredycorea49013 жыл бұрын
    • Thanks for watching!

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • It worth mentioning that not every business/project is suitable for SPA; f.e. public pages or content-centric sites. So the type of the website/app affects which technology to choose. Very important!

    @ghm7093@ghm70932 жыл бұрын
    • yeah most intranet apps in my company I wouldn't want to do as spa because it's just not suitable

      @masterflitzer@masterflitzer2 жыл бұрын
  • Excellent introductory presentation.

    @srinivasmantha5994@srinivasmantha5994 Жыл бұрын
    • Thanks!

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • i am wondered why not your channel reach to 10 million , you deserve it , great job Tim

    @Omar.bin.khattab@Omar.bin.khattab2 жыл бұрын
    • Thank you!

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
    • I think because programming is kind of a niche stuff. Tim’s channel is very popular if think about programming as a niche activity.

      @torrvic1156@torrvic11567 ай бұрын
  • I wish you do all tech related explanation that are not bound to C#. Your explanation is very clear even for a beginner. Kudos to you🙆‍♂

    @infas_mhd@infas_mhd8 ай бұрын
    • Thank you!

      @IAmTimCorey@IAmTimCorey8 ай бұрын
  • I really loved this show!

    @wilsono2940@wilsono29402 жыл бұрын
    • I'm glad!

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • I've been using Blazor server side recently, loving it. Took a while to figure out a lot of the quirks but I really like it

    @fadge316@fadge3163 жыл бұрын
    • Awesome!

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
    • I seems like a Razor page app is better than Blazor for an app that has a large number of pages. I am doung an app that has over 50 webpages. I can't imagine how yhat would work in Blazor.

      @whatwhome6914@whatwhome69142 жыл бұрын
    • @@whatwhome6914 It is a SPA; so the main point is to figure out how to organize your app in terms of "routes". It worth mentioning that not every business/project is suitable for SPA, f.e. public pages or content-centric sites.

      @ghm7093@ghm70932 жыл бұрын
  • Thank you so much for this video. amazing video. I love Microsoft Technologies.

    @waliqadri@waliqadri11 ай бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey11 ай бұрын
  • Excellent overview!

    @LukeAvedon@LukeAvedon2 жыл бұрын
    • Thanks!

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • I've been building a large forms heavy web app for past couple of years. I went with razor pages as I wanted something with strengths of web forms binding but cleaner. Blazor seemed too experimental, MVC has more ceremony than I find necessary, Angular and React add un-required complexity. It was the right decision for my project, no regrets and so far there has been no downsides. Have also made a couple of small side apps using Blazor Server. It was real easy to do, and super clean code. Could see myself moving to Blazor Server from Razor pages one day, but going to wait and see.

    @aaronbrightware@aaronbrightware3 жыл бұрын
    • I would actually recommend blazor server side at least. I worked with razor pages some. I think that blazor is much better than razor pages and makes it much easier to create components and break out the logic and easier to maintain.

      @andywalter7426@andywalter74263 жыл бұрын
    • Thanks for watching and sharing your thoughts!

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
    • @@andywalter7426 Agreed, I really like working with Blazor and its superior component model and have been on-board since the really early experimental demos. But I do find razor pages to be slightly more reliable, whereas I've experienced some odd quirks and bugs with blazor, simply because its a new paradigm. I'm going to wait till .net 6 before making any leaps!

      @aaronbrightware@aaronbrightware3 жыл бұрын
  • you are the man!

    @jordanjobes4115@jordanjobes41152 жыл бұрын
    • Thanks!

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Another great Video.

    @marcusmaunula5018@marcusmaunula50183 жыл бұрын
    • Thanks!

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • Great talk. I realize this video is limited (based on title) to c#, but it would be valuable context to many to mention how other frameworks do some of these "better" than MS's offering. Blazor requiring a large webasm blob is seen as 2nd class at best. It's MS's attempt to catch-up to other frameworks (and they haven't yet).

    @skewty@skewty2 жыл бұрын
    • Thanks for the suggestion.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
    • What would you say is better? Legitimately trying explore options at the moment.

      @oh2txb18@oh2txb18 Жыл бұрын
  • Very educational, suscribed.

    @theodoredariotis7226@theodoredariotis72262 жыл бұрын
    • Thank you!

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75972 жыл бұрын
  • Thanks for the video. I'm a junior at a company that has an old Web Forms app that I work on, but they're phasing it out this summer so, I'm looking for a new job and I'd like to be prepared/start a couple projects with a frequently used framework. I don't want to be in this position again lol. I'm starting to learn JavaScript as well, so I'm hoping I can transition to a JS role eventually.

    @LiveMahs@LiveMahs3 жыл бұрын
    • Best of luck!

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • Tim, you are an absolute blessing man. Thanks. A question for the next Dev Series, In Desktop we had RDLC and Crystal Reports to design reports. Now that I have moved to Web is there a tool that is as good as these two? I am having a hard time customizing and exporting reports to pdf.

    @arthurnamu5770@arthurnamu57703 жыл бұрын
    • I use Telerik Reports, I worked for many years with Crystal Reports and SQLRS, I found in Telerik Reports what I needed, you can do the Reports with the Visual Studio Designer or with the Report Designer (Windows only), but what I like most is Telerik Report Server, where I publish all my reports and then run on my ASP.NET MVC or Blazor Client applications.

      @sergiolindolfo@sergiolindolfo3 жыл бұрын
    • I noted your recommendation by adding it to Tim's list of possible future topics, thanks.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • What I’ve got from this video and comments section: 1) use razor pages if you want to make a web application with a small or no user interactivity but with a lot of static pages with tons of info in them, 2) use Blazor WebAssembly strictly with an API (for security reasons) if you sure that clients of your web application will have to work in offline conditions and can’t have stable online connection (for example in some retail store with unstable VPN to their central office), 3) for the sake of better maintainability try to use one programming language and avoid mixing of different frameworks from different languages in one app, 4) use Blazor Server for everything else 😊 Hopefully I’ve got it right 😂Thank you so much for this video Tim!

    @torrvic1156@torrvic11567 ай бұрын
    • That's a pretty good framework for decision-making.

      @IAmTimCorey@IAmTimCorey7 ай бұрын
    • Thank you for this summary. Did you left out MVC consciously?

      @GameplayDexter@GameplayDexter7 ай бұрын
    • @@GameplayDexter you are welcome! I am glad that a newbie like me can give somebody some useful tips of information. Frankly I never used it sir so I can’t say much unfortunately. What do you think about MVC yourself? I think that actually Blazor looks the way better then MVC in most cases but I can be wrong.

      @torrvic1156@torrvic11567 ай бұрын
  • Thanks for the Vid, great as always, I'm sure a while back I saw a video of Blazer Server and Webassemby in the same solution, would this give you the offline support and also PWA? is is something to consider, or not much benefit?

    @X400DYL@X400DYL2 жыл бұрын
  • Thanks!

    @emcattaneo@emcattaneo Жыл бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Great vid, Tim. I now got a clarification on the differences of these frameworks. On a different note, will you have a video covering microservices? Currently have a project and was thinking if I should do microservice as more services will be coming in the future.

    @laurenzvien@laurenzvien3 жыл бұрын
    • Thank you. I have added this to Tim's list of possible future topics.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
    • @@tomthelestaff-iamtimcorey7597 thank you!

      @laurenzvien@laurenzvien3 жыл бұрын
  • One of the biggest reasons to learn C# is this channel

    @karis7539@karis75392 жыл бұрын
    • I’m glad you feel that way.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
    • That's right.

      @cissemy@cissemy2 жыл бұрын
  • Great video again

    @prubenheeren707@prubenheeren7072 жыл бұрын
    • Thanks for watching. Faithful viewers like you are so important.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75972 жыл бұрын
  • Danke!

    @Handy-Handy@Handy-Handy2 жыл бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • that's way really helpful for me

    @ashrafelshowen5154@ashrafelshowen51542 жыл бұрын
    • Great!

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Great run down but there was one point that was not mentioned. Blazor is a Single Page Application (SPA) that has some limitations, disadvantages over MPAs.

    @objectaware5296@objectaware52963 жыл бұрын
    • @Soy Orbison, sure if you're debating SPA versus MPA but the topic is what to use from the .net ecosystem, and knowing the advantages disadvantages of Blazor SPA versus Razor Pages MPA is necessary knowledge.

      @objectaware5296@objectaware52962 жыл бұрын
    • Lol. Imply a problem but don't provide even a few example details. That's helpful.

      @allthecommonsense@allthecommonsense2 жыл бұрын
  • Just what I needed, looking at porting /g an Angular app to a Microsoft web project. Looks like I will go a mix of Blazor and Api, just not sure if I want to do WebAssembly or Server. Can they be mixed? Is there even a use case for that?

    @tommyeden7896@tommyeden78963 жыл бұрын
  • Tim do you make a full playlist for a Blazor Server web application in the future?

    @LuigiZambetti@LuigiZambetti3 жыл бұрын
    • I will add that great suggestion to Tim's list. In the mean time, get a head start using this list of Tim's Blazor videos - kzhead.infosearch?query=blazor

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
    • +1 - I as well would love to see a full series using Blazor server. It’s such a powerful tool for so many use cases out there.

      @cjm3801@cjm38012 жыл бұрын
  • Is there a project so I can use a .net language to target a wasm file (and ideally the js hooks) to use as an alternate to things like assembly script?

    @stephenwalker4989@stephenwalker49893 жыл бұрын
  • Hey Tim! Thanks again! I have a question recently I've started integrating Blazor components to an Existing Razor Pages application and I've found it a bit tricky to configure layouts and use Razor View methods from inside the components, did you have any experience of this kind?

    @czeysy@czeysy3 жыл бұрын
  • Hey Tim nice video! My question is, what are the techniques that we can use to implement SEO better, since Blazor Web Assemblies, for instance, don't take that in account and just return simple HTML to the search engines. Thanks!

    @leosilva0411@leosilva04113 жыл бұрын
    • Thank you. I have added this to Tim's list of possible future topics.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • A lot of companies who build components to these projects still have more for MVC vs Blazor. However they are growing...

    @lenardbartha6722@lenardbartha67222 жыл бұрын
  • I wonder blazor and blazor assembly are two different project types. And offloading Signal R to azure Signal R servers , are new stuff man. Thanks for making jargons a bit easier.

    @angmathew4377@angmathew43773 жыл бұрын
    • Yep, Blazor Server and Blazor WebAssembly are two different project types. I am glad you learned something new.

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • Great job. One video, introduces the five type of projects. As I have go through most of the video, I have one suggestion. It is good to have, some text animation along with the video. Especially when you are explaining about the n-categories (topic like this), if we missed something where are in middle, then the text may guide us. Thank you.

    @karthikc8230@karthikc82303 жыл бұрын
    • Thanks for watching and sharing your Tip!

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • Very good, many doubts I had. I'm wanting to use Blazor in a project with almost 2000 tables, I don't know if it's suitable for something like that. I will have to find out.

    @emersonstori@emersonstori2 жыл бұрын
    • Sure. Just remember that humans don't have the ability to comprehend that much information on the screen at one time. Show what they need to make a decision (it is less than you think). Paging, caching, etc. will make your site very responsive.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Nice summary Tim. So it sounds like mostly it's a combo of Web-API + Razor Pages these days where the Razor page is basically hosting/containing the front-end JS client (aka, Angular, React, or even html/css + pure js etc). Is that a correct assumption? That's kinda where I landed recently doing a small one-off time-tracking app for our family biz.

    @lowrez1646@lowrez16463 жыл бұрын
    • We hope Tim's videos continue to help you grow your skills to help support that family business.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
    • @@tomthelestaff-iamtimcorey7597 I guess that's a 'yes' then to my question... ? Thank you though either way.

      @lowrez1646@lowrez16463 жыл бұрын
    • No, the answer to the question is that it depends. If I were starting today, I would probably use Blazor. Lest context switching between languages.

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
    • @@IAmTimCorey Yeah, for pure greenfield I'm kinda ready to go Blazor (where as a year back I felt it wasn't quite there yet); beyond the context switching I am personally 100% tired of the insane complexity of the front-end stack. It feels like current JS UX approach has 'jump the shark' and I've actually gone back to writing vanilla JS for my small projects. Anyway, thanks for the clarification Tim, appreciate it.

      @lowrez1646@lowrez16463 жыл бұрын
  • Hey Tim, could you make an updated version of this video comparing .Net 8 technologies?

    @troymitchel4790@troymitchel47905 ай бұрын
    • It is coming, but not right away, though. I want to get some things built with Blazor first.

      @IAmTimCorey@IAmTimCorey5 ай бұрын
  • Hi Tim, just reading the description of this video i noticed it's the same as your video: "Is The Cloud Safe? Isn't My Data Safer Locally vs In Azure/AWS?" . Is it possible this has been mixed up somehow? As always love your video's and thanks for the awesome content!

    @Dixie233@Dixie2333 жыл бұрын
    • Fixed. Thanks!

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • ty

    @ildikoklementis1380@ildikoklementis1380 Жыл бұрын
    • You are welcome.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • hi tim, i building a website with blazor web assembly, which needs to SEO Freindly, i didn't find any material for seo in blazor webassembly could you please make tutorial regarding this topic , by the way huge fan of your tutorial and your timco retail manager project is GOLD

    @sirajshaikh3940@sirajshaikh39403 жыл бұрын
    • Thanks for the recommendation. I have added it to Tim's list of viewer suggestions for videos.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • Awesome

    @pixelmasque@pixelmasque2 жыл бұрын
    • Thanks!

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • In our company, every problem looks like a Mendix application. This is because they bought it before proper evaluation and it is so expensive, they are trying to utilise it everywhere.

    @paulminshall8793@paulminshall8793 Жыл бұрын
  • What is the difference between a DTO and a ViewModel and how do you use them?

    @AlThePal78@AlThePal782 жыл бұрын
  • Thanks Tim. Could you please tell me the name of the cheap hosting service you mentioned at the end of the video?

    @waleedeissa2270@waleedeissa22703 жыл бұрын
    • Here is a link to them (affiliate link): www.interserver.net/r/589892 Make sure to get the ASP.NET hosting (which handles .NET Core just fine).

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
    • I use this one: also very inexpensive and great service: winhost.com

      @bobclemens8065@bobclemens80653 жыл бұрын
  • Thank you for another great educational briefing. I've already purchased a couple of your courses via your website and your extra videos (like this one) are always appreciated. I'm thinking about dropping my annual IT Pro TV subscription and looking into your All Access Pass... difficult decisions to make involving finite budgetary resources... :) Question: In this video you mentioned web hosting provider "IntraServer" ... did I hear that correctly? I'd like to look into a low cost ASP and SignalR host to experiment with.

    @darbychrism@darbychrism3 жыл бұрын
    • Yep. Here is an affiliate link to them: www.interserver.net/r/589892 Note, you need to get the ASP.NET hosting (which handles .NET Core great).

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
    • @@IAmTimCorey Awesome, thank you. I'll be sure to use your affiliate link when I subscribe.

      @darbychrism@darbychrism3 жыл бұрын
  • Hi Tim! Question: I'm planning to build a very small website in which users can order tickets for an event organized by a voluntary organization. In the past the 200 tickets for this event were sold out after 3 minutes. So this website should be able to handle around 200 users in 3 minutes. I don't have to implement payment functionality. This organization will contact the people that have ordered a ticket for the payment afterwards. I'm doubting if I should use MVC, Blazor Server or Blazor Web assembly. Performance is key. Which project type would you suggest?

    @Timlaare@Timlaare3 жыл бұрын
    • The fastest for your situation will probably be Razor Pages. They are super-quick.

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • Hi Tim, I need to develop an intranet that connects to sql (EF) and also to a Sharepoint site (Graph). What kind of project do you recommend? blazor? razor? both? Ty!

    @sergiokml3141@sergiokml3141 Жыл бұрын
    • I'm sorry, I really can't give you a specific answer. You need to figure out what works best for your specific situation. For instance, as a consultant, there were about 30 things I would evaluate to make a decision on which technology to use in a given situation, and it would even change per-project.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • I still miss Web Forms. In my experience it was the fastest way to launch an application. Even without drag and drop thing. I never became fan of MVC project type. Especially with EF. I always enjoyed ADO.NET and used in most projects as data access tool. I know web forms doesn’t fit into the modern web development environment but I think, I had my best time in development with it. Razor Pages is my choice now.

    @bolbittu@bolbittu2 жыл бұрын
    • Have you checked out Blazor Server yet? It isn't exactly the same as WebForms, but the spirit of WebForms is absolutely there. It is quick to build, it is quick to reuse "pages" as components, and it has the best of both client-side and server-side development.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
    • @@IAmTimCorey I’m hearing a lot about Blazor Server these days. I heard quite good things when it comes to single page application development. But I’m still not sure if I can make complex ERP applications with it. But I guess I need to try it before I come to any conclusion.

      @bolbittu@bolbittu2 жыл бұрын
    • While it does act like a single page application (SPA), it isn't really the same thing. It has the same scalability of any web application for making complete ERP applications. The biggest "concern" you will need to have is on the scaling of the SignalR connection. A good server can handle between 10,000 and 20,000 simultaneous connections. After that, you need to either offload your SignalR to Azure SignalR or spool up a second web server. Not really an issue since you probably need to scale everything up at that point anyway (remember, this isn't 20,000 connections per day but at one time so you can have hundreds of thousands of daily visitors without issue). Here is an intro video on Blazor Server: kzhead.info/sun/a6iHl8ion36slJ8/bejne.html If you come to the point where you want to move forward with Blazor and need to know more, my Blazor Server In Depth course will really help: www.iamtimcorey.com/p/blazor-server-in-depth

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • As usual... Very detail explanation. But... Tim, how can I turn Blazor webassembly into PWA and able to run offline. Currently, when my laptop is goes offline, my blazor webassembly could not start. Hope you can provide some advice. Thank you in advance.

    @zulhishamtan4263@zulhishamtan42633 жыл бұрын
    • When you create your Blazor project, you can check a box to make it a PWA. That PWA will only run in offline mode when you publish it. This is a feature because if it worked in offline mode in development, your changes would not be applied to Blazor for at least two runs of the website.

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • Thanks for some great info--but, the title includes Razor Pages, which are not covered at all in the video. :[

    @lxc3909@lxc39092 жыл бұрын
  • What would you recommend for an e-commerce site? I was thinking of starting in MVC but you think blazor server would be better? Would I still use mvc architecture?

    @bardus_hobus@bardus_hobus2 жыл бұрын
    • I'm just using Asp Net Core MVC .Net6 to build E-Commerce now! Mostly I use MVC but I tried Razor too! I do prefer MVC though! But definitely I'm interested in Blazor never used!

      @attilaguba856@attilaguba856 Жыл бұрын
  • I giggled about you saying people getting scared about 10mb of data I thought the days were over of people worrying about it. Even public wifi (I know shouldn't be used) is still bad but you can get a website downloaded on your phone or laptop browser client fast, yes if they were a bigger distance away from the server it would be slow like connecting to a server in the UK from the US (just an example). I think I'm going to try and become very well known with blazor I think it would be much better within a company.

    @AholicWiki@AholicWiki2 жыл бұрын
  • Hi, Tim! I really hope you can give me an advice. I want to start a new web project, where i want the sql server DB in the cloud. (A small desktop tool will send all the data to sql server frequently) All i need is,this application should just pick the data from cloud and show it to the client. (Just Reports only.. with graphical presentation, No data addition,deletion. Just view the reports with user's queries.) Which project type should i use.?? I am new to web app completely. Also suggest which graph component should use.. thnx in advance..

    @transtechmuthu@transtechmuthu2 жыл бұрын
    • hi, could you share in which project type you made this project in the end?

      @garimasharma__@garimasharma__ Жыл бұрын
  • I had an experience one time where I built a server side blazor application and it was actually a little slow when I was using the free hosting from azure. When I showed off the page to somebody since I wanted somebody else to eventually host, they said they would have to reject it because they knew it took too much server processing power which would shut down their other sites. I then did the web assembly version of the same app and except for the initial download size, it was actually much faster. In this situation, since I can't afford any data access, all the data was actually from embedded resource but since interfaces was used, then there was an option to eventually use a database. I have found many cases where a person can have a web assembly app with no server or any database. If the data is mostly static (from embedded resource), then a server is not even necessary. Plus, even with blazor server side, a database is not free anyways and the storage for the free account is really limited. I used local storage a lot even though the data can go away at any moment. Plus I have some web apps I created that had to run offline because I have no internet on my device so that ended up being a good choice.

    @andywalter7426@andywalter74263 жыл бұрын
    • Thanks for sharing from your experiences.

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
  • Tim - can you clarify your statement about web forms here in that you said web forms will not be in .NET core and is basically EOL in Framework. This seems to contradict a newer video you made on VS 2022 by saying .NET 6 and future will be the only frameworks supported in VS 2022 while at the same time VS 2022 provides great new support for displaying web forms content in the designer. Understanding of course web forms will still only run on Windows, can you clarify if web forms will still use Framework or will we be able to target .NET 6? Great work, thanks!

    @cjm3801@cjm38012 жыл бұрын
    • That was preview 1. Preview 2 fully supports .NET Framework. No .NET Core for WebForms though.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Hi, Tim! I really hope you can give me an advice. I want to start a new project, exactely a website for selling products, where users can create new account, login, publish new ad etc. Wich c# web application should i use? I was thinking at MVC, but i need an advice from a professional like you. Thanks!

    @adriansalcudean7657@adriansalcudean76573 жыл бұрын
    • It all depends on the project, what you want to do with it, and more. There isn't one right answer that fits those criteria.

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • Thanks for a great explanation! I have a question. People talk alot about the downside that you can’t use a Blazor server app when the network is down, but who tries so surf the web when the network is down? Pretty much all sites become pretty useless without an internet connection, right? What am i missing here?

    @jonbordon3406@jonbordon34063 жыл бұрын
    • My thoughts exactly.

      @victorene3608@victorene36083 жыл бұрын
    • Web applications can definitely benefit from offline access. For instance, the cable company where I used to live used a web application for their technicians. That way, their technicians could use any phone/tablet they wanted. However, their technicians were working on installations where the Internet might not work so they made the web app a PWA with offline capabilities. The tech would fill in the work ticket information offline (if necessary) and would then sync it when they got back online. Delivery services also use systems like this.

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
    • On point, I don't know why everyone keeps calling it downside...what do you wanna do on the browser if the server is down?? There's no magic about it, it should just disconnect

      @kevinmungame1869@kevinmungame18692 жыл бұрын
    • @@kevinmungame1869 To me, coming from a desktop developer background it's not something conceivable that one user click in the front-end trigger a round trip to a server. And I am not an ecologist! Therefore I have never been interested by Blazor Server but Blazor Webassembly is another story.

      @tomahawk5357@tomahawk53572 жыл бұрын
    • Its about the purpose of the app... If the primary purpose is presenting info offline is pretty useless. If its about collecting information offline could be vital.

      @josephmoore7403@josephmoore74032 жыл бұрын
  • I will learn a bit more on Blazor, haha!

    @portiseremacunix@portiseremacunix2 жыл бұрын
    • Great.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Next time I would like to see some diagrams or text on the screen. Hard to follow when I can only listen to your voice and try to get that information into my head

    @MusicForHourss@MusicForHourss2 жыл бұрын
    • We are still working through this. The issue is that you are seeing a podcast. It is meant to be listened to. You get to see extra because you are watching it, but I don't want the listening experience to be less valuable.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • What about a video explaining what (auto) mapper is better to use?

    @LilPozzer@LilPozzer2 жыл бұрын
    • Thanks for the suggestion. In general, Automapper is probably the way to go.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Around 18 mins in you mention news sites like CNN, etc. Hypothetically, which of these project types would you recommend for CNN? I feel like it would be Blazor Server? To try and reduce that huge initial load, and still allow for the interaction. Would you agree? P.S. You are amazing, you're the first person I'll be donating to on Patreon ever.

    @kmills-swimmin@kmills-swimmin2 жыл бұрын
    • I would probably lean towards Razor Pages. Blazor is best when there is user interaction (capturing user input, etc.). CNN is mainly used for consumption of content. Razor Pages are really quick and light. They are also simple. Later, if you want to add in Blazor Server (or MVC or API), you can easily just add it in for the pages that need it.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Blazor server is the best, for way bigger project I would likely consider razor pages

    @kevinmungame1869@kevinmungame18692 жыл бұрын
    • There is no best in my opinion. Each has their strengths and weaknesses and you choose what is best for your specific situation. All of these can handle a large application.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Blazor server seems to be very good. But can you please guide in what specific scenarios it might not be suitable to use? Why having an always-on connection be a problem?

    @SaadMuhammadAmin@SaadMuhammadAmin2 жыл бұрын
    • Offline access. That's the big one.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Hello, I wanted to build 2 different projects 1. A customized management or Enterprise Software Cloud based (SAAS) 2. Air Ticket booking application (B2B,B2C) with Back office functionality can you tell me which project type to use.

    @trusttours5402@trusttours54022 жыл бұрын
    • There are a lot of factors that go into those decisions. It will need to be you that ultimately makes that decision.

      @IAmTimCorey@IAmTimCorey2 жыл бұрын
  • Frontend: Next.js Backend: ASP.NET Core Perfect combination 😍

    @the-nasim@the-nasim3 жыл бұрын
    • Well... That is an option 😉

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
    • If u uave blazor, why would use inefficient javascript?

      @SayWhaaaaaaaaaaaaaaaaaaaaaaat@SayWhaaaaaaaaaaaaaaaaaaaaaaat3 жыл бұрын
    • @@SayWhaaaaaaaaaaaaaaaaaaaaaaat Well because first of all I know Next.js 😁 and currently learning ASP. The cool thing about next.js is that it can generate static page. Which is just html, css. After that it can behave like a react application. Next.js has many cool feature that is well suited for most of the websites. And I think webassembly is overkill for basic pages like blog, portfolio etc. At the end, It always depends.

      @the-nasim@the-nasim3 жыл бұрын
  • What if I have a business model where the state needs to be preserved between call to the server? On each call, I envision that JSON data returned to the client would be processed and the page updated in script. It could all be in an MVC or Razor Pages application, with the model assigned to a Session object to preserve state. Or maybe an SPA with a WebApi back end, but then how to preserve state? Can anyone recommend a configuration for this?

    @bobclemens8065@bobclemens80653 жыл бұрын
    • Ideally you would use one of the Blazors, since they are stateful (to an extent). If you really want state with MVC or Razor Pages, you can turn that on. Just note that it can cause issues with scaling your site out and how the distribution of clients will work.

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
  • Which project type will you suggest to build real time web application like stock trading application?

    @sachinambre9451@sachinambre94513 жыл бұрын
    • Blazor server is perfect for that.

      @JoePiotti@JoePiotti3 жыл бұрын
    • @@JoePiotti Could you elaborate, I'm also looking into this so it would be nice to get an explanation as to why Blazor is a good choice.

      @mysteryman8007@mysteryman80073 жыл бұрын
  • Tim: I'm building an intranet application (local web server) for 15 users using Blazor Server. When I try to publish it, it requires SignalR hosting. What's the least expensive way to implement this in a local server? Thank you

    @94089463@940894633 жыл бұрын
    • Unless your web host does not allow web sockets, you should not need separate hosting for SignalR. It just runs on the web server.

      @IAmTimCorey@IAmTimCorey3 жыл бұрын
    • I'll give it a try. Thank you very much for your quick reply!

      @94089463@940894633 жыл бұрын
    • @Soy Orbison Well thought. Thank you, Soy.

      @94089463@940894632 жыл бұрын
  • Hi Tim, could you comment on how to progress a reasonably large, business critical WebForms project to adopt more modern web UI technology(ies), without re-writing the entire thing (which can't happen)? I have been tasked with looking at this, and am looking at going down the line of adopting MVC within the same website to start to migrate towards a 'better', more testable, better performing (for the new features) and more structured solution that can co-exist with the existing WebForms. I'd love to use Blazor Server and have played with this a bit, but I don't see how that could be made to work in this context. Any thoughts or comments from you or anyone with any experience of this very much appreciated. Thanks for what you do BTW, I have returned to IT after a mid-life venture into something totally different, and have found myself watching a lot of your videos.

    @chrisl8073@chrisl8073 Жыл бұрын
  • What's the diff bw having a data model layer connected to a sql db and an API?

    @ElCidPhysics90@ElCidPhysics902 жыл бұрын
    • A "data layer model" is most likely a .NET class library (DLL(s)) accessible to ONLY that web app, and not exposed to the outside world. An API (i.e. REST) exposes a generic, HTTP-based programmatic interface that can be accessed by a different web app (even one written in some other language than .NET), a desktop app, a mobile app, etc. The API would sit on top of the "data layer model" and allow a greater variety of clients to interact with the DB behind the scenes.

      @allthecommonsense@allthecommonsense2 жыл бұрын
  • I would like to go with WASM but I still need to hit web services, not API's, is that a problem?

    @jeffkennedy2269@jeffkennedy2269 Жыл бұрын
    • It depends on the type of web service. Remember that nothing is secure on the client-side, so you can't put access tokens or other items in the Blazor code that authorize the application to talk to the web service. If you can use application authorization or ask the user for credentials, then you will be fine.

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • Hi man, I have a.netcore app and for about a monthnow I have been struggling to deploy to iis. I am hoping you could help me figure it out

    @kudzo005@kudzo005 Жыл бұрын
    • Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/

      @IAmTimCorey@IAmTimCorey Жыл бұрын
  • The stack is getting quite confusing if I'm honest

    @FiveNineO@FiveNineO3 жыл бұрын
    • All the more reason to stay up to date with Tim!

      @tomthelestaff-iamtimcorey7597@tomthelestaff-iamtimcorey75973 жыл бұрын
    • MVC will be around. But if you're just starting out just go with Blazor Server side or .NET api + Javascript. Those are the most popular to use at work.

      @TheCameltotem@TheCameltotem3 жыл бұрын
    • @Soy Orbison Yeah it's easier but I think you have to ask yourself why we even define a class in the beginning? I mean look at typescript, it's becoming really popular because typed languages save so much in regards of errors.

      @TheCameltotem@TheCameltotem2 жыл бұрын
    • @limelight81 But when would you need to consume an arbitrary structure in your webapp, you can only process it when you know what you want to do with it (unless it's some sort of data testing thing). And as you say, it's also possible with stuff like blazor.

      @SuperDre74@SuperDre742 жыл бұрын
    • @limelight81 front end JavaScript guys will always go with untyped, error prone script. Blazor with the front end running converted c#, solves this for OOP guys. People don’t know what they don’t know. Script guys are usually surface level understanding of oop, if any.

      @johnmadsen37@johnmadsen372 жыл бұрын
KZhead