Is Asp.NET Core Better than Java Spring Boot?

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 88

  • @Morzelius
    @Morzelius 12 дней назад +18

    C#: less complexity, easier to lern. Better documentation. Spring Boot: terrible documentation, higher complexity. Way larger market and better salary. So, I would go with java if I want to be an employee and c# if I want to create my own stuff.

    • @GavinLon
      @GavinLon  12 дней назад +2

      There is a pretty good market for C# and .NEt developers in general but from the research that I have done, it is like you say, the market for Java developers is bigger. It does vary depending on where you want to work.

    • @toby9999
      @toby9999 12 дней назад

      ​@GavinLon There is also the aspect of language preference... if I had to choose between C# and Java, C# would win easily. Why? Because I absolutely loath everything about Java and its tools and ecosystem. The C# ecosystem seems like a much more cohesive and well rounded development environment. I mean, take Ecliose as a Java IDE. It's a poorly designed unstable bloated monstrosity. The Eclipe developers admitted as much. Compare that with MS Visual Studio for C# and other languages. It's polished.

    • @GavinLon
      @GavinLon  11 дней назад

      @toby9999 I totally agree :)

    • @007arek
      @007arek 11 дней назад +2

      ​@@toby9999 nobody uses eclipse I think your opinion is outdated

    • @i_youtube_
      @i_youtube_ 11 дней назад

      Do you think you have all libraries needed in C# ecosystem?

  • @codeme8016
    @codeme8016 13 дней назад +20

    Using .NET Core and pretty happy with it especially with Azure. In my opinion AWS is way more confusing than Azure for the same tasks.

    • @GavinLon
      @GavinLon  13 дней назад +1

      Yes .NET seamlessly integrates with Azure :)

    • @aendraes5135
      @aendraes5135 11 дней назад

      My issue with .NET core and Azure is that EF Core against azure SQL seems to be insanely slow. Sometimes, even after cold starts, some requests take up to 30 seconds. Did you find a way to fix this?
      It's simple and a solid framework otherwise so I would like to be able to use it. Just seems to cause a lot of issues for me.

    • @codeme8016
      @codeme8016 11 дней назад

      @@aendraes5135 I'm using MongoDB and not sure about SQL in this case. Are you sure it's not due to the cold start of the API on the free tier? AWS has the same issue on the free plan. The cold start on Azure can be easily resolved by enabling the dedicated checkbox while creating the App Service. You can also ask ChatGPT

    • @codeme8016
      @codeme8016 11 дней назад

      @@aendraes5135 Sorry for the misunderstanding. I noticed you said it happens even after cold start.

    • @rankarat
      @rankarat 9 дней назад

      ​@@aendraes5135
      Don't use azure sql, just create sql server on azure.
      Super fast.

  • @emmanuelehis1194
    @emmanuelehis1194 2 дня назад

    Seen the movie by the way! Awesome stuff! Thanks for this comparison too

    • @GavinLon
      @GavinLon  2 дня назад +1

      You are the first to respond about the movie. I appreciate that! I think I'll see it while it's still on at the cinema - I've heard mostly good things about it. I believe it's beautifully shot. Thank you :)

  • @mlsandreas
    @mlsandreas 13 дней назад +2

    I was waiting for it! Thank you!

    • @GavinLon
      @GavinLon  13 дней назад +1

      You're very welcome! :)

  • @abbassiziad1379
    @abbassiziad1379 9 дней назад +3

    Both are great and if you are comfortable with both is more better. In the end programming languages and frameworks are just a tools to solve something you need. We should never married with x lang or x techno.

    • @GavinLon
      @GavinLon  9 дней назад +1

      I totally agree with you. The language is not as important as learning the fundamental programming concepts :)

  • @richarddefortune1329
    @richarddefortune1329 12 дней назад +6

    Dotnet over Java, any day, any time.

  • @zoro9878
    @zoro9878 13 дней назад +1

    perfect comparison!
    Thanks for the video Mr Lon

    • @GavinLon
      @GavinLon  13 дней назад

      You are very welcome! :) Thank you!

  • @mukailawasiuabiodun6291
    @mukailawasiuabiodun6291 12 дней назад +7

    I prefer Java with spring framework

    • @GavinLon
      @GavinLon  12 дней назад

      Thanks for sharing your preference. It would be great if you included your reasons why you prefer Java with Spring framework? :) Thanks.

    • @mukailawasiuabiodun6291
      @mukailawasiuabiodun6291 12 дней назад

      @GavinLon I prefer Java with Spring, to C# with .ASP NET, because of the former's robustness when dealing with very complex Applications. Progressive complexity of integration makes me prefer Spring, though I haven't used the later much in applications.

    • @GavinLon
      @GavinLon  12 дней назад

      @mukailawasiuabiodun6291 Awesome! Thanks so much for sharing your reason for preferring Java with Spring :) I appreciate it.

  • @NM-dc3ic
    @NM-dc3ic 9 дней назад +1

    Hello Sir, I agree with you but Java ecosystem is more preffered in Product based companies. What do you think about adoption of .Net Core in Product companies in near future ??
    As ranked it's ranked lower than Java.

    • @GavinLon
      @GavinLon  9 дней назад

      I think if a company is fully invested in Java, it's probably not going to be desirable to move to another ecosystem. Of course it depends on the requirement and the budget as to whether a drastic switch to another ecosystem is cost effective. Java is an excellent technology. I personally prefer .NET and C# for the reasons mentioned in the video. I also feel secure in the future of .NET due to Microsoft's heavy investment in .NET and transparently fulfilling their promise of upgrading and enhancing .NET every year. :) That is a huge factor in why I would invest in Microsoft software products - especially for enterprise grade applications.

  • @asohyannick8518
    @asohyannick8518 6 дней назад

    Both frameworks in my own humble opinion are very important and crucial for the development of large scale enterprise web applications without loving one and dispising the other since they are invaluable technologies in today's market. I love both modern technologies and can be very useful if a developer knows any one of the two or both technologies to build modern enterprise web apps.

    • @GavinLon
      @GavinLon  6 дней назад

      I totally agree with you :) Thank you for your feedback.

  • @AwadReda-j1f
    @AwadReda-j1f 10 дней назад +2

    C# is cool
    You can make anything with it

    • @GavinLon
      @GavinLon  10 дней назад +2

      Pretty much :)

  • @pkphilips2
    @pkphilips2 11 дней назад +1

    If you include Kotlin into the mix and consider Kotlin + Spring boot, then we have yet another approach to development.

    • @GavinLon
      @GavinLon  11 дней назад

      Great point! :)

  • @ansalps8022
    @ansalps8022 12 дней назад +1

    would you compare golang with these languages?

    • @GavinLon
      @GavinLon  11 дней назад +1

      Sure you can compare them when deciding what technologies to use for creating micro services :)

  • @adambickford8720
    @adambickford8720 12 дней назад +2

    They are 90% the same, I'll go with Java since it generally pays better.

    • @GavinLon
      @GavinLon  12 дней назад

      That's a fair reason - we all have to pay those bills, unfortunately :)

  • @joga_bonito_aro
    @joga_bonito_aro 12 дней назад +1

    Yes.

  • @asaphakeim3614
    @asaphakeim3614 13 дней назад

    Awesome comparison thanks1

    • @GavinLon
      @GavinLon  13 дней назад

      You are very welcome! :)

  • @yatsuk
    @yatsuk 10 дней назад +1

    I like transaction management of spring boot and async-await of C#

    • @GavinLon
      @GavinLon  10 дней назад

      Thank you for your insight! :)

    • @yatsuk
      @yatsuk 10 дней назад +2

      @ btw. Rod Johnson promised Spring as much simpler version of JavaEE. Today looks like JavaEE is simpler than Spring

    • @GavinLon
      @GavinLon  10 дней назад

      @yatsuk Thanks for that interesting insight.

    • @CaspianBorison
      @CaspianBorison 10 дней назад

      I would agree -- I prefer async-await of C# over reactive programming.
      I, however, prefer the absence of async-await in Java over C# while still allowing for same performance (see Java 21 virtual threads).

  • @sparkspark-tn6sc
    @sparkspark-tn6sc 13 дней назад

    For freshers which will give more opportunities and which is better to learn easily ?

    • @GavinLon
      @GavinLon  13 дней назад +4

      It depends on where you want to work but in general my research tells me that Java is more in demand than .Net. In my opinion, however, .NET has a far better ecosystem and better future prospects - and has the support of Microsoft. I would recommend C# and .Net. C# and .NET are also easier to learn.

    • @konstantechang2779
      @konstantechang2779 11 дней назад

      ​@@GavinLon agree

  • @aliksargsyan2782
    @aliksargsyan2782 11 дней назад

    Resent years java ecosystems continuously is raising java complier named hot spot is almost has compile speed as c++. Also virtual theards which are succesor over reactive programming. 😊. But c# also rocking 😎👍

    • @GavinLon
      @GavinLon  11 дней назад

      Thanks for your insight :)

  • @juliuscardozo
    @juliuscardozo 13 дней назад

    Nice video! springboot now supports AOC and native compilation using graalvm

    • @GavinLon
      @GavinLon  13 дней назад

      Excellent! Thanks for including this information in the comments. I appreciate it! :)

    • @Dabayare
      @Dabayare 11 дней назад

      IOC?

    • @GavinLon
      @GavinLon  11 дней назад

      @ AOT - Ahead of time compilation :)

  • @tibordigana2551
    @tibordigana2551 12 дней назад

    Definitely Quarkus. It's a big competitor of Springboot. Quarkus has no boilerplate code like Springboot, Quarkus is much faster and you will find the usual s/w stack in Springboot as well. If you mind about standard API, use the Jakarta API and the Springboot should understand it as well.

    • @GavinLon
      @GavinLon  11 дней назад

      Thanks for including this information in the comments. It is greatly appreciated :)

  • @PrashThings
    @PrashThings 9 дней назад +1

    C# better then salary & market java ,c# is an n number feature Using Visual Studio great for development no IDe that such a feature

    • @GavinLon
      @GavinLon  9 дней назад +1

      C#, .NET and Visual Studio for development (perhaps with GitHub copilot) is super powerful :)

  • @ShamirDasgupta
    @ShamirDasgupta 12 дней назад

    “Modern Java” = “Jumbo Shrimp”

  • @TheDeathknight23
    @TheDeathknight23 12 дней назад

    Hey Gav, please compare C# with her sister, F#. Most already know about C#'s benchmarks against other langs.

    • @GavinLon
      @GavinLon  11 дней назад +1

      Great suggestion! Thank you! :)

  • @mr.RAND5584
    @mr.RAND5584 13 дней назад +2

    Both free. Lots of libraries. Both verbose.

    • @GavinLon
      @GavinLon  13 дней назад

      Thank you for your insight :)

  • @joesomsom
    @joesomsom 12 дней назад

    I think the .NET 7~9 support could improve in NeoVim / vim based editor because Microsoft abandoned Mac based Visual Studio support; Of course Java would have no problem because of the cross-platform IDE such as Intellij IDEA. Microsoft claims users could use VSCode to continue to enjoy cross-platform development (true); but... I find it in some slight areas such as Add Model or Add View still shaky (because those right clicks seems to be better in Visual Stduio Community) but it's not available in Linux and Mac (so not truly cross-platform, though user might be able to overcome via dotnet commands or copy and paste or other snipplets tools help). I actually pick no sides because I spent time learning both XD... but Microsoft has done great recently indeed.

    • @McZsh
      @McZsh 12 дней назад +1

      Rider is cross platform and is based on the IntelliJ platform.

    • @GavinLon
      @GavinLon  11 дней назад

      @McZsh I was about to suggest the same thing - Rider from JetBrains is a good option for .NET cross platform development :) If you want an IDE with loads of features!

  • @S_R2000
    @S_R2000 9 дней назад

    What i feel is spring boot is more robust

    • @GavinLon
      @GavinLon  9 дней назад +1

      Okay - thank you for your comment :)

  • @markwalker3484
    @markwalker3484 11 дней назад +2

    Learning curve argument is purely subjective. Spring applications can compile to native rendering the footprint argument moot. Other than that a reasonable overview/comparison.

    • @GavinLon
      @GavinLon  11 дней назад +1

      @markwalker3484 - It is always difficult to generalise but my research and personal experience with both technologies informed me that Java Spring Boot is generally more difficult to learn. As you say, however, from a particular individual's perspective,. this is subjective. Thanks so much for including your feedback. It is greatly appreciated :)

  • @collapsingspace
    @collapsingspace 10 дней назад

    Language: C# wins
    Runtime: .NET wins
    Learning Curve: ASP wins
    Documentation: Microsoft wins
    Features: .NET wins
    Job Market: Spring Boot wins

    • @GavinLon
      @GavinLon  10 дней назад

      "Job Market: Spring Boot wins" - perhaps but there is still great demand fort C# and ASP.NET Core developers - demand often depends on location. :)

  • @sajosunny3579
    @sajosunny3579 13 дней назад

    First one🎉

  • @GeorgiiNishni
    @GeorgiiNishni 11 часов назад

    Springboot is best Framework

    • @GavinLon
      @GavinLon  11 часов назад

      Awesome! Thank you. If you can spare some time I'd love to know your reasons for your preference for Springboot! :)

  •  12 дней назад +1

    yes, .net core is better.

    • @GavinLon
      @GavinLon  12 дней назад +1

      I think so too :) Thank you.