ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
what does membership class provide?
 Question Submitted By :: Ynpradeep
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what does membership class provide?
Answer
# 1
Validates user credentials and manages user settings. This 
class cannot be inherited.



Creating new users.

Storing membership information (user names, passwords, e-
mail addresses, and supporting data) in Microsoft SQL 
Server or in an alternative data store.

Authenticating users who visit your site. You can 
authenticate users programmatically, or you can use the 
Login control to create a complete authentication system 
that requires little or no code.

Managing passwords, which includes creating, changing, 
retrieving, and resetting them, and so on. You can 
optionally configure ASP.NET membership to require a 
password question and answer to authenticate password reset 
or retrieval requests for users that have forgotten their 
password.

Although ASP.NET membership is a self-standing feature in 
ASP.NET For authentication, it can be integrated with 
ASP.NET role management to provide authorization services 
for your site. Membership can also be integrated with the 
ASP.NET user System.Web.Profile to provide application-
specific customization that can be tailored to individual 
users. For details, see Understanding Role Management and 
ASP.NET Profile Properties Overview.

The Membership class relies on membership providers to 
communicate with a data source. The .NET Framework includes 
a SqlMembershipProvider, which stores user information in a 
Microsoft SQL Server database, and an 
ActiveDirectoryMembershipProvider, which enables you to 
store user information on an Active Directory or Active 
Directory Application Mode (ADAM) server. You can also 
implement a custom membership provider to communicate with 
an alternative data source that can be used by the 
Membership class. Custom membership providers inherit the 
MembershipProvider abstract class. For more information, 
see Implementing a Membership Provider.

By default, ASP.NET membership is enabled for all ASP.NET 
applications. The default membership provider is the 
SqlMembershipProvider and is specified in the machine 
configuration with the name AspNetSqlProvider. The default 
instance of the SqlMembershipProvider is configured to 
connect to a local instance of Microsoft SQL Server.

You can modify the default settings to specify a 
SqlMembershipProvider other than the AspNetSqlProvider 
instance as the default provider, or specify an instance of 
a custom provider as the default provider for your ASP.NET 
application using the Web.config file. You can specify the 
ASP.NET membership configuration for your Web application 
using the membership configuration section in the 
Web.config file. You can use the providers subsection of 
the membership section to specify a membership provider 
other than one of the default providers. For example, the 
following membership section removes the default membership 
providers from the current application configuration and 
adds a new provider with a name of SqlProvider that 
connects to a SQL Server instance named AspSqlServer.
 
Is This Answer Correct ?    1 Yes 0 No
Sudhakar K
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
what do machine key element in configuration file specify? TCS1
What does the "EnableViewState" property do? Why would I want it on or off?  4
Difference between ISQL and OSQL??  1
What definition correctly defines a label server control with the name set to lblHoop? a) <asp:Label name=?lblHoop? runat=?server? /> b) <Label id=?lblHoop? runat=?server? /> c) <asp:Label id=?lblHoop? runat=?server? /> d) <server label name=?lblHoop? runat=?asp? /> Syntax-Softtech1
Explain the differences between Server-side and Client-side code?  2
What is view state and how this can be done and was this there in asp? Accenture8
How do you enable tracing? a) Set the Trace property of the Web Form to True b) Set the Trace property of the server object to True c) Set the Session variables Trace to True d) Set the Applications Variable Trace to True. Syntax-Softtech2
what is the difference b/w Asp.net server controls and html server controls in .net? iGate2
What is pre-init event in ASP.NET 2.0 page life cycle? Fulcrum-Logic1
in database table is thier . in that table fields are photoid , photoname,photo... i want display image in the gridview TCS4
Explain how server control validation controls works? Syntax-Softtech2
Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version? Wipro2
What is the main difference between a static page and a dynamic page?  1
1.What are the types of events in asp.net? 2.what is databind? 3.what is COM objects? 4.Difference between gridview and datalist? 5.what is SOAP? 6.what are contents are available in asp.net page? 7.what are types of error?  1
Difference between .NET and previous version? Microsoft1
what is caching  3
If you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?  1
Can you explain what inheritance is and an example of when you might use it?  3
what is .net Net-Solution11
relacement of websevices in .net 3.0? Mind-Tree1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com