WIN7下IIS7.5部署net core 2.0应用

本文详细介绍了如何在WIN7系统的IIS7.5上部署.NET Core 2.0应用程序,包括以文件系统方式发布项目,开启IIS服务,安装必要的组件如c++2015和.NET Core Windows Server Hosting,以及通过修改应用程序池设置和添加IIS_IUSERS权限来完成部署。在遇到502错误时,提供了解锁配置和使用appcmd解锁handlers的解决办法。
摘要由CSDN通过智能技术生成

0.发布项目

以文件系统方式发布项目
发布配置如下:
这里写图片描述

1.开启IIS服务

这里写图片描述

2.安装组件

c++2015 :vc_redist
.net core windows server hosting:Hosting Bundle Installer 注意下载正确版本,hosting版本>=.net core版本
已安装请忽略

3.部署

  1. 打开IIS管理器,右击网站 => 添加网站,添加发布的文件系统
    这里写图片描述
    点击确定

  2. 点击

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
[.Net] Professional.C#.7.and.NET.Core.2.0英文原版书籍 Author:Nagel, Christian /Pages Number:1200页 源码11.8M,epub格式30M,pdf格式40M Professional C# 7 and .NET Core 2.0 provides experienced programmers with the information they need to work effectively with the world’s leading programming language. The latest C# update added many new features that help you get more done in less time, and this book is your ideal guide for getting up to speed quickly. C# 7 focuses on data consumption, code simplification, and performance, with new support for local functions, tuple types, record types, pattern matching, non-nullable reference types, immutable types, and better support for variables. Improvements to Visual Studio will bring significant changes to the way C# developers interact with the space, bringing .NET to non-Microsoft platforms and incorporating tools from other platforms like Docker, Gulp, and NPM. Guided by a leading .NET expert and steeped in real-world practicality, this guide is designed to get you up to date and back to work. With Microsoft speeding up its release cadence while offering more significant improvement with each update, it has never been more important to get a handle on new tools and features quickly. This book is designed to do just that, and more—everything you need to know about C# is right here, in the single-volume resource on every developer’s shelf. Tour the many new and enhanced features packed into C# 7 and .NET Core 2.0 Learn how the latest Visual Studio update makes developers’ jobs easier Streamline your workflow with a new focus on code simplification and performance enhancement Delve into improvements made for localization, networking, diagnostics, deployments, and more
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值