Live data from Hacker News

Asp.net Core updates in .NET 8 Preview 1

devblogs.microsoft.com

21–30 of 37 posts

Re: Asp.net Core updates in .NET 8 Preview 1

#21
post #2

Blazor United looks ambitious but sounds great! The goal feels similar to that of Remix.run and a few other frameworks that are blending SPA/SSR. I do wonder about the scalability of the Blazor Server mode which requires live and "sticky" SignalR connections.

Yeah. I applaud Microsoft for their balls in launching this in its initial incarnation as part of an LTS release!

Re: Asp.net Core updates in .NET 8 Preview 1

#22
post #10
post #6

I have been using Blazor Server for a project at work.....Honestly, it is so much better than using .Net MVC/Core with js sprinkled in. I developed stuff in java for android, swift for ios, and now mostly work in c#, SQL, .Net MVC/Core, blazor. Microsoft stack feels pretty good to me. Getting a start up job is a bit difficult, I came across two startups using microsoft stack and only one paid SV money. C#/.Net does h…

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,…

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

#23
post #10

Earlier quoted context omitted.

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,…

dev on .net is something I can understand ... but deploying and running windows servers in prod sounds like a hellish nightmare

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

#24
post #6

I have been using Blazor Server for a project at work.....Honestly, it is so much better than using .Net MVC/Core with js sprinkled in. I developed stuff in java for android, swift for ios, and now mostly work in c#, SQL, .Net MVC/Core, blazor. Microsoft stack feels pretty good to me. Getting a start up job is a bit difficult, I came across two startups using microsoft stack and only one paid SV money. C#/.Net does h…

Blazor Server works well for low-latency Intranet Apps, it's stateful SignalR rendering circuit isn't suitable for laggy Internet Apps where deployments and long running Tabs results in users seeing frequent YSOD's.

Which can be avoided with Blazor WASM that has different trade-offs with poor start times & SEO. Hopefully something that can be resolved with their upcoming Blazor United solution, which I'm assuming means no longer being able to host Blazor WASM's static assets from a CDN.

Re: Asp.net Core updates in .NET 8 Preview 1

#25
post #10

Earlier quoted context omitted.

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,…

dev on .net is something I can understand ... but deploying and running windows servers in prod sounds like a hellish nightmare

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

#26

Earlier quoted context omitted.

Isn't Text.json also faster at this point because it uses all the new span goodness and the like?

I'm pretty sure it's been faster for as long as it's existed.

Turns out it's easy to be fast if you don't have any features.

Re: Asp.net Core updates in .NET 8 Preview 1

#27
post #2

Blazor United looks ambitious but sounds great! The goal feels similar to that of Remix.run and a few other frameworks that are blending SPA/SSR. I do wonder about the scalability of the Blazor Server mode which requires live and "sticky" SignalR connections.

Two main things have kept me away from Blazor:

* Unclear state management story in Blazor WASM. There is a flux lib for Blazor but.. Ugh, I'm spoiled by MobX. Another project, Cortex.Net, inspired by MobX and uses Fody to make seamless fine-grain change subscriptions looked promising but the project did not gain traction :(

* Unclear runtime extensibility: How can I "plug-in" Blazor components that were not present at build time? That's a ASP.NET challenge in general TBH.

I REALLY want to want to use it though. That sweet, sweet isomorphism.

Re: Asp.net Core updates in .NET 8 Preview 1

#28
post #6

I have been using Blazor Server for a project at work.....Honestly, it is so much better than using .Net MVC/Core with js sprinkled in. I developed stuff in java for android, swift for ios, and now mostly work in c#, SQL, .Net MVC/Core, blazor. Microsoft stack feels pretty good to me. Getting a start up job is a bit difficult, I came across two startups using microsoft stack and only one paid SV money. C#/.Net does h…

Same here. Blazor Server is so awesome. It really allowed us to focus back on the business problems rather than getting some Stockholm syndrome about a library or framework that is actually just in the way and you have to take into account all the time.

It also allows to add real-time functionality in a breeze. Even business applications can profit from that, but you often just skip that because it is not worth the effort.

Re: Asp.net Core updates in .NET 8 Preview 1

#29
post #9
post #6

I have been using Blazor Server for a project at work.....Honestly, it is so much better than using .Net MVC/Core with js sprinkled in. I developed stuff in java for android, swift for ios, and now mostly work in c#, SQL, .Net MVC/Core, blazor. Microsoft stack feels pretty good to me. Getting a start up job is a bit difficult, I came across two startups using microsoft stack and only one paid SV money. C#/.Net does h…

What kind of setup do you have to avoid users noticing the drop of their websocket connection due to a deployment? Blazor Server development experience is very good, but even for an intranet application, it can have a poor user experience by default due to the requirement of a persistent connection.

We've deployed multiple applications without issue over extranet. We release our apps usually outside office hours so a dropped connection or two isn't an issue. Just make it clear when there will be maintenance.

Re: Asp.net Core updates in .NET 8 Preview 1

#30

Earlier quoted context omitted.

It's worth the work heading to System.Text.Json - even if only to make staying up with .NET easier for yourself. It had a bit of a rough start but it seems far more interoperable on weird edge cases than Newtonsoft now, so all the "Newtonsoft-y" things you're doing might evaporate.

Isn't Text.json also faster at this point because it uses all the new span goodness and the like?

Even better: it has an optional source generator now! So, at compile time, C# can be generated. This can be at two levels: (1) just generate metadata so runtime reflection is not needed, or (2) also generate code that does the serialisation or deserialization itself.

Pretty cool!

Post reply on HN