Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET
 

Enable CORS in ASP.NET Core API

 
Author: dotnetbips.com
Category: Microsoft.NET
Comments (0)

Browsers do not allow cross origin communication for security reasons. This means if an ASP.NET Core web API housed in one web app is called by JavaScript code running as a part of another web app, the communication attempt will fail. However, you can alter this default behavior by adding some configuration in your API application. To that end this article discusses how that task can be accomplished.

Read More...




Sponsored Links




Read Next: Avoid NPE via JDK 8, Optional



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�
 
 Subscribe