Browse Source

Merge branch 'rel-5.3' into liangshiwei/externalLogin

pull/12712/head
liangshiwei 4 years ago
parent
commit
0b4055b951
  1. 2
      common.props
  2. 10
      docs/en/Themes/LeptonXLite/blazor.md
  3. 2
      framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageHeader.razor
  4. 7
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/App/AppTemplateBase.cs
  5. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Module/ModuleTemplateBase.cs
  6. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Properties/launchSettings.json
  7. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/appsettings.json
  8. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json
  9. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json
  10. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/Properties/launchSettings.json
  11. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/appsettings.json
  12. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Properties/launchSettings.json
  13. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/appsettings.json
  14. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Properties/launchSettings.json
  15. 4
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/appsettings.json
  16. 6
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Properties/launchSettings.json
  17. 4
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/appsettings.json
  18. 6
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/Properties/launchSettings.json
  19. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/appsettings.json
  20. 6
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json
  21. 6
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json
  22. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/appsettings.json
  23. 6
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/Properties/launchSettings.json
  24. 2
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/wwwroot/appsettings.json
  25. 6
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Properties/launchSettings.json
  26. 6
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/appsettings.json
  27. 27
      templates/module/aspnet-core/src/MyCompanyName.MyProjectName.Web/Properties/launchSettings.json

2
common.props

@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Version>5.3.0-rc.1</Version>
<Version>5.3.0-rc.2</Version>
<NoWarn>$(NoWarn);CS1591;CS0436</NoWarn>
<PackageIconUrl>https://abp.io/assets/abp_nupkg.png</PackageIconUrl>
<PackageProjectUrl>https://abp.io/</PackageProjectUrl>

10
docs/en/Themes/LeptonXLite/blazor.md

@ -18,9 +18,10 @@ LeptonX Lite has implementation for the ABP Framework Blazor WebAssembly & Blazo
{{if UI == "Blazor"}}
- Complete the [MVC Razor Pages Installation](mvc.md#installation) for the **HttpApi.Host** application first. _If the solution is tiered/micro-service, complete the MVC steps for all MVC applications such as **HttpApi.Host** and if identity server is separated, install to the **IdentityServer**_.
- Add **Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXLiteTheme** package to your **Blazor WebAssembly** application.
- Add **Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXLiteTheme** package to your **Blazor WebAssembly** application with the following command:
```bash
dotnet add package Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXLiteTheme
dotnet add package Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXLiteTheme --prerelease
```
- Remove **Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme** reference from the project since it's not necessary after switching to LeptonX Lite.
@ -53,9 +54,10 @@ builder.RootComponents.Add<App>("#ApplicationContainer");
- Complete the [MVC Razor Pages Installation](mvc.md#installation) first. _If the solution is tiered/micro-service, complete the MVC steps for all MVC applications such as **HttpApi.Host** and **IdentityServer**_.
- Add **Volo.Abp.AspNetCore.Components.Server.LeptonXLiteTheme** package to your **Blazor server** application.
- Add **Volo.Abp.AspNetCore.Components.Server.LeptonXLiteTheme** package to your **Blazor server** application with the following command:
```bash
dotnet add package Volo.Abp.AspNetCore.Components.Server.LeptonXLiteTheme
dotnet add package Volo.Abp.AspNetCore.Components.Server.LeptonXLiteTheme --prerelease
```
- Remove **Volo.Abp.AspNetCore.Components.Server.BasicTheme** reference from the project since it's not necessary after switching to LeptonX Lite.

2
framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageHeader.razor

@ -7,7 +7,7 @@
@if(Options.Value.RenderPageTitle)
{
<Column ColumnSize="ColumnSize.IsAuto">
<h5 class="content-header-title">@PageLayout.Title</h5>
<h1 class="content-header-title">@PageLayout.Title</h1>
</Column>
}

7
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/App/AppTemplateBase.cs

@ -406,7 +406,12 @@ public abstract class AppTemplateBase : TemplateInfo
"https://localhost:44301",
"https://localhost:44302",
"https://localhost:44303",
"https://localhost:44305"
"https://localhost:44304",
"https://localhost:44305",
"https://localhost:44306",
"https://localhost:44307",
"https://localhost:44308",
"https://localhost:44309"
}
)
);

4
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Module/ModuleTemplateBase.cs

