Browse Source

Reviewed by braim23

Just fixed a few *a/an/the*'s and uncapitalized any words that aren't nouns/verbs/adj./adv. in any title along with a few other fixes. feel free to pick any of my changes.
pull/10817/head
braim23 5 years ago
parent
commit
6c76aed5b2
  1. 20
      docs/en/Getting-Started-AspNetCore-Application.md

20
docs/en/Getting-Started-AspNetCore-Application.md

@ -1,10 +1,10 @@
# Getting Started ABP With AspNet Core MVC Web Application
# Getting Started With an ABP and AspNet Core MVC Web Application
This tutorial explains how to start ABP from scratch with minimal dependencies. You generally want to start with the **[startup template](Getting-Started-AspNetCore-MVC-Template.md)**.
## Create A New Project
## Create a New Project
1. Create a new AspNet Core Web Application from Visual Studio 2022 (17.0.0+):
1. Create a new AspNet Core Web Application with Visual Studio 2022 (17.0.0+):
![](images/create-new-aspnet-core-application-v2.png)
@ -12,19 +12,19 @@ This tutorial explains how to start ABP from scratch with minimal dependencies.
![](images/select-empty-web-application-v2.png)
3. Press to the create button:
3. Press the create button:
![create-aspnet-core-application](images/create-aspnet-core-application.png)
## Install Volo.Abp.AspNetCore.Mvc Package
Volo.Abp.AspNetCore.Mvc is AspNet Core MVC integration package for ABP. So, install it to your project:
Volo.Abp.AspNetCore.Mvc is the AspNet Core MVC integration package for ABP. So, install it on your project:
````
Install-Package Volo.Abp.AspNetCore.Mvc -Version 5.0.0-rc.1
````
## Create First ABP Module
## Create the First ABP Module
ABP is a modular framework and it requires a **startup (root) module** class derived from ``AbpModule``:
@ -64,13 +64,13 @@ namespace BasicAspNetCoreApplication
``AppModule`` is a good name for the startup module for an application.
ABP packages define module classes and a module can depend on another. In the code above, the ``AppModule`` depends on the ``AbpAspNetCoreMvcModule`` (defined by [Volo.Abp.AspNetCore.Mvc](https://www.nuget.org/packages/Volo.Abp.AspNetCore.Mvc) package). It's common to add a ``DependsOn`` attribute after installing a new ABP nuget package.
ABP packages define module classes and a module can depend on another. In the code above, the ``AppModule`` depends on the ``AbpAspNetCoreMvcModule`` (defined by the [Volo.Abp.AspNetCore.Mvc](https://www.nuget.org/packages/Volo.Abp.AspNetCore.Mvc) package). It's common to add a ``DependsOn`` attribute after installing a new ABP NuGet package.
Instead of the Startup class, we are configuring ASP.NET Core pipeline in this module class.
Instead of the Startup class, we are configuring an ASP.NET Core pipeline in this module class.
## The Program Class
Next step is to modify Program class to integrate to ABP module system:
Next step is to modify the Program class to integrate to the ABP module system:
````C#
using BasicAspNetCoreApplication;
@ -108,7 +108,7 @@ Replacing AspNet Core's DI system by Autofac and integrating to ABP is pretty ea
Install-Package Volo.Abp.Autofac -Version 5.0.0-rc.1
````
2. Add ``AbpAutofacModule`` Dependency
2. Add the ``AbpAutofacModule`` Dependency
````C#
[DependsOn(typeof(AbpAspNetCoreMvcModule))]

Loading…
Cancel
Save