title: Custom MembershipProvider in .NET 4.0
body: <p>There are a few threads here at so about this matter but most of them are outdated and the reference links in them are even more outdated.</p>
  
  <p>I got this website which I need to connect to an external sql server (mssql) with it's own table structure, using the default asp.net membership provider structure is not an option. The table layout is really simple and the usertable looks like this (it's called Individuals)</p>
  
  <pre><code>Individuals
  - UserGuid (uniqueidentifier/guid, unique)
  - Name (varchar)
  - Password (varchar)
  - HasAccess (tinyint/ 1 or 0)
  - DateTime (datetime)
  - Log (xml)
  </code></pre>
  
  <p>The required functionality is simply to log someone in, the rest is not necessary :)</p>
  
  <p>I followed some guides but most of them are outdated and very complex. Unfortunately the msdn examples follows this pattern and the documentation is not very good.</p>
  
  <p>So if anyone got some resources showing how to, or are willing to post codesamples or similar here I'd appreciate it.</p>
  
  <p>Thanks!</p>