@ -90,7 +90,9 @@ public abstract class ModuleTemplateBase : TemplateInfo
"https://localhost:44300",
"https://localhost:44301",
"https://localhost:44302",
"https://localhost:44303"
"https://localhost:44303",
"https://localhost:44304",
"https://localhost:44305"
}));
}

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44313/",
"sslPort": 44313
"applicationUrl": "https://localhost:44300/",
"sslPort": 44300
}
},
"profiles": {
@ -19,7 +19,7 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"applicationUrl": "https://localhost:44313/",
"applicationUrl": "https://localhost:44300/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/appsettings.json

@ -1,13 +1,13 @@
{
"App": {
"SelfUrl": "https://localhost:44313",
"RedirectAllowedUrls": "https://localhost:44313"
"SelfUrl": "https://localhost:44300",
"RedirectAllowedUrls": "https://localhost:44300"
},
"ConnectionStrings": {
"Default": "mongodb://localhost:27017/MyProjectName",
},
"AuthServer": {
"Authority": "https://localhost:44313",
"Authority": "https://localhost:44300",
"RequireHttpsMetadata": "false"
},
"StringEncryption": {

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44313/",
"sslPort": 44313
"applicationUrl": "https://localhost:44300/",
"sslPort": 44300
}
},
"profiles": {
@ -19,7 +19,7 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"applicationUrl": "https://localhost:44313/",
"applicationUrl": "https://localhost:44300/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json

@ -1,13 +1,13 @@
{
"App": {
"SelfUrl": "https://localhost:44313",
"RedirectAllowedUrls": "https://localhost:44313"
"SelfUrl": "https://localhost:44300",
"RedirectAllowedUrls": "https://localhost:44300"
},
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True"
},
"AuthServer": {
"Authority": "https://localhost:44313",
"Authority": "https://localhost:44300",
"RequireHttpsMetadata": "false"
},
"StringEncryption": {

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44305",
"sslPort": 44305
"applicationUrl": "https://localhost:44300",
"sslPort": 44300
}
},
"profiles": {
@ -18,7 +18,7 @@
"MyCompanyName.MyProjectName": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:44305",
"applicationUrl": "https://localhost:44300",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/appsettings.json

@ -1,6 +1,6 @@
{
"App": {
"SelfUrl": "https://localhost:44305",
"SelfUrl": "https://localhost:44300",
"ClientUrl": "http://localhost:4200",
"CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200",
"RedirectAllowedUrls": "http://localhost:4200"
@ -12,7 +12,7 @@
"Configuration": "127.0.0.1"
},
"AuthServer": {
"Authority": "https://localhost:44305",
"Authority": "https://localhost:44300",
"RequireHttpsMetadata": "false",
"SwaggerClientId": "MyProjectName_Swagger",
"SwaggerClientSecret": "1q2w3e*"
@ -30,7 +30,7 @@
"MyProjectName_Swagger": {
"ClientId": "MyProjectName_Swagger",
"ClientSecret": "1q2w3e*",
"RootUrl": "https://localhost:44305"
"RootUrl": "https://localhost:44300"
}
}
}

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44305",
"sslPort": 44305
"applicationUrl": "https://localhost:44300",
"sslPort": 44300
}
},
"profiles": {
@ -18,7 +18,7 @@
"MyCompanyName.MyProjectName": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:44305",
"applicationUrl": "https://localhost:44300",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/appsettings.json

@ -1,6 +1,6 @@
{
"App": {
"SelfUrl": "https://localhost:44305",
"SelfUrl": "https://localhost:44300",
"ClientUrl": "http://localhost:4200",
"CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200",
"RedirectAllowedUrls": "http://localhost:4200"
@ -12,7 +12,7 @@
"Configuration": "127.0.0.1"
},
"AuthServer": {
"Authority": "https://localhost:44305",
"Authority": "https://localhost:44300",
"RequireHttpsMetadata": "false",
"SwaggerClientId": "MyProjectName_Swagger",
"SwaggerClientSecret": "1q2w3e*"
@ -30,7 +30,7 @@
"MyProjectName_Swagger": {
"ClientId": "MyProjectName_Swagger",
"ClientSecret": "1q2w3e*",
"RootUrl": "https://localhost:44305"
"RootUrl": "https://localhost:44300"
}
}
}

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44303/",
"sslPort": 44303
"applicationUrl": "https://localhost:44300/",
"sslPort": 44300
}
},
"profiles": {
@ -21,7 +21,7 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:44303/"
"applicationUrl": "https://localhost:44300/"
}
}
}

