基于Owin自承载Microsoft.AspNet.WebApi服务器NuGet程序包运行环境

  基于Owin自承载Microsoft.AspNet.WebApi服务器NuGet程序包运行环境

基于Owin自承载Microsoft.AspNet.WebApi服务器NuGet程序包运行环境


Microsoft.AspNet.Cors 5.2.7版本:

packages.config

XML Code:

<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.AspNet.Cors" version="5.2.7" targetFramework="net45" />
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.7" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.7" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Cors" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Owin" version="5.2.7" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="2.0.1" targetFramework="net45" />
<package id="Microsoft.Net.Compilers" version="3.5.0" targetFramework="net45" developmentDependency="true" />
<package id="Microsoft.Owin" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Cors" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Host.HttpListener" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Host.SystemWeb" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Hosting" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Security" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="System.Net.Http" version="4.3.3" targetFramework="net45" />
<package id="WebApiThrottle" version="1.5.4" targetFramework="net45" />
</packages>

//来源:C/S框架网 | www.csframework.com | QQ:23404761



Microsoft.AspNet.Cors 5.2.3版本:

packages.config


XML Code:


<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.AspNet.Cors" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.7" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.7" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Cors" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Owin" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="2.0.1" targetFramework="net45" />
<package id="Microsoft.Net.Compilers" version="3.5.0" targetFramework="net45" developmentDependency="true" />
<package id="Microsoft.Owin" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Cors" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Host.HttpListener" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Host.SystemWeb" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Hosting" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Owin.Security" version="4.1.0" targetFramework="net45" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="System.Net.Http" version="4.3.4" targetFramework="net45" />
<package id="WebApiThrottle" version="1.5.4" targetFramework="net45" />
</packages>

//来源:C/S框架网 | www.csframework.com | QQ:23404761


经测试运行WebApi服务器成功!


贴图图片-WebApi服务器NuGet程序包运行环境



C/S框架网|原创精神.创造价值.打造精品

扫一扫加微信
C/S框架网作者微信 C/S框架网|原创作品.质量保障.竭诚为您服务

版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
C/S框架网
发表评论

评论内容
昵称:
关联文章

基于Owin承载Microsoft.AspNet.WebApi服务器NuGet程序包运行环境
ASPNET WebApi服务器三种承载方式:SelfHosting,IIS Hosting, WinService Hosting
运行ASP.NET 承载WebApi服务器报错:未能加载文件或程序集System.Web.Http或它的某一个依赖项
C# ASP.NET WebApi服务器搭建详解 - 承载(Self Hosting)
CSFramework.WebApi后端开发框架服务器宿主承载方式
WebApi框架:编译提示缺少Microsoft.Owin.Extensions引用
The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener
C# ASP.NET WebApi服务器搭建详解 - Win服务承载(Windows Service Hosting宿主)
关于CSFramework.WebApi框架NuGet程序包版本升级版本统一问题
CSFramework.DB 运行环境
C# ASP.NET WebApi服务器搭建详解 - IIS服务承载(IIS Hosting IIS宿主)
C#.NET IP端口绑定SSL证书支持HTTPS协议(用于Win服务承载WebApi服务器) - C/S框架网原创
运行环境
WCF ServerHost承载优缺点
AspNet WebAPI后端框架消息处理机制(配置属性HttpConfiguration.MessageHandlers)
微信小程序使用https协议的WebApi后端应用服务(Win服务宿主或承载
WebApi架构详解,WebApi接口搭建与部署WebApi服务器
原创WebApi框架:采用HTTPS协议SelfHosting,Windows服务承载WebApi服务
ASPNET WebAPI后端框架全局异常跟踪及处理机制,保存系统异常消息日志
WebApi实例教程和使用方法:部署和发布WebApi到IIS服务器