Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

TrapperHell
Copy link

  • 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

```
dotnet add reference ../AspNetCoreTodo/AspNetCoreTodo.csproj
dotnet add reference ..\AspNetCoreTodo\AspNetCoreTodo.csproj

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

Copy link
Author

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

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:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No comma needed here!

Copy link
Author

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.

@TrapperHell
Copy link
Author

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants