What's Coming With .NET 9? - 3 New LINQ Methods!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
it's been only a few months since the net 8 and C 12 release back in November of last year however the net team has been already working on the first preview version of net 9 which is now available to download and with net 9 preview one we already got a few new features that I want to share with you today let's quickly look at the vision statement Microsoft released with the preview one of net 9 the most important Focus areas are Cloud native and intelligent app development you can expect significant investments in performance productivity and security as well as advancements across the platform what I read between those lines is that we will get further improvements in AI assisted code completion as well as further performance improvements across all of the net apis our our goal is to make net development more productive using visual studio wish Studio code with the c dev kit and Cloud deployments easier using Azure Services the C dev kit for visual studio code is pretty new and when it comes to new features I'm pretty sure we will see a lot of new stuff coming the following months especially with the release of net 99 next November for our Visual Studio I expect a new major version coming by the end of this year I don't have any official information backing this up however I would be surprised if we wouldn't get a new release of Visual Studio after 3 years remember we got Visual Studio 2022 back in November 21 with the release of net 6 it's all speculation by me at this point however I could really see this happening enough talking about net 9 preview one let's finally look at the First new feature that we got with preview one we get three new link methods which are count by aggregate by and index the count by method is a short hand for grouping by a key and then counting by the key we can see an example in the documentation that takes a full sentence splits it into its words makes it all lowercase and counts how many times the same word exists the aggregate buy method allows us to Define an aggregating method and a seed value compared to the existing aggregate method we can also provide a key selector the index method Returns the item and the index as a value tole as far as I understand it's not a new feature but a different API with previous net versions We already could iterate items and get the index using an overload of the select method however the index method now provides a different interface using Val tuples we will see if that has performance implications or other advantages that I'm currently not able to see I'm currently not working on any net Maui projects however I'm more than glad to see that Microsoft puts a lot of effort into fixing the existing issues on the Android and iOS side and with net 99 preview one we got over 60 fixes for the Android side and even more for the iOS platform we also get a new remove method for the priority queue collection type I have to admit that I mostly write business applications using the net platform and haven't really had a use case where I used low-level code like this however for those scenarios the newly added remove method on the priority Q tag type might be helpful another change is that the type descriptor is now fully threat safe if you have experienced any issues in that area consider reading more about it in the official release notes of net 9 preview one the cryptography as well as the system text Chas and namespaces have also received a few updates that could be interesting to some of you something else very important to know is that with nit 9 Microsoft change the way they provide us with information about preview releases instead of releasing blog posts in their net developer blocks they will now add all the information in GitHub issues or GitHub discussions make sure to adjust your notification settings in order to get notified whenever a new net preview version is available I'm already looking forward to getting the new net release by the end of the year with the the first preview version we already got to see the vision that Microsoft shared about their goals of net 9 as well the first few changes including three new link methods if you want to explore the new changes yourself or maybe try your existing applications using net 9 preview one you can download the binaries from the net website I'm definitely going to follow the net 9 preview versions in the future and if you want to make sure you won't miss future updates and want to learn anything else about net development make sure to subscribe to the channel and I will see you in the next video
Info
Channel: Claudio Bernasconi
Views: 1,102
Rating: undefined out of 5
Keywords: What's New in .NET 9?, .NET 9, .NET 9 Preview 1, .NET Preview, 3 new LINQ methods, .NET 9 LINQ, .NET, dotnet, dotnet 9, CountBy, AggregateBy, Index, PriorityQueue, TypeDescriptor thread safe, .NET Core, C#, Claudio Bernasconi
Id: 3TwXBNxaEXo
Channel Id: undefined
Length: 5min 39sec (339 seconds)
Published: Wed Feb 21 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.