.NET 7 Overview - What's New, Should You Use It, and More

Sdílet
Vložit
  • čas přidán 6. 11. 2022
  • .NET 7 is releasing this week. With a new version of .NET comes a lot of questions. In this video, I will give you an overview of what is in .NET 7 and go over the support lifecycle for this version. We will wrap up by talking about how to get more information on the release
    Full Training Courses: IAmTimCorey.com
    Patreon: / iamtimcorey
    Mailing List: signup.iamtimcorey.com/

Komentáře • 133

  • @SpaceShot
    @SpaceShot Před rokem +33

    The best, most practical, succinct list and explanation I've seen so far. I love your no nonsense approach. You don't take sides. You tell us what we need to know when we are heading into work to make decisions. Thank you.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +4

      Thanks Chris. Any chance I’m going to see you at TechBash this week?

    • @SpaceShot
      @SpaceShot Před rokem +1

      @@IAmTimCorey Not this year unfortunately... have a great week

  • @shmupful
    @shmupful Před rokem +1

    Tim, you are my favorite teacher. I can't thank you enough for sharing your knowledge here!

  • @phillipsengineer
    @phillipsengineer Před rokem +2

    Great overview. I can't wait to see the upcoming videos.

  • @artydooty1675
    @artydooty1675 Před rokem +2

    As always a great video Tim. Very keen to get a deeper look at the new Blazor features!

  • @Duelweb
    @Duelweb Před rokem

    On an upwards towards 500K subs Tim, and for good reason. Another great and informative video!!

  • @abhishekjadhav9289
    @abhishekjadhav9289 Před 5 měsíci

    Thank you Tim. One of the best videos again. Really appreciate your efforts for brining this valuable information to millions of people for free..

  • @UristMcFarmer
    @UristMcFarmer Před rokem +24

    A minor grumble - TARs don't compress the constituent files, they're just containers and you'll still need to gzip them.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +9

      Yep, you are correct. They also incorporate gzip, but tar is just storage. Good catch.

  • @Vennotius
    @Vennotius Před rokem +3

    Timely, thank you.

  • @aperezNWO
    @aperezNWO Před rokem

    Thank you again Tim.

  • @manuelgamezz
    @manuelgamezz Před rokem +1

    Thanks Tim, I'm testing this new version focus on blazor and MAUI. I'll be hoping your next videos of this version.

  • @rich8021
    @rich8021 Před rokem +5

    Note: TAR is not a compression file type. It's a tape archive that puts files in consecutive order to make it easier to search them. Think zip without the compression.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +5

      Correct. That was my bad to conflate it and gzip (which you can add in C#).

  • @nosaanthony7310
    @nosaanthony7310 Před rokem

    Tim, you are the best tutor I have met. I havn't seen any concept that you are not able to breakdown well enough for anyone to understand regardless the listeners level of intelligence. Could you please do something on clean Architecture. I have seen a lot of videos of tutors just talking to themseleves thinking they are communicating, but you my friend can make it simpler.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      There is a suggestion on the suggestion site on Clean Architecture here that you could upvote: suggestions.iamtimcorey.com/Details/631f9588a17da49d8db124c2
      There are other suggestions for a course and a 10-minute training video on it as well.

  • @birukabel3590
    @birukabel3590 Před rokem

    Thanks great explanation

  • @scrpld7111
    @scrpld7111 Před rokem +1

    Thanks for this. I just started coding with C# independently and all the different versions got me very confused. I kinda wanted to know what is relevant. It feels like they update it very frequently, but I don't know.. was there any significant done with the earlier versions then? Those videos about the winforms etc. was very good also thanks for those.

  • @TheSunspeed
    @TheSunspeed Před rokem

    Thank you

  • @keyser456
    @keyser456 Před rokem +5

    "Faster than 6, which was faster than 5, which was faster than Core 3.1" -- there's just something funny in somebody succinctly but accurately going through Microsoft's chaotic (too harsh?) version / brand / labeling scheme through the years that is worth a chuckle. That doesn't even begin to scratch the whole .NET Framework -> .NET Core -> .NET timeline and history. C# is my ride or die, but it hasn't been easy sticking with it...

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +4

      I’ve got a whole video on the process and transition. It actually makes sense (mostly) based upon what they had to work with.

    • @EdKolis
      @EdKolis Před rokem +5

      At least we didn't have to go from .NET 3.1 to .NET 95 to .NET 98 to .NET XP... 😉

    • @chezchezchezchez
      @chezchezchezchez Před rokem +2

      @@EdKolis That's FUNNY right there.

  • @PelFox
    @PelFox Před rokem +15

    My take on upgrading is that STS versions are supported until next LTS. In theory it should be easier to go from 7 to 8 than 6 to 8. Therefor I will try and update at any new versions. With high enough test coverage you should feel safe to do so. You miss out on new features and general improvements for 2 years for no real reason.

  • @Charles-Darwin
    @Charles-Darwin Před rokem

    they tempt you with all these shiny new features

  • @scdecade
    @scdecade Před rokem +1

    Filters are a nice addition (or addback). Of course, we've also sworn off non-LTS releases. Will be upgrading to .NET 7 soon. Grrr.... 18 months tick, tick, tick....

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      That’s always a frustrating wait, seeing the great new features and not being able to use them.

  • @louierichardson4244
    @louierichardson4244 Před rokem +1

    I've just started learning C#!

  • @nrnoble
    @nrnoble Před rokem +1

    Will there likely be updated versions like 7.1, 7.2, etc.? If so, how does the support for those incremental versions work? This is the best C# YT Channel. Thanks, Thumbs ups!

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +1

      They do update the version, but there won't be breaking changes in those updates, just security patches and bug fixes. Those updates are included under the original major version.

  • @Hikari-sj8vn
    @Hikari-sj8vn Před rokem

    I heard you talking about virtualization. Loading a dropdown as you scroll… do you have a video about that? That’s exactly what I need for a use case I have. Thanks!

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      I don't have it for a dropdown, but I have it for a list. Check out suggestions.iamtimcorey.com and scroll the page. That scroll is the virtualized list.

    • @Hikari-sj8vn
      @Hikari-sj8vn Před rokem

      @@IAmTimCorey I found a video that shows how to use the Virtualize component. I hoped you would have one but I wasn’t able to find any. Maybe an Idea for a future video? Thanks for the reply :)

  • @andywalter7426
    @andywalter7426 Před rokem +5

    Also, nothing was mentioned about new features of c# 11. The most important part for c# 11 is static with interfaces. Allows interfaces to be more powerful than ever and more flexible which allowed generic math to happen.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +3

      I'm holding off on static interfaces until I really explore the implications.

  • @niedokazuj8244
    @niedokazuj8244 Před rokem +1

    Please do some benchmark comparasion to .net 6 with alghoritms etc

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      What algorithms? Speed differences will depend on what you are doing. They will be subjective to the project. In general, .NET 7 is faster. How much depends on what you are using. I may do some benchmarking, but just as an illustration. Don’t depend on it to be universal.

    • @niedokazuj8244
      @niedokazuj8244 Před rokem

      @@IAmTimCorey For example mandelbrot debian benchmark games I noticed it's 2x faster than net 6.0 others not impressive almost same level, still lot of room for improvements, e.g. PIDigits very slow

  • @husniddindosmatov8786

    Hi Mr Tim, I am new in C# development. Could you please tell me the learning path to become a .NET developer. If you answer. it would make me really gland. Thanks a million in advance

  • @46I37
    @46I37 Před rokem

    I’m still on VS 2017 Express, the last VS version free for commercial use in companies. We have a large LOB C# winforms app. Does this release fix all the winforms issues? Can you only develop with paid VS?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +2

      The latest version of Visual Studio has a Community Edition that is free even for commercial as long as the business makes less than $1 million/year gross and has 5 or less developers. If that doesn't work, you would need to use the paid Professional Edition.

  • @IBNEKAYESH
    @IBNEKAYESH Před rokem

    Great video, Thanks for sharing,.

  • @sergenalishiwa9097
    @sergenalishiwa9097 Před rokem

    Was waiting for AES and WASM multithreading, they pushed both to 8.

  • @rajeshshukla958
    @rajeshshukla958 Před 11 měsíci

    Great Overview of .Net 7 , I feel it could have been bit shorter in duration

  • @jonnyjazzz
    @jonnyjazzz Před rokem +1

    How often does anyone actually update the framework of their existing projects?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +1

      Depends on the project. Projects that want to stay long-term relevant do it more often.

    • @christopherenriquez9765
      @christopherenriquez9765 Před rokem +6

      If the company has a security compliance, you have no choice but to update your framework. Outdated framework will not receive any security patches and vulnerable from known security risks.

  • @caseyspaulding
    @caseyspaulding Před rokem +1

    Thanks

  • @sliLIFE
    @sliLIFE Před rokem

    Do you know if it comes with the ability to do slot swaps in Azure without downtime for Blazor Server Apps?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      This isn't an Azure update, it is a .NET update. That's an Azure issue. My guess is that it will not, since the issue with the slot swap will be the active connection via SignalR. You probably cannot maintain an active connection to an application while changing the application.

  • @ferdicuyar814
    @ferdicuyar814 Před rokem

    Mr Corey i am inspecting your web page and i see core mvc. I would like to ask you a small question. one of my projects is an mvc .net framework project. I am haveing a problem that i couldnt understand why. I am makeing a small record. User is changing status of a file and its working on my table as lets say fileStatuChanges. In my codes I am getting user from session, file id and status id from form's posting. I have done project as code first. fileStatus Change does not have properties like userId, fileId and statusId. It has got virtual user, virtual file and virtual status. So in my function i am calling from database user by userId from session, file by fileId and status by statusId from actionresult posting. finaly i create a fileStutChanges class and fill those properties. after that i make my adding to database and saveing. Mostly its successfull but something like 1/1000 chance its userId or kargoId records to db as null. Why can it happen? I am using entity framework.

  • @cheogt4623
    @cheogt4623 Před rokem

    I'm confused, i tried to see what .NET i have, and there are so many version numbers, and the global seems to be be 17.2.5 about the studio, where can i see if i have .NET 5 or 6?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +1

      If you go to the command line and run "dotnet --info", you will get the information on which versions of .NET are intalled.

    • @cheogt4623
      @cheogt4623 Před rokem

      @@IAmTimCorey Yes sir, thank you very much... I have 6.0

  • @divanvanzyl7545
    @divanvanzyl7545 Před rokem

    In practical terms, what exactly does that "Microsoft support" mean?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      It provides quite a few things. For example, if there is a bug in the product, you can report it and they will potentially fix it. Also, if you have a problem, you can open a support ticket and get help directly from Microsoft (for a fee).

  • @TheAzerue
    @TheAzerue Před rokem +1

    hi
    is Net 7 drop in replacement for Net6 ?

    • @RESIDENTECH1
      @RESIDENTECH1 Před rokem

      Not really , its more like suit of features put together that can be used optionally, net 7 is only getting 2 years of support while net 6 is getting 3 years of support, after which anew set of features will be bundled for net 8 and the net after that, from what ive seen as of net5 the odd numbers get short term support while the even numbers get longterm support

  • @maxron6514
    @maxron6514 Před rokem

    I‘m about to redo my wpf erp application as an asp.net one. Should i wait for full release?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +2

      I would recommend starting it now and upgrading it to .NET 8 (and beyond) when you can.

    • @maxron6514
      @maxron6514 Před rokem

      Alright. Thank you Tim!

    • @fieryscorpion
      @fieryscorpion Před rokem

      Will you be doing it in .NET MAUI?

  • @alanjordaan3953
    @alanjordaan3953 Před rokem

    Maybe wrong but is async zip now available?

  • @sujithkumary5221
    @sujithkumary5221 Před rokem

    😎

  • @NextProgrammer
    @NextProgrammer Před rokem

    I think Blazor is the new Silverlight.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      Nope. I did a whole video on this type of statement: czcams.com/video/uH3z0ja7qfE/video.html

  • @CaptNemo_
    @CaptNemo_ Před rokem

    am new to all this stuff does .net 7 improve gaming vs .net 4.8?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +1

      It depends on what you mean. If you are using Unity, you use whatever the latest version is that it supports. If you are building games inside of .NET directly, you definitely want to use .NET 7. The .NET Framework (the latest and last edition being 4.8) is still supported but is not being updated. .NET Core (which is now just called just .NET after version 5 came out) is a full replacement that is orders of magnitude faster and is constantly being updated and improved.

  • @r3ady150
    @r3ady150 Před rokem

    i’ve been learning c# off and on for a couple years now. i just started back up a few weeks ago. i’m gonna stick with 6. currently i’m using a mac but their hardly any tutorials for mac. My main focus is game dev with unity but i wanna make stuff for desktop. 99% of the vids i find at for windows and don’t work well on mac. Any body have any good advice. and please don’t say buy a pc. i don’t want one. i no longer like windows. i know there’s other languages but this was my first.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +1

      If you follow along with videos covering Console applications and Web applications (API, MVC, Razor Pages, Blazor Server, and Blazor WebAssembly), the code itself will be exactly the same on a Mac even if the tutorial is on Windows. The only difference will be the UI of Visual Studio.

  • @chezchezchezchez
    @chezchezchezchez Před rokem

    Any breaking changes?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      Yep: learn.microsoft.com/en-us/dotnet/core/compatibility/7.0

  • @radinkn9000
    @radinkn9000 Před rokem

    Since .NET 7 is STS, should I use it for production or wait .NET 8 LTS?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      Definitely use .NET 7. It is fully production-supported.

  • @Venkatesh54629
    @Venkatesh54629 Před rokem

    when its going to release?

  • @apostleodoket
    @apostleodoket Před rokem

    I was trying to learn c# in 5 but trying to make c# sound like python just a single they are just confusing us, I believe it should be left to display

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +1

      I am not sure what any of this means.

  • @RESIDENTECH1
    @RESIDENTECH1 Před rokem +1

    Are there any plans from microsoft to make a project type like flutter for ui design

  • @jonyfrany1319
    @jonyfrany1319 Před rokem

    We need to have a better data bridge with JS. I don’t know why Microsoft doesn’t do this ?

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      We have it.

    • @kitsunofflmao9980
      @kitsunofflmao9980 Před rokem

      we have nodejs support by Jering.Javascript.NodeJS and interop with js when dotnet run in browser

  • @jonyfrany1319
    @jonyfrany1319 Před rokem

    JS should be easy to write side by side with C# but Microsoft just doesn’t see it yet.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +1

      See my previous comment. You can definitely do that. They support and encourage it. They also provide the tools to do it for free (Typescript, VSCode, etc.)

    • @jonyfrany1319
      @jonyfrany1319 Před rokem

      Yes thanks, Tim Corey I love ❤️ ur content.
      I mean on Xamarin and Maui and Blazor. The JS integration really needs some love.

  • @jonyfrany1319
    @jonyfrany1319 Před rokem

    Microsoft is missing on the biggest segment of the market with JS.

    • @jonyfrany1319
      @jonyfrany1319 Před rokem

      The biggest libraries that make the development experience 10X better. Are all in JS versions , Reactjs, angular, typescript Vue and much more.

    • @IAmTimCorey
      @IAmTimCorey  Před rokem +4

      You do realize that Microsoft creates Typescript, right? And VSCode? You can now write WASM code in C# that you can directly execute in a JS application, too. Interop with Blazor and JavaScript is great, and continues to be improved. Visual Studio has built-in templates for combining ASP.NET Core with Angular, React, and Vue. I don’t think they are missing JavaScript. I think you just need to actually look at what they offer.

    • @jonyfrany1319
      @jonyfrany1319 Před rokem

      @@IAmTimCorey yes 👍🏽 that’s great, thanks 🙏🏽 but on Blazor JS interop leaves a lot to desire. At least on 2022 not sure haven’t seen this video if the bugs have been fixed.
      My biggest complaint with Blazor and JS is the data bridge between C# and JS is not efficient as the data bridge between html and C#.
      Another example it wasn’t posible to have a Screen.JS file per screen. So u had to dump the JS in wwwroot folder on Blazor. And if the project was big it was a bit hard instead of using the same file convention with one Css file per screen class, which I love very much. Despite that I love ❤️.Net. And would love to see more people adopting it. Would love ❤️ to see C# interop with python.

    • @jonyfrany1319
      @jonyfrany1319 Před rokem

      But I will certainly watch the video.

  • @jannarkiewicz633
    @jannarkiewicz633 Před rokem

    For two decades, I have wanted tar support... When I heard tar was not supported, I let out a "Thank you , Je**s" (enter your own deity)

  • @embossCoder
    @embossCoder Před rokem

    Why just dont they name it updates for .net. just one net with updates. In that way other prev version looks outdated. Dont know with others, this numbering version make me upset

    • @IAmTimCorey
      @IAmTimCorey  Před rokem

      They don't do that because companies rely on these versions. How would you communicate what "version" of .NET a NuGet package supported if it wasn't updated to the latest version? Remember, not every package is maintained forever. Knowing what the version number is helps you understand what it supports. All software does this. With .NET, they just advertise the major version number, since major versions are when breaking changes happen.

    • @embossCoder
      @embossCoder Před rokem

      @@IAmTimCorey i see now. Thanks

  • @mattiasolsson2354
    @mattiasolsson2354 Před 7 měsíci

    "Tar file creation", "super simple", "TEN MINUTES VIDEO" Haha what? If it's simple shouldn't it be a three minute video? Or you really want to get over that monetization mark of ten minutes?

    • @IAmTimCorey
      @IAmTimCorey  Před 7 měsíci

      Couple things. First, that video ( czcams.com/video/Vms9o345kvc/video.htmlsi=4H7v26Ml0kIuC-Rx ) is 6 minutes. It is part of the 10-minute training, where I cover topics in "10 minutes or less". Second, I try hard to give you enough context in order to actually use the thing in the real world with some advice on best practices. As for the "monetization mark" of 10 minutes, that is for mid-roll ads. Have you ever seen a mid-roll ad on my videos? Nope. I don't do mid-roll ads.

  • @jonyfrany1319
    @jonyfrany1319 Před rokem

    .net 7 is being ignored by most companies because of the lack of JS compatibility.

    • @protox4
      @protox4 Před rokem +3

      Huh? You can compile C# to wasm and interop with JS.

    • @S3Kglitches
      @S3Kglitches Před rokem +1

      Blazor and JS can be mixed, they have a few videos on using react stuff in Blazor and vice versa, what do you mean?

    • @ByronScottJones
      @ByronScottJones Před rokem

      Citation Needed.

    • @jonyfrany1319
      @jonyfrany1319 Před rokem

      @@protox4 it is a very verbose data bridge between JS and C#. Needs a better iteration.

    • @jonyfrany1319
      @jonyfrany1319 Před rokem +1

      @@S3Kglitches Blazor has serious problems when implementing JavaScript per Blazor component in the file level and the data bridge between C#

  • @luisdominguesforprogramaca3221

    You talk too much and give no descriptive evidence of the improvements. Not good.

  • @hamdilamloum3991
    @hamdilamloum3991 Před rokem

    Hi Tim, many thanks from Paris for this intresting video. Have you a LinkedIn page or account where you publish too this videos? we can like and share them with our contacts!