How can I confirm if an async EF6 await db.SaveChangesAsync() worked as expected?
My code looks like this:
My code looks like this:
I was using “angular-in-memory-web-api” to mock my REST web api, however now I am have started writing the actual web api and I want to replace the “angular-in-memory-web-api” step by step.
I don’t understand what’s the deal behind this, why is it so easy to get route values inside Request of controller but nearly impossible to do the same thing on HttpContext.Current.Request?
I am new to this so i will start with the code and after that i will explain.
The problem is this
We have an old 3rd party system (let’s call it Junksoft® 95) that we interface with via PowerShell (it exposes a COM object) and I’m in the process of wrapping it in a REST API (ASP.NET Framework 4.8 and WebAPI 2). I use the System.Management.Automation nuget package to create a PowerShell in which I instantiate Junksoft’s COM API as a dynamic object that I then use: