OWIN来实现自承载Web Api框架

上传者: nightmareYan | 上传时间: 2025-07-29 21:01:46 | 文件大小: 12.27MB | 文件类型: RAR
WPF自宿主作为Web服务器,托管Web Api,使用的是OWIN来实现自承载Web Api框架,集成了swagger接口文档,可以实现将一个Web API宿主到一个任意类型的应用程序,包括控制台、Winform、WPF、Windows Service等 优点 让应用程序实现自宿主,托管Web Api,方便处理外部发送过来的请求。 将 Web 应用程序与服务器分离,免去了部署Web Api的步骤。

文件下载

资源详情

[{"title":"( 234 个子文件 12.27MB ) OWIN来实现自承载Web Api框架","children":[{"title":"Global.asax <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":"WebApi.csproj.AssemblyReference.cache <span style='color:#111;'> 27.40KB </span>","children":null,"spread":false},{"title":"DemoWork.csproj.AssemblyReference.cache <span style='color:#111;'> 19.49KB </span>","children":null,"spread":false},{"title":"SwaggerUI.csproj.AssemblyReference.cache <span style='color:#111;'> 13.52KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 8.87KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 8.84KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.57KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false},{"title":"DemoModel.csproj.AssemblyReference.cache <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"WorkModel.csproj.AssemblyReference.cache <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"DemoWork_MarkupCompile.cache <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"DemoWork_MarkupCompile.i.cache <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"DemoWork.csproj.GenerateResource.cache <span style='color:#111;'> 84B </span>","children":null,"spread":false},{"title":"SwaggerUI.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"WebApi.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"DemoWork.csproj.SuggestedBindingRedirects.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"DemoWork.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"WorkModel.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"applicationhost.config <span style='color:#111;'> 82.21KB </span>","children":null,"spread":false},{"title":"csi.exe.config <span style='color:#111;'> 4.82KB </span>","children":null,"spread":false},{"title":"VBCSCompiler.exe.config <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false},{"title":"vbc.exe.config <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"csc.exe.config <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"SwaggerUI.dll.config <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"Web.config <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"SwaggerUI.dll.config <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"SwaggerUI.dll.config <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"DemoWork.exe.config <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"DemoWork.exe.config <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"Web.Release.config <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"Web.Debug.config <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"SwaggerUI.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"WebApi.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DemoWork.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"WorkModel.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"CachingSwaggerProvider.cs <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"TestController.cs <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"RouteConfig.cs <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"SwaggerConfig.cs <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"ServerStartup.cs <span style='color:#111;'> 737B </span>","children":null,"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"DemoModel.cs <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"WebApiConfig.cs <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"Global.asax.cs <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.8.AssemblyAttributes.cs <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.8.AssemblyAttributes.cs <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.8.AssemblyAttributes.cs <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.8.AssemblyAttributes.cs <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"SwaggerUI.csproj <span style='color:#111;'> 8.46KB </span>","children":null,"spread":false},{"title":"WebApi.csproj <span style='color:#111;'> 7.77KB </span>","children":null,"spread":false},{"title":"DemoWork.csproj <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false},{"title":"WorkModel.csproj <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"Microsoft.CodeAnalysis.CSharp.dll <span style='color:#111;'> 6.12MB </span>","children":null,"spread":false},{"title":"Microsoft.CodeAnalysis.VisualBasic.dll <span style='color:#111;'> 5.58MB </span>","children":null,"spread":false},{"title":"Microsoft.CodeAnalysis.dll <span style='color:#111;'> 4.33MB </span>","children":null,"spread":false},{"title":"Swashbuckle.Core.dll <span style='color:#111;'> 3.94MB </span>","children":null,"spread":false},{"title":"Swashbuckle.Core.dll <span style='color:#111;'> 3.94MB </span>","children":null,"spread":false},{"title":"Swashbuckle.Core.dll <span style='color:#111;'> 3.94MB </span>","children":null,"spread":false},{"title":"Microsoft.DiaSymReader.Native.amd64.dll <span style='color:#111;'> 1.76MB </span>","children":null,"spread":false},{"title":"Microsoft.DiaSymReader.Native.x86.dll <span style='color:#111;'> 1.48MB </span>","children":null,"spread":false},{"title":"System.Text.Encoding.CodePages.dll <span style='color:#111;'> 743.55KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 695.27KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 695.27KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 695.27KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 695.27KB </span>","children":null,"spread":false},{"title":"System.Reflection.Metadata.dll <span style='color:#111;'> 451.88KB </span>","children":null,"spread":false},{"title":"System.Web.Http.dll <span style='color:#111;'> 445.48KB </span>","children":null,"spread":false},{"title":"System.Web.Http.dll <span style='color:#111;'> 445.48KB </span>","children":null,"spread":false},{"title":"System.Web.Http.dll <span style='color:#111;'> 445.48KB </span>","children":null,"spread":false},{"title":"System.Collections.Immutable.dll <span style='color:#111;'> 184.88KB </span>","children":null,"spread":false},{"title":"System.Net.Http.Formatting.dll <span style='color:#111;'> 175.47KB </span>","children":null,"spread":false},{"title":"System.Net.Http.Formatting.dll <span style='color:#111;'> 175.47KB </span>","children":null,"spread":false},{"title":"System.Net.Http.Formatting.dll <span style='color:#111;'> 175.47KB </span>","children":null,"spread":false},{"title":"System.Memory.dll <span style='color:#111;'> 138.91KB </span>","children":null,"spread":false},{"title":"System.Memory.dll <span style='color:#111;'> 137.88KB </span>","children":null,"spread":false},{"title":"Microsoft.Build.Tasks.CodeAnalysis.dll <span style='color:#111;'> 136.65KB </span>","children":null,"spread":false},{"title":"Microsoft.CodeAnalysis.Scripting.dll <span style='color:#111;'> 133.65KB </span>","children":null,"spread":false},{"title":"Microsoft.Owin.dll <span style='color:#111;'> 119.39KB </span>","children":null,"spread":false},{"title":"Microsoft.Owin.dll <span style='color:#111;'> 119.39KB </span>","children":null,"spread":false},{"title":"System.Numerics.Vectors.dll <span style='color:#111;'> 113.14KB </span>","children":null,"spread":false},{"title":"System.Numerics.Vectors.dll <span style='color:#111;'> 113.14KB </span>","children":null,"spread":false},{"title":"Microsoft.Owin.Host.HttpListener.dll <span style='color:#111;'> 99.39KB </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,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明