System.Web.Security does not exist in assemblies

Either I'm late for the party, or I did something wrong. I am working with Visual Studio 2013 and I tried to use the Membership class, however the namespace using System.Web.Security;does not exist in my assemblies.

What can I do to solve this problem?

Note: System.Webexists

Targeting: .NET Framework 4.5.1

+4
source share
4 answers

System.Web namespace exists in System.dll

The System.Web.Security namespace exists in System.Web.dll

, System.Web System.Web.Security, , msdn dll ( ).

+3

, .Net Framework 4 + System.Web.Security System.Web.ApplicationServices,

+5

, , - , , , :

https://msdn.microsoft.com/en-us/library/webmatrix.webdata.websecurity(v=vs.111).aspx

: WebMatrix.WebData( "Extentions" ) WebSecurity

. - (System.Web.Security) MemberShip MemberShipUser

+2
  • .net ** **. net

  • System.Web → → → .net

  • Top add using System.Web.Security;

0
source

All Articles