Browsed by
Category: web development

Access-Control-Allow-Origin Header and the ASP.NET Web API

Access-Control-Allow-Origin Header and the ASP.NET Web API

Adding Header Information in Web.config <system.webServer> <httpProtocol> <customHeaders> <add name=”Access-Control-Allow-Origin” value=”*” /> <add name=”Access-Control-Allow-Headers” value=”Content-Type” /> <add name=”Access-Control-Allow-Methods” value=”GET,POST,PUT,DELETE,OPTIONS” /> <add name=”Access-Control-Allow-Credentials” value=”true” /> </customHeaders> </httpProtocol> </system.webServer> As you can see we have added keys with value for the listed items.   Access-Control-Allow-Origin (For Origin) Access-Control-Allow-Headers (For Headers) Access-Control-Allow-Methods (For Methods) source :¬†https://dzone.com/articles/access-control-allow-origin-header-and-the-aspnet  

Learn how to design large-scale systems

Learn how to design large-scale systems

The System Design Primer Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.https://github.com/donnemartin/system-design-primer6,882 forks.50,523 stars.60 open issues.Recent commits: Update Scalability for Dummies link (#224), Donne Martin Resolve #214: Add reference links to message queues section (#218), Donne Martin Update README intro (#216), GitHub Update Cassandra architecture links (#213), Donne Martin zh-Hans: Update translation (#209), Donne Martin

What’s in a Production Web Application?

What’s in a Production Web Application?

Getting Started Launch Day Performance Problems Growing the Team Smooth Sailing Outro Early in my career, I worked at a company that built web content management systems. Their product helped marketing departments self-manage their own websites, instead of relying on developers to make every change. This product helped their customers reduce operational expenses, and it helped me learn how to build web applications. While the product itself had a very general purpose, its customers tended to use it to solve…

Read More Read More