{"id":16139,"date":"2024-03-16T03:18:32","date_gmt":"2024-03-15T18:18:32","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/"},"modified":"2025-08-06T05:48:36","modified_gmt":"2025-08-05T20:48:36","slug":"c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/","title":{"rendered":"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f"},"content":{"rendered":"<p>C#\u306eWeb API\u3067\u30c8\u30fc\u30af\u30f3\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u624b\u9806\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>Web API \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b Microsoft.AspNet.WebApi.Owin \u3068 Microsoft.Owin.Security.Jwt \u306e NuGet \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>Web API\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306bStartup\u30af\u30e9\u30b9\u3092\u8a2d\u5b9a\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8d77\u52d5\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30c8\u30fc\u30af\u30f3\u8a8d\u8a3c\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">using<\/span> Microsoft.AspNet.WebApi.Owin;\r\n<span class=\"hljs-keyword\">using<\/span> Microsoft.Owin;\r\n<span class=\"hljs-keyword\">using<\/span> Microsoft.Owin.Security;\r\n<span class=\"hljs-keyword\">using<\/span> Microsoft.Owin.Security.Jwt;\r\n<span class=\"hljs-keyword\">using<\/span> Owin;\r\n<span class=\"hljs-keyword\">using<\/span> System.Configuration;\r\n<span class=\"hljs-keyword\">using<\/span> System.IdentityModel.Tokens;\r\n\r\n[<span class=\"hljs-meta\">assembly: OwinStartup(typeof(YourProjectNamespace.Startup))<\/span>]\r\n\r\n<span class=\"hljs-keyword\">namespace<\/span> <span class=\"hljs-title\">YourProjectNamespace<\/span>\r\n{\r\n    <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title\">Startup<\/span>\r\n    {\r\n        <span class=\"hljs-function\"><span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">void<\/span> <span class=\"hljs-title\">Configuration<\/span>(<span class=\"hljs-params\">IAppBuilder appBuilder<\/span>)<\/span>\r\n        {\r\n            <span class=\"hljs-comment\">\/\/ \u83b7\u53d6Token\u7684\u5bc6\u94a5<\/span>\r\n            <span class=\"hljs-keyword\">var<\/span> secretKey = ConfigurationManager.AppSettings[<span class=\"hljs-string\">\"TokenSecret\"<\/span>];\r\n\r\n            <span class=\"hljs-comment\">\/\/ \u914d\u7f6eToken\u9a8c\u8bc1\u53c2\u6570<\/span>\r\n            <span class=\"hljs-keyword\">var<\/span> tokenValidationParameters = <span class=\"hljs-keyword\">new<\/span> TokenValidationParameters\r\n            {\r\n                ValidIssuer = <span class=\"hljs-string\">\"your_issuer\"<\/span>,\r\n                ValidAudience = <span class=\"hljs-string\">\"your_audience\"<\/span>,\r\n                IssuerSigningToken = <span class=\"hljs-keyword\">new<\/span> BinarySecretSecurityToken(Convert.FromBase64String(secretKey)),\r\n            };\r\n\r\n            <span class=\"hljs-comment\">\/\/ \u4f7f\u7528Token\u9a8c\u8bc1\u4e2d\u95f4\u4ef6<\/span>\r\n            appBuilder.UseJwtBearerAuthentication(<span class=\"hljs-keyword\">new<\/span> JwtBearerAuthenticationOptions\r\n            {\r\n                AuthenticationMode = AuthenticationMode.Active,\r\n                TokenValidationParameters = tokenValidationParameters\r\n            });\r\n\r\n            <span class=\"hljs-comment\">\/\/ \u914d\u7f6eWeb API\u8def\u7531<\/span>\r\n            HttpConfiguration configuration = <span class=\"hljs-keyword\">new<\/span> HttpConfiguration();\r\n            configuration.MapHttpAttributeRoutes();\r\n            appBuilder.UseWebApi(configuration);\r\n        }\r\n    }\r\n}\r\n<\/code><\/pre>\n<ol>\n<li>Web.config\u30d5\u30a1\u30a4\u30eb\u306bToken\u306e\u9375\u3068\u305d\u306e\u4ed6\u95a2\u9023\u8a2d\u5b9a\u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">configuration<\/span>&gt;<\/span>\r\n  <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">appSettings<\/span>&gt;<\/span>\r\n    <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">add<\/span> <span class=\"hljs-attr\">key<\/span>=<span class=\"hljs-string\">\"TokenSecret\"<\/span> <span class=\"hljs-attr\">value<\/span>=<span class=\"hljs-string\">\"your_token_secret_key\"<\/span> \/&gt;<\/span>\r\n    <span class=\"hljs-comment\">&lt;!-- \u5176\u4ed6\u914d\u7f6e\u9879 --&gt;<\/span>\r\n  <span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">appSettings<\/span>&gt;<\/span>\r\n  <span class=\"hljs-comment\">&lt;!-- \u5176\u4ed6\u914d\u7f6e\u9879 --&gt;<\/span>\r\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">configuration<\/span>&gt;<\/span>\r\n<\/code><\/pre>\n<p>TokenSecret\u306f\u3001Token\u306e\u7f72\u540d\u3068\u691c\u8a3c\u306b\u4f7f\u7528\u3059\u308b\u79d8\u5bc6\u9375\u3067\u3042\u308a\u3001\u5b9f\u969b\u306e\u8981\u4ef6\u306b\u5fdc\u3058\u3066\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>API\u30e1\u30bd\u30c3\u30c9\u3084\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306b\u306f\u3001Token\u8a8d\u8a3c\u304c\u5fc5\u8981\u306a\u5834\u5408\u306b\u306f[Authorize]\u5c5e\u6027\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">using<\/span> System.Web.Http;\r\n\r\n<span class=\"hljs-keyword\">namespace<\/span> <span class=\"hljs-title\">YourProjectNamespace.Controllers<\/span>\r\n{\r\n    <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title\">YourController<\/span> : <span class=\"hljs-title\">ApiController<\/span>\r\n    {\r\n        [<span class=\"hljs-meta\">Authorize<\/span>]\r\n        [<span class=\"hljs-meta\">HttpGet<\/span>]\r\n        <span class=\"hljs-function\"><span class=\"hljs-keyword\">public<\/span> IHttpActionResult <span class=\"hljs-title\">YourApiMethod<\/span>()<\/span>\r\n        {\r\n            <span class=\"hljs-comment\">\/\/ Token\u9a8c\u8bc1\u901a\u8fc7\uff0c\u6267\u884c\u9700\u8981\u6388\u6743\u7684\u64cd\u4f5c<\/span>\r\n            <span class=\"hljs-keyword\">return<\/span> Ok();\r\n        }\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u624b\u9806\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001Web API\u306f\u8a2d\u5b9a\u3055\u308c\u305f\u30c8\u30fc\u30af\u30f3\u8a8d\u8a3c\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u5fc5\u8981\u306aAPI\u30e1\u30bd\u30c3\u30c9\u3092\u4fdd\u8b77\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C#\u306eWeb API\u3067\u30c8\u30fc\u30af\u30f3\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u624b\u9806\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 Web API \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b Microsoft.AspNet.WebApi.Owin \u3068 Microsoft.Owin.Securit [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,18],"class_list":["post-16139","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-18"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/c\u306ewebapi\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\" \/>\n<meta property=\"og:description\" content=\"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/c\u306ewebapi\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-15T18:18:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-05T20:48:36+00:00\" \/>\n<meta name=\"author\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/\",\"name\":\"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-15T18:18:32+00:00\",\"dateModified\":\"2025-08-05T20:48:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\"},\"description\":\"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\",\"name\":\"\u512a\u6597, \u671d\u967d\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"caption\":\"\u512a\u6597, \u671d\u967d\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f - Blog - Silicon Cloud","description":"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/c\u306ewebapi\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\/","og_locale":"ja_JP","og_type":"article","og_title":"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f","og_description":"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/c\u306ewebapi\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-15T18:18:32+00:00","article_modified_time":"2025-08-05T20:48:36+00:00","author":"\u512a\u6597, \u671d\u967d","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u512a\u6597, \u671d\u967d","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/","name":"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-15T18:18:32+00:00","dateModified":"2025-08-05T20:48:36+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28"},"description":"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"C#\u306eWebAPI\u3067\u306e\u30c8\u30fc\u30af\u30f3\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28","name":"\u512a\u6597, \u671d\u967d","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","caption":"\u512a\u6597, \u671d\u967d"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%aewebapi%e3%81%a7%e3%81%ae%e3%83%88%e3%83%bc%e3%82%af%e3%83%b3%e3%81%ae%e8%a8%ad%e5%ae%9a%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b%ef%bc%9f\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/16139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=16139"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/16139\/revisions"}],"predecessor-version":[{"id":91315,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/16139\/revisions\/91315"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=16139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=16139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=16139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}