[英]If possible can you host a .Net core web API from it's solution/project folder and debug though IIS
I am wondering if it is possible to run a .net core Web API application from its solution/project folder in IIS. 我想知道是否有可能从IIS中的解决方案/项目文件夹中运行.net核心Web API应用程序。
Currently, I can do this with standard .net and IIS and it works great but I've had no luck doing this .net core or able to find any information regarding this. 目前,我可以使用标准的.net和IIS来完成此任务,并且效果很好,但是我对使用.net核心或找到任何与此相关的信息并不满意。
I have been successful in publishing and hosting the API, I imagine I can debug using that method? 我已经成功发布和托管了API,我想我可以使用该方法进行调试吗? but may not be ideal.
但可能并不理想。 (just tested this with no luck but will continue to follow up)
(只是对此进行了幸运的测试,但会继续跟进)
(I'm fairly new .net core as I've inherited a .net core API) (由于继承了.net核心API,因此我是一个相当新的.net核心)
Thanks in advance. 提前致谢。
https://blogs.msdn.microsoft.com/webdev/2017/07/13/development-time-iis-support-for-asp-net-core-applications/ https://blogs.msdn.microsoft.com/webdev/2017/07/13/development-time-iis-support-for-asp-net-core-applications/
Thanks, Lexi, just what I was looking for. 谢谢,Lexi,正是我想要的。
I hope this helps someone else with the same question. 我希望这可以帮助其他有同样问题的人。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.