We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7769df0 + bd26932 commit 60494c5Copy full SHA for 60494c5
src/React/AssemblyRegistration.cs
@@ -36,7 +36,7 @@ public void Register(TinyIoCContainer container)
36
{
37
// One instance shared for the whole app
38
container.Register<IReactSiteConfiguration>((c, o) => ReactSiteConfiguration.Configuration);
39
- container.Register<IFileCacheHash, FileCacheHash>().AsSingleton();
+ container.Register<IFileCacheHash, FileCacheHash>().AsPerRequestSingleton();
40
container.Register<IJavaScriptEngineFactory, JavaScriptEngineFactory>().AsSingleton();
41
42
container.Register<IReactEnvironment, ReactEnvironment>().AsPerRequestSingleton();
0 commit comments