.NET 7 Overview - What's New, Should You Use It, and More
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/
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.
Thanks Chris. Any chance I’m going to see you at TechBash this week?
@@IAmTimCorey Not this year unfortunately... have a great week
Tim, you are my favorite teacher. I can't thank you enough for sharing your knowledge here!
Thank you!
Great overview. I can't wait to see the upcoming videos.
Thanks!
As always a great video Tim. Very keen to get a deeper look at the new Blazor features!
Thank you!
On an upwards towards 500K subs Tim, and for good reason. Another great and informative video!!
Thank you!
Thank you Tim. One of the best videos again. Really appreciate your efforts for brining this valuable information to millions of people for free..
You are welcome.
A minor grumble - TARs don't compress the constituent files, they're just containers and you'll still need to gzip them.
Yep, you are correct. They also incorporate gzip, but tar is just storage. Good catch.
Timely, thank you.
You are welcome.
Thank you again Tim.
You are welcome.
Thanks Tim, I'm testing this new version focus on blazor and MAUI. I'll be hoping your next videos of this version.
You are welcome.
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.
Correct. That was my bad to conflate it and gzip (which you can add in C#).
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.
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.
Thanks great explanation
You are welcome!
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.
Thank you
You are welcome.
"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...
I’ve got a whole video on the process and transition. It actually makes sense (mostly) based upon what they had to work with.
At least we didn't have to go from .NET 3.1 to .NET 95 to .NET 98 to .NET XP... 😉
@@EdKolis That's FUNNY right there.
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.
Agreed.
they tempt you with all these shiny new features
Is there a reason to resist?
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....
That’s always a frustrating wait, seeing the great new features and not being able to use them.
I've just started learning C#!
Great!
Great!
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!
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.
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!
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.
@@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 :)
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.
I'm holding off on static interfaces until I really explore the implications.
Please do some benchmark comparasion to .net 6 with alghoritms etc
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.
@@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
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
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?
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.
Great video, Thanks for sharing,.
You are welcome.
Was waiting for AES and WASM multithreading, they pushed both to 8.
Bummer.
Great Overview of .Net 7 , I feel it could have been bit shorter in duration
Thanks!
How often does anyone actually update the framework of their existing projects?
Depends on the project. Projects that want to stay long-term relevant do it more often.
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.
Thanks
You are welcome.
for what, huh?
@@bo_0ss huh?
@@romanokeser uh?
Do you know if it comes with the ability to do slot swaps in Azure without downtime for Blazor Server Apps?
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.
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.
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?
If you go to the command line and run "dotnet --info", you will get the information on which versions of .NET are intalled.
@@IAmTimCorey Yes sir, thank you very much... I have 6.0
In practical terms, what exactly does that "Microsoft support" mean?
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).
hi
is Net 7 drop in replacement for Net6 ?
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
I‘m about to redo my wpf erp application as an asp.net one. Should i wait for full release?
I would recommend starting it now and upgrading it to .NET 8 (and beyond) when you can.
Alright. Thank you Tim!
Will you be doing it in .NET MAUI?
Maybe wrong but is async zip now available?
Yes, it is.
😎
👍
I think Blazor is the new Silverlight.
Nope. I did a whole video on this type of statement: czcams.com/video/uH3z0ja7qfE/video.html
am new to all this stuff does .net 7 improve gaming vs .net 4.8?
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.
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.
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.
Any breaking changes?
Yep: learn.microsoft.com/en-us/dotnet/core/compatibility/7.0
Since .NET 7 is STS, should I use it for production or wait .NET 8 LTS?
Definitely use .NET 7. It is fully production-supported.
when its going to release?
This week.
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
I am not sure what any of this means.
Are there any plans from microsoft to make a project type like flutter for ui design
They have .NET MAUI
We need to have a better data bridge with JS. I don’t know why Microsoft doesn’t do this ?
We have it.
we have nodejs support by Jering.Javascript.NodeJS and interop with js when dotnet run in browser
JS should be easy to write side by side with C# but Microsoft just doesn’t see it yet.
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.)
Yes thanks, Tim Corey I love ❤️ ur content.
I mean on Xamarin and Maui and Blazor. The JS integration really needs some love.
Microsoft is missing on the biggest segment of the market with JS.
The biggest libraries that make the development experience 10X better. Are all in JS versions , Reactjs, angular, typescript Vue and much more.
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.
@@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.
But I will certainly watch the video.
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)
Glad you are going to use it.
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
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.
@@IAmTimCorey i see now. Thanks
"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?
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.
.net 7 is being ignored by most companies because of the lack of JS compatibility.
Huh? You can compile C# to wasm and interop with JS.
Blazor and JS can be mixed, they have a few videos on using react stuff in Blazor and vice versa, what do you mean?
Citation Needed.
@@protox4 it is a very verbose data bridge between JS and C#. Needs a better iteration.
@@S3Kglitches Blazor has serious problems when implementing JavaScript per Blazor component in the file level and the data bridge between C#
You talk too much and give no descriptive evidence of the improvements. Not good.
It's an >> overview
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!