5 ms·
>The new "open" development style of .NET Core is not my cup of tea. It's now riddled with MVP features that are 80% complete, bug-ridden, and undocumented othe
by mariusmg 6y ago
>The new "open" development style of .NET Core is not my cup of tea. It's now riddled with MVP features that are 80% complete, bug-ridden, and undocumented other than couple of blog articles.
.NET Framework is a product, .NET Core is a OSS project.
When .NET 5 will ship it will be even worse since .NET Framework people will just expect things to work.
- tonyedgecombe 6y agoI suspect a lot of people (myself included) will just stop at 4.8.
- jiggawatts 6y agoJust this week I wanted to spin up a minimalist ASP.NET page for "tyre-kicking" of new infra builds. You know, something that just coughs up a single page with some basic info, such as the regional options, time zone, current time, and the latency to the SQL Server. This checks that the infra guys did their job and that the AD accounts and firewall ports are in place. I wanted to write 1 page with just some dynamic labels, that's it. Nothing fancy. No MVC. No dependency injection. No JavaScript frameworks. No CSS. Just one ASPX or CSHTML page. Visual Studio 2019 no longer ships with a web project template that does that. Every single project type coughs up megabytes of crap and a bunch of scaffolding. After hours of clicking through every project type, I resorted to another hour of googling to discover that the "legacy" empty templates are still there, but only available as a hidden install option! It's madness.
- mariusmg 6y ago>No dependency injection. No JavaScript frameworks. >Visual Studio 2019 no longer ships with a web project template that does that. Every single project type coughs up megabytes of crap and a bunch of scaffolding. Yeah, the way depency injection and multiple JS frameworks are shoved down your throat in .NET Core is sooo annoying.
- GordonS 6y ago> Yeah, the way depency injection and multiple JS frameworks are shoved down your throat in .NET Core is sooo annoying I've been using dotnet core for years and precisely zero times I have had any JS framework shoved down my throat.
- JamesNK 6y agoIt is strange that you couldn't find the empty web template. Every version of ASP.NET Core has come with one. Empty is the first option in the "Create a new ASP.NET Core web application" dialog in VS2019, and "dotnet new web" creates an empty website via the command line. What did you need to do to create an empty website? Disclaimer: I work on ASP.NET Core
- jiggawatts 6y agoThe most minimalist ASP.NET Core template I could find made it too difficult to create a "page" with some code-behind. I could create a CSHTML page and inline expressions worked, but I couldn't convince it to execute anything from a matching cs class. I did google this, and it's not like I hadn't written Razor syntax pages before, but that was a few years ago and my memory was fuzzy. What I found was that Razor pages are now part of any number of very similar sounding but wildly different frameworks, and code samples for one do literally nothing in the other. It's not even self-evident which framework I'm "in" for any given project. Half of it seems to be just convention, the other half is explicit configuration, and it's all version specific. I tried to go back to classic ASP.NET, thinking that that's actually a better fit for the type of legacy web app server testing that I need to do. That's where I found the new project templates that pull in more code by default into an "empty" project than I've written in the past half a decade.
- arethuza 6y ago"self-evident which framework I'm "in" for any given project" Has that changed? It's in the project properties in Visual Studio where I think it's been for as long as I can remember? NB I've been using .Net for about 15 years and quite happily using .Net Core 3.1
- SideburnsOfDoom 6y ago> The most minimalist ASP.NET Core template I could find made it too difficult to create a "page" with some code-behind. The minimalist projects don't do "code-behind" at all.
- arethuza 6y agoI had VS 2019 open and tried this - creating an empty project is the first entry on the list of templates - all it contains is a minimal Program.cs and Startup.cs - nothing else. When run all it does is return "Hello World!" in plain text - it doesn't even use HTML.
- jfkebwjsbx 6y agoGP is not talking about an empty app project.
- arethuza 6y agoIt's a minimalist web app that responds to HTTP requests without using MVC, not a console app?
- shanselman 6y agodotnet new web ? dotnet new empty ?
- qes 6y agoNot sure how you miss the Empty project template: https://i2.wp.com/anthonygiretti.com/wp-content/uploads/2020/06/empty-template.png?resize=768%2C535&ssl=1 https://i2.wp.com/anthonygiretti.com/wp-content/uploads/2020... With the new request handling pipeline you hardly need a template for a single page diagnostic. https://anthonygiretti.com/2020/06/29/nano-services-with-asp-net-core-or-how-to-build-a-light-api/ https://anthonygiretti.com/2020/06/29/nano-services-with-asp...
- SideburnsOfDoom 6y ago> It's now riddled with MVP features that are 80% complete, bug-ridden, and undocumented other than couple of blog articles I work full time with ASP .NET Core 3.1 projects, and I don't recognise this at all. I don't think that it's correct.
- snak 6y agoSame here. Generic hateful statement from a developer that probably has spent a couple of days at most in .NET.
- GordonS 6y agoSame here, this is just utter nonsense. I have to assume the person that wrote that comment hadn't actually been using dotnet Core at all. I note how they provide no examples of bugs from this "bug-ridden" and "undocumented" platform. I've been using dotnet since it was originally created many moons ago, and dotnet core is the best incarnation yet. Documentation is excellent - I don't think I've ever once came across an undocumented feature?!
- SideburnsOfDoom 6y ago> dotnet core is the best incarnation yet. To be fair, we didn't use .NET Core extensively before .NET Core 2.1, because it was not quite ready yet. But since 2.1, we haven't looked back.