Skip to content

Tags

#csharp

C# and .NET: language features, ASP.NET, tooling and performance.

2 posts

Posts tagged #csharp

  1. Question

    C# async void in a button click handler, the exception just disappears?

    Hello, I have a question to you. In my Ausbildung company we have a WinForms tool (yes WinForms xD). I made a button that loads customers from our internal API. When the API is down, nothing happens. No error, no MessageBox, the grid just stays empty. private async void btnLoad_Click(object sender, EventArgs e) { try { LoadData(); } catch (Exception ex) { MessageBox.Show(ex.Message); } } private async Task…

    Jonas Becker6likes8comments

  2. Experience

    .NET Framework 4.8 to .NET 8 on a 14 year old insurance app: what actually broke

    Just rolled off a 9 month contract moving an insurer's claims system off .NET Framework. WebForms, WCF, EF6, 380k lines, written by at least four different consultancies judging by the naming conventions. Here's what actually broke, because the Microsoft docs make it sound like a weekend and it is not a weekend mate. 1. WebForms does not exist in .NET 8. Full stop. There is no upgrade path for .aspx pages. You…

    Gary Pritchard30likes9comments

Get the best of Dynamo Geeks weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.