IIS Express,ASP.NET Core-无效的URI:无法解析主机名 [英] IIS Express, ASP.NET Core - Invalid URI: The hostname could not be parsed

查看:297
本文介绍了IIS Express,ASP.NET Core-无效的URI:无法解析主机名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从我的周末回来,去调试我的Web项目,它是ASP.NET Core Web Api.它开始给我一个错误:无效的URI:无法解析主机名.

Back from my weekend and went to debug my web project which is an ASP.NET Core Web Api. It started giving me an error: Invalid URI: The hostname could not be parsed.

我可以启动一个新的asp.net核心Web api项目,并且调试良好,因此我可以肯定我对该项目的配置是否正确.有什么想法吗?

I can start a new asp.net core web api project and it debugs fine so I'm pretty sure its something with my configuration for this project. Any ideas?

詹姆斯

推荐答案

解决方案:

  1. 关闭Visual Studio
  2. 删除.vs文件夹

已修复:)

这篇关于IIS Express,ASP.NET Core-无效的URI:无法解析主机名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