{"url":"https://kagasu.hatenablog.com/entry/2023/10/18/002202","provider_url":"https://hatena.blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2023%2F10%2F18%2F002202\" title=\"ASP.NET \u3067 CORS\u3092\u6709\u52b9\u306b\u3059\u308b\u65b9\u6cd5 - \u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2023-10-18 00:22:02","height":"190","author_url":"https://blog.hatena.ne.jp/kagasu/","image_url":null,"type":"rich","blog_title":"\u5099\u5fd8\u9332","author_name":"kagasu","description":"\u2160. \u306f\u3058\u3081\u306b \u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u300cASP.NET \u3067 CORS\u3092\u6709\u52b9\u306b\u3059\u308b\u65b9\u6cd5\u300d\u3067\u3059\u3002 \u2161. \u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0 Program.cs var builder = WebApplication.CreateBuilder(args); builder.Services.AddCors(x => { x.AddDefaultPolicy(policy => { policy.AllowAnyHeader(); policy.AllowAnyMethod(); policy.AllowCredentials(); policy.WithOrigins(new string[] { \"http://e\u2026","title":"ASP.NET \u3067 CORS\u3092\u6709\u52b9\u306b\u3059\u308b\u65b9\u6cd5","version":"1.0","provider_name":"Hatena Blog","categories":["ASP.NET","C#"],"blog_url":"https://kagasu.hatenablog.com/"}