• Zimeron@lemmy.world
    link
    fedilink
    English
    arrow-up
    40
    arrow-down
    10
    ·
    5 months ago

    Always seems like you have to reinvent the wheel in .NET and I’m missing something. Is there a nice set of ready to go libraries like Spring Boot?

    • FrostyCaveman@lemm.ee
      link
      fedilink
      arrow-up
      23
      ·
      5 months ago

      I get the sense that’s what .NET itself is meant to be

      It’s a very insular ecosystem IMO, and the lines between .NET, C# and Visual Studio are very blurry

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 months ago

      In .NET to make a controller you just make a class that extends controller and then a public function that returns a ViewResult, JsonResult, etc.

      No black box dependency injection required.

      • AdamBomb@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        It can be even simpler than that. With the so-called “Minimal API” framework lets you define an entire web app with simple functions. This article shows some samples of what it looks like to create a web app in this style.