Browse Source

Merge pull request #13303 from abpframework/auto-merge/rel-5-3/1187

Merge branch dev with rel-5.3
pull/13314/head
maliming 4 years ago
committed by GitHub
parent
commit
3ac41f2682
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docs/en/Tutorials/Todo/Index.md
  2. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.MongoDB/MongoDb/MyProjectNameMongoDbContext.cs

8
docs/en/Tutorials/Todo/Index.md

@ -25,15 +25,17 @@ You can find the source code of the completed application [here](https://github.
{{end}}
## Creating a New Solution
## Install ABP CLI Tool
We will use the [ABP CLI](../../CLI.md) to create new solutions with the ABP Framework. You can run the following command in a command-line terminal to install it:
We will use the [ABP CLI](../../CLI.md) to create new ABP solutions. You can run the following command on a terminal window to install this dotnet tool:
````bash
dotnet tool install -g Volo.Abp.Cli
````
Then create an empty folder, open a command-line terminal and execute the following command in the terminal:
## Create Your ABP Solution
Create an empty folder, open a command-line terminal and execute the following command in the terminal:
````bash
abp new TodoApp{{if UI=="Blazor"}} -u blazor{{else if UI=="BlazorServer"}} -u blazor-server{{else if UI=="NG"}} -u angular{{end}}{{if DB=="Mongo"}} -d mongodb{{end}}

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.MongoDB/MongoDb/MyProjectNameMongoDbContext.cs

@ -14,7 +14,7 @@ public class MyProjectNameMongoDbContext : AbpMongoDbContext
{
base.CreateModel(modelBuilder);
//builder.Entity<YourEntity>(b =>
//modelBuilder.Entity<YourEntity>(b =>
//{
// //...
//});

Loading…
Cancel
Save