Skip to content

Commit 6202198

Browse files
updated procedure to run the project
1 parent 773b6c5 commit 6202198

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

README.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ Set your **appsettings.Development.json** file with your own AAD B2C information
4343
}
4444
```
4545

46-
Run inside the \src\angular-netcore-aadb2c folder the following command:
47-
48-
```
49-
npm install
50-
```
5146
### Angular CLI
5247

5348
If you never installed Angular CLI, run:
@@ -58,21 +53,14 @@ npm install @angular/cli --global
5853

5954
### Run the project
6055

61-
You need to run both ASP.NET Core and Angular applications to run the entire project.
56+
Open and launch the project directly from Visual Studio.
6257

63-
Start ASP.NET Core project:
64-
```
65-
dotnet watch run
66-
```
58+
Visual Studio should restore npm packages, if it fails, run inside the \ClientApp folder the following command:
6759

68-
Start Angular project:
6960
```
70-
ng serve --proxy-config proxy.config.json
61+
npm install
7162
```
7263

73-
The application will be available on localhost:4200.
74-
75-
7664
## License
7765
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
7866

angular-netcore-aadb2c.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
<!-- Set this to true if you enable server-side prerendering -->
1111
<BuildServerSideRenderer>false</BuildServerSideRenderer>
12+
<TypeScriptToolsVersion>3.1</TypeScriptToolsVersion>
1213
</PropertyGroup>
1314

1415
<ItemGroup>

0 commit comments

Comments
 (0)