Which code segment should you use?

You are developing an ASP.NET MVC application that uses forms authentication against an Oracle database.
You need to authenticate the users.
Which code segment should you use?

You are developing an ASP.NET MVC application that uses forms authentication against an Oracle database.
You need to authenticate the users.
Which code segment should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
When implementing a custom membership provider, you are required to inherit the MembershipProvider
abstract class.
There are two primary reasons for creating a custom membership provider.
You need to store membership information in a data source that is not supported by the membership providers
included with the .NETFramework, such as a FoxPro database, an Oracle database, or other data source.
You need to manage membership information using a database schema that is different from the database
schema used by the providers that ship with the .NET Framework. A common example of this would be
membership data that already exists in a SQL Server database for a company or Web site.
MembershipProvider Class
https://msdn.microsoft.com/en-us/library/system.web.security.membershipprovider(v=vs.110).aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *