Browse Source

Merge pull request #23877 from abpframework/6876

Update the ABP document to fix some minor issues.
pull/23901/head
Enis Necipoglu 7 months ago
committed by GitHub
parent
commit
bfb3651d80
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/framework/infrastructure/csrf-anti-forgery.md
  2. 13
      docs/en/tutorials/todo/layered/index.md
  3. 6
      docs/en/tutorials/todo/single-layer/index.md

2
docs/en/framework/infrastructure/csrf-anti-forgery.md

@ -17,7 +17,7 @@ Once you enable it;
Especially, the second point is a pain for your clients and unnecessarily consumes your server resources.
> You can read more about the ASP.NET Core antiforgery system in its own [documentation](https://docs.microsoft.com/en-us/aspnet/core/security/anti-request-forgery).
> You can use any ASP.NET Core antiforgery features, like `ValidateAntiForgeryToken`, `AutoValidateAntiforgeryToken`, or `IgnoreAntiforgeryToken`, for more information, see the [official documentation](https://docs.microsoft.com/en-us/aspnet/core/security/anti-request-forgery).
## The Solution

13
docs/en/tutorials/todo/layered/index.md

@ -54,11 +54,11 @@ This documentation has a video tutorial on **YouTube**!! You can watch it here:
* An IDE (e.g. [Visual Studio](https://visualstudio.microsoft.com/vs/)) that supports [.NET 9.0+](https://dotnet.microsoft.com/download/dotnet) development.
* [Node v20.11+](https://nodejs.org/)
{{if DB=="EF"}}
* [SQL Server Express LocalDB](https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-express-localdb)
{{end}}
{{if DB=="Mongo"}}
* [MongoDB Server 4.0+](https://docs.mongodb.com/manual/administration/install-community/)
{{end}}
## Install ABP CLI Tool
@ -115,7 +115,7 @@ abp install-libs
{{if UI=="MVC" || UI=="BlazorServer" || UI=="BlazorWebApp"}}
It is good to run the application before starting the development. Ensure the {{if UI=="BlazorServer"}}`TodoApp.Blazor`{{else}}`TodoApp.Web`{{end}} project is the startup project, then run the application (Ctrl+F5 in Visual Studio) to see the initial UI:
It is good to run the application before starting the development. Ensure the {{if UI=="Blazor" || UI=="BlazorServer" || UI=="BlazorWebApp"}}`TodoApp.Blazor`{{else}}`TodoApp.Web`{{end}} project is the startup project, then run the application (Ctrl+F5 in Visual Studio) to see the initial UI:
{{else if UI=="Blazor" || UI=="MAUIBlazor"}}
@ -165,7 +165,7 @@ All ready. We can start coding!
## Domain Layer
This application has a single [entity](../../../framework/architecture/domain-driven-design/entities.md) and we'll start by creating it. Create a new `TodoItem` class inside the *TodoApp.Domain* project:
This application has a single [entity](../../../framework/architecture/domain-driven-design/entities.md) and we'll start by creating it. Create a new `TodoItem` class inside the *TodoApp.Domain* project under the `Entities` folder, as shown below:
````csharp
using System;
@ -578,7 +578,7 @@ using System.Collections.Generic;
using System.Threading.Tasks;
{{if UI=="Blazor" || UI=="BlazorWebApp"}}
namespace TodoApp.Blazor.Client.Pages;
amespace TodoApp.Blazor.Client.Pages
{{else if UI=="BlazorServer"}}
namespace TodoApp.Blazor.Pages;
{{else if UI=="MAUIBlazor"}}
@ -756,6 +756,7 @@ import { TodoItemDto, TodoService } from '@proxy';
@Component({
selector: 'app-home',
standalone: false,
templateUrl: './home.component.html',
styleUrls: ['./home.component.scss']
})

6
docs/en/tutorials/todo/single-layer/index.md

@ -50,11 +50,11 @@ This documentation has a video tutorial on **YouTube**!! You can watch it here:
* An IDE (e.g. [Visual Studio](https://visualstudio.microsoft.com/vs/)) that supports [.NET 9.0+](https://dotnet.microsoft.com/download/dotnet) development.
* [Node v20.11+](https://nodejs.org/)
{{if DB=="EF"}}
* [SQL Server Express LocalDB](https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-express-localdb)
{{end}}
{{if DB=="Mongo"}}
* [MongoDB Server 4.0+](https://docs.mongodb.com/manual/administration/install-community/)
{{end}}
## Creating a New Solution

Loading…
Cancel
Save