Skip to content

Commit e536c3f

Browse files
committed
Revise Getting-Started-Core.md
1 parent d926eb9 commit e536c3f

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

docs/en/Getting-Started-Angular.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ We have two options to create and migrate database to the latest version.
5555

5656
##### ASP.NET Zero Migrator Application
5757

58-
ASP.NET Zero solution includes a **.Migrator** (like Acme.PhoneBookDemo.Migrator) project in the solution. You can run this tool for database migrations on development and production.
58+
ASP.NET Zero solution includes a **.Migrator** (like Acme.PhoneBookDemo.Migrator) project in the server side solution. You can run this tool for database migrations on development and production (see [migrator docs](Migrator-Console-Application) for more information).
5959

6060
##### Entity Framework Migration Command
6161

@@ -135,5 +135,4 @@ Finally you will have a CRUD page with insert, update, delete, list and excel ex
135135

136136
## Next
137137

138-
* [Solution Overview](Overview-Angular)
139-
* [Xamarin Development Guide](Development-Guide-Xamarin)
138+
* [Solution Overview](Overview-Angular)

docs/en/Getting-Started-Core.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,39 @@
22

33
This document is aimed to create and run an ASP.NET Zero based project in just 5 minutes. It's assumed that you already [purchased](/Prices) and created your ASP.NET Zero account.
44

