title: ASP.NET MVC5 - Keeping Users in Oracle Database
body: <p>Once creating a <strong>ASP.NET MVC5</strong> project (with target framework is <strong>.NET 4.5.1</strong> and the authentication type is <strong>Individual User Account</strong>), so what is the most elegant way to configure the project so that it keeps the user, claims, roles etc. in an Oracle 12c database? I mean, how can I keep the authorization/authentication data in Oracle without deforming the automatically-generated MVC5 project structure.</p>
  
  <p>I guess changing the <code>&lt;defaultConnection&gt;</code> tag is not enough and there should be another Oracle implementation to replace <code>Microsoft.AspNet.Identity.EntityFramework</code>. It would be very helpful to gather an answer telling what to do step by step right from the start, where the template project is generated by VisualStudio (i.e. which references should be added to the project; in which way the Web.config file should be arranged? Should the Oracle tables be named strictly as AspNetUsers, AspNetClaims etc. or can I inject the already existing table names into the code side?)</p>
  
  <p><em>Note:</em> Devart's dotConnect for Oracle is out of my scope as it is not a free product. I use Oracle ManagedDataAccess for database access and to make use of Entity Framework, but using the <strong>ASP.NET Identity 2 + EntityFramework6</strong> logic with Oracle database (without deeply changing the structure of the classical MVC5 project) has been frustrating to me. </p>