ApocDev

Results 7 comments of ApocDev

Simplest method around this: ``` for (int i = 1; i < int.MaxValue; i++) { Debug.WriteLine($"Fetching mods page {i}"); var modsStr = await wc.DownloadStringTaskAsync($"http://api.factoriomods.com/mods?page={i}"); var mods = JsonConvert.DeserializeObject(modsStr); if (mods...

I prefer to avoid "magic numbers" in any code whenever possible. If for some reason the API starts returning 20 instead of 25, your method breaks down. Having proper metadata...

I took @NeilBostrom Gist, and expanded it to make life a bit easier. You can find my changes here: https://gist.github.com/ApocDev/11ce0d06ad06a0d63f67bbf184aa388b Example of usage (to create MySQL users after database creation):...

As a temporary hack, I'm using something like this: ```csharp public class DynamicRouter : Router { delegate object RouteTableCreateDelegate(IEnumerable types); private static readonly RouteTableCreateDelegate RouteTableCreate; private static readonly PropertyInfo SetRoutes;...

Yes, I am. Unfortunately, it's not currently OSS, however I do plan to re-implement most of it later as an OSS solution. The biggest issue I ran into is properly...

> 1. Can components be dynamically activated (and will dependencies be injected?) Short answer, yes! But no! We can load any assemblies we want at runtime. (This is tested and...

> Some interesting points thank you. > > > AppDomains don't exist in .NET Core anymore. (The AppDomain class is really just a proxy around AssemblyLoadContext) > > Whilst that...