Share via

Does IIS 10 support Full Trust level for ASP.net MVC5 apps?

Jean Vallee 21 Reputation points
2024-07-08T14:29:26.86+00:00

I have an ASP.net MVC5 app that I want to publish using a different host provider than the one I have now.

Currently the app is running with CAS trust level FULL.

I found this reference about trust levels earlier:

"ASP.NET MVC 5 does not support running in anything other than full trust. Microsoft have provided guidance for hosters to move away from using CAS trust levels and use proper OS-level isolation instead."

The new host says they are running Server 2019 and IIS10 and the previous statement does no apply. They only support trust level of HIGH and below.

Can someone please asnswer this definitively as to whether IIS10 and Sever 2019 support CAS FULL level or not?

Windows for business | Windows Server | User experience | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Michael Taylor 61,221 Reputation points
    2024-07-08T15:05:42.39+00:00

    CAS isn't really supported or used by the framework anymore. You can run MVC5 apps on IIS 10/Server 2019 with no issues. You can run MVC5 on really any version of IIS.

    Unless your app is explicitly using CAS for something (and you shouldn't be nor has it been recommended for over a decade) then you won't have any issues.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.