Live data from Hacker News

Understanding the .NET ecosystem: The evolution of .NET into .NET 7

andrewlock.net

141–150 of 357 posts

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#141

As a fan of O'Caml, I have to ask: what's the status of F# on .NET? ...and is it used much compared to C#, or is its use at least growing, or is it stagnating/dying?

My experience is good, small but very active and engaged community, interop with C# is seemless, I architect a large healthcare care system, 5% F# and 95% C# and very happy

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#142

Earlier quoted context omitted.

I just ported a pretty large domain specific library from VB with .NET Framework 4.61 to C# with .NET 7. It took me probably 3 to 4 days to do with the assistance of Instant C# converter. There are lots of gotchas here and there and it does require a pretty reasonable understanding of both legacy and new frameworks.

I'm interested in this case! I have a bit app: Razor, MVC, EF, custom nuget packages, reflection, very advanced expressions ( linq) and my IoC is Autofac ( .net 4.7.2). 101 projects in one solution. Have you got any pointers on gotchas? Did a quick attempt ( 1 evening) and got blocked on my nugets+ Autofac.

Getting all your private nugets onto .NET standard 2.0 first will help immensely. You can add precompiler directives for anything strictly incompatible. After that it’s just the usual dependency hell that plagues every modern ecosystem.

Also have a look at the MS upgrade/migration guides for .NET. They’re exhaustive and extremely helpful.

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#143
post #2

It’s a tired thing to say, but the “.NET” naming is so confusing on what’s what. Which is sad because there’s so much to like about .NET

If you start now, you can ignore everything before .NET 5. And then there is no confusion left. Just don’t read any tutorials/documentation that were written for an older .NET version.

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#144
post #14
post #12

Been using .NET for years now for backend web development after having taken a break from C#. It is such an improvement over the old .NET framework. When I started building my first backend with it, I was surprised how much was included and "just worked". Need to add authentication? Few lines. OAuth? Also built in. Response caching? Yes. ORM? EF Core is pretty good. Need to use env variables to override your JSON con…

It really is like finding enlightenment after having to figure out which third party package is best for every little thing in Node. Visual Studio is a pretty powerful IDE as well.

Can you install it [edit: the .Net 7/8 platform that sounds interesting, not the IDE] for free on a Linux server and get the same benefits? (This isn't advocacy, it's a literal question about something I don't know.)

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#145
post #76

[flagged]

Why does a non technical person care what version of .NET an application is on?

They are writing the cheques, so if you tell that person upgrading from 4 to 5 is very complicated, needs time and money they will probably think something is fishy.

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#146
post #72

Odd question maybe, my company uses C# and I've been picking up more backend responsibilities. However, I'm a Linux and Neovim user. I do have Windows and Visual Studio available but I just find it awkward. Is anyone here having success with Linux and Neovim for C#? Even trying to learn more about the language is awkward as so many resources go straight into VS.

One more vote for Rider on a Mac.

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#147
post #36

Earlier quoted context omitted.

If you could rename it, what would it be and why?

Another good question would be - if you were Microsoft and wanted to plan a roadmap to take the .NET ecosystem forward from a couple of separate implementations (Windows-only .NET Framework, Cross-platform Xamarin) how would you go about this in a way that doesn't cause a big furore like Python 2->3 did? Because I imagine you end up with what MS did - define a standard that can be used for building common code betwee…

The only frustration I've experienced in actually working with it is that it leads to polluted search results.

Trying to find solutions to ASP.NET Framework problems usually requires discarding a whole bunch of irrelevant ASP.NET Core/.NET ones.

It's the same with Visual Studio/Visual Studio Code.

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#148
post #144
post #14

Earlier quoted context omitted.

It really is like finding enlightenment after having to figure out which third party package is best for every little thing in Node. Visual Studio is a pretty powerful IDE as well.

Can you install it [edit: the .Net 7/8 platform that sounds interesting, not the IDE] for free on a Linux server and get the same benefits? (This isn't advocacy, it's a literal question about something I don't know.)

Yes:

https://learn.microsoft.com/en-us/dotnet/core/install/linux

Also VS Code, an open source IDE with first class support for .NET languages:

https://code.visualstudio.com/docs/setup/linux

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#149
post #72

Odd question maybe, my company uses C# and I've been picking up more backend responsibilities. However, I'm a Linux and Neovim user. I do have Windows and Visual Studio available but I just find it awkward. Is anyone here having success with Linux and Neovim for C#? Even trying to learn more about the language is awkward as so many resources go straight into VS.

I do a lot of F# on Mac/Linux and use sublime. All the nice IDE-like features are accessible through an LSP package for your code editor.

Re: Understanding the .NET ecosystem: The evolution of .NET into .NET 7

#150
post #144
post #14

Earlier quoted context omitted.

It really is like finding enlightenment after having to figure out which third party package is best for every little thing in Node. Visual Studio is a pretty powerful IDE as well.

Can you install it [edit: the .Net 7/8 platform that sounds interesting, not the IDE] for free on a Linux server and get the same benefits? (This isn't advocacy, it's a literal question about something I don't know.)

Yes, everything is completely free, open source.
Post reply on HN