Handling CORS Policy In Azure Functions

Option 1: In Azure Portal Cross-Origin Resource Sharing (CORS) allows JavaScript code running in a browser on an external host to interact with your backend. Specify the origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). To allow all, use “*” and remove all other origins from the list. Slashes are not... » read more

Dynamic Data and Json

HTTP Body JSON Note: Case sensitive. When passing in an object from another app, sometimes it will make the first letter of the attribute name lower case.

JPG Image SOI Marker Error

Error: Invalid SOI Marker detected in file. Fix: SOI = Start of Image Marker If you are using FileStream to load in image file, make sure to reset the SOI position before you re-load the FileStream object. Examples:

.NET 5 System.Drawing

Note: The System.Drawing namespace is not recommended for new development, because it’s not supported within Windows services, ASP.NET Core, and ASP.NET. Attempting to use System.Drawing classes within one of these application types may result in run-time exceptions and diminished service performance. Recommended alternatives include ImageSharp, SkiaSharp, and Windows Imaging Components. On Windows, System.Drawing depends on the GDI+ native library, which is shipped as part... » read more