CORS

    0

    5

    HARIGOVIND VALSAKUMAR

    CORSDOTNET
    HGV Public Cookbook

    Recipe for enabling CORS in Dotnet core API

    app.UseCors(x => x.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader());
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.