.NET and C# are in trouble. Here is what I'd do.

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

ความคิดเห็น • 971

  • @edandersen
    @edandersen  3 หลายเดือนก่อน +20

    Please consider subscribing if you haven't already 🙏 Hot takes and coding tutorials guaranteed.

    • @anthonylosego
      @anthonylosego 2 หลายเดือนก่อน

      Don't worry, AI can read the docs and become a master programmer in a few weeks. This is fine. Just tell the LLM what you want and it will build or re-build it in the latest release of C#/.net.

    • @will2023-onCensorshipTub
      @will2023-onCensorshipTub 2 หลายเดือนก่อน +1

      Right or the fact that Graphics are kind of attractive to kids so what do you have for c# if you want to access graphics hardware like every other language has had for like i dunno eternity.
      lol What year was XNA discontinued.

    • @blo0m1985
      @blo0m1985 14 วันที่ผ่านมา

      they say "dont have to learn it", and then you can't even read code until you learn it.

    • @NickTheCodeMechanic
      @NickTheCodeMechanic 14 วันที่ผ่านมา

      Microsoft shops: "I want better user experiences for my devs and clients, so I can make more money."
      Microsoft: "What the hell is a 'User'... 😮?"
      Devs: * still reading the stack trace*

    • @NickTheCodeMechanic
      @NickTheCodeMechanic 14 วันที่ผ่านมา

      ​@@anthonylosegoexcept LLMs are complete retards and can barely get a documentation page as pretty and functional as Django's up.
      Also, you really don't need AI to do this...

  • @OlofDahlbom
    @OlofDahlbom 3 หลายเดือนก่อน +109

    I think there is one part of the story missing here. What you are proposing is what .NET historically came from. A slow moving framework with extremely long LTS. This strategy made .NET lose to things like Node.js. So what you are seeing in terms of rapid development of the language+framework is the response of MS losing market share and trying to innovate to gain adoption and I think that approach has worked well.
    Go back 10 years and mostly enterprise shops with old devs did .NET, that's no longer the case.
    Maybe it's time to slow down. But without the historical context I mentioned above, it might be hard to understand why things are like the are.
    Thanks

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +27

      A fair point and well made.
      The point I'm trying to haphazardly make is that at the very least the LTS situation should be *better* than node.js. Organisations pay directly or indirectly to use C#/.NET. If its not better then why use it at all? I think 5-6 years is a decent compromise.

    • @EraYaN
      @EraYaN 3 หลายเดือนก่อน +6

      @@edandersenwell you pick something like C# or Go for the performance over Node. So it should at least move as fast. Besides backwards compatibility it honestly wonderful in .NET land, so upgrades are almost trivial if you do them every year. In Node land not so much.

    • @ubobcat
      @ubobcat 3 หลายเดือนก่อน +4

      At least with Node they don't change the language itself. JS is evolving not nearly as fast as C#.

    •  2 หลายเดือนก่อน

      Java's update/support cycle looks reasonable, nowadays ...

    • @ahmedkhan25
      @ahmedkhan25 2 หลายเดือนก่อน

      I'd love to go back to .NET, I have fond memories of years of building solutions, websites and mobile stuff with it, however ever since I started doing Gen AI, Software consulting, startup work and working with (younger) teams of developers everyone and their brother was using the newest JS/TS frameworks and mess of build and compile tools, GraphQL, etc, cloud envs, containers and variations on css and ui frameworks that they entail - the full stack ecosystem is crazily over-complex, ultimately popularity driven and not rationally driven because we are human beings not AI (yet) and we tend to go with the crowd or else be contrarian as a species..you have to appeal to one of those mindsets.. AND we have to go where the devs are and the money is.. who knows maybe GenAI and WASM will change everything...

  • @Kestrel1971
    @Kestrel1971 3 หลายเดือนก่อน +301

    The problem with C# is that it's gaining so much ALTERNATE syntax, so instead of one way to write something, there are now 4 different ways to do the same thing.
    The whole argument of, "You don't have to use it" is, to be blunt, bullshit, because sooner or later, you'll need to use or read code that does use these alternate syntaxes.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +36

      I agree. Today every C# project can look totally different. Thanks for the comment!

    • @jamesross3939
      @jamesross3939 3 หลายเดือนก่อน +3

      I agree too.

    • @randompointlessness2766
      @randompointlessness2766 3 หลายเดือนก่อน +22

      yes you don't have to use it, but going on an interview there will always be some guy who now thinks you're a newb for not using something that he himself used a "couple of times" and that's my issue on finding common ground with other fellow developers... some programmers have become so idealistic to the smallest detail when it matters to them personally =/

    • @marna_li
      @marna_li 3 หลายเดือนก่อน +1

      Can you give me an example that bothers you? I think Microsoft's own documentation should be up-to-date, to recommended practices, as that is their goal. I don't know of any major pattern that has significantly changed or being introduced for no reason. They do add a lot of features for the runtime when to optimize the framework itself.

    • @VincentJenks
      @VincentJenks 2 หลายเดือนก่อน +8

      This was always the case in JavaScript, which the community/ecosystem has slowly tried to bleed OUT of it. TypeScript seems to be bringing that mentality back into it though, which is frustrating. It might seem flexible and appealing, at first...but then you realize how much unnecessary friction this brings to teams just trying to get things done.

  • @wobuntu
    @wobuntu 3 หลายเดือนก่อน +170

    As someone who started with C# over 15 years ago: I love how quickly and useful the language still evolves. I used to dislike new language features, but after I got to use them more often and kept adopting all of them until I liked them, I realized the issue was just me being too comfortable using old stuff and that the language design team did a great job and made great decisions all the way along.
    The only thing I wished for is more manual memory management and banning null completely.

    • @rankarat
      @rankarat 3 หลายเดือนก่อน +18

      @@wobuntu
      Could not agree more, we will get result and option types build in in C# 13, you can almost forget about nulls... This just proves how much these upgrades are important

    • @timjen3
      @timjen3 3 หลายเดือนก่อน +4

      As long as they keep the upgrade process easy and well documented I have been happy with the LTR length.

    • @tudogeo7061
      @tudogeo7061 3 หลายเดือนก่อน +6

      I love null

    • @TheEVEInspiration
      @TheEVEInspiration 3 หลายเดือนก่อน +12

      I am of the opposite position as the language is by now just a freak show of disjointed features, some never worked in a useful capacity to begin with.
      It has developed the same problem as C++ has, too many unnecessary things that add complexity to both leaning and using the language.
      And given how dependent developers are on external libraries these days, they inherit this if they like it or not and have to deal with the new stuff.
      The result is that the language gets harder to work with, not easier and a huge overhead is created.
      It's objectively a bad thing to put too much into a language, especially if it results in competing ways to accomplish the same thing.
      The usage model of a language needs to be simple, expressive and easy to follow.
      C# never was that great in this regard, but by now its on the evil side of the spectrum.
      By all means, keep expanding the library with useful functions and classes.
      But the language must be quite stable and not trying to incorporate everything someone, somewhere has dreamed off.

    • @wobuntu
      @wobuntu 3 หลายเดือนก่อน +5

      @@TheEVEInspiration Interesting point of view. I agree with the requirement of a language being easy and comprehensible, but in my opinion c# is exactly that (apart from a few quirks like linq in its integrated query style). IMHO the language got easier over time (no need to explicitly newing up delegates to pass functions, inbuilt types for common delegates like a predicate, pattern matching like if(myObject is SomeType castedInstance)..., target typed new, type inference for generics, range support, etc.
      Can you point out some examples why you think the language is overloaded with features/complex to learn?

  • @Zorxh
    @Zorxh 3 หลายเดือนก่อน +98

    I think .NET desperately needs a Microsoft supported batteries included template like Laravel with auth, queues, scheduler, middleware, signalr, orm and so on preconfigured. You would save days in configuration time and issues for people who haven’t set up that kind of stuff before. Also it would bring a paved path for people still wanting to do it themselves, which we are really missing in key areas

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +24

      Yes yes yes and YES
      I want them to spend their time doing this instead of adding esoteric syntax niceties to C#. .NET Aspire is close in concept but just needs that final push.

    • @gyurisc
      @gyurisc 3 หลายเดือนก่อน +3

      Well said!

    • @CoffeeToCode11
      @CoffeeToCode11 3 หลายเดือนก่อน +4

      I would like to give you more likes if I could, the most painful aspect is having to setup everything yourself not only that but being very proficient at it (good luck making a mixed authentication flow for your web and mobile clientes)

    • @Rein______
      @Rein______ 3 หลายเดือนก่อน +10

      Just because noobs cant architect good systems you want to present a one size fits all as THE WAY. No, this will create a bias towards one way of doing things and if it's not that then 'you are doing it wrong'. People should think for themselves, combine parts themselves into a solution. Cant do that? Not my problem.

    • @karelvanderwalt3625
      @karelvanderwalt3625 3 หลายเดือนก่อน +4

      ABP ??

  • @thomasg.6113
    @thomasg.6113 3 หลายเดือนก่อน +88

    As a developer I enjoy receiving these regular updates and language improvements and due to these short LTS timespans I get to actually use these features in production code. If it wasnt for that, companies would much slower adapt and drive eager developers mad because they are stuck with a 10 year old framework that they hate to support after some time because newer and better things are out.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +11

      10 years is a bit much. But 5-6 years is fair I think for enterprise. Thanks for the comment!

    • @KjetilValoy
      @KjetilValoy 3 หลายเดือนก่อน +12

      I totally agree. I'm also looking forward to the nex release. C# has become mutch better the last years. The code can be written with a lot less extra text. For example primary constructors 1 line of code replaces at least 3 lines. It's beautiful 😊 Initializing empty list, array etc with [] is in my opinion mutch more intuitive and more clean than before.. Switch expressions are greate.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +4

      Yeah all that's already in now. Is there really that much left after union types worth all this disruption for?

    • @biserborisov5184
      @biserborisov5184 3 หลายเดือนก่อน +3

      ​@@KjetilValoy This is your opinion, but there are different ones.
      How lowercase is more readable than the word "default". Less text does not mean more readable. More verbosity is not good too.
      There was a syntactic sugar balance in C# that will soon be gone...
      The main focus in the video is usability. Tried building a Auth server without licenses - huge pain

    • @austin.valentine
      @austin.valentine 3 หลายเดือนก่อน +1

      I personally like most things I’ve seen. I want to write and read less code and focus on value. Also, they are still in process of adding significant performance enhancements which is also great. I think if every other LTS was doubled, that would be more than enough. So, basically version % 4 == 0 versions are doubled to 6 year LTS, or ELTS. Seems like a reasonable compromise. If you can’t update target framework with minimal changes every 4 years, why should they support you?

  • @SirBenJamin_
    @SirBenJamin_ 3 หลายเดือนก่อน +67

    As desktop app developer, I get quite frustrated that these days, .Net is synonymous with web development. Pretty much every .net youtube channel focuses around web. All the new features focus around web.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +25

      Sorry buddy. Would you like me to cover some Desktop stuff? If so what would be interesting?

    • @wayne_taylor
      @wayne_taylor 3 หลายเดือนก่อน +10

      @@edandersen We are stuck in .NET Framework 4.8, WinForms... some content on guidance from moving away, would be helpful but also, I'm aware that each situation is unique.

    • @davidskidmore3442
      @davidskidmore3442 3 หลายเดือนก่อน

      The main issue is that even desktop development is web development these days. WPF had a lot of layout improvements over winforms, but has since been completely eclipsed by html/css. That the libraries from MS shipped only half-baked didn't help adoption at all. WinUI? Even less baked than WPF. MAUI? Delivered at the same time as the ability to internally serve Blazor pages into a web control, like Electron devs have been doing with nodejs for years. Meanwhile our customers are asking for more cloud integration, more hosted, client-less solutions. The PC has been losing ground to phones and tablets for years now in the hands of the public, and zero-trust setups in Enterprise environments are making local installation increasingly problematic.
      As far as desktop stuff goes, dives into what it takes to actually get WinUI or MAUI into a usable state for a real application. How many (obvious) value converters do I need to write, and what third party framework libraries making working with them workable? Or did they actually ship something usable out of the box? How does performance compare to the afore-mentioned Blazor-in-a-WinForms-web-control implementation?

    • @xeakpress
      @xeakpress 3 หลายเดือนก่อน +1

      Yes​@@edandersen

    • @ad9291
      @ad9291 3 หลายเดือนก่อน +1

      Do desktop with Flutter

  • @AlexTushinsky
    @AlexTushinsky 3 หลายเดือนก่อน +177

    So you're wrong on many levels. Securing an API is baked in. You do NOT have to use Entra, IS4 or Azure B2C. Any OpenID / OAuth provider will work. Also, you point to Django, Laravel and Ruby as better options, but find me a case where those are used in an enterprise? You typically see those in smaller projects, while the larger ones use .NET or Java. As for frequent releases - C# DOES NOT change its syntax each year, but adds new features. You can use them if you want, but you can also ignore them and do what you did 5 years ago. The point being is that with .NET / C#, you can constantly evolve your code with new features and new patterns, while Python is barely on v3 after 20+ years on the market (oh and v3 is not the same as v2 so go rewrite your code). Java just recently (within the last 5 years started to innovate and add new features). And lastly, .NET and C# are open source, so I'm not sure why you fixated on Ruby's MIT license in the video.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +21

      "Any OpenID / OAuth provider will work"
      I want to RUN the OpenID provider without paying $$$.

    • @blairmurri8741
      @blairmurri8741 3 หลายเดือนก่อน +4

      ​@@edandersenI didn't see what auth provider Django includes. Laravel includes middleware targeting their own ORM, so if that's the standard, fully 2/3 of all the online examples I've seen for pre-Open ID .NET auth has used EF, so you're already there!
      But, if I want OpenID /OAuth Laravel doesn't provide a provider either. And on most projects, the auth isn't standalone, it's integrated, and most integrated authentication these days is providable via OpenID / OAuth.

    • @ladrillorojo4996
      @ladrillorojo4996 3 หลายเดือนก่อน +8

      @@edandersen Why not run keycloak, zitadel or something similar? They are free for commercial use.

    • @marcotroster8247
      @marcotroster8247 3 หลายเดือนก่อน +18

      C# does change its syntax if your coworkers check in code that uses the new syntax. So it's a valid point.

    • @ladrillorojo4996
      @ladrillorojo4996 3 หลายเดือนก่อน +5

      @@marcotroster8247 He meant that old code can still work with modern frameworks without changes, except for a few classes that changed.

  • @delishkhadka216
    @delishkhadka216 3 หลายเดือนก่อน +34

    As a beginner I always wondered when and how this new thing came up in C# and its kind of frustating

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +7

      Thats what I worry about. It appears the team is focussing on language minutiae at the expense of making this a great experience for beginners, i.e. the next generation. Thanks for the comment.

    • @3bodyproblems
      @3bodyproblems 3 หลายเดือนก่อน +1

      My recommendation if you are a beginner focus on other questions, that's not something you need ( at the beginning) to become a proficient C# developer.

    • @mzg147
      @mzg147 2 หลายเดือนก่อน +1

      There is a little difference between C# 10 and C# 12 tbh. As compared to C# 7 and C# 8 for example. I think they should be called C# 9.1 and C# 9.3 and the problem wouldn't exist

    • @carlosromero-sn9nm
      @carlosromero-sn9nm หลายเดือนก่อน

      Yup after some time of not working/learning on C#, I tried scaffolding a Console Application on dotnet 8 and thinking where is the main method?

  • @valters-tomsons
    @valters-tomsons 2 หลายเดือนก่อน +42

    C# is not a "web development framework", it's a programming language. Most the things you're asking should be directed at Aspnet team, you know, the ones working on a framework, not the language design team.
    IMO, it's completely insane to ask for slowdown on language features. If you're ever impacted by a breaking change in the language, you can specify a language version in your project.

    • @edandersen
      @edandersen  2 หลายเดือนก่อน +6

      I see it as one team, they all come under devdiv. Thanks for the comment!

    • @DE-sf9sr
      @DE-sf9sr 2 หลายเดือนก่อน +2

      Seriously? One team?

    • @DE-sf9sr
      @DE-sf9sr 2 หลายเดือนก่อน +7

      ​@edandersen you set yourself up for confusion and failure by blending c# and. NET together. One is clearly a language and one is not.

  • @anthonydixon8967
    @anthonydixon8967 3 หลายเดือนก่อน +68

    Java programmers are watching with interest. about half of them work on Java 8, although Java 22 has already been released.

    • @igorthelight
      @igorthelight 3 หลายเดือนก่อน +10

      Is something is stopping .NET developers to still use .NET Framework 4.8? ;-)
      * It supports Windows 7+
      * It's preinstalled with Windows 10
      * It has 95% of all needed features
      * It's still supported
      * It generates small *.exe and *.dll files
      So if you "just need .NET" - why not use 4.8?
      It doesn't support Mac or Linux tho.

    • @SpookFilthy
      @SpookFilthy 3 หลายเดือนก่อน +3

      @@igorthelight yeah linux+docker

    • @igorthelight
      @igorthelight 3 หลายเดือนก่อน

      @@SpookFilthy That would help!

    • @jamesross3939
      @jamesross3939 3 หลายเดือนก่อน +4

      VS2022 can still build .NET framework 4.6.2 .... so you can share a VS12 project with a VS2022 one.

    • @schk3
      @schk3 3 หลายเดือนก่อน

      @@igorthelight Some people like me for example still use .NET Framework 4.8. We moved the code to Azure some time ago but at 4.7 version.
      And we will migrated it to NET.Core. One of the reasons it for example azure functions v1.x will not be supported after 14th September in 2026. Kinda hard to predict how long it will take to actually do it. Of course users wont be happy as it will mean no new features for let say a month since the team will be ocuppied with this "unproductive change" ;).

  • @kaplansedat
    @kaplansedat 3 หลายเดือนก่อน +37

    The whole industry is addicted to the new shiny toy. Is it for developers and users that a new product is introduced every year? I don't think so. It seems like a good question for a new person, which version will they start learning from? What about the learning content producers? I think software development is now a fair that moves forward with decisions without deep thought. Every application is loose, full of bugs and seems to have been developed in a hurry. The applications I used on 386 sx 25 hz computers were more responsive and faster than the ones I use now. The whole industry has turned into a clown show.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +5

      If not it's certainly trending towards a circus at least. Thanks for the comment.

    • @clray123
      @clray123 หลายเดือนก่อน

      You cannot make any money without releasing new products. I've been happily using free software like vim and Window Maker for the past 20 years or so. They haven't changed much or at all, they didn't need to change, they are still as great as they were 20 years ago. The difference with Microsoft bs is that the developers who have worked on these fine products have not become millionaires (nor have they ever intended) by sucking out money of their hapless customers/users.

  • @robmason4485
    @robmason4485 3 หลายเดือนก่อน +14

    As someone that’s been supporting applications which have been built in .Net Core 2.1/2.2/3.1/5/6 and most recently 8. The hardest part is justifying an upgrade to an existing API which is working, to a new version without any “business benefits”. So whilst I like clicking file-new and using the latest framework. Companies need to understand that these applications when building on .Net Core or front-end technologies are never done, they require yearly/ 2 year upgrades just as companies do with hardware (eg laptops).

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +4

      Yep, software is for life, not just for Christmas. Thanks for the comment.

    • @sumomaster5585
      @sumomaster5585 3 หลายเดือนก่อน

      @@edandersen Is this a quote of yours? it's cool, am gonna take it :D

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +2

      Nah I stole it from somewhere but I can't remember where

    • @anthonylosego
      @anthonylosego 2 หลายเดือนก่อน

      @@edandersen I know of a .net core 3 app C# 6 API (MVC) with a REACT class UI code base (all pod deployed) to replace a VB6 desktop app from 2003. That 3.5 year long project went belly up and the new plan is to continue using the VB6 app that, so far, has been doing fine with win32 api legacy code. VB6 for life. lol Perhaps they'll try again, but this time to re-write it in Excel/VBA for some real LTS. 😀

    • @lovalmidas
      @lovalmidas 2 หลายเดือนก่อน

      My company has to maintain the bulk of code in .Net Framework 4.x because we still need to support legacy Windows (~Windows 7) in manufacturing equipment (and installing new stuff on them is tempting fate and the owners blame you when their manufacturing stuff breaks), with the occasional port to CE Framework for small devices.
      The client side can't just retire their old machines without a whole chain of decision making. When I get involved in the task, the machine's existence is baked into the project.
      So my experience with the wider .Net ecosystem has largely been personal pet projects.

  • @georgeluyckx1437
    @georgeluyckx1437 3 หลายเดือนก่อน +158

    My biggest worry with .Net is that it often tries to push you towards their Azure Cloud Service.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +17

      I have noticed yes

    • @3bodyproblems
      @3bodyproblems 3 หลายเดือนก่อน +5

      This is true yep

    • @mumk
      @mumk 3 หลายเดือนก่อน +6

      It's called vendor login

    • @GarBlaineNavy
      @GarBlaineNavy 3 หลายเดือนก่อน +1

      Same with SQL Server and SSIS. At this point SSIS basically seems dead in the water, or at least it’s going to be re-branded soon to something with Azure in the name. They must think data centers are going extinct or that only luddites don’t fully embrace a cloud-first approach.

    • @alphamaster2
      @alphamaster2 3 หลายเดือนก่อน +2

      How come? any examples?

  • @rui.craveiro
    @rui.craveiro หลายเดือนก่อน +20

    Some time ago I started using Go after more than 2 decades with C# and, because it gave me the comparative experience, I completely agree with you (I still use both). Too many features can indeed become a hindrance and I find myself actually more productive while using Go, and especially while maintaining Go code. Concerning breaking changes, Go was released to the public 12 years ago and the current version is still 1.x, which means minimal breaking changes, since initial release for 12 years, absolutely nothing compared to what we have with .Net.

    • @edandersen
      @edandersen  หลายเดือนก่อน +2

      That's great insight. Sometimes less is more. Thanks for the comment!

    • @MelroyvandenBerg
      @MelroyvandenBerg หลายเดือนก่อน

      I love Go

  • @VoroninPavel
    @VoroninPavel 3 หลายเดือนก่อน +17

    I am on the opposite side =) I'd like MSFT to release features as soon as they are ready as it was with .NET Core 2.1, 2.2

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +10

      Yes, I would much prefer non-breaking point releases. Why can't we have 8.1, 8.2, 8.3?

  • @elija2702
    @elija2702 3 หลายเดือนก่อน +6

    I just started learning c# as well, 4 month ago, from python background, to build desktop app. And to be honest I am excited that the language is moving fast. I agree that the strongest push c# eco-system need is a well funded open source community to lift a wide array of well supported packages. Such as Pandas, Jupyter, Django, etc... for python

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +1

      agree. some of that VS license money needs to fund OSS

  • @phyoga7645
    @phyoga7645 3 หลายเดือนก่อน +5

    I've been trying to learn C# on and off since the beginning of this year, and I've made almost zero progress precisely because of all that you're describing, especially the versioning convention change. .NET this, ASP that. It's indecipherable.

    • @youngwt1
      @youngwt1 หลายเดือนก่อน

      I started my c# journey by messing about with unity, this was 10 years ago though, then managed to get an mvc job as my first proper software job at the young age of 30

  • @zidad
    @zidad 2 หลายเดือนก่อน +4

    Yes, duende identity server is commercial now, but it is quite a permissive license and the community edition is free for commercial companies with < 1 million USD projected gross revenue.Yes there's a lot of new versions, but the amount of breaking changes is quite limited. I'd be pretty comfortable working with most .NET projects from 10 years ago, but if I'd have to update a JavaScript / node.js project I most likely have to rewrite it to a completely different framework/paradigm.

  • @GalacticFriedChicken
    @GalacticFriedChicken 3 หลายเดือนก่อน +13

    5:50
    Identity Server uses a standard (openid connect, which sits on top of oauth 2.0), so any other identity provider/authorization server that uses this standard can be easily implemented too (I don't know about the 2 others).
    The documentation is just lacking some details and make it seem like there are only these 3 solutions, but in fact there are many others (to name a few: keycloak, auth0, adfs).
    And even that is non exhaustive, there are other ways to secure applications that .net supports but are poorly documented.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +5

      keycloak self hosted appears to be the only viable option if you want control. Thanks for the comment.

    • @DieDona
      @DieDona 3 หลายเดือนก่อน +3

      Also, if you need a simple authorization / authentication, why not simply start with asp net identity?
      If you really need an identity provider, azure entra id or auth0 or keycloak (among others) will be the de facto choice

    • @EraYaN
      @EraYaN 3 หลายเดือนก่อน +2

      @@edandersenthere are authentik, authelia, fusionauth and many more options for self hosted IAM. And of course another 10 hosted options.

    • @jimiscott
      @jimiscott 2 หลายเดือนก่อน +2

      There is the self hosted dentity/auth solution which came with .net 7 and enhanced with 8.
      You also have OpenIdDict.

  • @PaulinatorJananator
    @PaulinatorJananator หลายเดือนก่อน

    I LOVE how fast the language and framework are evolving - new features, new syntax, and major performance improvements. Keep em coming!

  • @ml_serenity
    @ml_serenity 2 หลายเดือนก่อน +22

    I've been .NET developer for 20 years. I love how C# and .NET evolves. Keep it coming fellas!

  • @diadetediotedio6918
    @diadetediotedio6918 3 หลายเดือนก่อน +6

    I don't think the pace of C# updates are too fast, I think they feel too "half backedy". DU's for example, I'm not even sure how they will be able to optimize them without some runtime changes on the generics reification. But other than that I don't think C# is "getting harder for newcommers", you can learn the basics of C# very fast if you just don't take the job of needing to learn .

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +2

      I dunno if the newcomers are actually saying it's confusing them (which they are) then I believe them. Thanks for the comment 😊

  • @kevinmiles7152
    @kevinmiles7152 3 หลายเดือนก่อน +12

    I agree with you. A much longer term support period makes perfect sense to me. People have other, real, serious work to do, so they don't want to be constantly chasing new features that are of little benefit. My Customer for example does not care about these changes, they care about the business solutions that I write and if they keep running, ideally for many years, without needing to be constantly updated.

  • @TheMetadude
    @TheMetadude 3 หลายเดือนก่อน +3

    I like the evolving language but spot on with the central point of the support cycle length. I stick with .Net Framework 4.8 for my main clients as they need to know there is at least 5 years support going forward without being forced into expensive release cycles.

  • @LordErnie
    @LordErnie 3 หลายเดือนก่อน +9

    C# itself is adding new features, but these aren't at all mandatory. C# will be as valid now as it will be in 10 years (the only possible exception being code where the name field is used for backing fields, and its the first time that they will make a change that breaks code from an older version). So no C# isn't at all becoming harder to do. It's becoming a bit like Python in a sense, where there are just different ways of doing things depending on what your style is. Right now, most changes are aimes at performance and functional features. As far as the dot net api goes, that rarely gets deprecated to a point where switching versions of dotnet changes your interactions with the dot net api. You don't need to have the latest most fancy code. You don't have to understand all of C# it's language features. You don't have to use features you don't understand. The dot net common api does not rely on any specific C# features. The changes don't affect your codebase, nor do they force you to change your code. Nugget packages are a different story. Don't just update them to the newest version.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +7

      It gets harder and harder to read C# every year, especially for beginners who might not know where these new languages features were borrowed from.

    • @youse600
      @youse600 3 หลายเดือนก่อน

      ​@@edandersenwhy should a language aim to be easy to read for beginners?

    • @user-cm4ce5fh4q
      @user-cm4ce5fh4q 3 หลายเดือนก่อน +6

      ​@@youse600because every one used to be a beginner

    • @neonmidnight6264
      @neonmidnight6264 2 หลายเดือนก่อน

      @@edandersen You can enforce style with .editorconfig and raising analyzer rules to errors to guide the developers to pick appropriate constructs and avoid the ones you feel that are improper for a particular use case. C# is not Java and never was one. It is closest to the metal language with automatic memory management out of all the viable alternatives, that covers both high-level business domain modeling and low-level systems programming. So it is beneficial to look at it while having experience both in, say Python and TS *and* C++/Rust/C. This allows you to decide what kind of C# you want to use. People writing long ass types, abusing interfaces and getting carried away with func composition is not idiomatic code, never was and existed even in the first versions.

    • @jeremybarker7577
      @jeremybarker7577 2 หลายเดือนก่อน

      @@youse600 Because beginners often like to read code written by experts to find out how to do things. That was my experience when I started out in software engineering in the late 1970s.
      It was probably easier then because (at least in the field I worked in) a lot of stuff was written in assembly languages.

  • @michael-tsai
    @michael-tsai 2 หลายเดือนก่อน +1

    I agree with you. C# is getting more and more complex. Too many ways to do one thing. I wish C# team could think more about simplicity. Sometimes less is more.

  • @PortalUser2
    @PortalUser2 3 หลายเดือนก่อน +4

    Yes, you are really forced onto an average of a 2-year upgrade cycles even though technically LTS lasts 3-years. Staying on LTS for the full 3-years does not help the average, for example:
    .NET 6 (Nov 2021)
    .NET 9 (Nov 2024, but goes out of support before .NET 11 or 12 are released)
    Thus: Must upgrade to .NET 10 (Nov 2025), so you are averaging an upgrade every 2-years.
    You either upgrade annually (which I do), or on a 2-yearly schedule on the LTS. It would be nice if there was an extra 15 months on LTS, so people could decide to skip an LTS version (and have 3-months to do the migration).

  • @dougfunk01
    @dougfunk01 7 วันที่ผ่านมา

    I think you nailed it. Absolutely exhausting trying to stay up to date while doing your actual job which is building and maintaining!!!

    • @edandersen
      @edandersen  7 วันที่ผ่านมา

      nah, just one more way of instantiating lists and we are all good ;-) thanks for the comment!

  • @johncoleman6986
    @johncoleman6986 2 หลายเดือนก่อน +3

    Well said. I’m rather tired of the two year hamster wheel as well. C# has put food on my table since 2002, and I’m immensely grateful to Microsoft for what they’ve given/sold us. They seem to have lost touch with the fact that regular old working class companies don’t have thousands of developers devoted to keeping up with the thousands of developers pumping out code at Microsoft. This pace made sense in the early days of Core to stabilize it, but not any more. I TOTALLY agree with your idea that security patch only support should go into effect after year 2 until year 4 or 5. ALSO, I think we can safely say C# is feature complete at this point.

  • @bravedeveloper
    @bravedeveloper 3 หลายเดือนก่อน +85

    Long story short: .NET Should have releases every 2 years. Standard support for a version should be 4 years. Long support should be 8 years. End of story.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +8

      Sounds good to me.

    • @petrmalecik5661
      @petrmalecik5661 3 หลายเดือนก่อน +14

      Why, what is wrong with current schedule? Updating to new version is usually matter of an hour top. There is so little breaking changes between .NET 7 and .NET 8 that update was a breeze.

    • @megamrkakashi
      @megamrkakashi 3 หลายเดือนก่อน

      ​@@petrmalecik5661beacuse you upgraded from 7 to 8... i encourage you to migrate an enterprise Blazor app from 6 to 8 with all of the runtime changes, they just reinvented runtime for fun

    • @earlnerd
      @earlnerd 3 หลายเดือนก่อน +1

      yes!!

    • @trivo2105
      @trivo2105 3 หลายเดือนก่อน +2

      This is the only correct answer

  • @Azzarrel
    @Azzarrel หลายเดือนก่อน +3

    I totally agree with your main point about needing longer LTS versions. I'm also on the same page about Microsoft sometimes changing stuff just to try and attract fans of popular languages, even if it doesn’t always hit the mark. Lately, it feels like they’re adding a bunch of features to appeal to Rust developers, like option and result types, and all the things thy did with nullables.
    On one hand, it’s annoying that C# seems to jump on every new bandwagon, piling on extra features and duplicating stuff for the same tasks.But on the other hand, I get that not updating the language at all wouldn’t be the way to go either. There are some new features I don’t really see the point of, like being able to write actual method bodies in interfaces since .NET 6. Still, there are other new features I can’t live without now. I’m really looking forward to implicit fields in C# 13-I always hated not being able to have implicit member variables like with auto properties while still managing setters and getters and working with WPF. Plus, the collection expressions in C# 12 are awesome because you can pass collections to methods without having to refactor when the collection type changes. And the performance improvements in the latest versions are insane. Just upgrading can double your LINQ performance without any code changes. Honestly, there’s rarely a new feature I don’t end up liking once I get how it works.
    I also get that some new features overlap with old ones without fully replacing them, especially since Microsoft has a long history of supporting legacy stuff (remember when they skipped Windows 9? Afaik because they didn’t want to retire code still checking for Windows 95/98 for compatibility). My main concern is that the magnitude of features coupled with the short release cycle leads to oversights from the .NET team. All these features and the quick release cycle might lead to some things slipping through the cracks. For example, I heard the new null check (variable is not null) is faster than the previous (variable != null), and some LINQ methods are way quicker now because they use Span internally, while others still don’t. It’s frustrating because I have to keep learning different ways to do the same thing - not because it is better, but simply because the other option has not been properly updated - with every new .NET version, and it can get pretty tiring.
    I think if they could double the release cycle and extend LTS support, it would give the .NET team more time to polish new features and give all of us C# developers more time to maintain our apps before jumping to the next LTS version. That would solve a lot of the issues.

    • @edandersen
      @edandersen  หลายเดือนก่อน +1

      Fantastic comment, thanks for taking the time to write it out.

    • @fullmetalbiatch
      @fullmetalbiatch 24 วันที่ผ่านมา

      I am on the fence having body in abstract classes but writing actual method bodies in interfaces is so stupid on so many levels...

    • @edandersen
      @edandersen  24 วันที่ผ่านมา

      @@fullmetalbiatch Shhh... that was someone's annual performance review KPI

  • @thebarryman
    @thebarryman หลายเดือนก่อน +1

    I agree with you. The most annoying aspect to me is that now when I write by-the-book C# code from two versions ago, Visual Studio is graying the code out and suggesting I "fix" or "simplify" the code, using (in my opinion) these uglier and less readable syntaxes I would rather not use.

    • @edandersen
      @edandersen  หลายเดือนก่อน +2

      yeah that's really annoying

  • @shaunkruger
    @shaunkruger 3 หลายเดือนก่อน +14

    I find myself not wanting to invest the time to write code in any language when I know the language and libraries are a moving target. At some point we are going to have to develop some languages, libraries, and UI toolkits that are good enough to commit to supporting for 20 years instead of rushing after what is new and shiny every 3. All I want to do now is make console applications because at least that interface isn’t going to leave me high and dry anytime in the next decade.

    • @shaunkruger
      @shaunkruger 3 หลายเดือนก่อน

      @@JethroBodine1422 I do appreciate that. I built a windows forms app for someone in .net 1.1 and it’s great it has an upgrade path all the way forward to today. My only lament is that when I need to build apps for Linux that there isn’t anything with that level of api stability.

    • @codescholar7345
      @codescholar7345 3 หลายเดือนก่อน

      Hi there, great comment. What would be a good e-commerce stack that will be good going forward? Thanks!

    • @gruntaxeman3740
      @gruntaxeman3740 2 หลายเดือนก่อน

      Well, there are standardized languages, and we also have languages that do have standard libraries very stable so this is not a problem, just choose better tools.
      In UI there are HTML, CSS and web components very stable. It is those Javascript libraries that live all the time.

  • @ZHDINC
    @ZHDINC 2 หลายเดือนก่อน +3

    I think C++'s 3 year major language release cadence is the best frequency (and the additional time means they can ensure better backwards compatible non-breaking changes). The .NET team could do major releases every 2 years if they're feeling impatient, but every year is overkill. It's funny and perhaps a little sad to see a site like Pluralsight update their C# course path to what WAS the latest version only for Microsoft to already be coming out with the next release by the time this happens. Instructors have to be feeling a little like Sisyphus trying to keep up with this ridiculous pace.

    • @edandersen
      @edandersen  2 หลายเดือนก่อน +1

      I'd be happy with 3 years yeah. Thanks for the comment!

  • @alphabasic1759
    @alphabasic1759 3 หลายเดือนก่อน +10

    You’re hitting the nail on the head with the issue and a related issue of “big languages”. They’re just unnecessarily big and it feels like the engineers that keep inventing all these things for C# just don’t know when to stop. They’ve turned C# into Windows, by which I mean, they’ve crapped it all up. There’s a reason why MS needs hundreds of PhDs to work on Windows. It’s overly complex crap. There’s a reason why Linux is the most used application hosting OS. They’re streamlined.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      Thanks for the comment!

  • @SomeOne-p6f
    @SomeOne-p6f 3 หลายเดือนก่อน +10

    After years of using C#/Wpf/WinUI I needed a secure web project and so I went with Angular, node etc... There's not a day goes by that I don't miss C#.

    • @luvincste
      @luvincste 3 หลายเดือนก่อน

      can you compare an Angular migration with a .Net migration? Angular has an history of really deep changes to syntax and framework, i don't think .Net has ever had something that require that effort... biggest change was probably async/await

  • @figloalds
    @figloalds 3 หลายเดือนก่อน +3

    That's a very necessary conversation to be had

  • @willembeltman
    @willembeltman 3 หลายเดือนก่อน +8

    I also agree, after the introduction of linq, mostly all features in C# were nice-to-haves. Then there are some features that even break the original idea of the language, like tuples, which I believe are a benchmark of bad separation of concerns.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +2

      I quite like tuples but some of the recent stuff really is a head scratcher. Thanks for the comment!

  • @abusimbe
    @abusimbe 3 หลายเดือนก่อน +16

    About time somebody said this. I mean you are supporting .NET 4.8 well into 2020s something that came in 2019 and would be supported through this decade. Enterprises don't like updating applications every 2 years else they switch to something else.

  • @LCTesla
    @LCTesla 3 หลายเดือนก่อน +2

    I for one love the pace at which C# is evolving. Contrast that to Java and you know how lucky we are. And not once have I come across a change that made my old, time-tested habits invalid.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      That's great news! Thanks for the comment!

  • @nivethan-me
    @nivethan-me 3 หลายเดือนก่อน +11

    people ask why startups don't use .NET and using nodejs, i would share this video and say this is why

    • @RaMz00z
      @RaMz00z 2 หลายเดือนก่อน

      You're wrong, a lot of them do...
      .NET and nodejs have wildely different usecases. I would *never* start a very complex app with a javascript framework...

    • @nivethan-me
      @nivethan-me 2 หลายเดือนก่อน +1

      @RaMz00z i didn't mean no startups using .NET but most prefer Node over .NET and i think because of following reasons.
      1. one language for frontend and backend (no context switching)
      2. npm packages for literally anything
      3. easy to hire developers and easy to find replacements( big thing for startups)
      4. for most cases nodejs is fast enough
      But i don't like to be a fan boy for any language or framework. I'm just saying nodejs is good enough for most startups.

  • @kelownatechkid
    @kelownatechkid 2 หลายเดือนก่อน

    This is really interesting. I like how Java and Python both have very long support periods so that it is possible to ship an app and barely touch it for years (assuming using mostly standard library). With Rust I find compatibility to be so good that upgrades barely take any effort at all, loving that too

  • @khi195
    @khi195 2 หลายเดือนก่อน +6

    100%. Thank you for being brave and posting on the wild west which is Twitter. I decided to learn c#, and it's been confusing to say the least, especially when there are a number of different ways to do things. If Microsoft are serious about the next generation of developers choosing C# then they need to make it novice friendly, releasing the the versions of the framework/language for a longer period of time, before releasing new versions will definitely help.

  • @keyser456
    @keyser456 2 หลายเดือนก่อน

    Outstanding! Well stated and I agree with just about everything you said. I was an early adopter in the v1 days (circa 2003). The move from "full framework" to Core was jarring and marked the beginning of this insanely aggressive release cycle and short support periods. Not enough people raised their hands back then, but I appreciate people like you that are raising awareness. New subscriber here! :)

    • @edandersen
      @edandersen  2 หลายเดือนก่อน

      Thanks!
      To be honest, early days of Core were great. Project K, JSON based project formats. Peak was probably 2.1 with the Framework runtime mode.

  • @Shagidelic
    @Shagidelic 3 หลายเดือนก่อน +7

    After programming for 15 years in c#, I want to switch to Java. There's a lot of cat n mouse with c#.
    I bet not even c# creators know all the features and can keep up with the ever changing syntax and nuances. There are more nuances than keywords now

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +1

      I gave up lol. Thanks for the comment!

  • @DataJuggler
    @DataJuggler วันที่ผ่านมา

    I spend every November - December upgrading packages, but I like to have regular updates if it adds value. The latest .NET 9 has a lot of performance improvements so that is worth it.

    • @edandersen
      @edandersen  วันที่ผ่านมา

      Yeah the free performance each year is great

  • @rodionsabbath9722
    @rodionsabbath9722 3 หลายเดือนก่อน +11

    .Net team wants to make a more modern language and I want that too. Recently they started to introduce breaking changes therefore longer LTS support makes sense.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +4

      I think C# is modern enough to be honest. Showing my age probably.

    • @nepalxplorer
      @nepalxplorer 3 หลายเดือนก่อน +1

      @@edandersen modern in the term of wider developer adaptation, like it should be par with the feature available in new and evolving languages like: go, rust, etc.

    • @TheEVEInspiration
      @TheEVEInspiration 3 หลายเดือนก่อน

      Modern language ideas are ****** IMO.
      Keeping it simple and limiting the scope of effects is VERY important for creating stable code.
      The new trends do everything they can to break everything in ways even long time users do not understand.
      Many barely understand multi-threading, let alone they ways in which it can break code, so anything that makes it less obvious where things (can) go wrong is bad.
      And anything that hides functionality that needs to be on the top of a programmers mind is bad too.
      Most new features/syntax tends to muddy the water and result in executing code in plates and times that are less predictable.
      And also, the separation between database and language is wrong.
      Database access is fundamental to most applications, so a language needs to deal with that well and not stuff that into libraries.
      Because C# did this wrong, a mess evolved around ORMs and other frameworks.
      A similar thing can be seen with regard to dealing with the web.
      It's just very unbalanced IMO, resulting in an explosion of libraries/frameworks, each adopting different patterns and language styles.
      Few will want to support the mess that this created, old an new alike.
      New features will not address the core problem!

  • @ABMedia83
    @ABMedia83 3 หลายเดือนก่อน +2

    Giving how the Enterprise system works, that's not a bad idea.

  • @TheDeathknight23
    @TheDeathknight23 3 หลายเดือนก่อน +11

    '.NET AND C# ARE IN TROUBLE. HERE IS WHAT I'D DO!' - even this title arouses severe anxiety and depression.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +1

      Any suggestions for a better title?

    • @zebcode
      @zebcode 3 หลายเดือนก่อน +3

      ​​​@edandersen DOTNET is in a ickle pickle. BUT THERE'S A SOLUTION!

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      @@zebcode pretty good tbh

    • @zebcode
      @zebcode 3 หลายเดือนก่อน +2

      @edandersen yeah easy for me to critique something someone else has already made isn't it?

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      Not sure I follow

  • @stefanf6495
    @stefanf6495 2 หลายเดือนก่อน +1

    The last years of C# language/syntax enhancements felt like Microsoft had a bunch of fresh university graduates knock themselves out. Just as if someone had a "Coding for Dummies 101" book for breakfast and then puked all over the C# spec sheet. I am not saying I am against well thought progress and reasonable evolvement, but for Pete's sake, we are doing C# here and not Haskell or Python or Rust or whatnot. On top of that, those changes were not even improvements in the sense of stuff you couldn't do before, it's mostly syntactic sugar coating.

    • @edandersen
      @edandersen  2 หลายเดือนก่อน

      Yeah they are definitely borrowing from elsewhere. Thanks for the comment!

  • @VincentJenks
    @VincentJenks 3 หลายเดือนก่อน +15

    My career was built on .NET from the first betas in 2001, all the way up to 2017…when I realized I could build all the same things with far less code and effort, in the Node/JavaScript ecosystem. Dotnet went from a rock solid, stable, predictable dev platform to chasing trends. C# is a great language but it changes far too often. The whole platform has become a constantly shifting, hard to follow mess. Startups don’t typically reach for it and being a dotnet dev professionally, today, more often than not means working for stodgy old companies doing outdated, legacy things.

    • @suityou01
      @suityou01 2 หลายเดือนก่อน +1

      This 💯

    • @Mazzphysics
      @Mazzphysics 2 หลายเดือนก่อน +1

      .NET isn't "cool". If it was it would be way more used.
      Currently working with a old ruby on rails project, something that's common among startups, or used to be. It's complete dogshit.

    • @VincentJenks
      @VincentJenks 2 หลายเดือนก่อน

      @@Mazzphysics It definitely used to be! That's the MVC model that inspired so many other projects. PHP is another legacy technology that's still popular, and I personally hate. I get slapped for saying that but I think it's just a terrible language.

    • @Labadabadubdub
      @Labadabadubdub 2 หลายเดือนก่อน

      @VincentJenks As a soon to be graduate in CS, this really threw me off. I was learning PHP/Laravel and making projects with it, then decided to move to .NET because it looked like it had better prospects in terms of the types of projects / companies it's used in. In short, a better career choice. Now your comments make me rethink my decision...

    • @VincentJenks
      @VincentJenks 2 หลายเดือนก่อน

      ​@@Labadabadubdub Well, I'm just one guy on the internet and this is/was my experience. Every language/stack goes through this process; from the new hotness to legacy. Depending on your interests and desires, you have to continually renew and grow in the direction that best satisfies you, personally and professionally. For me, that was recognizing the onset of legacy status in .NET around 2015 and the rise of the JavaScript universe - particularly in the easy money startup era from 2012-2022. Personally, I wanted more greenfield projects with more exciting companies, using more cutting-edge tech. Many peers stuck with .NET and didn't want to move as quickly. Many people went into Python, especially if you were data engineering-focused. Cloud tech became critical, of course. But here we are, in the midst of a great correction in tech labor, and there will be changes to adjust to yet again. Startup money has dried up and a return to sanity is underway. Think of it this way; you'll never hurt for work if you specialize in C# and .NET, you just may get stuck using older technology in that market, more often than not. TL;DR - always grow and learn if you want to remain relevant, and keep your ear to the ground when it comes to the economic climate.

  • @TheWoodad
    @TheWoodad 2 หลายเดือนก่อน

    Agreed. 100%. Been with C# and .NET since the beginning and it's become somewhat of a Frankenlanguage trying to be everything to everyone. It's great to innovate but not at the expense of losing sight of what's truly important.

  • @ErickCastrilloArroyo
    @ErickCastrilloArroyo 3 หลายเดือนก่อน +10

    As a professional full stack developer which codes C# for a living I totally agree with your point. Instead of adding all of the syntactic sugar to C# and adding breaking changes every year, let's add things that are actually helpful like admin panels (like filament for Laravel), reorganize the documentation to make it easier for newcomers.

    • @davidmartensson273
      @davidmartensson273 2 หลายเดือนก่อน +1

      Breaking changes??
      I have been using C# since 1.0 and I have very very rarely had to deal with any breaking changes except, most have been on the plattform change from .net framework to netcore and net framework does still supported.

  • @dimitristsouvalas6310
    @dimitristsouvalas6310 3 หลายเดือนก่อน +1

    As a seasoned ASP developer I totaly agree with you. They tried to avoid the .Net framework "infinite" support time frame but, in my opinion, they went too far regarding lts releases. It's daunting especially for smaller shops.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      To be honest I think they just copied NodeJS. Thanks for the comment!

  • @colinmaharaj
    @colinmaharaj 3 หลายเดือนก่อน +2

    Been doing C++ native for over 30 years. Using Borland and now embarcadero C++ Builder

    • @jamesross3939
      @jamesross3939 3 หลายเดือนก่อน +1

      Borland C++ Builder! Used it for years... vers 3, 4, 5, 6 .... I loved it.

    • @colinmaharaj
      @colinmaharaj หลายเดือนก่อน

      @@jamesross3939 Also the most recent compiler uses the C++17 standard, they are experimenting with 23. Also its all CLANG so quality is very good.

  • @DE-sf9sr
    @DE-sf9sr 2 หลายเดือนก่อน +1

    It's much more a problem of how long is a version going to be supported. The language and also .net HAS to evolve to stay competitive.

  • @wadejohnson4195
    @wadejohnson4195 3 หลายเดือนก่อน +9

    Having worked in the Go ecosystem, much of what you mentioned really resonates with me. Go releases are usually focused on security and runtime improvements, not introducing new syntax, and when it happens, the community has fair warning that a major change to the language is happening. Given how complex C# already is, i think it would benefit MS to glean some tips from Go.

    • @duongphuhiep
      @duongphuhiep 3 หลายเดือนก่อน +3

      The choice of philosophie between C# and Go are just different.. Go pursuits minimalist and "afraid" of breaking changes. C# introduces as much keywords as it can think of to make the codes as expressive as possible. It is the reason why Go stays with 1.x for more than 10 years.. while C# got new version for every 2 years... I prefer something in the middle balances

    • @neonmidnight6264
      @neonmidnight6264 2 หลายเดือนก่อน

      Yes but much like Go, .NET runtime never ever tries to break on you. When people talk about breaks they mean surrounding ecosystem which is less stringent with backwards compatibility. The thing is - Go does *not* provide it. Instead, you are at mercy of release cadence of separate dependencies, which, surprise can and do take breaking changes. In reality, if you assume that .NET 6 and newer is the only target worth even talking about, you never had or will have any breaks whatsoever. Updating is just bumping a target version, redeploying and enjoying another +5-35% of performance. I can't believe how clueless .NET community is in its lack of awareness of how bad everyone has it elsewhere, and how good we have it if just by a degree of improvement that .NET went through in the last 5 years.

  • @hektonian
    @hektonian หลายเดือนก่อน

    Hot takes? Oooh I love those like hot cakes.
    You know, I am fully onboard with a longer LTS.
    In exchange, because I'm a madman that never considers consequences of his actions, I would like to finally see some actual breaking changes: old API being deprecated and eventually fully removed (e.g. non-generic IEnumerable, IComparable, IEquatable, etc.), System.Void being promoted to a first class citizen (Func, Task, ValueTask instead of Action, Task, ValueTask), ability to define functions at namespace -level, etc.

    • @edandersen
      @edandersen  หลายเดือนก่อน

      Bring back ArrayList for one final hurrah. thanks for the comment!

  • @kocot.
    @kocot. หลายเดือนก่อน

    People will always disagree on particular choices, but I love how almost any annoyance and redundancy in the code has got removed within the last years. If anything in your code is duplicated and verbose, it's purely your fault. And the fact that at the same time the performance only improves, is absolutely amazing

    • @edandersen
      @edandersen  หลายเดือนก่อน

      yeah the free performance upgrades are great. thanks for the comment!

  • @hobbit125
    @hobbit125 3 หลายเดือนก่อน +5

    Bro. If you want to use .NET 6 for the next ten years, just do it. No one is stopping you.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      Apart from it won't be supported past next year yeah

    • @ronelm2000
      @ronelm2000 3 หลายเดือนก่อน

      ​@@edandersenpersonally I find the "no more support" a good boogieman argument *for* "fast" update schedules like these. It's not like you can't just not upgrade, between docker support and literally going AOT and just baking the runtime in your app in newer NET versions. But it's just as bad of a problem if applications aren't incentized to upgrade, especially not in this age of massive cybercrime. I've worked with systems where Java is *still* stuck at 11 despite Java 23 being a thing, with companies only budging because of the sl4j exploit.
      The current lifecycle is, for all intents and purposes, fine in an enterprise setting. And for libraries, they can just go use NET Standard as the minimum supported language and stick to it.

  • @0x4b55
    @0x4b55 3 หลายเดือนก่อน +2

    Since there are quite a few new nuget libs that support .net Standard 2.0, I also use the .Net Framework 4.8 again, since the support there is tied to the Windows OS. With web api, however, I'm sticking with .Net but would also like to see an LTS+ version with 5-6 years of support.

  • @petrmalecik5661
    @petrmalecik5661 3 หลายเดือนก่อน +3

    I do not understand why the LTS being "only" 3 years long is a big deal, usually the only thing needed is change the target framework inside csproj. There are almost none breaking changes between versions.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      I think I put on screen lists of breaking changes.

    • @petrmalecik5661
      @petrmalecik5661 3 หลายเดือนก่อน

      @@edandersen Yes, you did but what is a chance of the breaking change affecting your project, if you go from previous to next version? I mean you can always update send it through CI/CD pipeline and see if some tests are broken or not.

    • @simonj.k.pedersen81
      @simonj.k.pedersen81 3 หลายเดือนก่อน +4

      Being a consultant, I can say the short LTS is ridiculous. We have customers that we finish some project for and in a very short time they have unsupported frameworks running in production. They have to hire expensive consultants to fix it because they have no in-house developers. And they see literally zero business benefits going from e.g .NET 6 to 8.

    • @HansDeMulder
      @HansDeMulder 3 หลายเดือนก่อน +1

      @petrmalecik5661 Unfortunately the breaking changes do really affect applications and it is sometimes hard to spot. In my company we have about 50% success rate of the upgrade being indeed “just change the target framework and build stuff”. Unfortunately the other 50% is much harder to deal with. I do want to note that this is mainly due to behavioural changes in EFCore, rather than the .NET runtime itself, or when dealing with Azure Functions.

  • @girondavidfour
    @girondavidfour 3 หลายเดือนก่อน +1

    That's quite accurate what you said, and I havent thought much about it, but it's true, when I have to create a .Net microservices with some standars security protocols as JWT or WSSE, have no support at all but community, well, except WSSE for oasis that I had to create it from scratch.

  • @arcanium_walker
    @arcanium_walker 3 หลายเดือนก่อน +5

    Idk, sounds like a skill issue.

  • @Mazzphysics
    @Mazzphysics 2 หลายเดือนก่อน +2

    Some comments here are sort of insane to me. How can you be concerned about about updating .NET version often even if you needed to do it every year.
    Do you guys seriously not keep your dependencies updated? This is not different than any other dependency. The amount of code changes you need to do in .NET is basically nothing.
    People put way too much weight on .NET 6 vs .NET 7 etc. Think of it as .NET 1.6 to .NET 1.7 and keep your minds from rotting :)

    • @edandersen
      @edandersen  2 หลายเดือนก่อน

      1.6 to 1.7 would imply zero breaking changes and all dependencies keep working even without updates. This isn't the case from 6 to 7.

  • @botyironcastle
    @botyironcastle 3 หลายเดือนก่อน +2

    IMO discriminated unions is a big thing (not yet in the language) only thing we should have instead of the nonsense addings

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      Yeah looking forward to them

  • @AvineshSinghSaab
    @AvineshSinghSaab 3 หลายเดือนก่อน +1

    When moving a critical .NET Framework app to Core, we realized the .NET Core implementation had a bug. I made an upstream contribution with a fix that was approved but now my patch will only flow to .NET 9 as it looks like only absolutely important commits are being backported to .NET 8 even though EoL is almost 1.5 years away. So now we have to hold off the migration from Framework 4.8 until .NET 9 is GA :)

    • @EraYaN
      @EraYaN 3 หลายเดือนก่อน +4

      So imagine if the cycles were 3-5 years long…

    • @lovalmidas
      @lovalmidas 2 หลายเดือนก่อน +1

      @@EraYaN If the cycles were 3-5 years longer, it would be expected that the fix could be queued for .NET 8 (like an 8.1) because more attention would be around to maintain it.

  • @carlosromero-sn9nm
    @carlosromero-sn9nm หลายเดือนก่อน

    As a novice, one of the things that attracted me to C# instead of JavaScript was the simplicity and less sugar coating of C#.

    • @edandersen
      @edandersen  หลายเดือนก่อน

      most people say "you don't have to use it" but in reality...

  • @michaelmcdonald8975
    @michaelmcdonald8975 2 หลายเดือนก่อน +2

    I see both sides to this coin. I understand the hassle with updating pipelines etc but 3 years for LTS should be enough time for preparing for these updates. For STS its 18 months, which is much shorter but that's the tradeoff you get new features in shorter period of time. It is very expensive to have to maintain and support older frameworks (believe me I know) so I get Microsoft's desire to shorten things, and keep pushing the envelop with new features. The example in the video of very long support for 4.8 Framework is comparing apples and oranges. That is a totally different technology, so they knew they needed to support that much longer before folks made the plunge to .Net Core.

  • @ZuvielDrama
    @ZuvielDrama 3 หลายเดือนก่อน +1

    I love C# and Dotnet and i switch to golang now. I love the one binary deployment and the better memory usage of golang.

  • @SixOThree
    @SixOThree 2 หลายเดือนก่อน

    My problem with dotnet isn't c# so much. It's that I have to re-invent the wheel every time I create something. Example - every MVC web site I create I need to spend 2-3 days creating a user management system. Even just listing users in the system is something you need to manually create.
    If there were some sort of repo for components like this, I would be so so so happy.

  • @sdmarlow3926
    @sdmarlow3926 22 วันที่ผ่านมา

    Almost need 3 versions: C# Core (beginners, game dev, embedded systems), C# Enterprise Edition (business logic, desktop app), and C# for Continuous Deployment (web, server API's).

  • @Trump-N-Putin
    @Trump-N-Putin 3 วันที่ผ่านมา +1

    Just like these UI library companies create a bunch of temples with best practices the life of developers using these UI libraries becomes easy.
    Microsoft should also have similar projects maintained where developers can choose from when starting a new project.
    Current .NET templates have bare minimum functionality readymade

  • @RatonBroyeur
    @RatonBroyeur หลายเดือนก่อน

    The auth example is very good. If I had to make a new stack today using .NET, I would probably do the OAuth server in something else than .NET seeing how complicated/messy that is.

  • @johnmoore2350
    @johnmoore2350 17 วันที่ผ่านมา

    I agree with a lot of the comments on so many alternate syntax possibilities. As someone who is presently learning C#, it's really frustrating to see 3 or 4 or 5 operations all in the same line of code. I'd much prefer more lines of code that are clear, explicit and readable. If this continues, it's going to kill adoption from new users. It's also a code maintenance nightmare when devs are can use 4 different syntax implementations for the same methodology and when so much meaning is hidden.

    • @edandersen
      @edandersen  16 วันที่ผ่านมา

      Great comment, thanks. Totally agree, why bother learning something that is unlearnable?

  • @daviddickey9832
    @daviddickey9832 3 หลายเดือนก่อน +2

    C# is a better language in so many ways than python but python is more widely adopted. There is still great mistrust of microsoft and .net lacks the ecosystem that python has (e.g., pyspark and NLP) including the nice integration with lower level components, such as direct integration with C and use in microcontrollers.

  • @murrelvenlo396
    @murrelvenlo396 3 หลายเดือนก่อน

    You’re right. I have been saying the same thing. The time you need to learn the new plus adaptation is not enough. When ever you think you’re almost there with the new features , there comes a new release.

  • @steve3681
    @steve3681 3 หลายเดือนก่อน +2

    It's already difficult to justify migrating away from 4.8 as most apps in the wild just work. The short life cycles of core makes it even harder to justify. The basic argument seems to be the cool kids are over there and it will just run faster, however I never found 4.8 to be slow 🤷‍♂️ Don't get me wrong I've spent a year migrating everything but I've had to kick new features down the road while I did it.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      Thanks for the comment!

  • @fooozy
    @fooozy 3 หลายเดือนก่อน +1

    Microsoft acting Microsofty really gets me very tired as a beginner

  • @vishvajeetkumararya2556
    @vishvajeetkumararya2556 2 หลายเดือนก่อน

    I agree, for a beginner to work with . Net/ C# there are lost of confusion and feel like not stable after these many years in the industry.

  • @forbjok
    @forbjok 3 หลายเดือนก่อน +2

    Personally, I never even saw much of a point with the whole LTS thing. Especially with .NET. In my experience, almost every recent .NET version (at least since .NET 5 or so) upgrade has basically just been doing a search and replace of the target name, and update dependencies. Ex. replace "net7.0" with "net8.0" in the entire solution, and double check the diff to make sure it didn't replace something it wasn't supposed to.
    Basically every new C# version also has come with at least one new QoL feature or syntax improvement, that while it doesn't in any way revolutionize anything, at least makes the syntax look nicer and cleaner. These are also never compatibility breaking, and are optional to use, so it's not like you have to go through the entire codebase immediately and update it to use them.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +3

      Its not always as simple as a find and replace. There *are* breaking changes and third party packages are not always updated on time. Thanks for the comment!

    • @JH-qe3fu
      @JH-qe3fu หลายเดือนก่อน

      After 3 years all the third party libraries have updated. comon!

  • @jeandrelewis5667
    @jeandrelewis5667 3 หลายเดือนก่อน +1

    Wow. I was actually thinking about this today. Change is good but At the current rate it is bad in my opinion. I started with .Net about 4 years ago and its hard as a new learner.

  • @sparksterz
    @sparksterz 2 หลายเดือนก่อน

    I've been working with .Net since ~3.5 and I definitely agree. I think the rapid pace was beneficial when .Net Core was introduced as it gave some time to quickly iterate and improve on what was a new and radical change at the time. At this point though .Net feels pretty solid. It'd be nice if the LTS release window started to lengthen.

    • @edandersen
      @edandersen  2 หลายเดือนก่อน

      yeah I just want at least an extended support window. thanks for the comment!

  • @jcarman
    @jcarman หลายเดือนก่อน +1

    So, you're saying that C# has become the new equivalent of the next JS flavor of the year?

    • @edandersen
      @edandersen  หลายเดือนก่อน

      I'm fed up of every project I have to open using different C# for the same thing, yeah. even worse now it's forked with nullable and implicit usings

  • @lemonade2345-j4e
    @lemonade2345-j4e 5 วันที่ผ่านมา

    Yeah, but there is also another problem of reported issues being closed down, simply because the originator stopped responding to a thread for period of time (for whatever reason). This means that a lot of issues/bugs go on unresolved, which eventually leads to devs to turn to other technologies.

    • @edandersen
      @edandersen  5 วันที่ผ่านมา

      That is a very good point.

  • @Broxerlol
    @Broxerlol หลายเดือนก่อน

    I've spent most of my career working in .NET and I enjoy it for the most part. The vocal online community is way behind the times and stuck in their ways. I finally found a job that is value to customer oriented and not fixated on design patterns and antiquated arbitrary rules that slow development to a crawl. All code bases become hard to maintain over time. Doesn't matter if you spend 80% of your time planning out your next move. Requirements change and tech debt is inevitable.
    I also agree that not having good starter templates is a huge negative, especially the auth part. Massively hinders people that want to try it out when they're coming from frameworks that are vastly more developer friendly.

    • @edandersen
      @edandersen  หลายเดือนก่อน

      Thanks for the comment!

  • @raylopez99
    @raylopez99 2 หลายเดือนก่อน

    I hobby code and did many a project in C# and .NET, receiving praise from even professionals and having some projects on Github, but I think the kids don't like C# or MSFT, ironically since they often have the best tools. I loved Silverlight since it was so easy to build a professional looking UI. I worked in Silicon Valley in management for a couple of decades and retired in my 40s when my ship finally came in. Not an IPO, but a huge inheritance. Good luck to you reader.

  • @FlyFisher-xd6je
    @FlyFisher-xd6je 2 หลายเดือนก่อน

    You are so right, and I am so happy I found your channel.

  • @chrisneff78
    @chrisneff78 2 หลายเดือนก่อน

    .NET is going through the same issue Java had 10-12 years ago. If you come in cold or need to take on a new paradigm (like switching to a 'thick' client), it's quite difficult to determine what APIs to adopt and what docs or blogs are current.

  • @iwbas-t4h
    @iwbas-t4h 2 หลายเดือนก่อน

    Its absolutely true with each version they make change in a way that its a nightmare to upgrade. We just want to build something and live our lives.

  • @SquidSnipes
    @SquidSnipes 3 หลายเดือนก่อน

    I've heard of people still using .NET Standard and I'm not talking about some small organization I'm talking about a bank. Honestly if you don't want to upgrade you shouldn't otherwise do it and deal with the breaking changes. Security should not be dependent on the application but it needs to exist in other forms too in web apps!

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      .NET Standard was so helpful for migrations... thanks for the comment!

  • @MarcKruzik
    @MarcKruzik 3 หลายเดือนก่อน

    What is the .NET Team exactly? How many people? Working on what exactly?
    With .NET being open source, the difference is blurred between .NET Team, Microsoft employees working on a repo, and everyone else.
    Also, what is the focus of the .NET Team? What is their official purpose, or stated goal?
    I would be glad to get answers on this topic!

  • @krss6256
    @krss6256 3 หลายเดือนก่อน +2

    Stay with .NET Framework if you don't want new features in framework or language because it's too much 'learning'.
    I honestly, don't want .NET Framework 'grandpas' who thought that < 4.7 was good enough deciding whether and what we should have in .NET Core/5+.
    Regarding LTS, I agree and would welcome longer LTS, 4 or 6 years. But feature-wise? C# is amazing but still we are missing a lot of features supported in other languages that would be great to have. Quicker release cycle also helped to shape the language to be so amazing today.
    So in my opinion they should drop some of the dogmas they were following and start introducing more breaking changes if they will allow the language to improve.

    • @chudchadanstud
      @chudchadanstud 3 หลายเดือนก่อน +1

      .NET has the largest keyword count of all the major high level languages. Beats C++ by a mile. All the new stuff is literally catering to people who are lazy to type. Gone are the days of LINQ and WPF like features.

    • @flashback4588
      @flashback4588 3 หลายเดือนก่อน +3

      I do with they would remove some of the bloat and clean up the runtime a bit
      Break backwards compatability if necessary
      We cant let the past hold back the language

    • @edandersen
      @edandersen  3 หลายเดือนก่อน +1

      Why can't they add language features in a non-breaking 8.1, 8.2, 8.3 release and make that LTS last 4-6 years? Then everyone would be happy

  • @drndn
    @drndn 3 หลายเดือนก่อน +2

    I agree with Microsoft giving LTS releases more than 3 years of support, eg your 6 year proposal sounds good. I disagree with the idea that there should be long intervals of many years in which no new features are released. Those lists of features in new C# versions are actually VERY useful and make the language much MORE attractive to use, they did so for me. Those who want to use them shouldn't have to wait 5 years or whatever to get them. Those who don't want them can ignore them. Every other programming language has major feature releases around annually or so. See also Java.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      Okay how about this
      Release the new features but in non-breaking point releases. Why can't we have 8.1, 8.2, 8.3?

    • @drndn
      @drndn 3 หลายเดือนก่อน

      @@edandersen I would agree with that.

    • @anm3037
      @anm3037 2 หลายเดือนก่อน

      @@edandersen No. you can stay in the past, but many people want the fast pace of c# development

  • @danielgilleland8611
    @danielgilleland8611 3 หลายเดือนก่อน +1

    If there's an adoption problem for C#/.NET, it's likely not the fault of C#/.NET. It's possibly due to improvements in the JS/TS ecosystem reaching significant levels. Lack of adoption need not be caused by a "fault" in System A, but by improvements in System B.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      System A needs to be better than System B. Especially if people are paying to use it.

  • @younes-47
    @younes-47 3 หลายเดือนก่อน +1

    I loved how laravel used to have everything set up out of the box when i worked with it, from routes all the way to orm, you go straight into building things, also artisan is better than dotnet cli imo. But to be fair c# is goated.

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      It is indeed goated. Thanks for the comment!

  • @loquek
    @loquek หลายเดือนก่อน

    Thank you, it's a really useful video - it's a similar reason as to why I have dropped nextjs

  • @kastriotgashi
    @kastriotgashi 3 หลายเดือนก่อน +1

    I think everyone thought of this but rarely going public about it. Really exhausting to catch up all these dynamics on .NET and C#. Now they want to add to C# even more of the functional programming paradigm on it, it might be great but also could render C# unlearnable. It become like riding a roller-coaster, which is exiting and exhausting at the same time

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      I wonder why they aren't going public about it? Thanks for the comment.

    • @kastriotgashi
      @kastriotgashi 3 หลายเดือนก่อน

      @@edandersen probably it is because it is like roller-coaster, it is exiting until it becomes exhausting. It seems that now the folks began to show the symptoms of exhaustion :)

    • @edandersen
      @edandersen  3 หลายเดือนก่อน

      @@kastriotgashi I think there is an economic angle. This was fun in 2018 when money was cheap. Not so much any more.

    • @kastriotgashi
      @kastriotgashi 3 หลายเดือนก่อน

      @@edandersen yeah, absolutely!

  • @HeathInHeath
    @HeathInHeath 3 หลายเดือนก่อน

    I agree that the LTS version should have a longer support cycle. If you are developing anything of reasonable complexity just managing update cycles can become a serious drain of resources on a three year cycle. Six years for LTS and two years per interim cycle seems very workable while allowing plenty of time for new features.