News for hackers. Stuff that matters.
Re:Asp.net Core updates in .NET 8 Preview 1 by vyrotek on Tuesday February 21, 2023 @04:29PM (#34887678)
The trick is to start the company yourself. :) We're 3 years in and full .NET stack.

Is your project an internal app or public?

I'm cautiously optimistic about Blazor Server but I'm not sure I like the sticky SignalR requirement. The expectation seems to be that the backend server will keep around a lot of state (cough viewstate?) in memory associated to that session. It's a very convenient dev experience for sure, but it seems difficult to scale beyond internal business apps.

Re:Asp.net Core updates in .NET 8 Preview 1 by ofrzeta on Tuesday February 21, 2023 @04:33PM (#34887752)
This is why they recommend using the Azure SignalR Service, I guess :)
Re:Asp.net Core updates in .NET 8 Preview 1 by vyrotek on Tuesday February 21, 2023 @04:54PM (#34888067)
Indeed. That's that the only way I'd consider it. Luckily, they are generous with the free messages. Last I looked it was about $161 per day to scale to 100k concurrent users. But that's just SignalR. We'll also need much beefier AppServices with lots more memory than what we use now.

Not quite sure how it works beyond that when you need multiple service instances connected with a backplane. The new premium tier I just saw sounds convenient though.

https://azure.microsoft.com/en-us/pricing/details/signalr-se...

https://youtu.be/OsdBpMumf_c?t=635

Re:Asp.net Core updates in .NET 8 Preview 1 by avgDev on Tuesday February 21, 2023 @05:29PM (#34888579)
It is an internal app, otherwise I would go for web-assembly with an API.
Re:Asp.net Core updates in .NET 8 Preview 1 by whalesalad on Tuesday February 21, 2023 @07:02PM (#34889604)
dev on .net is something I can understand ... but deploying and running windows servers in prod sounds like a hellish nightmare
Re:Asp.net Core updates in .NET 8 Preview 1 by lockhouse on Tuesday February 21, 2023 @07:08PM (#34889652)
The full .NET stack runs on Linux now. It’s even in RHEL’s repos. Heck you can even run MS SQL Server on Linux now if that’s your thing.
Re:Asp.net Core updates in .NET 8 Preview 1 by LeFantome on Wednesday February 22, 2023 @01:16AM (#34892287)
It is in Ubuntu and the AUR ( Arch ) as well.

In pragmatic terms, .NET is as native as anything else in Linux at this point.

You can even build it from source: https://github.com/dotnet/dotnet

In fact, the VMR ( linked above ) ONLY works on Linux at the moment with Windows and Mac support planned. So, .NET is Linux-first in some ways.

MAUI is not Linux first of course. The rest of it is becoming more and more Linux and container focussed though it seems.

Re:Asp.net Core updates in .NET 8 Preview 1 by vyrotek on Tuesday February 21, 2023 @07:21PM (#34889748)
You can run it all on linux and containers or whatever you want these days.
Re:Asp.net Core updates in .NET 8 Preview 1 by ducharmdev on Wednesday February 22, 2023 @08:37AM (#34895207)
Where I work, we all use MacBooks and deploy our services on Linux boxes. .NET has been cross-platform for years now.