You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/Getting-Started-Angular.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ We have two options to create and migrate database to the latest version.
55
55
56
56
##### ASP.NET Zero Migrator Application
57
57
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).
59
59
60
60
##### Entity Framework Migration Command
61
61
@@ -135,5 +135,4 @@ Finally you will have a CRUD page with insert, update, delete, list and excel ex
135
135
136
136
## Next
137
137
138
-
*[Solution Overview](Overview-Angular)
139
-
*[Xamarin Development Guide](Development-Guide-Xamarin)
Copy file name to clipboardExpand all lines: docs/en/Getting-Started-Core.md
+22-21Lines changed: 22 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -2,40 +2,39 @@
2
2
3
3
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.
4
4
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:
6
8
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.
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.
10
12
11
-
MVC application needs the following tools to be installed:
13
+
## Pre Requirements
12
14
15
+
-[Visual Studio 2017 (v15.9.0+)](https://www.visualstudio.com)
13
16
-[Node.js](https://nodejs.org/en/download/) 6.9+ with NPM 3.10+
14
17
-[Gulp](https://www.npmjs.com/package/gulp) (*must be installed globally*)
15
18
-[Yarn](https://yarnpkg.com/)
16
19
-[Bundler & Minifier Visual Studio extension](https://visualstudiogallery.msdn.microsoft.com/9ec27da7-e24b-4d56-8064-fd7e88ac1c40)
17
20
18
-
## Create Your Project
19
-
20
-
Go to the [download](https://aspnetzero.com/Download) page. You will see a form as shown below:
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
-
26
21
## Configure The Project
27
22
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
+
````
29
28
30
29
**Important Notice:** Installing client side npm dependencies using **yarn** before opening the solution will decrease project opening & building time dramatically.
31
30
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.
33
32
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.
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.
39
38
40
39
### Database
41
40
@@ -69,17 +68,17 @@ This command will create your database and fill initial data. You can open SQL S
69
68
70
69
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.
71
70
72
-
### Multi-Tenancy
71
+
### Configure Multi-Tenancy
73
72
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).
75
74
76
75
## Running The Application
77
76
78
77
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.
79
78
80
79
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.
81
80
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:
@@ -89,10 +88,12 @@ If multi-tenancy is enabled, you will see the current tenant and a change link.
89
88
90
89
## ASP.NET Zero Power Tools
91
90
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:
0 commit comments