Merge branch 'rel-4.0' into dev

pull/6365/head
Halil İbrahim Kalkan 4 years ago
commit 924bf901b9

@ -107,6 +107,7 @@ abp new Acme.BookStore
* `--create-solution-folder` or `-csf`: Specifies if the project will be in a new folder in the output folder or directly the output folder.
* `--connection-string` or `-cs`: Overwrites the default connection strings in all `appsettings.json` files. The default connection string is `Server=localhost;Database=MyProjectName;Trusted_Connection=True;MultipleActiveResultSets=true` for EF Core and it is configured to use the SQL Server. If you want to use the EF Core, but need to change the DBMS, you can change it as [described here](Entity-Framework-Core-Other-DBMS.md) (after creating the solution).
* `--local-framework-ref --abp-path`: Uses local projects references to the ABP framework instead of using the NuGet packages. This can be useful if you download the ABP Framework source code and have a local reference to the framework from your application.
* `--no-random-port`: Uses template's default ports.
### update

@ -230,6 +230,7 @@ namespace Volo.Abp.Cli.Commands
sb.AppendLine("-cs|--connection-string <connection-string> (your database connection string)");
sb.AppendLine("--tiered (if supported by the template)");
sb.AppendLine("--no-ui (if supported by the template)");
sb.AppendLine("----no-random-port (Use template's default ports)");
sb.AppendLine("--separate-identity-server (if supported by the template)");
sb.AppendLine("--local-framework-ref --abp-path <your-local-abp-repo-path> (keeps local references to projects instead of replacing with NuGet package references)");
sb.AppendLine("");

@ -173,6 +173,11 @@ namespace Volo.Abp.Cli.ProjectBuilding.Templates.App
private static void RandomizeSslPorts(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
{
if (context.BuildArgs.ExtraProperties.ContainsKey("no-random-port"))
{
return;
}
steps.Add(new TemplateRandomSslPortStep(
new List<string>
{

@ -54,6 +54,11 @@ namespace Volo.Abp.Cli.ProjectBuilding.Templates.Module
private void RandomizeSslPorts(ProjectBuildContext context, List<ProjectBuildPipelineStep> steps)
{
if (context.BuildArgs.ExtraProperties.ContainsKey("no-random-port"))
{
return;
}
steps.Add(new TemplateRandomSslPortStep(new List<string>
{
"https://localhost:44300",

Loading…
Cancel
Save