Setup of Application in IIS 10

Francis Carroll asked on December 13, 2022 12:18

Hey,

I have a quick query for ASP .net core applications running on IIS10.

For the application pools of the site i have the admin running .NET CLR Version 4.0 and the front end on No Managed Code.

Is this the prefered approach? Is there downsides to having the front end as unmanaged code?Are there are other options i should have setup that i could be missing?

Thanks

Correct Answer

Brenden Kehren answered on December 13, 2022 17:24

The perefect set up is:

  • MVC .NET 6.0 = Unmanaged Code app pool
  • CMS ASP.NET 4.8 = .NET 4.0 app pool

If you attempt to run the MVC site (.NET core 3.1 or .NET 5.0,6.0) as .NET 4.0, it won't run or you'll get errors.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Francis Carroll answered on December 14, 2022 09:00

Thanks Brenden

0 votesVote for this answer Mark as a Correct answer

YOWARAJ CHHETRI answered on December 20, 2022 05:42

It worked in my case for .Net 6.0 MVC Site with .Net CLR Version v4.0.x app pool settings.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.