How to know if shared host (GoDaddy) supports ASP.NET Web API [closed]

ε祈祈猫儿з 提交于 2019-11-28 04:51:35

问题


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/

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


回答1:


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.

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.

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.




回答2:


If it supports MVC4 I think it us unlikely WebAPI wouldn't work.



来源:https://stackoverflow.com/questions/12702452/how-to-know-if-shared-host-godaddy-supports-asp-net-web-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!