Welcome,  Guest  |  Sign In |  New User? 

List of ASP.NET Interview Questions & Answers

Page 1 of 24: 1 2 3 4 5 6 7 8 9 10 Next>>

asp.net site loading very slow first time loading         [ 77 ]



Choose your rating:    Post Ans.    View More Ans.

What is New in the .NET Framework Version 2.0         [ 56 ]

"Answer not available"

What Are Generics         [ 74 ]

"Answer not available"

How to show no records found message using gridview         [ 22 ]

"Answer not available"

AJAX Update Panel Example in asp.net         [ 63 ]

The UpdatePanel control is probably the most important control in the ASP.NET AJAX package. It will AJAX ify controls contained within it, allowing partial rendering of the area. We already used it in the Hello world example, and in this chapter, we will go in depth with more aspects of the control.
The <asp:UpdatePanel> tag has two childtags - the ContentTemplate and the Triggers tags. The ContentTemplate tag is required, since it holds the content of the panel. The content can be anything that you would normally put on your page, from literal text to web controls. The Triggers tag allows you to define certain triggers which will make the panel update it's content. The following example will show the use of both childtags.

 


http://ajax.net-tutorials.com/controls/updatepanel-control/

Choose your rating:    Post Ans.    View More Ans.

submit form and post data without reloading the page in ASP.NET?         [ 33 ]

"Answer not available"

Create user wizard without security question - ASP.NET         [ 32 ]


customize create user step there you can remove the rows that you dont want

and in web.config

<membership defaultProvider="MyProvider" userIsOnlineTimeWindow="25">
   <providers>
    <add name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="eLocalize_ConnStr" applicationName="/" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Clear" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
   </providers>
  </membership>
  <roleManager cacheRolesInCookie="true" cookieName="TaskCookie" cookiePath="/" cookieProtection="None" cookieRequireSSL="true" cookieSlidingExpiration="false " cookieTimeout="60" defaultProvider="TaskRoleProvider" enabled="true">
   <providers>
    <add name="TaskRoleProvider" connectionStringName="eLocalize_ConnStr" applicationName="/" type="System.Web.Security.SqlRoleProvider"/>
   </providers>
  </roleManager>

just change connection string with your's



Choose your rating:    Post Ans.    View More Ans.

How to: Specify a Port for the ASP.NET Development Server         [ 35 ]

If you want to run the ASP.NET Development Server on a specific port, you can configure the server to do so.

To specify a port for the ASP.NET Development Server

In Solution Explorer, click the name of the application.
In the Properties pane, click the down-arrow beside Use dynamic ports and select False from the dropdown list.
This will enable editing of the Port number property.
In the Properties pane, click the text box beside Port number and type in a port number.
Click outside of the Properties pane. This saves the property settings.
Each time you run a file-system Web site within Visual Web Developer, the ASP.NET Development Server will listen on the specified port.

Choose your rating:    Post Ans.    View More Ans.

Design Patterns in ASP.NET 2.0         [ 47 ]

 Informal Design Patterns—such as the use of standard code constructs, best
 practice, well structured code, common sense, the accepted approach, and evolution
 over time
 
Formal Design Patterns—documented with sections such as "Context", "Problem",
"Solution", and a UML diagram



Design Patterns

Design patterns are recognized solutions to common problems defined originally by the Gang of Four programmers. Design patterns are used throughout the ASP.NET Framework.  The various patterns are commonly divided into several different groups depending on the nature of the design problem they intend to solve.

Creational Patterns

  • Factory
  • Abstract Factory
  • Singleton


Structural Patterns
  • Adapter
  • Composite
  • Decorator
  • Facade
  • Proxy


Behavioral Patterns
  • Command
  • State
  • Strategy
  • Template Method


Antipatterns

       Antipatterns are misapplied design patterns. Common Antipatterns include:
  
      The Blob - When one class contains all of the methods, operations and logic of your application

Other patterns

     Lazy loading

Choose your rating:    Post Ans.    View More Ans.

What is use of ASP.NET?         [ 83 ]

"Answer not available"

Page 1 of 24: 1 2 3 4 5 6 7 8 9 10 Next>>