You can't use a 102 status code because Azure will always wait for a follow up code. In my code I changed it to a 202 Accepted instead.

If you try and use a 102 in Azure, you will eventually get a 502 response, which states that the server received an invalid response while acting as a proxy or gateway. Which translates to, I received a 102 but not a final status code from you code.

A 102 should only ever be used to say that the call is still in progress ans must always be followed up with a final status code, be that a 200 or 202 like I changed mine to.

Not 100% sure when this started, but I eventually got annoyed by Visual Studio and ReSharper having a different keyboard shortcuts for potential code fixes.

ReSharper is Alt + Enter Visual Studio is CTRL + .

Visual Studio was warning for some potential code problems and I want ReSharper to handle it all. Specifically it was the "Expression value is never used" warning, which wants you to discard the return value using the _ C# 7.0 discard. It gets annoying not knowing which keyboard shortcut the squiggle wants.

So eventually I found the setting, which is in the ReSharper settings rather than Visual Studio settings. In Visual Studio 2019 the exact location is as follows

Extensions —> ReSharper —> Options —> Code Inspection —> Settings —> Merge Visual Studio Light Bulb actions into ReSharper bulb.

There is also a setting here that will allow you to hide the Visual Studio squiggles - I did not find this useful, as when enabled you miss some suggestions even though using the keyboard shortcut with your cursor at the location will give you the same menu.

After enabling this setting, you can now use either of the above shortcuts and you get a merged menu of all options - much better!

Hope somebody finds this helpful.