ASP.NET Core – Unit Testing a file upload

Last week I wrote about how to upload a file from a website using Angular and .NET Core. Writing tests for this is mostly straightforward, but there’s a few gotchas that I thought I would write down for the next time I need to do this. The front end tests are pretty trivial – you … [Read more…]