ASP.NET WEB API ã¢ãã«ãã¤ã³ãã«ã¤ãã¦ã§ãã ã¢ãã«ãã¤ã³ãã£ã³ã°ã¨ã¯ ã¢ãã«ãã¤ã³ãã£ã³ã°ã¨ã¯ãApiController ã®ã¢ã¯ã·ã§ã³ã¡ã½ããã®å¼æ°ã«å®ç¾©ãã ãã©ã¡ã¼ã¿ã®åï¼ã¢ãã«ï¼ã®å¤ãããªã¯ã¨ã¹ãããçæããã¡ã½ããã«æ¸¡ããã¨ã§ãã ASP.NET MVC ã«ãããæ¦å¿µã§ãã ä¾ï¼ public class ValuesController { // GET ~/api/values/?id=32 public string Get(int id) { // id ã«ã¯ãQueryString "id" ã®å¤ 32 ãå ¥ã£ã¦ããã } } ASP.NET WEB API ã®ã¢ãã«ãã¤ã³ãã§ã¯ã ãã®ã¢ãã«ã§ããå¼æ°ã®å¤ããã©ãããåã£ã¦ããã®ãã ãã®ï¼ã¯ããã®åå¾å ã«ã¤ãã¦ã§ãã ããã©ã«ãã§ã¯ å æ¥ãASP.NET WEB API ãã¤ãã©ã¤ã³ã®ãã¹ã¿ã¼ãå ¬é
{{#tags}}- {{label}}
{{/tags}}