4 ms·
I love .Net, but context is key. I may suggest .Net for new WebAPI development (minimalist or otherwise), typically with a deployment target of containers and
by Someone1234 3y ago
I love .Net, but context is key.
I may suggest .Net for new WebAPI development (minimalist or otherwise), typically with a deployment target of containers and or Linux. It is a strong web back-end language in a similar way to Java but with Linq support, async/await, and a better primary programming language (C#). It has strong integrations into corporate software and all popular DBMS. But, frankly, Linq is the magic that makes .Net special.
Otherwise, for new development, I'd pick something else for creating user interfaces. Like Electron on the desktop and a popular TypeScript based JavaScript framework De jure on the web (utilizing WebAPI in .Net behind the scenes).
- oaiey 3y agoHave a look at Blazor Hybrid. This is really nice thing. Blazor is the first UI toolkit I actually love for many years.
- Someone1234 3y agoI have. Too much "magic," and I'm too experienced to fall for that again. No more magic, I should be able to see and understand how every part of my stack works top to bottom. That's why I'm for isolating the front end from back end frameworks via something agnostic like WebAPI.
- codeTired 3y agoWith blazor wasm you generally do have separate project for front end and api.
- oaiey 3y agoI am talking about that. Not the server side or server to wasm one. Maybe I use the term hybrid wrong, I am talking about the fat client hosting blazor/web view one. Basically electron shell just without js
- wccrawford 3y agoAny tips or tutorials for a PHP dev who wants to pick .NET up after a couple decades of not using it? I looked at the project templates in Visual Studio 2022 just for web apps and the options made my head spin. My wife has worked QA for a number of .NET teams and it just seems like something I should at least keep my thumb on, but I've had nothing but frustration with it so far, even just trying to figure out what template to start with.
- artimaeis 3y agoI'm not super familiar with PHP -- if you're looking for more of a backend focused project I'd recommend the "ASP.NET Core Web API" template. If you're looking for something that serves HTML pages, possibly the "ASP.NET Core Web App (Model-View-Controller)" template would be pretty straightforward. There's a pretty good starter tutorial for the Web API one here: https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api https://learn.microsoft.com/en-us/aspnet/core/tutorials/firs... Or here for the Web App MVC one: https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/start-mvc https://learn.microsoft.com/en-us/aspnet/core/tutorials/firs...
- wccrawford 3y agoThanks! I'll take a look at those.
- jcpst 3y agoPeachPie may be worth a look. It’s a php to .net compiler. https://www.peachpie.io/ https://www.peachpie.io/
- donatj 3y agoOh dang is that really still around? I remember playing with it like 15 years ago. It's been about as long since I've done .Net
- wccrawford 3y agoHaha, cute. I'm fine coding in C#, I just haven't done any web projects in forever. Thanks, though!