Featured resource
pluralsight AI Skills Report 2025
AI Skills Report

As AI adoption accelerates, teams risk of falling behind. Discover the biggest skill gaps and identify tools you need to know now.

Learn more
  • Course
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

Configuring CORS in ASP.NET 2 and ASP.NET Core 2

Learn how to configure CORS for your APIs to secure your web applications by making sure only authorized client applications can consume them, adding an extra layer of security.

Nertil Poci - Pluralsight course - Configuring CORS in ASP.NET 2 and ASP.NET Core 2
by Nertil Poci

What you'll learn

In this modern application era, applications that have the client and the server on the same origin are becoming less and less common. APIs are accessed from multiple clients hosted on different origins. In this course, Configuring CORS in ASP.NET and ASP.NET Core, you will learn how to setup CORS for your APIs so only approved client applications can access them. First, you will learn how browsers implement CORS. Next, you will discover how to configure your ASP.NET applications to allow CORS request to origins that you trust. Finally, you will explore the different CORS requests types and configuration options to help us secure and optimize requests coming in from other origins. By the end of this course, you will be able to identify CORS requests, configure CORS for your ASP.NET and ASP.NET Core applications.

Table of contents

About the author

Nertil Poci - Pluralsight course - Configuring CORS in ASP.NET 2 and ASP.NET Core 2
Nertil Poci

Nertil is a independent software consultant working with different teams around the world to bring products to market. He is focused on using the right tools for the job.

More Courses by Nertil