没有IIS的主机C#Web应用程序 [英] Host C# web application without IIS

查看:110
本文介绍了没有IIS的主机C#Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



实际上我已经开发了一个C#Web应用程序,现在我想将我发布的文件托管到我的计算机的IIS中。但现在问题是,我正在为一个银行项目工作,所以我没有管理员权限在IIS中执行此托管过程。我接受了管理员的帮助,他通过远程访问在我的机器上尝试了它。然后他甚至无法在机器中找到文件夹(Published文件夹)。在IIS中,它显示了自IIS通过其凭据打开后的桌面和自己的文件夹。那么有没有其他可能的方式来托管应用程序而不是IIS或Internet。现在这两种可能性几乎是不可能的。



我尝试了什么:



实际上我已经开发了一个C#Web应用程序,现在我想将我发布的文件托管到我的计算机的IIS中。但现在问题是,我正在为一个银行项目工作,所以我没有管理员权限在IIS中执行此托管过程。我接受了管理员的帮助,他通过远程访问在我的机器上尝试了它。然后他甚至无法在机器中找到文件夹(Published文件夹)。在IIS中,它显示了自IIS通过其凭据打开后的桌面和自己的文件夹。那么有没有其他可能的方式来托管应用程序而不是IIS或Internet。现在这两种可能性几乎是不可能的。

Hi All,

Actually i have developed a C# web application and now i want to host my published file to IIS of my computer. But now the problem is, i am working for a banking project so i dont have admin access to do this hosting process in IIS. I took the help of my administrator and he tried it in my machine via taking remote access. Then he couldn't able to even find the folder(Published folder) in machine. In IIS its showing his desktop and his own folders since IIS opened via his credentials. So is there any other possible way to host the application rather than IIS or internet. Now both these possibilities are almost impossible.

What I have tried:

Actually i have developed a C# web application and now i want to host my published file to IIS of my computer. But now the problem is, i am working for a banking project so i dont have admin access to do this hosting process in IIS. I took the help of my administrator and he tried it in my machine via taking remote access. Then he couldn't able to even find the folder(Published folder) in machine. In IIS its showing his desktop and his own folders since IIS opened via his credentials. So is there any other possible way to host the application rather than IIS or internet. Now both these possibilities are almost impossible.

推荐答案

从Visual Studio中运行项目。它将启动一个IIS Express实例来托管您的应用程序。



注意:这仅用于开发和测试目的。如果您想让其他人使用您的应用程序,那么您需要将其托管在服务器上。在工作站上托管不是一个选项 - 包含的IIS版本限制为10个并发连接。



您的网络管理员应该授予您发布应用程序的权限服务器,或让您向他们发送已发布的输出,以便他们可以将其部署到服务器。
Run the project from within Visual Studio. It will launch an instance of IIS Express to host your application.

NB: This is for development and testing purposes only. If you want to make your application available to others, then you'll need to host it on a server. Hosting on a workstation is not an option - the included version of IIS is limited to 10 concurrent connections.

Your network administrator should either give you access to publish the application to a server, or get you to send them the published output so that they can deploy it to a server.


这篇关于没有IIS的主机C#Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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