Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF Web application firewall for .Net 6, .Net 5, .Net Standard 2.1 and .Net Core 3.x

DbState Class

Database state for the firewall allows you to specify the configuration options to use

Namespace:  Microsoft.Extensions.DependencyInjection
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)

Syntax


public class DbState

Remarks


The connection string will assign the connection string based on each configuration. Changing the state at runtime will have no effect as databases are initialized during application start. If you change the configuration later you may end-up having orphaned database tables containing old state data