C# - How to setup WebApplicationFactory in .Net 6 without a startup.cs file
Prior to .Net 6 you would have a startup.cs class to set up your asp.net application. In .Net 6 the standard is now to »
Prior to .Net 6 you would have a startup.cs class to set up your asp.net application. In .Net 6 the standard is now to »
Most APIs you come across use a standard for the format of dates and time, often it will be the ISO 8601 format, known as round-trip »
Often you would use a class to represent the JSON object you want to Deserialize, however for whatever reason you might want to skip the class »
I recently extended a post on how to call the yahoo finance API [https://peterdaugaardrasmussen.com/2021/11/14/csharp-how-to-call-the-yahoo-finance-api/] with details on how to serialize »
Basic authentication is becoming a rare sight, however it is still quite widely used due to its simplicity. In C#, using the HttpClient and HttpRequestMessage you »
You are likely here because you are trying to make your main method use the async keyword. The gotcha I ran into - which is quite »
What you are likely looking for is the method Task.WaitAll(task1, task2, task3..);. The method allows you to wait for several tasks to finish, even »
Yahoo has one of the best free financial APIs [https://www.yahoofinanceapi.com/] out there and in this post you will see an example of how »
Using Newtonsoft.Json you might be annoyed that the default way to serialize enums [https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/enum] is serializing »
With .Net 6 we got the new Parallel.ForEachAsync method from the parallel library. Previously we had to make do with Parallel.ForEach method which had »