4
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/appsettings.json

@ -1,12 +1,12 @@
{
"App": {
"SelfUrl": "https://localhost:44303"
"SelfUrl": "https://localhost:44300"
},
"ConnectionStrings": {
"Default": "mongodb://localhost:27017/MyProjectName"
},
"AuthServer": {
"Authority": "https://localhost:44303",
"Authority": "https://localhost:44300",
"RequireHttpsMetadata": "false"
},
"StringEncryption": {

6
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44303/",
"sslPort": 44303
"applicationUrl": "https://localhost:44300/",
"sslPort": 44300
}
},
"profiles": {
@ -21,7 +21,7 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:44303/"
"applicationUrl": "https://localhost:44300/"
}
}
}

4
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/appsettings.json

@ -1,12 +1,12 @@
{
"App": {
"SelfUrl": "https://localhost:44303"
"SelfUrl": "https://localhost:44300"
},
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True"
},
"AuthServer": {
"Authority": "https://localhost:44303",
"Authority": "https://localhost:44300",
"RequireHttpsMetadata": "false"
},
"StringEncryption": {

6
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44314/",
"sslPort": 44314
"applicationUrl": "https://localhost:44309/",
"sslPort": 44309
}
},
"profiles": {
@ -19,7 +19,7 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"applicationUrl": "https://localhost:44314/",
"applicationUrl": "https://localhost:44309/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/appsettings.json

@ -1,6 +1,6 @@
{
"App": {
"SelfUrl": "https://localhost:44314"
"SelfUrl": "https://localhost:44309"
},
"RemoteServices": {
"Default": {

6
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44313/",
"sslPort": 44313
"applicationUrl": "https://localhost:44308/",
"sslPort": 44308
}
},
"profiles": {
@ -19,7 +19,7 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"applicationUrl": "https://localhost:44313/",
"applicationUrl": "https://localhost:44308/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

6
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json

@ -1,13 +1,13 @@
{
"App": {
"SelfUrl": "https://localhost:44313",
"RedirectAllowedUrls": "https://localhost:44313"
"SelfUrl": "https://localhost:44308",
"RedirectAllowedUrls": "https://localhost:44308"
},
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True"
},
"AuthServer": {
"Authority": "https://localhost:44313",
"Authority": "https://localhost:44308",
"RequireHttpsMetadata": "false"
},
"StringEncryption": {

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/appsettings.json

@ -21,7 +21,7 @@
"MyProjectName_BlazorServerTiered": {
"ClientId": "MyProjectName_BlazorServerTiered",
"ClientSecret": "1q2w3e*",
"RootUrl": "https://localhost:44314"
"RootUrl": "https://localhost:44309"
},
"MyProjectName_Swagger": {
"ClientId": "MyProjectName_Swagger",

6
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44307",
"sslPort": 44307
"applicationUrl": "https://localhost:44305",
"sslPort": 44305
}
},
"profiles": {
@ -20,7 +20,7 @@
"commandName": "Project",
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:44307",
"applicationUrl": "https://localhost:44305",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

2
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/wwwroot/appsettings.json

@ -1,6 +1,6 @@
{
"App": {
"SelfUrl": "https://localhost:44307"
"SelfUrl": "https://localhost:44305"
},
"AuthServer": {
"Authority": "https://localhost:44301",

6
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44313/",
"sslPort": 44313
"applicationUrl": "https://localhost:44304/",
"sslPort": 44304
}
},
"profiles": {
@ -19,7 +19,7 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"applicationUrl": "https://localhost:44313/",
"applicationUrl": "https://localhost:44304/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

6
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/appsettings.json

@ -1,13 +1,13 @@
{
"App": {
"SelfUrl": "https://localhost:44313",
"RedirectAllowedUrls": "https://localhost:44313"
"SelfUrl": "https://localhost:44304",
"RedirectAllowedUrls": "https://localhost:44304"
},
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName_Unified;Trusted_Connection=True"
},
"AuthServer": {
"Authority": "https://localhost:44313",
"Authority": "https://localhost:44304",
"RequireHttpsMetadata": "false"
}
}

27
templates/module/aspnet-core/src/MyCompanyName.MyProjectName.Web/Properties/launchSettings.json

@ -1,27 +0,0 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:64779/",
"sslPort": 44326
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"MyCompanyName.MyProjectName.Web": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:5001;http://localhost:5000"
}
}
}
Loading…
Cancel
Save