namespace: Serenity.Extensions.DependencyInjection assembly: Serenity.Net.Web
Activates script file watching
public static IServiceProvider UseScriptWatching(this IServiceProvider serviceProvider)
parameter | description |
---|---|
serviceProvider | Service provider |
namespace: Serenity.Extensions.DependencyInjection assembly: Serenity.Net.Web
Activates script file watching
public static IServiceProvider UseScriptWatching(this IServiceProvider serviceProvider,
params string[] scriptPaths)
parameter | description |
---|---|
serviceProvider | Service provider |
scriptPaths | List of script paths to watch |
exception | condition |
---|---|
ArgumentNullException | serviceProvider or scriptPaths is null |
InvalidOperationException | Script bundle manager is not registered |