.NET 10 Preview 7 #10030
Replies: 4 comments 4 replies
-
Dear @jongalloway, you're giving us mixed signals here. |
Beta Was this translation helpful? Give feedback.
-
I hope Dan Roth gets to read this as I have a major challenge with developing in Blazor moving forwards and I hope you can address. I'm a drinks professional first, coder (definitely) second. A long time ago I wrote some apps in .NET framework (about 100,000 lines in webforms, winforms and SQL Server). Thanks to people like Johnny Papa, I got suggestions on how to make data requests execute extremely quickly at scale. However, on the front and middle tiers, everything I've done needs a re-write, pretty much from scratch. The appeal of Blazor running server side, browser client side and desktop is compelling. However, I've been putting off and putting off jumping into Blazor, concerns remaining that SignalR is going to fall over on a shared server with a lot of concurrent users whilst WASM will face the same security problems XBAPs had. So, I thought it prudent to write a Blazor desktop and Blazor server app, with a Razor Pages project using AJAX calls as a fallback, this sharing and exchanging data with the Blazor apps. However, I've run into the problem that myriad Blazor releases (template and API changes) are an issue because: CoPilot, including GTP-5 on GitHub, which starts off convincingly but quickly gets confused as it can't locate the correct template code for .NET 9 or 10, so it can't produce a simple, wotking solution which includes code, folder and file structure as a starting point; reference book sources are understandably considerably behind releases, e.g. Jimmy Engstrom's excellent Web Development With Blazor (.NET 8). I'm hoping you can pick up on this 'template / getting started challenge' ahead of .NET 10's release in something like the e-book 'Blazor-for-ASP-NET-Web-Forms-Developers' (also excellent but also last updated for .NET 8). There's also a useful e-Commere project 'eShopOnWeb' out there (one with ski-ing gear), but it has the complexity of trying to master a second difficult thing i.e. Aspire. I'm thinking back to an old .NET framework demo app (was it I-buy-spy?) which was a super useful starter resource. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Just to add a small addendum to my last post, when .NET 1.0 (framework) came out, it felt like a complete solution, where controls, a design surface and state persistence were fleshed out ahead of launch. With .NET 10, 'out of the box' state persistence is just coming out. This in turn enabled Homer and Sussman et al to write a Wrox publication ASP.NET as a complete reference. We haven't got that kind of support today for the reasons I mentioned. |
Beta Was this translation helpful? Give feedback.
-
How to handle message reads without throwing Maybe there is a better approach to prevent the using var webSocket = await ctx.WebSockets.AcceptWebSocketAsync();
using WebSocketStream webSocketStream = WebSocketStream.Create(webSocket, WebSocketMessageType.Text, true);
while (webSocketStream.CanRead)
{
using WebSocketStream messageStream = WebSocketStream.CreateReadableMessageStream(webSocket);
var appMessage = await JsonSerializer.DeserializeAsync<Message>(messageStream);
// ...
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
.NET 10 Preview 7 is now available!
Today, we are excited to announce the seventh preview release of .NET 10 with enhancements across the .NET Runtime, SDK, libraries, C#, ASP.NET Core, Blazor, .NET MAUI, and more.
📥 Download .NET 10 Preview 7
What's New
📚 Libraries
🛠️ SDK
any
RuntimeIdentifier with platform-specific .NET Tools🌐 ASP.NET Core & Blazor
📱 .NET MAUI
🖥️ Windows Forms
🖥️ Windows Presentation Foundation (WPF)
🎁 Entity Framework Core
📦 Container Images
dnx
is now on thePATH
in SDK imagesRelease Notes
Your feedback is important to us! Please share your thoughts and experiences with this preview release.
Beta Was this translation helpful? Give feedback.
All reactions