Method | Description | |
---|---|---|
InstallWizard ( ) : System | ||
Run ( |
Run the process to install the database and users.
|
|
UpdateConfig ( |
Method | Description | |
---|---|---|
AddUsers ( |
Add users and roles inside a transaction in case there's an exception, we can simply click the "Install" button again.
|
|
CreateMembership ( |
Create the Membership database and set the roles and users.
|
|
ExecuteStatements ( string tableStatements, |
This will execute the sql statements.
|
|
Fix ( ) : void |
Fix an anomaly in the WebConfigurationManager Save method that encodes """ to "".
|
|
GetScriptStatements ( string p ) : string[] |
This gets individual script statements from the sql script.
|
|
GetScriptStatements ( string p, StringSplitOptions options ) : string[] | ||
ProviderCheck ( ) : void |
Check that the correct providers are referenced for the Membership system. This version of MvcInstaller does NOT use the new SimpleMembershipProviders. It still uses the System.Web.Providers namespace.
|
|
RemoveAppInstalledKey ( ) : void |
Remove the AppInstalled key from the appsettings section.
|
|
ResetDb ( |
This is used before the System.Web.Management.SqlServices.Uninstall class to remove any constraints that you may have put on your table and the aspnet Db tables. You create the scripts and drop them into the App_Data\Reset folder.
|
|
RunScripts ( |
Run the sql scripts in the location set in the installer.config file.
|
|
UpdateWebConfig ( |
Write the new connection string to the web.config file and update the membership sections if necessary.
|
public static Run ( |
||
config | ||
return | void |
public static UpdateConfig ( |
||
config | ||
return | void |