Last post Sep 14, 2017 12:26 PM by Billy Liu
Sep 14, 2017 12:02 AM|thoth|LINK
I have spent many years tinkering with web form applications. I decided I'd try learning MVC so I downloaded VS 2017 Community. Ive been disappointed from the very start that the old familiar identity and roles seem to have been removed. I watched some MVC
Fundamentals tutorial videos by Scott Allen where he create a new MVC Web app and selects "Individual User Accounts" when creating the project. In his tutorial, the local database is apparently automatically created and roles are automatically enabled. Turns
out he was using VS2013 for the video. I did not got the same results using VS 2017 so I downloaded and installed VS 2015. No luck there either. How am I able to create the necessary database and enable membership and rolls functionality? I have zero desire
to have site users signing in or authenticating using Facebook or other site's credentials. The user/role based account has always worked well for the sites I design. I have searched for days on how to accomplish this in VS 2017 and VS 2015 but I cannot seem
to find any definitive and easy to understand solutions.
I also don't like the way sign-up/create account is using the email address instead of asking to create a user name. I don't intend to complain but its very discouraging. I can't get started with MVC until I get past the basic authentication & roles needs.
Can anyone give me a detailed example of how to do this or point me to any good links. Did I miss something during install? Is there nuget package I need or is there any templates or projects I can install that have this set up already?
Any help/advice is appreciated
Sep 14, 2017 12:26 PM|Billy Liu|LINK
How am I able to create the necessary database and enable membership and rolls functionality?
The database will be created when you first visit it, such as your first register.
Did I miss something during install?
Do you install EF?
Can anyone give me a detailed example of how to do this or point me to any good links.
Please refer to the link below: