diff --git a/Oqtane.Client/Oqtane.Client.csproj b/Oqtane.Client/Oqtane.Client.csproj index 034ec87b..72c6447c 100644 --- a/Oqtane.Client/Oqtane.Client.csproj +++ b/Oqtane.Client/Oqtane.Client.csproj @@ -22,10 +22,10 @@ - - - - + + + + diff --git a/Oqtane.Database.PostgreSQL/Oqtane.Database.PostgreSQL.csproj b/Oqtane.Database.PostgreSQL/Oqtane.Database.PostgreSQL.csproj index 789a6611..111a1251 100644 --- a/Oqtane.Database.PostgreSQL/Oqtane.Database.PostgreSQL.csproj +++ b/Oqtane.Database.PostgreSQL/Oqtane.Database.PostgreSQL.csproj @@ -34,7 +34,7 @@ - + diff --git a/Oqtane.Database.SqlServer/Oqtane.Database.SqlServer.csproj b/Oqtane.Database.SqlServer/Oqtane.Database.SqlServer.csproj index 61124187..48f7282f 100644 --- a/Oqtane.Database.SqlServer/Oqtane.Database.SqlServer.csproj +++ b/Oqtane.Database.SqlServer/Oqtane.Database.SqlServer.csproj @@ -33,7 +33,7 @@ - + diff --git a/Oqtane.Database.Sqlite/Oqtane.Database.Sqlite.csproj b/Oqtane.Database.Sqlite/Oqtane.Database.Sqlite.csproj index 2a41a397..1fa10f5b 100644 --- a/Oqtane.Database.Sqlite/Oqtane.Database.Sqlite.csproj +++ b/Oqtane.Database.Sqlite/Oqtane.Database.Sqlite.csproj @@ -33,7 +33,7 @@ - + diff --git a/Oqtane.Server/--appsettings.json b/Oqtane.Server/--appsettings.json new file mode 100644 index 00000000..d670835f --- /dev/null +++ b/Oqtane.Server/--appsettings.json @@ -0,0 +1,63 @@ +{ + "RenderMode": "Interactive", + "Runtime": "Server", + "Database": { + "DefaultDBType": "Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer" + }, + "ConnectionStrings": { + "DefaultConnection": "Data Source=(LocalDb)\\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\\Oqtane-Fork.mdf;Initial Catalog=Oqtane-Fork;Integrated Security=SSPI;Encrypt=false;" + }, + "Installation": { + "DefaultAlias": "", + "HostPassword": "", + "HostEmail": "", + "SiteTemplate": "", + "DefaultTheme": "", + "DefaultContainer": "" + }, + "Localization": { + "DefaultCulture": "en" + }, + "AvailableDatabases": [ + { + "Name": "LocalDB", + "ControlType": "Oqtane.Installer.Controls.LocalDBConfig, Oqtane.Client", + "DBType": "Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer" + }, + { + "Name": "SQL Server", + "ControlType": "Oqtane.Installer.Controls.SqlServerConfig, Oqtane.Client", + "DBType": "Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer" + }, + { + "Name": "SQLite", + "ControlType": "Oqtane.Installer.Controls.SqliteConfig, Oqtane.Client", + "DBType": "Oqtane.Database.Sqlite.SqliteDatabase, Oqtane.Database.Sqlite" + }, + { + "Name": "MySQL", + "ControlType": "Oqtane.Installer.Controls.MySQLConfig, Oqtane.Client", + "DBType": "Oqtane.Database.MySQL.MySQLDatabase, Oqtane.Database.MySQL" + }, + { + "Name": "PostgreSQL", + "ControlType": "Oqtane.Installer.Controls.PostgreSQLConfig, Oqtane.Client", + "DBType": "Oqtane.Database.PostgreSQL.PostgreSQLDatabase, Oqtane.Database.PostgreSQL" + } + ], + "Logging": { + "FileLogger": { + "LogLevel": { + "Default": "Error" + } + }, + "LogLevel": { + "Default": "Information" + } + }, + "InstallationId": "b9ab2e37-8983-40ef-83cd-1e3285129a6c", + "ReCaptcha": { + "SiteKey": "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI", + "SecretKey": "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe" + } +} \ No newline at end of file diff --git a/Oqtane.Server/--appsettings.release.json b/Oqtane.Server/--appsettings.release.json new file mode 100644 index 00000000..3b74ae04 --- /dev/null +++ b/Oqtane.Server/--appsettings.release.json @@ -0,0 +1,48 @@ +{ + "RenderMode": "Interactive", + "Runtime": "Server", + "Database": { + "DefaultDBType": "" + }, + "ConnectionStrings": { + "DefaultConnection": "" + }, + "Installation": { + "DefaultAlias": "", + "HostPassword": "", + "HostEmail": "", + "SiteTemplate": "", + "DefaultTheme": "", + "DefaultContainer": "" + }, + "Localization": { + "DefaultCulture": "en" + }, + "AvailableDatabases": [ + { + "Name": "LocalDB", + "ControlType": "Oqtane.Installer.Controls.LocalDBConfig, Oqtane.Client", + "DBType": "Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer" + }, + { + "Name": "SQL Server", + "ControlType": "Oqtane.Installer.Controls.SqlServerConfig, Oqtane.Client", + "DBType": "Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer" + }, + { + "Name": "SQLite", + "ControlType": "Oqtane.Installer.Controls.SqliteConfig, Oqtane.Client", + "DBType": "Oqtane.Database.Sqlite.SqliteDatabase, Oqtane.Database.Sqlite" + }, + { + "Name": "MySQL", + "ControlType": "Oqtane.Installer.Controls.MySQLConfig, Oqtane.Client", + "DBType": "Oqtane.Database.MySQL.MySQLDatabase, Oqtane.Database.MySQL" + }, + { + "Name": "PostgreSQL", + "ControlType": "Oqtane.Installer.Controls.PostgreSQLConfig, Oqtane.Client", + "DBType": "Oqtane.Database.PostgreSQL.PostgreSQLDatabase, Oqtane.Database.PostgreSQL" + } + ] +} diff --git a/Oqtane.Server/Oqtane.Server.csproj b/Oqtane.Server/Oqtane.Server.csproj index 7530c9c0..d5c51ea8 100644 --- a/Oqtane.Server/Oqtane.Server.csproj +++ b/Oqtane.Server/Oqtane.Server.csproj @@ -34,19 +34,19 @@ - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + + diff --git a/Oqtane.Server/appsettings.release.json b/Oqtane.Server/appsettings.release.json index 3b74ae04..8549fa0b 100644 --- a/Oqtane.Server/appsettings.release.json +++ b/Oqtane.Server/appsettings.release.json @@ -1,6 +1,6 @@ { - "RenderMode": "Interactive", "Runtime": "Server", + "RenderMode": "ServerPrerendered", "Database": { "DefaultDBType": "" }, diff --git a/Oqtane.Shared/Oqtane.Shared.csproj b/Oqtane.Shared/Oqtane.Shared.csproj index 1b61bcef..ab34bf21 100644 --- a/Oqtane.Shared/Oqtane.Shared.csproj +++ b/Oqtane.Shared/Oqtane.Shared.csproj @@ -19,11 +19,11 @@ - - - + + + - +