starman@programming.dev to > Greentext@lemmy.mlEnglish · 5 months agoAnon discovers .NETprogramming.devimagemessage-square60fedilinkarrow-up1303arrow-down179
arrow-up1224arrow-down1imageAnon discovers .NETprogramming.devstarman@programming.dev to > Greentext@lemmy.mlEnglish · 5 months agomessage-square60fedilink
minus-squareZimeron@lemmy.worldlinkfedilinkEnglisharrow-up40arrow-down10·5 months agoAlways 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?
minus-squareFrostyCaveman@lemm.eelinkfedilinkarrow-up23·5 months agoI 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
minus-squarePencilnoob@lemmy.worldlinkfedilinkEnglisharrow-up14arrow-down3·5 months agoaspnet core is the library you want Simple and just works
minus-squaremasterspace@lemmy.calinkfedilinkEnglisharrow-up6·5 months agoIn .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.
minus-squareAdamBomb@lemmy.sdf.orglinkfedilinkEnglisharrow-up4·5 months agoIt 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.
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?
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
aspnet core is the library you want
Simple and just works
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.
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.