IFirewallDBServices UseDatabase( string connectionString )
Parameters
- connectionString
- database connection string (MARS and Pooling are mandatory and will be enabled)
Return Value
Interface used to register database add-ons
IFirewallDBServices UseDatabase( string connectionString )
services.AddFireWall( FireWallTrial.License , FireWallTrial.DomainKey , domainName: new Uri("https://www.your-domain.dll", UriKind.Absolute) , options => { //set your options }).UserDatabase( connectionString:Configuration.GetConnectionString("FireWall")); services.AddMvc(options => { options.Filters.Add<Walter.Web.FireWall.Filters.FireWallFilter>(); options.Filters.Add<Walter.Web.FireWall.Filters.PrivacyPreferencesFilter>(); }).AddApplicationPart(Assembly.GetAssembly(typeof(Walter.Web.FireWall.DefaultEndpoints.ReportingController)));
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2