Browse Source

Add Blazor Tip

pull/5504/head
Halil İbrahim Kalkan 6 years ago
parent
commit
8aec1e0c06
  1. 2
      docs/en/Tutorials/Part-5.md
  2. 4
      docs/en/Tutorials/Part-9.md

2
docs/en/Tutorials/Part-5.md

@ -452,6 +452,8 @@ Add the following code block to the end of the `Books.razor` file:
We will use these `bool` fields to check the permissions. We will use these `bool` fields to check the permissions.
> **Blazor Tip**: While adding the C# code into a `@code` block is fine for small code parts, it is suggested to use the code behind approach to develop a more maintainable code base when the code block becomes longer. We will use this approach for the authors part.
#### Hide the New Book Button #### Hide the New Book Button
Wrap the *New Book* button by an `if` block as shown below: Wrap the *New Book* button by an `if` block as shown below:

4
docs/en/Tutorials/Part-9.md

@ -493,7 +493,7 @@ That's all! You can run the application and try to edit an author.
{{else if UI == "NG"}} {{else if UI == "NG"}}
## The Author List Page, Create & Delete Authors ## The Author Management Page
Run the following command line to create a new module, named `AuthorModule` in the root folder of the angular application: Run the following command line to create a new module, named `AuthorModule` in the root folder of the angular application:
@ -834,7 +834,9 @@ That's all! This is a fully working CRUD page, you can create, edit and delete a
{{if UI == "Blazor"}} {{if UI == "Blazor"}}
## The Author Management Page
TODO
{{end}} {{end}}

Loading…
Cancel
Save