Browse Source

Update source code sections.

pull/4663/head
Halil İbrahim Kalkan 6 years ago
parent
commit
fe20970c32
  1. 7
      docs/en/Tutorials/Part-1.md
  2. 9
      docs/en/Tutorials/Part-2.md
  3. 7
      docs/en/Tutorials/Part-3.md
  4. 9
      docs/en/Tutorials/Part-4.md
  5. 7
      docs/en/Tutorials/Part-5.md

7
docs/en/Tutorials/Part-1.md

@ -38,9 +38,12 @@ This tutorial is organized as the following parts;
- [Part 4: Integration tests](Part-4.md) - [Part 4: Integration tests](Part-4.md)
- [Part 5: Authorization](Part-5.md) - [Part 5: Authorization](Part-5.md)
### Source Code ### Download the Source Code
You can find the completed solution on {{if UI == "MVC"}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore){{else}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb){{end}}. This tutorials has multiple versions based on your **UI** and **Database** preferences. We've prepared two combinations of the source code to be downloaded:
* [MVC (Razor Pages) UI with EF Core](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore)
* [Angular UI with MongoDB](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb)
## Creating the Solution ## Creating the Solution

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

@ -38,9 +38,12 @@ This tutorial is organized as the following parts;
- [Part 4: Integration tests](Part-4.md) - [Part 4: Integration tests](Part-4.md)
- [Part 5: Authorization](Part-5.md) - [Part 5: Authorization](Part-5.md)
### Source Code ### Download the Source Code
You can find the completed solution on {{if UI == "MVC"}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore){{else}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb){{end}}. This tutorials has multiple versions based on your **UI** and **Database** preferences. We've prepared two combinations of the source code to be downloaded:
* [MVC (Razor Pages) UI with EF Core](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore)
* [Angular UI with MongoDB](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb)
{{if UI == "MVC"}} {{if UI == "MVC"}}
@ -50,7 +53,7 @@ It's common to call the HTTP API endpoints via AJAX from the **JavaScript** side
ABP **dynamically** creates **[JavaScript Proxies](../UI/AspNetCore/)** for all API endpoints. So, you can use any **endpoint** just like calling a **JavaScript function**. ABP **dynamically** creates **[JavaScript Proxies](../UI/AspNetCore/)** for all API endpoints. So, you can use any **endpoint** just like calling a **JavaScript function**.
### Testing in Developer Console of the Browser ### Testing in the Developer Console
You can easily test the JavaScript proxies using your favorite browser's **Developer Console**. Run the application, open your browser's **developer tools** (*shortcut is generally F12*), switch to the **Console** tab, type the following code and press enter: You can easily test the JavaScript proxies using your favorite browser's **Developer Console**. Run the application, open your browser's **developer tools** (*shortcut is generally F12*), switch to the **Console** tab, type the following code and press enter:

7
docs/en/Tutorials/Part-3.md

@ -38,9 +38,12 @@ This tutorial is organized as the following parts;
- [Part 4: Integration tests](Part-4.md) - [Part 4: Integration tests](Part-4.md)
- [Part 5: Authorization](Part-5.md) - [Part 5: Authorization](Part-5.md)
### Source Code ### Download the Source Code
You can find the completed solution on {{if UI == "MVC"}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore){{else}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb){{end}}. This tutorials has multiple versions based on your **UI** and **Database** preferences. We've prepared two combinations of the source code to be downloaded:
* [MVC (Razor Pages) UI with EF Core](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore)
* [Angular UI with MongoDB](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb)
{{if UI == "MVC"}} {{if UI == "MVC"}}

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

@ -38,9 +38,12 @@ This tutorial is organized as the following parts;
- **Part 4: Integration tests (this part)** - **Part 4: Integration tests (this part)**
- [Part 5: Authorization](Part-5.md) - [Part 5: Authorization](Part-5.md)
### Source Code ### Download the Source Code
You can find the completed solution on {{if UI == "MVC"}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore){{else}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb){{end}}. This tutorials has multiple versions based on your **UI** and **Database** preferences. We've prepared two combinations of the source code to be downloaded:
* [MVC (Razor Pages) UI with EF Core](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore)
* [Angular UI with MongoDB](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb)
## Test Projects in the Solution ## Test Projects in the Solution
@ -68,7 +71,7 @@ Each project is used to test the related project. Test projects use the followin
If you had created a data seed contributor as described in the [first part](Part-1.md), the same data will be available in your tests. So, you can skip this section. If you haven't created the seed contributor, you can use the `BookStoreTestDataSeedContributor` to seed the same data to be used in the tests below. If you had created a data seed contributor as described in the [first part](Part-1.md), the same data will be available in your tests. So, you can skip this section. If you haven't created the seed contributor, you can use the `BookStoreTestDataSeedContributor` to seed the same data to be used in the tests below.
## Testing The Application Service: BookAppService ## Testing the BookAppService
Create a test class named `BookAppService_Tests` in the `Acme.BookStore.Application.Tests` project: Create a test class named `BookAppService_Tests` in the `Acme.BookStore.Application.Tests` project:

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

@ -38,9 +38,12 @@ This tutorial is organized as the following parts;
- [Part 4: Integration tests](Part-4.md) - [Part 4: Integration tests](Part-4.md)
- **Part 5: Authorization (this part)** - **Part 5: Authorization (this part)**
### Source Code ### Download the Source Code
You can find the completed solution on {{if UI == "MVC"}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore){{else}}[the GitHub repository](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb){{end}}. This tutorials has multiple versions based on your **UI** and **Database** preferences. We've prepared two combinations of the source code to be downloaded:
* [MVC (Razor Pages) UI with EF Core](https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore)
* [Angular UI with MongoDB](https://github.com/abpframework/abp-samples/tree/master/BookStore-Angular-MongoDb)
## Permissions ## Permissions

Loading…
Cancel
Save