C# WebApi实战项目Demo,便于快速学习WEBAPI

上传者: gengxianli | 上传时间: 2023-08-29 13:30:06 | 文件大小: 27.17MB | 文件类型: 7Z
C# WebApi实战项目Demo,便于快速学习WEBAPI, WebAPI: 提供给不同客户端(跨平台客户端)调用网页的应用程序编程接口。 Web API,一般指基于HTTP协议的编程接口,接口一般定义为HTTP或HTTPS:请求方法、请求路径、参数、响应数据格式、响应HTTP Code等。至于HTTP Server,可以用Java、.Net、Nodejs等各种框架实现,Http Server属于Web API的实现,有时候也会指Web Service接口(目前越来越少见)。 接口方法: // GET api/Movies/5 public Movie GetMovie(Int32 id) { Movie movie = db.Movies.Find(id); if (movie == null) { throw new HttpResponseException(Request.CreateResponse(HttpStatusC

文件下载

资源详情

[{"title":"( 402 个子文件 27.17MB ) C# WebApi实战项目Demo,便于快速学习WEBAPI","children":[{"title":"Global.asax <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"WebApiMovies.csproj.AssemblyReference.cache <span style='color:#111;'> 62.77KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 13.26KB </span>","children":null,"spread":false},{"title":"AtTheMovies.csproj.AssemblyReference.cache <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"AtTheMovies.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"WebApiMovies.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"applicationhost.config <span style='color:#111;'> 84.42KB </span>","children":null,"spread":false},{"title":"Web.config <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"AtTheMovies.dll.config <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"Web.config <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"Web.config <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"Web.config <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"Web.Release.config <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"Web.Debug.config <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"repositories.config <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"AtTheMovies.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ObjectGenerator.cs <span style='color:#111;'> 19.04KB </span>","children":null,"spread":false},{"title":"HelpPageSampleGenerator.cs <span style='color:#111;'> 16.77KB </span>","children":null,"spread":false},{"title":"HelpPageConfigurationExtensions.cs <span style='color:#111;'> 13.38KB </span>","children":null,"spread":false},{"title":"HelpPageSampleKey.cs <span style='color:#111;'> 6.78KB </span>","children":null,"spread":false},{"title":"XmlDocumentationProvider.cs <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"HelpPageConfig.cs <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"MoviesController.cs <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"HelpPageApiModel.cs <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"ApiDescriptionExtensions.cs <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"BundleConfig.cs <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"HelpController.cs <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"ImageSample.cs <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"WebApiConfig.cs <span style='color:#111;'> 988B </span>","children":null,"spread":false},{"title":"InvalidSample.cs <span style='color:#111;'> 973B </span>","children":null,"spread":false},{"title":"TextSample.cs <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"Configuration.cs <span style='color:#111;'> 791B </span>","children":null,"spread":false},{"title":"Global.asax.cs <span style='color:#111;'> 790B </span>","children":null,"spread":false},{"title":"HelpPageAreaRegistration.cs <span style='color:#111;'> 669B </span>","children":null,"spread":false},{"title":"RouteConfig.cs <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"Movie.cs <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"HomeController.cs <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"FilterConfig.cs <span style='color:#111;'> 266B </span>","children":null,"spread":false},{"title":"MovieDb.cs <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"SampleDirection.cs <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.5.AssemblyAttributes.cs <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"Parameters.cshtml <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"_Layout.cshtml <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"HelpPageApiModel.cshtml <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"Index.cshtml <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Samples.cshtml <span style='color:#111;'> 899B </span>","children":null,"spread":false},{"title":"ApiGroup.cshtml <span style='color:#111;'> 850B </span>","children":null,"spread":false},{"title":"Api.cshtml <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"Index.cshtml <span style='color:#111;'> 635B </span>","children":null,"spread":false},{"title":"Error.cshtml <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"_Layout.cshtml <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"InvalidSample.cshtml <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"_ViewStart.cshtml <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"TextSample.cshtml <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"ImageSample.cshtml <span style='color:#111;'> 78B </span>","children":null,"spread":false},{"title":"_ViewStart.cshtml <span style='color:#111;'> 54B </span>","children":null,"spread":false},{"title":"WebApiMovies.csproj <span style='color:#111;'> 14.58KB </span>","children":null,"spread":false},{"title":"bootstrap.css <span style='color:#111;'> 124.26KB </span>","children":null,"spread":false},{"title":"bootstrap.css <span style='color:#111;'> 124.26KB </span>","children":null,"spread":false},{"title":"bootstrap.min.css <span style='color:#111;'> 103.46KB </span>","children":null,"spread":false},{"title":"bootstrap.min.css <span style='color:#111;'> 103.46KB </span>","children":null,"spread":false},{"title":"bootstrap-responsive.css <span style='color:#111;'> 21.59KB </span>","children":null,"spread":false},{"title":"bootstrap-responsive.css <span style='color:#111;'> 21.59KB </span>","children":null,"spread":false},{"title":"bootstrap-responsive.min.css <span style='color:#111;'> 16.45KB </span>","children":null,"spread":false},{"title":"bootstrap-responsive.min.css <span style='color:#111;'> 16.45KB </span>","children":null,"spread":false},{"title":"HelpPage.css <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"Site.css <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"EntityFramework.dll <span style='color:#111;'> 4.73MB </span>","children":null,"spread":false},{"title":"EntityFramework.dll <span style='color:#111;'> 4.73MB </span>","children":null,"spread":false},{"title":"EntityFramework.dll <span style='color:#111;'> 4.55MB </span>","children":null,"spread":false},{"title":"Microsoft.Data.OData.dll <span style='color:#111;'> 1.40MB </span>","children":null,"spread":false},{"title":"Microsoft.Data.OData.dll <span style='color:#111;'> 1.40MB </span>","children":null,"spread":false},{"title":"Microsoft.Data.OData.SL.dll <span style='color:#111;'> 1.33MB </span>","children":null,"spread":false},{"title":"WebGrease.dll <span style='color:#111;'> 1.01MB </span>","children":null,"spread":false},{"title":"WebGrease.dll <span style='color:#111;'> 1.01MB </span>","children":null,"spread":false},{"title":"Microsoft.Data.Edm.dll <span style='color:#111;'> 640.67KB </span>","children":null,"spread":false},{"title":"Microsoft.Data.Edm.dll <span style='color:#111;'> 640.67KB </span>","children":null,"spread":false},{"title":"Microsoft.Data.Edm.SL.dll <span style='color:#111;'> 639.67KB </span>","children":null,"spread":false},{"title":"EntityFramework.SqlServer.dll <span style='color:#111;'> 567.16KB </span>","children":null,"spread":false},{"title":"EntityFramework.SqlServer.dll <span style='color:#111;'> 567.16KB </span>","children":null,"spread":false},{"title":"EntityFramework.SqlServer.dll <span style='color:#111;'> 563.66KB </span>","children":null,"spread":false},{"title":"System.Web.Mvc.dll <span style='color:#111;'> 496.70KB </span>","children":null,"spread":false},{"title":"System.Web.Mvc.dll <span style='color:#111;'> 496.70KB </span>","children":null,"spread":false},{"title":"System.Web.Http.OData.dll <span style='color:#111;'> 423.70KB </span>","children":null,"spread":false},{"title":"System.Web.Http.OData.dll <span style='color:#111;'> 423.70KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 396.50KB </span>","children":null,"spread":false},{"title":"System.Web.Http.dll <span style='color:#111;'> 394.20KB </span>","children":null,"spread":false},{"title":"System.Web.Http.dll <span style='color:#111;'> 394.20KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 382.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 382.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 359.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 358.00KB </span>","children":null,"spread":false},{"title":"Microsoft.Data.OData.SL.resources.dll <span style='color:#111;'> 350.67KB </span>","children":null,"spread":false},{"title":"Microsoft.Data.OData.resources.dll <span style='color:#111;'> 338.67KB </span>","children":null,"spread":false},{"title":"Microsoft.Data.OData.resources.dll <span style='color:#111;'> 338.67KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 329.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 326.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 326.50KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明