i want to host my asp.net mvc-5 with asp.net 4.5 inside go-daddy so does go-daddy supports asp.net mvc-5 & asp.net 4.5 ?
Thanks
i want to host my asp.net mvc-5 with asp.net 4.5 inside go-daddy so does go-daddy supports asp.net mvc-5 & asp.net 4.5 ?
Thanks
You can run MVC 5 on any windows host as long as you make sure you provived the MVC .dll's required.
On godaddys Site. Link
When you publish your site using an MVC4 or MCV5 application, make sure you have .NET include the MVC dlls; they're included by default, so there's no action required on your end. You might also need to upload assemblies you want to use to a bin specific to your project.
For MVC5 applications using Entity Framework, you'll also need to change your CAS priv to "Full."
The type of web hosting account you need for MVC is call Plesk Shared Hosting
Only our Plesk Shared Hosting accounts support MVC4 and MCV5 applications.
DO YOUR HOSTING ACCOUNTS SUPPORT MVC4 AND MCV5 APPLICATIONS?
Stay away from Godaddy on ASP.Net using shared hosting because:
I got the following information online:
I asked the asp.net team directly and this was their response We officially announced that partial trust is no longer a trust boundary for the purposes of application isolation last year (http://support.microsoft.com/kb/2698981) and as such our recommendation to shared hosting providers is to not use it anymore. Moving forward, we will not be supporting partial trust for new framework features we develop for this reason. I know lots of people using shared hosting and since host providers won't ever give full trust to their shared hosting products I am guessing Microsoft made this decision so they can get more clients on Azure.
When I asked Godaddy to provide the full trust requiered. Godaddy said that testing on their server works and that these were not the problem but something on my solution. I included and used Full, Medium and Low
<system.web>
<customErrors mode="Off"/>
<trust level="Full" />
</system.web>
And I tried many other suggestions I researched but my application was allyays blocked for a police server. Anything worked. I got:
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.