<< < 1 2 3 4 >   Sort: Rank

Forms authentication
Forms authentication Forms authentication provides you with a way to handle authentication using your own custom logic with in an ASP.NET application. The following applies if you choose forms authentication. ? When a user requests a page for the application, ASP.NET checks for the presence of a spe...
2007-10-24, 4604👍, 0💬

Passport authentication
Passport authentication Passport authentication lets you to use Microsoft’s passport service to authenticate users of your application. If your users have signed up with passport, and you configure the authentication mode of the application to the passport authentication, all authentication duties a...
2007-10-24, 4772👍, 0💬

Windows authentication and IIS
Windows authentication and IIS If you select windows authentication for your ASP.NET application, you also have to configure authentication within IIS. This is because IIS provides Windows authentication. IIS gives you a choice for four different authentication methods: Anonymous,basic,digest and wi...
2007-10-24, 4711👍, 0💬

What are the various ways of authentication techniques in ASP.NET
What are the various ways of authentication techniques in ASP.NET? Selecting an authentication provider is as simple as making an entry in the web.config file for the application. You can use one of these entries to select the corresponding built in authentication provider: ã &lt;authentication...
2007-10-24, 4691👍, 0💬

Can you explain in brief how the ASP.NET authentication process works
Can you explain in brief how the ASP.NET authentication process works? ASP.NET does not run by itself, it runs inside the process of IIS. So there are two authentication layers which exist in ASP.NET system. First authentication happens at the IIS level and then at the ASP.NET level depending on the...
2007-10-24, 6667👍, 0💬

What is impersonation in ASP.NET
What is impersonation in ASP.NET ? By default, ASP.NET executes in the security context of a restricted user account on the local machine. Sometimes you need to access network resources such as a file on a shared drive, which requires additional permissions. One way to overcome this restriction is t...
2007-10-24, 5048👍, 0💬

What is the difference between Authentication and authorization
What is the difference between Authentication and authorization? This can be a tricky question. These two concepts seem altogether similar but there is wide range of difference. Authentication is verifying the identity of a user and authorization is process where we check does this identity have acc...
2007-10-24, 6434👍, 0💬

What is the difference between Server.Transfer and response.Redirect
What is the difference between Server.Transfer and response.Redirect ? Following are the major differences between them:- ? Response.Redirect sends message to the browser saying it to move to some different page, while server.transfer does not send any message to the browser but rather redirects the...
2007-10-24, 4718👍, 0💬

What is a SESSION and APPLICATION object
What is a SESSION and APPLICATION object ? Session object store information between HTTP requests for a particular user, while application object are global across users.
2007-10-24, 4981👍, 0💬

What is the difference between “Web.config” and “Machine.Config”
What is the difference between “Web.config” and “Machine.Config” ? “Web.config” files apply settings to each web application, while “Machine.config” file apply settings to all ASP.NET applications.
2007-10-24, 4921👍, 0💬

What’s the use of “GLOBAL.ASAX” file
What’s the use of “GLOBAL.ASAX” file ? It allows to executing ASP.NET application level events and setting application-level variables.
2007-10-24, 5298👍, 0💬

How can you enable automatic paging in DataGrid
How can you enable automatic paging in DataGrid ? Following are the points to be done in order to enable paging in Datagrid :- ? Set the “AllowPaging” to true. ? In PageIndexChanged event set the current pageindex clicked. Note:- The answers are very short, if you have implemented practically its ju...
2007-10-24, 7481👍, 0💬

Can you explain what is “AutoPostBack” feature in ASP.NET
Can you explain what is “AutoPostBack” feature in ASP.NET ? If we want the control to automatically postback in case of any event, we will need to check this attribute as true. Example on a ComboBox change we need to send the event immediately to the server side then set the “AutoPostBack” attribut...
2007-10-24, 7179👍, 0💬

How many types of validation controls are provided by ASP.NET
How many types of validation controls are provided by ASP.NET ? There are six main types of validation controls :- RequiredFieldValidator It checks whether the control have any value. It's used when you want the control should not be empty. RangeValidator It checks if the value in validated control ...
2007-10-24, 6694👍, 0💬

How can we create custom controls in ASP.NET
How can we create custom controls in ASP.NET ? User controls are created using .ASCX in ASP.NET. After .ASCX file is created you need to two things in order that the ASCX can be used in project:. ? Register the ASCX control in page using the ? Now to use the above accounting footer in page you can u...
2007-10-24, 5098👍, 0💬

What is the use of @ OutputCache directive in ASP.NET
What is the use of @ OutputCache directive in ASP.NET? It is basically used for caching. See more for Caching chapter.
2007-10-24, 4770👍, 0💬

Where is ViewState information stored
Where is ViewState information stored ? In HTML Hidden Fields.
2007-10-24, 4634👍, 0💬

What is AppSetting Section in “Web.Config” file
What is AppSetting Section in “Web.Config” file ? Web.config file defines configuration for a webproject. Using “AppSetting” section we can define user defined values. Example below defined is “ConnectionString” section which will be used through out the project for database connection. &lt;co...
2007-10-24, 4851👍, 0💬

What’s the use of SmartNavigation property
What’s the use of SmartNavigation property ? It’s a feature provided by ASP.NET to prevent flickering and redrawing when the page is posted back. Note:- This is only supported for IE browser. Project’s who have browser compatibility as requirements have to think some other ways of avoiding flickeri...
2007-10-24, 5338👍, 0💬

What is the use of @ Register directives
What is the use of @ Register directives ? @Register directive informs the compiler of any custom server control added to the page.
2007-10-24, 5493👍, 0💬

If we want to make sure that no one has tampered with ViewState, how do we ensure it
If we want to make sure that no one has tampered with ViewState, how do we ensure it? Using the @Page directive EnableViewStateMac to True.
2007-10-24, 5092👍, 0💬

What is event bubbling
What is event bubbling ? Server controls like Datagrid, DataList, Repeater can have other child controls inside them. Example DataGrid can have combo box inside datagrid. These child control do not raise there events by themselves, rather they pass the event to the container parent (which can be a d...
2007-10-24, 5076👍, 0💬

How can we identify that the Page is PostBack
How can we identify that the Page is PostBack ? Page object has a “IsPostBack” property which can be checked to know that is the page posted back.
2007-10-24, 5893👍, 0💬

In which event are the controls fully loaded
In which event are the controls fully loaded ? Page_load event guarantees that all controls are fully loaded. Controls are also accessed in Page_Init events but you will see that viewstate is not fully loaded during this event.
2007-10-24, 7300👍, 0💬

<< < 1 2 3 4 >   Sort: Rank