Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System.Web.Security doesn't exist in assemblies

Either i am late to the party or i did something wrong. I am working with Visual Studio 2013 and i was trying to use Membership class however, using System.Web.Security; namespace doesn't exist in my assemblies.

What can i do to solve this?

Note: System.Web exists

Targeting: .NET Framework 4.5.1

like image 256
Komengem Avatar asked Nov 10 '13 06:11

Komengem


People also ask

Which technology net5 net doesn t support?

NET Remoting isn't supported on . NET 5+ (and . NET Core). . NET remoting was identified as a problematic architecture.

How do I get System Web DLL?

The best way to get a look under the hood is to create a project and open the References folder. Inside, you'll see all the default libraries, including SYSTEM. WEB. If you right-click a DLL, you can choose "View In Object Browser", which will then open the DLL so you can explore all the stuff inside.

Is. net 5 compatible with. net Framework?

For . NET Framework client developers, Windows Forms and WPF are supported with . NET 5.0.

What is the WebSecurity class in net what is its use?

The WebSecurity Object provides security and authentication for ASP.NET Web Pages applications. With the WebSecurity object you can create user accounts, login and logout users, reset or change passwords, and more.


1 Answers

Actually, in .Net Framework 4+, the namespace System.Web.Security lives in the System.Web.ApplicationServices assembly, look for that one in the references

like image 57
ciosoriog Avatar answered Sep 25 '22 13:09

ciosoriog