I am creating a webiste in .net 4 and have one registration page on which I want to do some in the code behing, but the problem is that the Membership class is not working well. When I am creating the object of MembershipUser class like this
"MembershipUser objuser = new Membership.GetUser();"
BUT when I press dot(.) after Membership in the preceding statement the Intellisense does not opens up and when I write .GetUser(); manually after the Membership it gives the error that "System.Web.Security.Membership.GetUser() is a method but is used like a type" The code from web.config file is as below:
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<appSettings>
<add key="jobseekerrolename" value="Jobseeker"/>
<add ...
Go to the complete details ...