简体   繁体   English

主机不支持.Net Framework v4

[英]Host doesn't support .Net Framework v4

I have developed a small application using silverlight with .Net framework v4 which was hosted internally. 我已经使用Silverlight和内部托管的.Net Framework v4开发了一个小型应用程序。 Now I was asked to deploy it to the web host of my company. 现在,我被要求将其部署到公司的Web主机上。 I found that the web host (NetworkSolutions.com) doesn't support v4! 我发现虚拟主机(NetworkSolutions.com)不支持v4! .. ..

How can I go about solving this issue? 我该如何解决这个问题? .. i mean is there a way to use v2 instead .. i expect this will break my code badly.. (given that I'm also using RIA services (wcf)) ..我的意思是有一种方法可以代替使用v2 ..我希望这会严重破坏我的代码..(考虑到我也在使用RIA服务(wcf))

It can be a noob question but i'm sorry i'm not that experienced with web hosting. 这可能是一个菜鸟问题,但很抱歉,我对网络托管没有那么丰富的经验。 I have always hosted my applications internally. 我一直在内部托管我的应用程序。

Well, WCF came in .NET 3.5 - so if they support 3.5 you may not need to change very much. 那么,WCF排在.NET 3.5 -所以,如果他们支持3.5,你可能并不需要发生很大的变化。 I suggest you: 我建议你:

  • Check that the hosting company supports .NET 3.5 检查托管公司是否支持.NET 3.5
  • Change the target of your project to .NET 3.5 将项目目标更改为.NET 3.5
  • Fix up any errors locally - hopefully not too many, if you're not using too many .NET 4 features 在本地修复所有错误-如果您没有使用太多 .NET 4功能,则希望不要太多
  • Deploy to the hosting company 部署到托管公司

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM