如何知道共享主机(GoDaddy)是否支持ASP.NET Web API [英] How to know if shared host (GoDaddy) supports ASP.NET Web API

查看:57
本文介绍了如何知道共享主机(GoDaddy)是否支持ASP.NET Web API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试确定是否可以在GoDaddy上部署Web API应用程序,但找不到合适的答案.我最接近的是此链接:

I'm trying to figure out if it is possible to deploy a Web API application on GoDaddy but could not find a good answer. The closest I came was this link:

http://support.godaddy.com/groups/web-hosting/forum/topic/go-daddy-compatible-with-asp-net-mvc-4-razor-syntaxe/

有没有办法确定共享主机是否支持ASP.NET Web API?

Is there a way I can tell if a shared host supports ASP.NET Web API?

推荐答案

在实践中,就托管而言,没有ASP.NET Web API支持的概念.您真正应该做的是将 ASP.NET Web API NuGet程序包安装到您的项目和程序集中通过此程序包可以进行bin部署.

In practice, there is no concept as ASP.NET Web API support in terms of hosting. What you should really be doing is to install the ASP.NET Web API NuGet package into your project and the assemblies you get through this package are bin deployable.

在托管方面,您需要在托管选项上寻找的是对IIS 7或更高版本的支持(我不支持IIS 6,但我不确定),. NET 4.0或更高版本(.NET 4.5现在更高)和集成应用程序池可用性.如果有的话,ASP.NET Web API应用程序应该可以在IIS下运行而没有任何问题.

In terms of hosting, What you need to be looking for on your hosting options is the support for IIS 7 or higher (I don't think IIS 6 is supported but I am not sure), .NET 4.0 or higher (the higher is .NET 4.5 now) and Integrated Application Pool availability. If you have those, an ASP.NET Web API application should run without any problems under IIS.

如果您请求主机提供商提供对ASP.NET Web API的支持,则他们很可能不知道答案.相反,您可以要求我上面列出的功能.

If you ask the hosting provider for support for ASP.NET Web API, it is likely that they won't know the answer. Instead, you can ask for the features that I listed above.

这篇关于如何知道共享主机(GoDaddy)是否支持ASP.NET Web API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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