I followed the steps from below link so that I could add Email verification to my project:
I am wondering where is IdentityConfig.cs and I can't find this file in my project.
Instead of IdentityConfig.cs, in which file can I insert my code?
I followed the steps from below link so that I could add Email verification to my project:
I am wondering where is IdentityConfig.cs and I can't find this file in my project.
Instead of IdentityConfig.cs, in which file can I insert my code?
Install or Upgrade 'Microsoft.AspNet.Identity.EntityFramework' using the 'Manage NuGet Packages...'
Oh my god I have the same problem, so I'm going to use my older project for Identityconfig.cs
Hope it helps you, I'm not sure But I think in Visual studio 2013 in Update ver.2 we don't have IdentityConfig.cs.
Microsoft apparently removed IdentityConfig.cs file for some updates of Visual Studio 2013 thinking that would make things easier. However, since Update 4 they have added it back. Moreover, Identity has seen many changes over the years. Solutions that used to work for 2.0 and 2.1 no longer works for current version.
Here is what you can do: You need to update your Visual Studio 2013 to Update 4 or above. Right now I think the latest update is Update 5.
Once you do that you will find that it automatically adds the IdentityConfig.cs file in your project(MVC template).
This happens when you create a empty project. When you create a MVC project, that means when you select mvc tick box as you create the new project it will generate all the templates including the identity framework. So what you guys have to do is create a new MVC project and copy those files related to identity framework in to your project :)
Before creating the project, make sure to have "Individual User Accounts" selected under "Authentication"