Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Change default setting EnableRuntimeCompilation in appsettings.json

support01f21c8841fe
diff --git a/src/Web/Grand.Web/App_Data/appsettings.json b/src/Web/Grand.Web/App_Data/appsettings.json
index 486b2b99f..c74665694 100644
--- a/src/Web/Grand.Web/App_Data/appsettings.json
+++ b/src/Web/Grand.Web/App_Data/appsettings.json
@@ -66,7 +66,7 @@
"UseHsts": false,
//When enabled, allow Razor files to be updated if they're edited.
- "EnableRuntimeCompilation": true,
+ "EnableRuntimeCompilation": false,
//We recommend all ASP.NET Core web apps call HTTPS Redirection Middleware to redirect all HTTP requests to HTTPS
"UseHttpsRedirection": false,