Microsoft ASP.NET Web API Tracing
=================================
This package allows the ASP.NET Web API framework to trace to System.Diagnostics.Trace.
To enable tracing in your application please add the following line of code
to your startup code.
If using C#, add the following line to WebApiConfig.cs (Global.asax.cs in an MVC 5 project):
config.EnableSystemDiagnosticsTracing();
If using Visual Basic, add the following line to WebApiConfig.vb (Global.asax.vb in an MVC 5 project):
config.EnableSystemDiagnosticsTracing()
where 'config' is the HttpConfiguration instance for your application.
For additional information on debugging and tracing in ASP.NET Web API, refer to:
http://go.microsoft.com/fwlink/?LinkId=269874
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
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
资源推荐
资源详情
资源评论
收起资源包目录
C# WebApi实战项目Demo,便于快速学习WEBAPI (402个子文件)
Global.asax 105B
WebApiMovies.csproj.AssemblyReference.cache 63KB
DesignTimeResolveAssemblyReferencesInput.cache 13KB
AtTheMovies.csproj.AssemblyReference.cache 1KB
AtTheMovies.csproj.CoreCompileInputs.cache 42B
WebApiMovies.csproj.CoreCompileInputs.cache 42B
applicationhost.config 84KB
AtTheMovies.dll.config 4KB
Web.config 4KB
Web.config 3KB
Web.config 3KB
Web.config 3KB
packages.config 2KB
Web.Release.config 1KB
Web.Debug.config 1KB
repositories.config 127B
AtTheMovies.csproj.CopyComplete 0B
ObjectGenerator.cs 19KB
HelpPageSampleGenerator.cs 17KB
HelpPageConfigurationExtensions.cs 13KB
HelpPageSampleKey.cs 7KB
XmlDocumentationProvider.cs 5KB
HelpPageConfig.cs 3KB
MoviesController.cs 3KB
HelpPageApiModel.cs 1KB
ApiDescriptionExtensions.cs 1KB
AssemblyInfo.cs 1KB
BundleConfig.cs 1KB
HelpController.cs 1KB
ImageSample.cs 1KB
WebApiConfig.cs 988B
InvalidSample.cs 973B
TextSample.cs 887B
Configuration.cs 791B
Global.asax.cs 790B
HelpPageAreaRegistration.cs 669B
RouteConfig.cs 581B
Movie.cs 334B
HomeController.cs 289B
FilterConfig.cs 266B
MovieDb.cs 258B
SampleDirection.cs 228B
.NETFramework,Version=v4.5.AssemblyAttributes.cs 210B
Parameters.cshtml 2KB
_Layout.cshtml 1KB
HelpPageApiModel.cshtml 1KB
Index.cshtml 1KB
Samples.cshtml 899B
ApiGroup.cshtml 850B
Api.cshtml 655B
Index.cshtml 635B
Error.cshtml 289B
_Layout.cshtml 246B
InvalidSample.cshtml 236B
_ViewStart.cshtml 175B
TextSample.cshtml 93B
ImageSample.cshtml 78B
_ViewStart.cshtml 54B
WebApiMovies.csproj 15KB
bootstrap.css 124KB
bootstrap.css 124KB
bootstrap.min.css 103KB
bootstrap.min.css 103KB
bootstrap-responsive.css 22KB
bootstrap-responsive.css 22KB
bootstrap-responsive.min.css 16KB
bootstrap-responsive.min.css 16KB
HelpPage.css 1KB
Site.css 63B
EntityFramework.dll 4.73MB
EntityFramework.dll 4.73MB
EntityFramework.dll 4.55MB
Microsoft.Data.OData.dll 1.4MB
Microsoft.Data.OData.dll 1.4MB
Microsoft.Data.OData.SL.dll 1.33MB
WebGrease.dll 1.01MB
WebGrease.dll 1.01MB
Microsoft.Data.Edm.dll 641KB
Microsoft.Data.Edm.dll 641KB
Microsoft.Data.Edm.SL.dll 640KB
EntityFramework.SqlServer.dll 567KB
EntityFramework.SqlServer.dll 567KB
EntityFramework.SqlServer.dll 564KB
System.Web.Mvc.dll 497KB
System.Web.Mvc.dll 497KB
System.Web.Http.OData.dll 424KB
System.Web.Http.OData.dll 424KB
Newtonsoft.Json.dll 397KB
System.Web.Http.dll 394KB
System.Web.Http.dll 394KB
Newtonsoft.Json.dll 383KB
Newtonsoft.Json.dll 383KB
Newtonsoft.Json.dll 359KB
Newtonsoft.Json.dll 358KB
Microsoft.Data.OData.SL.resources.dll 351KB
Microsoft.Data.OData.resources.dll 339KB
Microsoft.Data.OData.resources.dll 339KB
Newtonsoft.Json.dll 330KB
Newtonsoft.Json.dll 327KB
Newtonsoft.Json.dll 327KB
共 402 条
- 1
- 2
- 3
- 4
- 5
解决方案专家
- 粉丝: 27
- 资源: 56
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页