Jeremy Bytes
byte-sized chunks of .NET
Wednesday, February 28, 2024
Continue Processing with Parallel.ForEachAsync (even when exceptions are thrown)
›
Parallel.ForEachAsync is a very useful tool for running code in parallel. Recently, we have been exploring what happens when an exception...
Tuesday, February 27, 2024
Getting Multiple Exceptions from Parallel.ForEachAsync
›
Parallel.ForEachAsync is a very useful tool for running code in parallel. Last time, we looked at what happens when an exception is thr...
Monday, February 26, 2024
Parallel.ForEachAsync and Exceptions
›
Parallel.ForEachAsync is a very useful tool for running code in parallel. But what happens when an exception is thrown inside the loop?...
Friday, February 23, 2024
Have you lived more than 5 days in the last 4 months?
›
Last night (more correctly, very early this morning), I learned something new about myself: I haven't been living every day. I read 1970...
Thursday, February 22, 2024
Minimal APIs vs Controller APIs: SerializerOptions.WriteIndented = true
›
Another thing added in ASP.NET Core / .NET 7.0 (yeah, I know it's been a while since it was released), is the "ConfigureHttpJsonO...
2 comments:
Wednesday, February 21, 2024
Method Injection in ASP.NET Core: API Controllers vs. MVC Controllers
›
Method Injection in ASP.NET Core got a little bit easier in .NET 7. Before .NET 7, we had to use the [FromServices] attribute on a meth...
‹
›
Home
View web version