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

  Рет қаралды 103,140

IAmTimCorey

IAmTimCorey

Жыл бұрын

.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/

Пікірлер: 133
@SpaceShot
@SpaceShot Жыл бұрын
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 Жыл бұрын
Thanks Chris. Any chance I’m going to see you at TechBash this week?
@SpaceShot
@SpaceShot Жыл бұрын
@@IAmTimCorey Not this year unfortunately... have a great week
@shmupful
@shmupful Жыл бұрын
Tim, you are my favorite teacher. I can't thank you enough for sharing your knowledge here!
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Thank you!
@phillipsengineer
@phillipsengineer Жыл бұрын
Great overview. I can't wait to see the upcoming videos.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Thanks!
@UristMcFarmer
@UristMcFarmer Жыл бұрын
A minor grumble - TARs don't compress the constituent files, they're just containers and you'll still need to gzip them.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Yep, you are correct. They also incorporate gzip, but tar is just storage. Good catch.
@artydooty1675
@artydooty1675 Жыл бұрын
As always a great video Tim. Very keen to get a deeper look at the new Blazor features!
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Thank you!
@Duelweb
@Duelweb Жыл бұрын
On an upwards towards 500K subs Tim, and for good reason. Another great and informative video!!
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Thank you!
@aperezNWO
@aperezNWO Жыл бұрын
Thank you again Tim.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You are welcome.
@abhishekjadhav9289
@abhishekjadhav9289 5 ай бұрын
Thank you Tim. One of the best videos again. Really appreciate your efforts for brining this valuable information to millions of people for free..
@IAmTimCorey
@IAmTimCorey 5 ай бұрын
You are welcome.
@Vennotius
@Vennotius Жыл бұрын
Timely, thank you.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You are welcome.
@rich8021
@rich8021 Жыл бұрын
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 Жыл бұрын
Correct. That was my bad to conflate it and gzip (which you can add in C#).
@PelFox
@PelFox Жыл бұрын
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.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Agreed.
@scrpld7111
@scrpld7111 Жыл бұрын
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.
@manuelgamezz
@manuelgamezz Жыл бұрын
Thanks Tim, I'm testing this new version focus on blazor and MAUI. I'll be hoping your next videos of this version.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You are welcome.
@nosaanthony7310
@nosaanthony7310 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Thanks great explanation
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You are welcome!
@keyser456
@keyser456 Жыл бұрын
"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 Жыл бұрын
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 Жыл бұрын
At least we didn't have to go from .NET 3.1 to .NET 95 to .NET 98 to .NET XP... 😉
@chezchezchezchez
@chezchezchezchez Жыл бұрын
@@EdKolis That's FUNNY right there.
@TheSunspeed
@TheSunspeed Жыл бұрын
Thank you
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You are welcome.
@Charles-Darwin
@Charles-Darwin Жыл бұрын
they tempt you with all these shiny new features
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Is there a reason to resist?
@scdecade
@scdecade Жыл бұрын
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 Жыл бұрын
That’s always a frustrating wait, seeing the great new features and not being able to use them.
@louierichardson4244
@louierichardson4244 Жыл бұрын
I've just started learning C#!
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Great!
@chezchezchezchez
@chezchezchezchez Жыл бұрын
Great!
@nrnoble
@nrnoble Жыл бұрын
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 Жыл бұрын
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.
@46I37
@46I37 Жыл бұрын
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 Жыл бұрын
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.
@andywalter7426
@andywalter7426 Жыл бұрын
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 Жыл бұрын
I'm holding off on static interfaces until I really explore the implications.
@Hikari-sj8vn
@Hikari-sj8vn Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 :)
@ferdicuyar814
@ferdicuyar814 Жыл бұрын
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.
@IBNEKAYESH
@IBNEKAYESH Жыл бұрын
Great video, Thanks for sharing,.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You are welcome.
@niedokazuj8244
@niedokazuj8244 Жыл бұрын
Please do some benchmark comparasion to .net 6 with alghoritms etc
@IAmTimCorey
@IAmTimCorey Жыл бұрын
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 Жыл бұрын
@@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
@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
@jonnyjazzz
@jonnyjazzz Жыл бұрын
How often does anyone actually update the framework of their existing projects?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Depends on the project. Projects that want to stay long-term relevant do it more often.
@christopherenriquez9765
@christopherenriquez9765 Жыл бұрын
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.
@sliLIFE
@sliLIFE Жыл бұрын
Do you know if it comes with the ability to do slot swaps in Azure without downtime for Blazor Server Apps?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
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.
@cheogt4623
@cheogt4623 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@IAmTimCorey Yes sir, thank you very much... I have 6.0
@sergenalishiwa9097
@sergenalishiwa9097 Жыл бұрын
Was waiting for AES and WASM multithreading, they pushed both to 8.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Bummer.
@TheAzerue
@TheAzerue Жыл бұрын
hi is Net 7 drop in replacement for Net6 ?
@RESIDENTECH1
@RESIDENTECH1 Жыл бұрын
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
@divanvanzyl7545
@divanvanzyl7545 Жыл бұрын
In practical terms, what exactly does that "Microsoft support" mean?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
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).
@r3ady150
@r3ady150 Жыл бұрын
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 Жыл бұрын
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.
@rajeshshukla958
@rajeshshukla958 11 ай бұрын
Great Overview of .Net 7 , I feel it could have been bit shorter in duration
@IAmTimCorey
@IAmTimCorey 11 ай бұрын
Thanks!
@caseyspaulding
@caseyspaulding Жыл бұрын
Thanks
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You are welcome.
@bo_0ss
@bo_0ss Жыл бұрын
for what, huh?
@romanokeser
@romanokeser Жыл бұрын
@@bo_0ss huh?
@bo_0ss
@bo_0ss Жыл бұрын
@@romanokeser uh?
@CaptNemo_
@CaptNemo_ Жыл бұрын
am new to all this stuff does .net 7 improve gaming vs .net 4.8?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
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.
@alanjordaan3953
@alanjordaan3953 Жыл бұрын
Maybe wrong but is async zip now available?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Yes, it is.
@maxron6514
@maxron6514 Жыл бұрын
I‘m about to redo my wpf erp application as an asp.net one. Should i wait for full release?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
I would recommend starting it now and upgrading it to .NET 8 (and beyond) when you can.
@maxron6514
@maxron6514 Жыл бұрын
Alright. Thank you Tim!
@fieryscorpion
@fieryscorpion Жыл бұрын
Will you be doing it in .NET MAUI?
@radinkn9000
@radinkn9000 Жыл бұрын
Since .NET 7 is STS, should I use it for production or wait .NET 8 LTS?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Definitely use .NET 7. It is fully production-supported.
@apostleodoket
@apostleodoket Жыл бұрын
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 Жыл бұрын
I am not sure what any of this means.
@RESIDENTECH1
@RESIDENTECH1 Жыл бұрын
Are there any plans from microsoft to make a project type like flutter for ui design
@fieryscorpion
@fieryscorpion Жыл бұрын
They have .NET MAUI
@chezchezchezchez
@chezchezchezchez Жыл бұрын
Any breaking changes?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Yep: learn.microsoft.com/en-us/dotnet/core/compatibility/7.0
@Venkatesh54629
@Venkatesh54629 Жыл бұрын
when its going to release?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
This week.
@NextProgrammer
@NextProgrammer Жыл бұрын
I think Blazor is the new Silverlight.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Nope. I did a whole video on this type of statement: kzbin.info/www/bejne/q3mWq2OglpyknKc
@jonyfrany1319
@jonyfrany1319 Жыл бұрын
We need to have a better data bridge with JS. I don’t know why Microsoft doesn’t do this ?
@IAmTimCorey
@IAmTimCorey Жыл бұрын
We have it.
@kitsunofflmao9980
@kitsunofflmao9980 Жыл бұрын
we have nodejs support by Jering.Javascript.NodeJS and interop with js when dotnet run in browser
@sujithkumary5221
@sujithkumary5221 Жыл бұрын
😎
@IAmTimCorey
@IAmTimCorey Жыл бұрын
👍
@jonyfrany1319
@jonyfrany1319 Жыл бұрын
JS should be easy to write side by side with C# but Microsoft just doesn’t see it yet.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Microsoft is missing on the biggest segment of the market with JS.
@jonyfrany1319
@jonyfrany1319 Жыл бұрын
The biggest libraries that make the development experience 10X better. Are all in JS versions , Reactjs, angular, typescript Vue and much more.
@IAmTimCorey
@IAmTimCorey Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
But I will certainly watch the video.
@embossCoder
@embossCoder Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@IAmTimCorey i see now. Thanks
@jannarkiewicz633
@jannarkiewicz633 Жыл бұрын
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)
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Glad you are going to use it.
@mattiasolsson2354
@mattiasolsson2354 7 ай бұрын
"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 7 ай бұрын
Couple things. First, that video ( kzbin.info/www/bejne/jJ7WaqJpaZqerMUsi=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 Жыл бұрын
.net 7 is being ignored by most companies because of the lack of JS compatibility.
@protox4
@protox4 Жыл бұрын
Huh? You can compile C# to wasm and interop with JS.
@S3Kglitches
@S3Kglitches Жыл бұрын
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 Жыл бұрын
Citation Needed.
@jonyfrany1319
@jonyfrany1319 Жыл бұрын
@@protox4 it is a very verbose data bridge between JS and C#. Needs a better iteration.
@jonyfrany1319
@jonyfrany1319 Жыл бұрын
@@S3Kglitches Blazor has serious problems when implementing JavaScript per Blazor component in the file level and the data bridge between C#
@luisdominguesforprogramaca3221
@luisdominguesforprogramaca3221 Жыл бұрын
You talk too much and give no descriptive evidence of the improvements. Not good.
@krccmsitp2884
@krccmsitp2884 Жыл бұрын
It's an >> overview
@hamdilamloum3991
@hamdilamloum3991 Жыл бұрын
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!
.NET Framework vs .NET Core vs .NET vs .NET Standard vs C#
25:14
IAmTimCorey
Рет қаралды 526 М.
skibidi toilet 73 (part 1)
04:46
DaFuq!?Boom!
Рет қаралды 31 МЛН
They're a tough bunch!! # Superman can't fly # Superman couple # Spider-Man
00:47
Every New Feature Added in C# 12
14:19
Nick Chapsas
Рет қаралды 145 М.
What is the Future of Blazor? Should I Learn Blazor?
22:32
IAmTimCorey
Рет қаралды 54 М.
The INSANE performance boost of LINQ in .NET 7
11:34
Nick Chapsas
Рет қаралды 157 М.
How To Learn C# in 2023 - Learning Path, Tips & Tricks, and More
46:37
Clean Architecture with ASP.NET Core 8 | .NET Conf 2023
29:17
The Ultimate .NET Version Guide
14:35
Claudio Bernasconi
Рет қаралды 15 М.
10 C# Libraries To Save You Time And Energy
33:59
IAmTimCorey
Рет қаралды 202 М.
skibidi toilet 73 (part 1)
04:46
DaFuq!?Boom!
Рет қаралды 31 МЛН