D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\appsettings.Development.json
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\appsettings.json
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\WebApiNet_v5.exe
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\WebApiNet_v5.deps.json
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\WebApiNet_v5.runtimeconfig.json
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\WebApiNet_v5.runtimeconfig.dev.json
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\WebApiNet_v5.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\WebApiNet_v5.pdb
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Configuration.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Configuration.Abstractions.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Configuration.Binder.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Configuration.CommandLine.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Configuration.EnvironmentVariables.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Configuration.FileExtensions.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Configuration.Json.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Configuration.UserSecrets.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.DependencyInjection.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.DependencyInjection.Abstractions.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.FileProviders.Abstractions.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.FileProviders.Physical.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.FileSystemGlobbing.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Hosting.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Hosting.Abstractions.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Hosting.WindowsServices.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Logging.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Logging.Abstractions.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Logging.Configuration.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Logging.Console.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Logging.Debug.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Logging.EventLog.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Logging.EventSource.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Options.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Options.ConfigurationExtensions.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.Extensions.Primitives.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Microsoft.OpenApi.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Swashbuckle.AspNetCore.Swagger.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Swashbuckle.AspNetCore.SwaggerGen.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\Swashbuckle.AspNetCore.SwaggerUI.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\System.Diagnostics.DiagnosticSource.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\System.Diagnostics.EventLog.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\System.Runtime.CompilerServices.Unsafe.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\System.ServiceProcess.ServiceController.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\System.Text.Encodings.Web.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\System.Text.Json.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\runtimes\win\lib\netcoreapp3.1\System.Diagnostics.EventLog.Messages.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\runtimes\win\lib\netcoreapp3.1\System.Diagnostics.EventLog.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\bin\Release\net5.0-windows\runtimes\win\lib\netcoreapp3.1\System.ServiceProcess.ServiceController.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.csproj.AssemblyReference.cache
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.GeneratedMSBuildEditorConfig.editorconfig
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.AssemblyInfoInputs.cache
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.AssemblyInfo.cs
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.csproj.CoreCompileInputs.cache
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.MvcApplicationPartsAssemblyInfo.cs
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.MvcApplicationPartsAssemblyInfo.cache
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\scopedcss\bundle\WebApiNet_v5.styles.css
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\staticwebassets\WebApiNet_v5.StaticWebAssets.Manifest.cache
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\staticwebassets\WebApiNet_v5.StaticWebAssets.Pack.cache
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\staticwebassets\msbuild.WebApiNet_v5.Microsoft.AspNetCore.StaticWebAssets.props
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\staticwebassets\msbuild.build.WebApiNet_v5.props
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\staticwebassets\msbuild.buildMultiTargeting.WebApiNet_v5.props
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\staticwebassets\msbuild.buildTransitive.WebApiNet_v5.props
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.RazorTargetAssemblyInfo.cache
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.csproj.CopyComplete
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\refint\WebApiNet_v5.dll
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-windows\WebApiNet_v5.pdb
D:\test\Kestrel封装成WindowServer\WebApiNet_v5\obj\Release\net5.0-wi
没有合适的资源?快使用搜索试试~ 我知道了~
Kestrel封装成WindowServer.zip
共633个文件
dll:295个
json:89个
cache:64个
需积分: 0 7 下载量 164 浏览量
2023-01-10
15:35:33
上传
评论
收藏 22.28MB ZIP 举报
温馨提示
背景 在一些开发过程中,会在局域网内搭建webapi服务作为移动端的服务接口使用,但是每次实施人员要到客户现场安装iis等工具,还有一些web的配置,非常繁琐,所以想着把webapi封装到WindowService中,可以通过自定义的安装程序进行一键部署,岂不美哉! 这篇文章主要是记录如何将Kestrel的服务封装在WindowService中 关于WindowsServer 请参考如下这篇文章 .netcore worker service (辅助角色服务) 的上手入门,包含linux和windows服务部署 开发服务 之前做过.net5版本的处理,觉得挺简单的,但是到.net6的时候遇到了一些问题,所以下面都会记录 .NET5版本 建项目 新建一个webapi项目,如下图 添加Controller using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace WebApiNet_v5.Controllers { [Route("api/[controller]")]
资源推荐
资源详情
资源评论
收起资源包目录
Kestrel封装成WindowServer.zip (633个子文件)
kestrel封装成windowserver.projects.v5.2 848KB
kestrel封装成windowserver.metadata.v5.2 278KB
_IsIncrementalBuild 49B
_IsIncrementalBuild 49B
_IsIncrementalBuild 47B
_IsIncrementalBuild 47B
_IsIncrementalBuild 41B
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
WebApiNet_v5.csproj.BuildWithSkipAnalyzers 0B
WebApiNet_v5.csproj.BuildWithSkipAnalyzers 0B
WebApiNet_v7.csproj.BuildWithSkipAnalyzers 0B
WebApiNet_v6.csproj.BuildWithSkipAnalyzers 0B
WebApiNet_v5.csproj.AssemblyReference.cache 213KB
WebApiNet_v5.csproj.AssemblyReference.cache 192KB
WebApiNet_v7.csproj.AssemblyReference.cache 179KB
WebApiNet_v7.csproj.AssemblyReference.cache 179KB
WebApiNet_v6.csproj.AssemblyReference.cache 175KB
WebApiNet_v6.csproj.AssemblyReference.cache 174KB
WebApiNet_v6.csproj.AssemblyReference.cache 174KB
WebApiNet_v5.csproj.AssemblyReference.cache 172KB
WorkerService1.csproj.AssemblyReference.cache 107KB
WorkerService1.csproj.AssemblyReference.cache 107KB
WebApiNet_v5.assets.cache 31KB
WebApiNet_v5.assets.cache 31KB
WebApiNet_v5.assets.cache 29KB
WebApiNet_v6.assets.cache 28KB
WebApiNet_v6.assets.cache 28KB
WebApiNet_v7.assets.cache 26KB
WebApiNet_v7.assets.cache 26KB
WorkerService1.assets.cache 23KB
WorkerService1.assets.cache 23KB
project.nuget.cache 7KB
WebApiNet_v6.assets.cache 6KB
project.nuget.cache 6KB
project.nuget.cache 6KB
project.nuget.cache 5KB
WorkerService1.AssemblyInfoInputs.cache 42B
WorkerService1.AssemblyInfoInputs.cache 42B
WebApiNet_v5.AssemblyInfoInputs.cache 42B
WebApiNet_v5.RazorTargetAssemblyInfo.cache 42B
WebApiNet_v5.csproj.CoreCompileInputs.cache 42B
WebApiNet_v5.genruntimeconfig.cache 42B
WebApiNet_v5.AssemblyInfoInputs.cache 42B
WebApiNet_v5.RazorTargetAssemblyInfo.cache 42B
WebApiNet_v5.AssemblyInfoInputs.cache 42B
WebApiNet_v5.csproj.CoreCompileInputs.cache 42B
WebApiNet_v5.genruntimeconfig.cache 42B
WebApiNet_v5.RazorTargetAssemblyInfo.cache 42B
WebApiNet_v5.genruntimeconfig.cache 42B
WebApiNet_v5.csproj.CoreCompileInputs.cache 42B
WebApiNet_v7.genruntimeconfig.cache 42B
WebApiNet_v7.csproj.CoreCompileInputs.cache 42B
WebApiNet_v7.genruntimeconfig.cache 42B
WebApiNet_v7.AssemblyInfoInputs.cache 42B
WebApiNet_v7.AssemblyInfoInputs.cache 42B
WebApiNet_v7.csproj.CoreCompileInputs.cache 42B
WebApiNet_v6.AssemblyInfoInputs.cache 42B
WebApiNet_v6.AssemblyInfoInputs.cache 42B
WebApiNet_v6.csproj.CoreCompileInputs.cache 42B
WebApiNet_v6.genruntimeconfig.cache 42B
WebApiNet_v6.AssemblyInfoInputs.cache 42B
WebApiNet_v6.genruntimeconfig.cache 42B
WebApiNet_v6.csproj.CoreCompileInputs.cache 42B
WebApiNet_v5.StaticWebAssets.Manifest.cache 0B
WebApiNet_v5.StaticWebAssets.Pack.cache 0B
WebApiNet_v5.MvcApplicationPartsAssemblyInfo.cache 0B
WebApiNet_v5.StaticWebAssets.Pack.cache 0B
WebApiNet_v5.StaticWebAssets.Manifest.cache 0B
WebApiNet_v5.MvcApplicationPartsAssemblyInfo.cache 0B
WebApiNet_v5.StaticWebAssets.Manifest.cache 0B
WebApiNet_v5.MvcApplicationPartsAssemblyInfo.cache 0B
WebApiNet_v5.StaticWebAssets.Pack.cache 0B
WebApiNet_v7.MvcApplicationPartsAssemblyInfo.cache 0B
WebApiNet_v7.MvcApplicationPartsAssemblyInfo.cache 0B
WebApiNet_v6.MvcApplicationPartsAssemblyInfo.cache 0B
WebApiNet_v6.MvcApplicationPartsAssemblyInfo.cache 0B
applicationhost.config 82KB
web.config 556B
web.config 556B
web.config 556B
web.config 556B
web.config 556B
web.config 556B
web.config 556B
WebApiNet_v5.csproj.CopyComplete 0B
WebApiNet_v5.csproj.CopyComplete 0B
WebApiNet_v5.csproj.CopyComplete 0B
WebApiNet_v7.csproj.CopyComplete 0B
WebApiNet_v7.csproj.CopyComplete 0B
WebApiNet_v6.csproj.CopyComplete 0B
WebApiNet_v6.csproj.CopyComplete 0B
Startup.cs 2KB
Program.cs 1KB
Program.cs 1KB
WeatherForecastController.cs 1KB
WebApiNet_v5.AssemblyInfo.cs 1KB
WebApiNet_v6.AssemblyInfo.cs 1KB
WebApiNet_v5.AssemblyInfo.cs 1KB
WebApiNet_v6.AssemblyInfo.cs 1KB
共 633 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
iml6yu
- 粉丝: 5912
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- oracle 触发器语法及 for each row 详细说明
- 微信小程序-豆瓣图书源码
- Fragment - Unknow animation name objectAnimator 问题解决及源码分析
- 词向量-中文文本相似度计算-采用text2vec词向量工具进行计算对比.zip
- 521293804316625base(1).apk
- ARP IP地址分类及特殊IP
- 【MySQL补丁】vcredist-x64xz MySQL必备插件
- 基于SG3525芯片PWM控制推挽隔离DCDC电源模块AD09设计硬件(原理图+PCB)工程文件.zip
- Word_20240428_092324.docx
- cloudcc_v1.1.10-release_sign.apk
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功