Exemplo n.º 1
0
        /// <summary>
        /// Transparently handles preview URLs and also disables output caching in preview mode.
        /// </summary>
        /// <param name="builder">The application builder.</param>
        public static void UsePreview(this ApplicationBuilder builder)
        {
            var module = new PreviewFeatureModule();

            builder.RegisterModule(module);
        }
 /// <summary>
 /// Transparently handles preview URLs and also disables output caching in preview mode.
 /// </summary>
 /// <param name="builder">The application builder.</param>
 public static void UsePreview(this ApplicationBuilder builder)
 {
     var module = new PreviewFeatureModule();
     builder.RegisterModule(module);
 }