How web api solves cross-domain requests

image 4

How web api solves cross-domain requests? http Header related concepts CORS: Cross-Domain Resource Sharing (CORS) is a mechanism that uses an extra HTTP header to tell the browser to allow web applications running on an origin (domain) to be granted access to specified resources from different source servers. http Header related concepts CORS: Cross-Domain Resource … Read more

Use enum classes instead of enum in ASP.Net Core

enumeration classes in .net core

Use enum classes instead of enum in ASP.Net Core, I believe that people often encounter various state values when writing code, and in order to avoid hard coding and magic numbers in the code.