ASP.NET Core Embedded Resource
In my previous blog about adding gzip compression when using NancyFX, I wanted to test the compression by outputting a large json data file in one of my endpoints. At first I was just going to generate some random data and serialize it at runtime but then I found Mockaroo, which provided a small dataset of random data that I could download. So now that I had this generated file, I wanted to include the file in my project as an embedded resource in which would be read and at returned as output. If you have any questions, please follow me… Read More »ASP.NET Core Embedded Resource