5-
## Login
5+
## Create Your Project
6+
7+
[Login to aspnetzero.com](https://aspnetzero.com/Account/Login) with your user name and password. Go to the [download](https://aspnetzero.com/Download) page. You will see a form as shown below:
68

7-
[Login](https://aspnetzero.com/Account/Login) to this web site with your user name and password. Then you will see [Download](https://aspnetzero.com/Download) link on the main menu.
9+
<img src="images/download-core-jquery-2.png" alt="Create project" class="img-thumbnail" />
810

9-
## Prerequirements
11+
Select **ASP.NET Core & jQuery** as Project Type and fill other required fields. Click to the Download button, your project will be ready in one minute.
1012

11-
MVC application needs the following tools to be installed:
13+
## Pre Requirements
1214

15+
- [Visual Studio 2017 (v15.9.0+)](https://www.visualstudio.com)
1316
- [Node.js](https://nodejs.org/en/download/) 6.9+ with NPM 3.10+
1417
- [Gulp](https://www.npmjs.com/package/gulp) (*must be installed globally*)
1518
- [Yarn](https://yarnpkg.com/)
1619
- [Bundler & Minifier Visual Studio extension](https://visualstudiogallery.msdn.microsoft.com/9ec27da7-e24b-4d56-8064-fd7e88ac1c40)
1720

18-
## Create Your Project
19-
20-
Go to the [download](https://aspnetzero.com/Download) page. You will see a form as shown below:
21-
22-
<img src="images/download-core-jquery-2.png" alt="Create project" class="img-thumbnail" />
23-
24-
Select **ASP.NET Core & jQuery** as Project Type and fill other required fields. Click to the Download button, your project will be ready in one minute.
25-
2621
## Configure The Project
2722

28-
Before opening the solution open a command prompt, navigate to root directory of **\*.Web.Mvc** project and run "**yarn**" command to install client side dependencies.
23+
Before opening the solution, open a command prompt, navigate to root directory of **\*.Web.Mvc** project and run "**yarn**" command to install client side dependencies.
24+
25+
````
26+
yarn
27+
````
2928

3029
**Important Notice:** Installing client side npm dependencies using **yarn** before opening the solution will decrease project opening & building time dramatically.
3130

32-
Open the **\*.Web.sln** solution in **Visual Studio 2017+**:
31+
Open the **\*.Web.sln** solution in **Visual Studio**. If you want to work on only Xamarin project, open **\*.Mobile.sln** solution. If you want to work on both Xamarin and Web projects, open **\*.All.sln** solution.
3332

34-
If you want to work on only Xamarin project, open **\*.Mobile.sln** solution. If you want to work on both Xamarin and Web projects, open **\*.All.sln** solution.
33+
*.Web solution structure is shown below:
3534

3635
<img src="images/solution-overall-core-5.png" alt="ASP.NET Core solution" class="img-thumbnail" />
3736

38-
Right click the **.Web.Mvc** project and select "**Set as StartUp project**": Then **build** the solution. It make take longer time in first build since all **nuget** packages will be restored.
37+
Right click the **.Web.Mvc** project, select "**Set as StartUp project**" and **build** the solution. It may take longer time in first build since all **nuget** packages will be restored.
3938

4039
### Database
4140

@@ -69,17 +68,17 @@ This command will create your database and fill initial data. You can open SQL S
6968

7069
You can use EF console commands for development and Migrator.exe for production. But notice that; Migrator.exe supports running migrations in multiple databases at once, which is very useful in development/production for multi tenant applications.
7170

72-
### Multi-Tenancy
71+
### Configure Multi-Tenancy
7372

74-
ASP.NET Zero supports multi-tenant and single-tenant applications. Multi-tenancy is **enabled by default**. If you don't have idea about multi-tenancy or don't want to create a multi-tenant application, you can **disable** it by setting **AbpZeroTemplateConsts.MultiTenancyEnabled** to false in the *.Core.Shared project.
73+
ASP.NET Zero supports multi-tenant and single-tenant applications. Multi-tenancy is **enabled by default**. If you don't have idea about multi-tenancy or don't want to create a multi-tenant application, you can **disable** it by setting **PhoneBookDemoConsts.MultiTenancyEnabled** to false in the *.Core.Shared project (name of the PhoneBookDemoConsts will be like *YourProjectName*Consts for your project).
7574

7675
## Running The Application
7776

7877
Before running the project, we need to run a npm task to bundle and minify the CSS and JavaScript files. In order to do that, we can open a command prompt, navigate to root directory of ***.Web.Mvc** project and run **npm run create-bundles** command. This command should be run when a new npm package is being added to the solution. Or you can just build your solution and all bundles will be updated automatically.
7978

8079
Less files are converted to css and min.css files using Gulp. If you run **npm run watch-less** command using command prompt, you can immediately see the changes in runtime. This command is watching all **.less** files under **wwwroot** folder and compile them when any change happens.
8180

82-
Now we are ready.. just run your solution. It will open login page of your web site.
81+
Now we are ready.. just run your solution. It will open the login page of the web application:
8382

8483
<img src="images/login-screen-3.png" alt="Login page" class="img-thumbnail" />
8584

@@ -89,10 +88,12 @@ If multi-tenancy is enabled, you will see the current tenant and a change link.
8988

9089
## ASP.NET Zero Power Tools
9190

92-
ASP.NET Zero Power Tools lets you to create a new page from the backend to the UI layer by just typing your entity properties. It creates the entity, related permissions, application services, client-side code, applies DB migrations and adds to the main menu. Finally you will have a CRUD page that is capable of insert, update, delete, list, excel export functions. To minimize the effort of creating a new page, install the Power Tools from the following link:
91+
ASP.NET Zero Power Tools lets you to create a new page from the database to the UI layer by just typing your entity properties. It creates the entity, related permissions, application services, DTOs, client-side code, a menu element and so on... It also creates & applies database migrations.
92+
93+
Finally you will have a CRUD page with insert, update, delete, list and excel export functions. To minimize the effort of creating a new page, install the Power Tools from the following link:
9394

9495
[https://marketplace.visualstudio.com/items?itemName=Volosoft.AspNetZeroPowerTools](https://marketplace.visualstudio.com/items?itemName=Volosoft.AspNetZeroPowerTools)
9596

9697
## Next
9798

98-
Your solution is up and working. Check out the [Xamarin Development Guide](Development-Guide-Xamarin) or continue with [Features](Features-Mvc-Core).
99+
* [Solution Overview](Overview-Core.md)

0 commit comments

Comments
 (0)