简体   繁体   中英

Host doesn't support .Net Framework v4

I have developed a small application using silverlight with .Net framework v4 which was hosted internally. Now I was asked to deploy it to the web host of my company. I found that the web host (NetworkSolutions.com) doesn't support 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))

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. I suggest you:

  • Check that the hosting company supports .NET 3.5
  • Change the target of your project to .NET 3.5
  • Fix up any errors locally - hopefully not too many, if you're not using too many .NET 4 features
  • Deploy to the hosting company

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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