-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step elaboration, typo fixes and using statements reorganization #71
base: master
Are you sure you want to change the base?
Conversation
TrapperHell
commented
Sep 24, 2018
- Elaborate just a bit more on some missing steps
- Minor typo fixes
- Reorganize (and remove unnecessary) using statements
- Minor typo fixes - Reorganize (and remove unnecessary) using statements
…soft.AspNetCore.Identity)
|
||
``` | ||
dotnet add reference ../AspNetCoreTodo/AspNetCoreTodo.csproj | ||
dotnet add reference ..\AspNetCoreTodo\AspNetCoreTodo.csproj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This depends on the OS (Windows vs. linux) - lets keep that consistent across the whole project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point.
|
||
``` | ||
dotnet add reference ../AspNetCoreTodo/AspNetCoreTodo.csproj | ||
dotnet add reference ..\AspNetCoreTodo\AspNetCoreTodo.csproj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my previous comment
@@ -1,6 +1,6 @@ | |||
## Connect to a database | |||
|
|||
There are a few things you need to use Entity Framework Core to connect to a database. Since you used `dotnet new` and the MVC + Individual Auth template to set your project, you've already got them: | |||
There are a few things you need, to use Entity Framework Core to connect to a database. Since you used `dotnet new` and the MVC + Individual Auth template to set your project, you've already got them: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No comma needed here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea what went through my head at the time of writing.
I wasn't thinking of including the switch to IdentityUser as part of the pull-request, but seeing that there were no comments on this PR, I thought I'd go ahead with it. Well, as it is, ApplicationUser does not exist as an in-built class of authentication in .NET core. And since there was no description about creating an ApplicationUser class (and no need for it), I thought I'd switch to something that works. |
- Undo incorrect comma addition