ãã®ãã©ã¦ã¶ã¼ã¯ãµãã¼ããããªããªãã¾ããã Microsoft Edge ã«ã¢ããã°ã¬ã¼ãããã¨ãææ°ã®æ©è½ãã»ãã¥ãªãã£æ´æ°ããã°ã©ã ãããã³ãã¯ãã«ã« ãµãã¼ããå©ç¨ã§ãã¾ãã March 2018 Volume 33 Number 3 ASP.NET - Razor ã使ç¨ãã¦åä¸ãã¼ã¸ ã¢ããªã®ãã³ãã¬ã¼ãç¨ HTML ãçæãã Nick Harrison ã·ã³ã°ã«ãã¼ã¸ ã¢ããªã±ã¼ã·ã§ã³ (SPA) ã¢ããªã®äººæ°ãé常ã«é«ã¾ã£ã¦ãã¾ããããã«ã¯ç¸å¿ã®çç±ãããã¾ããã¦ã¼ã¶ã¼ã Web ã¢ããªã«æå¾ ããã®ã¯ãé«éã§é åããããã¹ãã¼ããã©ã³ããè¶ ã¯ã¤ãç»é¢ã®ãã¹ã¯ãããã«è³ãã¾ã§ãã¹ã¦ã®ããã¤ã¹ä¸ã§åä½ãããã¨ã§ãããã以å¤ã«ããå®å ¨ã§ãè¦è¦çãªé åãåãããä½ãå½¹ã«ç«ã¤ãã¨ãå®è¡ã§ãããã¨ãå¿ è¦ã§ãããã®ããã« Web ã¢ããªã«ã¯å¤ãã®è¦ç´ ãæ±ãããã¾ãããããã¯å®éã®ã¨ãã
ã²ã¨æã»ã©åãä»äºã§ASP.NET Web APIã使ã£ãéçºããã¦ããã¨ãã§ãããã³ã³ããã¼ã©ã¼ã«ããã³ã¨CRUDãå®è£ ããéçºç°å¢ã®IIS Expressã§åä½ç¢ºèªãç¡äºçµããé¨å ã®ãã¹ããµã¼ãã¼ã®IISã«ãã¹ããã¾ãããããã¦ãã®APIãå©ç¨ãããã¨ã«ãªã£ã¦ããååã«ãã§ãããï¼ä½¿ã£ã¦ã¿ã¦ã¼âªãã¨ææ°æã ã¨å£°ãæããæ°åå¾ã åå : ããããPUTã§å¼ã¹ã°ã¤ã¤ãã ããï¼ã èªå : ãããã ãã¼ã åå : ããã£ã¦ããã©405ã®ã¨ã©ã¼è¿ã£ã¦ãããï¼ã èªå : ã...ãï¼ã åå : ãã¡ããã¨ãããã°ããï¼ã èªå : ããã£ã¡ã®ç°å¢ã§ã¯ééããªãåãã¦ããã...ã»ãã åå : ããã³ãã ããããããªãã¦ãµã¼ãã¼ã«ãã¹ããã¦ãããã¤ã¯ï¼ã èªå : ããããããã...ããï¼ãã¸ã§ã¨ã©ã¼åºãããã©ããã¨ã ã³ã¬ï¼ã åå : ããã¯ã¯ã¯ã¯ï¼ãããä¿®æ£ããããã¼ï¼wwã ã¨ã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ãã㯠Enchant ã®éçºè ã§ãã Vinay Sahni ãããæ¸ããè¨äºãBest Practices for Designing a Pragmatic RESTful APIã1ãããæ¬äººã®è¨±å¯ãå¾ã¦ç¿»è¨³ãããã®ã§ãã RESTful 㪠WebAPI ãè¨è¨ãããã¨ããã¨ãç´°ããªã¨ããã§é·èãããè°è«ãããããã¨æãã¾ããã¾ããä»ã® API ã«å£ã£ã¦ãã£ã¦ã¯ã¿ããã®ã®ãæ¬å½ã«ããã§ããã®ããã©ããã¦ãããã¦ããã®ãåãããªããä½ã¦ãã¨ãå°ãªãã¯ãªãã¨æãã¾ãã ãã®è¨äºã§ã¯ããã®ãããªãããªã©ããã«ã¤ã㦠Vinay ãã
ReadMe.io ç°¡åãªæé ã§ç¾ããAPI Documentãçæãã¦ããããµã¼ãã¹ã ã¨ãã£ã¿ãè¯ãåºæ¥ã¦ãã¦ãç»é¢ã«æ²¿ã£ã¦ã¤ã³ã¿ã©ã¯ãã£ãã«API Documentãä½ããããã«ãªã£ã¦ããã ãªããY CombinatorãSV Angelãªã©ããæè³ãåãã¦ããã ReadMe.io - Investors | CrunchBase
ASP.NET Core ã® Web API ã¯æ¨æºã§ JSON å½¢å¼ãæ±ãããã«ãªã£ã¦ããã®ã§ãXML å½¢å¼ãæ±ããã¨ããã¨è¦å´ãã¾ãâ¦ã¨ããããè¦å´ããã®ã§ã¡ã¢æ¸ãã éåä¿¡ã®å½¢å¼ Web API ã POST ã§éä¿¡ããå ´å Body ã«ä½ã®å½¢å¼ã使ãã®ããã¨ããã®ã¨ãåä¿¡ã«ä½ã®å½¢å¼ã使ãã®ããã§çµã¿åãããããã éä¿¡å´ â ãã©ã¼ã å½¢å¼ application/x-www-form-urlencoded â JSON å½¢å¼ application/json â XML å½¢å¼ application/xml ããã㯠text/xml åä¿¡å´ â JSON å½¢å¼ application/json â XML å½¢å¼ application/xml ããã㯠text/xml ã§ãæè¿ã¯ãã©ã¦ã¶çµç±ã§ JSON å½¢å¼ã§éåä¿¡ãããã¨ãå¤ãã®ã§ããã£ã¡ã®æ å ±ã¯æ¯è¼çå¤ãã®ã ããXML å½¢
æ¦è¦ Webã¢ããªã±ã¼ã·ã§ã³ãéçºãã¦ããã¨ãã°ãã°ãAPIãµã¼ãå´ãã¯ã©ã¤ã¢ã³ãã®ãã¨ãèããã¬ã¹ãã³ã¹ãè¿ããã¨ãæèããçµæãããããã¨è¾ãç¶æ ã«ãªããã¨ãããããã®ãããªç¶æ ãããã«è§£æ¶ãã¦ããããèå¯ãã¦ããã æ¬ç¨¿ã§æ³å®ããWebã¢ããªã±ã¼ã·ã§ã³ ãµã¼ããµã¤ãã¯Web API (大æµã¯HTTP, JSON)ã§ãããiOSã¢ããªãAndroidã¢ããªããã©ã¦ã¶ã¢ããª(Single Page Application=SPA)ããããããªãä¸è¬çãªWebã¢ããªã±ã¼ã·ã§ã³ãèããã éçºã®æµãã¯ãã¾ãä»æ§ãææ¡ãããããããã¨ã«ãiOS/Android/Browserã§ã®ç»é¢ä»æ§ãä½ãããããããè¦ãªãããã¢ããªã®ã¨ã³ã¸ãã¢ã¨ãµã¼ããµã¤ãã®ã¨ã³ã¸ãã¢ãæã¡åãããAPIã®ã¨ã³ããã¤ã³ãã»ãªã¯ã¨ã¹ãã»ã¬ã¹ãã³ã¹ã®åãå®ãããã®å¾ãäºãã«éçºãéå§ããã Smart UI ã¢ã³ããã¿ã¼ã³
MOONGIFTã¯ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãç´¹ä»ããããã°ã§ãã2021å¹´07æ16æ¥ã§æ´æ°åæ¢ãã¾ãã Swaggerã¯Web APIã®æ¨æºè¨è¿°ãã©ã¼ãããã¨ãã¦ç¥ããã¤ã¤ããã¾ããæ¨æºãã§ããã¨ãããã¨ã¯ãããã使ã£ã¦ããã°åããã¼ã¿ã使ã£ã¦ä»ã®ãã©ã¼ãããããµã¼ãã¹ã§ä½¿ããã¨ãã§ããããã«ãªãã¾ãã ãã§ã«ã³ã¼ãçæã©ã¤ãã©ãªãªã©ãä½ããã¦ãã¾ãããä»åã¯Swaggeråãã®ããã¥ã¡ã³ããä½ããSwagger Editorãç´¹ä»ãã¾ãã Swagger Editorã®ä½¿ãæ¹ ãã¡ããã¡ã¤ã³ç»é¢ã§ããå·¦å´ãã¨ãã£ã¿ãå³å´ã«ãã®çµæã表示ããã¾ãã ã¤ãããè¨è¿°ããä»ãJSONãè²¼ãä»ãã¦èªã¿è¾¼ã¾ãããã¨ãã§ãã¾ãã è¨å®ãå¤æ°ç¨æããã¦ãã¾ãã ã¯ã©ã¤ã¢ã³ãããµã¼ããµã¤ãã®ã³ã¼ãçæãè¡ãã¾ãããã®çµæã¯Zipãã¡ã¤ã«ã§ãã¦ã³ãã¼ãã§ãã¾ãã ä¾ãã°Rubyã®ã³ã¼ãã¯ãã®ããã«ãªã
ãã®ãã©ã¦ã¶ã¼ã¯ãµãã¼ããããªããªãã¾ããã Microsoft Edge ã«ã¢ããã°ã¬ã¼ãããã¨ãææ°ã®æ©è½ãã»ãã¥ãªãã£æ´æ°ããã°ã©ã ãããã³ãã¯ãã«ã« ãµãã¼ããå©ç¨ã§ãã¾ãã December 2015 Volume 30 Number 13 Microsoft Azure - AzureãWeb APIãããã³ Redis ã使ç¨ãããã¼ã¿ã®é«éé ä¿¡æ¹æ³ Johnny Webb | December 2015 ãªã¢ã«ã¿ã¤ã ãã¼ã±ãã£ã³ã°ã主æµã¨ãªãä»æ¥ã®ç°å¢ã§ã¯ããã¼ã¸ã®èªã¿è¾¼ã¿ãæ¤ç´¢ã¯ã¨ãªã«ãã£ã¦é »ç¹ã«å¾ ã¡æéãçãããã¨ã¯ãäºå®ä¸ã販売ããåæ»ããããã¨ã«ãªãã¾ããä½æãä¿åãåæãããã¼ã¿ ã¬ã³ã¼ããå¢ããã°å¢ããã»ã©ããªã¢ã«ã¿ã¤ã ãã¼ã¿ããå å®ããæ´å¯ãå¾ããã¨ããã£ããé£ãããªãã¾ããåé¡ã«ãªãã®ã¯ãé©åãªãã¯ãã㸠ãã¼ã«ã¨ã¢ã¼ããã¯ãã£ãé¸æããç¡æ°ã®ãã¼ã¿ ã¬
APIè¨è¨ãå¦ã¶ã¹ãèæ¯ã¨åæç¥èãå¤é¨APIã¨å é¨APIãã¨ã³ããã¤ã³ããã¬ã¹ãã³ã¹ãã¼ã¿ã®è¨è¨ãHTTPãªã¯ã¨ã¹ããéãéã®ãã¤ã³ãã«ã¤ãã¦è§£èª¬ããããã¾ãã§APIããã¥ã¡ã³ãä½æãã¼ã«4é¸ãã ã0åãAPIè¨è¨ãå¦ã¶ã¹ãèæ¯ APIã®å ¬éãå¢ãã¦ãã æè¿ãèªç¤¾ã§ä¿æãããã¼ã¿ããã·ã¹ãã ãã¢ããªã±ã¼ã·ã§ã³ãWebãµã¼ãã¹ã®æ©è½ããAPIï¼Application Programming Interfaceï¼ãã¨ãã¦å ¬éããä¼æ¥ããå¢ãã¦ãã¦ãã¾ããããã«ä¼´ãããAPIçµæ¸åï¼APIã¨ã³ããã¼ï¼ãã¨ããæ°ããªãã¸ãã¹ã¢ãã«ã確ç«ããã¤ã¤ããã¾ãï¼åèï¼5åã§çµ¶å¯¾ã«åããAPIããã¸ã¡ã³ããAPIçµæ¸åï¼ã ãProgrammableWebãã¨ããAPIã«é¢ãããã¥ã¼ã¹ãµã¤ããããã¾ãã¾ãªä¼æ¥ãæä¾ããAPIã®ãªã³ã¯ãã¾ã¨ã¾ã£ããµã¤ãããããAPIã®æ®åã¯ãã®ãããã¹ãã¼ãã§é²ãã§ãã
ããã®ç®çã«ã¯ãã®APIã使ãã®ãæé©ã§ãããæé©ãªAPIãã¯ãã½ã³ã®æè¡ã§æãã¦ããããç±³IBMããAPI Harmonyãçºè¡¨ ã¯ã©ã¦ãã®æ®åã¨æ©èª¿ãåãããããã«ãå©ç¨å¯è½ãªAPIãé£èºçã«å¢å ãã¦ãã¾ããä¾ãã°ããµã¼ãã¤ã³ã¹ã¿ã³ã¹ããããã¯ã¼ã¯ãã¹ãã¬ã¼ã¸ã¨ãã£ãã¢ããªã±ã¼ã·ã§ã³ã®å®è¡ã«å¿ è¦ãªãªã½ã¼ã¹ã®æ§æãããã¦ã¼ã¶ã¼æ å ±ãå°å³æ å ±ãã»ã³ãµã¼ã®æ å ±ã®åå¾ãã¢ããªã±ã¼ã·ã§ã³ã«ããåææ©è½ãéè¨æ©è½ã®å¼ã³åºããªã©ããã¹ã¦APIçµç±ã§å¼ã³åºããã¨ãå¯è½ã«ãªã£ã¦ãã¦ãã¾ãã åæã«ãå¤æ°ã®APIãç¨ããççµåã«ããã·ã¹ãã æ§ç¯ãä¸è¬çã«ãªã£ã¦ãã¾ããã ä¸æ¹ã§ãå©ç¨å¯è½ãªAPIãå¢å ãã¦ä¼¼ããããªæ©è½ã®APIãæç«ããããã«ãªãããããAPIãã¨ã«ãã¼ã¸ã§ã³ããªãã·ã§ã³ãå¤æ°åå¨ããã¨ãªãã¨ãããç®çã«å¯¾ãã¦ã©ã®APIãã©ãå©ç¨ããã®ããã£ã¨ãé©åãªã®ãã¨ããå¤æã¯ãã©ãã©ãé£ãããªã£ã¦
è¿å¹´ãWeb APIã¯åºãæ®åããã¤ã³ã¿ã¼ãããã§ã¯ãµã¼ãã¹ã®ã¤ã³ã¿ãã§ã¼ã¹ã¨ãã¦ä¸è¬çãªãã®ã¨ãªãããã®10å¹´éãWeb APIã¯å¢å ã®ä¸éã辿ã£ã¦ãã¾ããã¾ãã¤ã³ã¿ã¼ãããã ãã§ãªããä¼æ¥å ã®æ¥åã·ã¹ãã ã§ãæ®åãã¯ããã¦ãããã·ã¹ãã éé£æºãéçºãã¼ã«ã®å¶å¾¡ãªã©ã«å©ç¨ããã¦ãã¾ããWeb APIã次ã ã¨ä¸ã«éãåºããããªããWeb APIã®å質ã¯ããããå©ç¨ããã¢ããªã±ã¼ã·ã§ã³ã®å質ãå·¦å³ããéè¦ãªè¦ç´ ã¨ãªã£ã¦ãã¾ããæ¬é£è¼ã§ã¯ãWeb APIã®å ¬éï¼æ§ç¯ã«èå³ã®ããæ¹åãã«ãWeb APIã®è¨è¨ãå®è£ ã®èª²é¡ã¨ãã®è§£æ±ºçããç´¹ä»ãã¾ãã
åãµã¼ãã¹ã®APIã®ä»æ§ãªãã¦è¦ãã¦ããããï¼ã¨ãã人ã¯æ¯éã Blockspringã¨ã¯ Blockspringã¯ãTwitterãFacebookãªã©ã®ã½ã¼ã·ã£ã«ã¡ãã£ã¢ãã¯ãããAmazonãYoutubeãªã©æ§ã ãªãµã¼ãã¹ããã®ãã¼ã¿ããããã°ã©ããAPIãç´æ¥è§¦ããã¨ãªã表ãã¼ã¿ã¨ãã¦åå¾ãããã¨ãã§ãããµã¼ãã¹ã§ãããµã¼ãã¹ãã¨ã«è¦æ ¼ã®ç°ãªãWebAPIãå©ç¨ããã«ã¯å¦ç¿ã³ã¹ããçµæ§ãããããã§ãããBlockspringã¯ãããã£ããµã¼ãã¹ã¨ããã°ã©ãã¼ã®éã«ç«ã¡ããã¼ã¿åå¾ã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæ½è±¡åãã¦ããã¾ãã é常ã«æ²¢å±±ã®ãµã¼ãã¹ã«å¯¾å¿ãã¦ãã¾ãã ãã¡ããã£ã¨ãã¼ã¿ã欲ããã ããªã®ã«ããµã¼ãã¹æ¯ã®WebAPIãåå¼·ããã®ããç²ããã ãããªæã¯Blockspringãå©ç¨ãã¦ã¿ã¦ãã ããã ã¤ã³ã¹ãã¼ã« Blockspringã¯Google ã¹ãã¬ããã·ã¼ãã¨ã¨ã¯ã»ã«
Archived MSDN and TechNet Blogs 1/21/2020 2 minutes to read MSDN and TechNet blog sites have been retired, and blog content has been migrated and archived here. Archived blogs are grouped alphabetically by the initial letter of the blog name. Blogs and blog posts can be searched by their names, using the Search box at the top of the page. Actively updated blogs have been moved to other blog sites,
##æ¦è¦ èªä½ã®Webã¢ããªã±ã¼ã·ã§ã³ã«æ¥ãåçãã¼ã¿ããã©ã¦ã¶ã§èªåå°å·ã§ããªãã®ã§ ç£è¦ã½ãããWindowsã§ä½ã£ã¦ãã¼ã¿ã®èªåå°å·ãè¡ããããã«ãã¾ããã ãããã調ã¹ãªããäºæ¥ããããããã¾ãããã»ã»ã» ãªã¯ã¨ã¹ãã®éä¿¡æ¹æ³ã¨Jsonã®ãã¼ã¹é¨åã§çµæ§æéãã¨ããã¾ããã ã½ã¼ã¹ãã¢ããããã®ã§ãåããããªãã¨ããããæ¹ã®åèã«ãªãã°ã GitHub/WindowsAutoPrint GitHubã®Readmeã«ãæ¸ãã¦ã¾ãã ã»WebClient ã«ããGetãªã¯ã¨ã¹ãéä¿¡ ã»DynamicJsonã«ãããã¼ã¹ ã»è¨å®ãªãã¸ã§ã¯ãã®ã·ãªã¢ã©ã¤ãºã»ãã·ãªã¢ã©ã¤ãº ã»WEBãµã¼ãã«é ç½®ãããç»åãèªã¿è¾¼ã¿å°å·ãã ã£ã¦ã®ãä»åä½ã£ãé¨åã§ãã ##ã¤ãã§ã«GitHubã« GitHubã«å ¬éãããã¨ããªãã£ãã®ã§ããã¹ãã¨ãã¦ã¢ãããã¼ããã¦ã¿ã¾ããã ã¢ã«ã¦ã³ãã¯ä½ã£ã¦ããã§ããã©
åæ HTMLã®multipart/form-dataã§éããã¦ããç»åã«ã¤ãã¦å¦çããã.NET APIãä½ãã DBå¨ãã¯EntityFrameworkãå©ç¨ DBã®ç»åãã¤ããªãä¿åããåã®åã¯varbinary(max)ãæ³å® ç»åãDBã«insertããå ´å ä¸è¨ã®ããã«å®ç¾©ããã¡ã½ãããå©ç¨ããã°OK public void insertToDB() { Entities DB = new Entities(); MemoryStream memory; var postedFiles = HttpContext.Current.Request.Files; foreach (string file in postedFiles) { using (memory = new MemoryStream()) { postedFiles[file].InputStream.Copy
2017-01-05 è¿½è¨ 2016å¹´3æã«ã¨ã©ã¼ã®æ¨æºå½¢å¼RFC7807ãProblem Details for HTTP APIsããææ¡ãããä»æ¥ç¾å¨proposed standard(æ¨æºåã¸ã®æå±)ã¨ãªã£ã¦ãã¾ãããã¡ããæ¯éã覧ãã ããã RFC 7807 - Problem Details for HTTP APIs HTTP APIã®è©³ç´°ãªã¨ã©ã¼æ å ±ãã¬ã¹ãã³ã¹ã«æãããããã®ä»æ§ æè¿ã¯REST APIãæä¾ãã¦ãããµã¼ãã¹ãå¢ãã¦ãã¦ãã¾ããï¼ã¾ãå ¬éãããAPIã ãã§ãªããMicroservicesãªã¢ã¼ããã¯ãã£ãæ¡ç¨ãã¦ãããã¯ã¨ã³ããWeb APIã§éä¿¡ããã±ã¼ã¹ãå¢ãã¦ãã¦ããããã«æãã¾ãã APIã使ãã¨ãã¯ãã¾ãæ°ã«ãããã¨ããªãã£ãã§ãããããAPIãè¨è¨ãã¦ã¿ãã¨ã©ããªã¤ã³ã¿ã¼ãã§ã¤ã¹ãããã®ããã©ããªå½¢å¼ãããã®ãã¨ãã£ãçåã次ã ã¨åºã¦ãã¾ãã
ç¾å¨ã§ã¯REST APIã¯ã¨ã¦ãä¸è¬çãªè©±é¡ã§ããã»ã¨ãã©ãã¹ã¦ã®Webã¢ããªã±ã¼ã·ã§ã³ã®ä¸é¨åã¨ãªã£ã¦ãã¾ããã·ã³ãã«ã§ä¸è²«æ§ãããå®éçãªã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯å¿ é ã§ããããã¯çããã®APIãä»ã®äººã使ããã¨ãã¨ã¦ã容æã«ãã¾ããçããã«ã¨ã£ã¦ã¯RESTã®å®è·µãæ¥å¸¸çã«æããããããããã¾ããããRESTããã¾ãå°éããªã人ã ãããè¦ããã¾ãããããRESTã«ã¤ãã¦æ稿ãããã£ããã§ããã ãã®è¨äºã«ã¯RESTfulãªAPIãè¨è¨ããæã«èæ ®ãã¹ããã¹ããã©ã¯ãã£ã¹ãããã¾ãã 注æ : ããã§ã®ãã¹ããã©ã¯ãã£ã¹ã¯ãç§ãéå»ã®çµé¨ã«åºã¥ãã¦è¯ãã¨èããäºä¾ã§ããããéãèãããæã¡ã§ããã°ããæ°è»½ã«ã¡ã¼ã«ããã ããã°æè¦äº¤æã§ããã¨æãã¾ãã APIã®ãã¼ã¸ã§ã³ã示ã APIã®ãã¼ã¸ã§ã³ã¯å¿ é ã§ããã¹ãã§ãããããããã¨æéãçµã£ã¦APIãå¤ãã£ã¦ãå½±é¿ãåãã¾ããããã®æ¹æ³ã®1ã¤ã¯UR
APIS.ioã¯æ§ã ãªAPIãæ¢ããæ¤ç´¢ã¨ã³ã¸ã³ã§ããä¾ãã°photoã¨ãããã¨Tumblrã500pxãFlickrã¨è¨ã£ã人æ°ã®Webãµã¼ãã¹ã®APIã表示ããã¾ããå°ãåããã«ããã§ãããæ¤ç´¢çµæå³ä¸ã«more resultsã¨åºãã®ã§ã¯ãªãã¯ããã°æ²¢å±±åºã¦ãã¾ãããªããªã便å©ã§ããã APIS.io
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}