Try our conversational search powered by Generative AI!

Episerver on .net 4.7 framework


Are there any information about running epi on .net 4.7 for the latest version of CMS?

Jun 19, 2017 11:15

Would like to know as well. We're trying it now in a new project. We are having some trouble with Structuremap. It says .Container is depricated and we should use .StructureMap(). This method needs a new version of Structuremap but this is not supported by Episerver so it seems.

Not quite sure if this is related to us using .NET 4.7 however. Just want to know if there are others with this issue while using 4.7.

Jun 19, 2017 16:02

Hi Eric,

I didn't experience any issues after upgrade to .net 4.7

Jun 19, 2017 20:29

I have not experienced any problem so far either but it would be great if we could have an system req update or something telling it support this version. Some customers or their hosting require these "official" documentation sadly :)

Jun 19, 2017 21:29

We are expereiencing as slow down on performance after upgrading. The same shopping cart page used to take .5 seconds to load and now it is like 4 seconds. 

Wondering if there is any caching issue with this version? 



Jul 21, 2017 21:03

Syed,  Is your problem related to upgrading to .NET 4.7, or to a new Commerce version?  If Commerce, to which version did you recently upgrade?

Jul 21, 2017 21:14

Lindy. that you should use .StructureMap() have nothing to do with .NET 4.7 or a newever version of StructureMap. The .StructureMap() is an extension to ServiceConfigurationContext that episerver have made in the Episerver.Framework lib.

So when you inherit from IConfigurableModule and in the ConfigureContainer function, you should use

context.StructureMap().Configure(c =>

instead of 

context.Container.Configure(c =>
Jul 21, 2017 21:57

We are seeing big slowdown in performance the application is swithed to .net framework 4.7. Same EPI Version. 




Jul 22, 2017 0:57


I believe it has something to do with the new version of Episerver: it required me to update Structuremap but Episerver cannot work with this newer version of Structuremap. It took me some time but after a while I managed to get it working and it didn't say it was depricated anymore. I'm not quite sure how it came to be that it started working again all of a sudden.

Jul 24, 2017 9:10

Syed, Which version of Commerce are you using?

Jul 24, 2017 15:32

Hi Bob, 

We are using 10.10.

I think the issue is with caching. Microsoft .net 4.7 has some issue with caching 

Working with EPI's support team to see what can be done.

Thanks, Syed 

Jul 24, 2017 16:42

Having same big issues with caching. Don`t move to 4.7 if you can, wait for the patch from MS!

Aug 01, 2017 12:52

This might be helpful to you 

Aug 02, 2017 22:11

I came here to post the very same thing. I'm working on a performance issue and couldn't understand why I was getting cache misses locally, but not in production or uat.

Aug 03, 2017 18:02

Safe to use 4.7 now?

Aug 23, 2017 11:08

If you are on CMS Core 10.10.2 or 9.12.5 then this specific caching issue is resolved. 

EDIT: Checked with QAs, we already tested with .NET 4.7, so it should be supported

Edited, Aug 23, 2017 11:19
<p>Thank you.</p>
Aug 23, 2017 11:52
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.