What is the name of the default cookie used for Forms Authentication ?

Thursday, July 30, 2009


.ASPXAUTH


www.codecollege.NET

What is the name of the method that is used to validate a user in ASP.NET Membership provider ?


The name of the method that is used to validate a user in ASP.NET Membership provider is,
Membership.ValidateUser(strUserName,strPassword);


www.codecollege.NET

What is the use of ASP.NET Membership provider?


Using ASP.NET Membership provider you can do the following operations,
1. Create New users
2. Delete users
3. Update users
4. Retrieve user list and details
5. Validate user credentials



www.codecollege.NET

What are the types of customErrors Mode in ASP.NET?

Wednesday, July 29, 2009


There are 3 types of mode, they are:
1. On
This setting applies when you want to enable custom errors.
2. Off
This setting applies when you want to disable custom errors.
3. RemoteOnly
This is when you want to display custom errors only to the Remote clients and generic full errors to local client.



www.codecollege.NET

How will you Check whether a browser supports AJAX callback or not?


You can check whether a browser supports AJAX callback or not by using the following property,
Request.Browser.SupportsCallback property.
.


www.codecollege.NET

What is a breadcrumb ?


A breadcrumb is a feature of ASP.NET SiteMapPath which shows the user's current location (hierarchy of the flow in which he came) and allows him to navigate back through any of the flow he came through by links.


www.codecollege.NET

How will you enable or disable Themes in a Page?


You can enable or disable Themes in a Page by setting 'true' or 'false' to the Page directive EnableTheming.


www.codecollege.NET
Blog Widget by LinkWithin