Selfhosted MVC 5项目

编程入门 行业动态 更新时间:2024-10-28 10:21:39
本文介绍了Selfhosted MVC 5项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嘿你知道如何运行的MVC 5项目没有IIS或IIS防爆preSS在您的桌面上的本地?

Hey there do you know how to run a MVC 5 Project without IIS or IIS Express local on your desktop ?

在ASP.NET vNext有它所做的可能一个WebListener但我不能reorganice我的项目ASP.NET vNext。

In ASP.NET vNext there is a WebListener which made that possible but I can't reorganice my project to ASP.NET vNext.

有没有在ASP.NET vNext?

Is there any possibility running a MVC 5 Project as well as in ASP.NET vNext?

推荐答案

看起来不像其他的答案居然回答你的问题。简短的回答是否定的,你不能自我主机MVC 5,因为它依赖于IIS。如果你想有一个自我托管的Web应用程序,你要么端口现有的应用程序,例如,南希,或等待MVC 6的版本,它确实可以自行主办。或者,你可以看看网页API,在目前的版本中还可以自主办。

Doesn't look like the other answers actually answer your question. The short answer is no, you cannot self host MVC 5, since it is dependent on IIS. If you want a self hosted web application, you either have to port your existing application to, for example, Nancy, or wait for the release of MVC 6 which can indeed be self hosted. Alternatively, you can look into Web Api, where the current version also can be self hosted.

更多推荐

Selfhosted MVC 5项目

本文发布于:2023-07-15 23:03:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1115279.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   Selfhosted   MVC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!