ASP. NET Interviews Questions and Answers Page 1asp: Label controlasp: Label control is used to write text on the page with different formatting options like bold, italic, underlined etc. ASP. Net Interview Questions & Answers . What is ASP. Net? It is a framework developed by Microsoft on which we can develop new generation web sites using web forms(aspx), MVC, HTML, Javascript, CSS etc. Its successor of Microsoft Active Server Pages(ASP). Currently there is ASP. NET 4. 0, which is used to develop web sites. There are various page extensions provided by Microsoft that are being used for web site development. Eg: aspx, asmx, ascx, ashx, cs, vb, html, XML. What’s the use of Response. Output. Write()? In which event of page cycle is the View. From 1 to 20 out of 159 asp.net mvc interview questions asked in various MNCs. ASP.NET MVC Interview Questions and Answers. Interview Questions and Answers Categories. This part contains only Ado.Net Interview Questions and answers for both Freshers as well as Experienced pdf. Your Name: Your Email. ADO.NET INTERVIEW QUESTION & ANSWERS. VB.NET; ASP.NET; OOPs. ASP.NET MVC Interview Questions and Answers. ![]() State available? What is the difference between Server. Transfer and Response. Redirect? From which base class all Web Forms are inherited? Page class. What are the different validators in ASP. NET? Required field Validator. Range . Which validator control you use if you need to make sure the values in two different controls matched? Compare Validator control. What is View. State? View. State is used to retain the state of server- side objects between page post backs. Where the viewstate is stored after the page postback? View. State is stored in a hidden field on the page at client side. How long the items in View. Today I am pleased to announce the release of an F5debug Ebook '350 Interview Questions and Answers on.Net. The downloaded pdf file contains all the questions and answers. ASP.NET Interview Question and Answers; Azure. Interview Questions And Answers On C Net 3. Interview Questions And Answers On C Net 3 5 Years Experience Pdf. Tutoriz / Career / Interview Questions/Answers / C# OOPS INTERVIEW QUESTIONS Asp.net View State Interview. ASP.Net web page is a class derived from page class. ![]() Basic and Advanced.Net Framework Interview Questions and Answers for Freshers. 3 years Experienced Dot Net developers and Testers on Microsoft. WCF Interview Questions and Answers; ASP.Net Web API Interview Questions. State exists? They exist for the life of the current page. What are the different Session state management options available in ASP. NET? In- Process. Out- of- Process. In- Process stores the session in memory on the web server. Out- of- Process Session state management stores data in an external server. ![]() How you can add an event handler? What is caching? Caching is a technique used to increase performance by keeping. ![]() The request for a cached file/data will be accessed from cache instead of actual location of that file. What are the different types of caching? ASP. NET has 3 kinds of caching : Output Caching,Fragment Caching,Data Caching. Which type if caching will be used if we want to cache the portion of a page instead of whole page? Fragment Caching: It caches the portion of the. For that, we can create user controls with the below code. Output. Cache Duration=. List the events in page life cycle. Can we have a web application running without web. Config file? Is it possible to create web application with both webforms and mvc? Yes. We have to include below mvc assembly references in the web forms application to create hybrid application. Can we add code files of different languages in App. The code files must be in same language to be kept in App. What is Protected Configuration? It is a feature used to secure connection string information. Write code to send e- mail from an ASP. NET application? How can we prevent browser from caching an ASPX page? What is the good practice to implement validations in aspx page? Client- side validation is the best way to validate data of a web page. It reduces the network traffic and saves server resources. What are the event handlers that we can have in Global. Application Events: Application. Which protocol is used to call a Web service? HTTP Protocol. 26. Can we have multiple web config files for an asp. Yes. 2. 7. What is the difference between web config and machine config? Web config file is specific to a web application where as machine config is specific to a machine or server. There can be multiple web config files into an application where as we can have only one machine config file on a server.? Windows defines several built- in groups, including Administrators, Users, and Guests. What is Cross Page Posting? When we click submit button on a web page, the page post the data to the same page. The technique in which we post the data to different pages is called Cross Page posting. This can be achieved by setting POSTBACKURL property of. Findcontrol method of Previous. Page can be used to get the posted values on the page to which the page has been posted. How can we apply Themes to an asp. We can specify the theme in web. Below is the code example to apply theme. What is Redirect. Permanent in ASP. Net? Once the redirection is done, it also returns 3. Moved Permanently responses. What is MVC? MVC is a framework used to create web applications. The web application base builds on. Explain the working of passport authentication. First of all it checks passport authentication cookie. If the cookie is not available then the application redirects the user to Passport Sign on page. Passport service authenticates the user details on sign on page and if valid then stores the authenticated cookie on client machine and then redirect the user to requested page. What are the advantages of Passport authentication? All the websites can be accessed using single login credentials. So no need to remember login credentials for each web site. Users can maintain his/ her information in a single location. What are the asp. Security Controls?< asp: Login> : Provides a standard login capability that allows the users to enter their credentials< asp: Login. Name> : Allows you to display the name of the logged- in user< asp: Login. Status> : Displays whether the user is authenticated or not< asp: Login. View> : Provides various login views depending on the selected template< asp: Password. Recovery> : . How do you register Java. Script for webcontrols ? We can register javascript for controls using < CONTROL - name> Attribtues. Add(scriptname,scripttext) method. In which event are the controls fully loaded? Assigning reference type variable to value type variable. Differentiate strong typing and weak typing. In strong typing, the data types of variable are checked at compile time. On the other hand, in case of weak typing the variable data types are checked at runtime. In case of strong typing, there is no chance of compilation error. Scripts use weak typing and hence issues arises at runtime. How we can force all the validation controls to run? The Page. Validate() method is used to force all the validation controls to run and to perform validation. List all templates of the Repeater control. Item. Template. Alternatingltem. Template. Separator. Template. Header. Template. Footer. Template. 42. List the major built- in objects in ASP. NET? What is the app. Settings Section in the web. The app. Settings block in web config file sets the user- defined values for the whole application. For example, in the following code snippet, the specified Connection. String section is used throughout the project for database connection. Settings>. < add key=. Which data type does the Range. Validator control support? The data types supported by the Range. Validator control are Integer, Double, String, Currency, and Date. What is the difference between an Html. Input. Check. Box control and an Html. Input. Radio. Button control? In Html. Input. Check. Boxcontrol, multiple item selection is possible whereas in. Which namespaces are necessary to create a localized application? System. Globalization. System. Resources. What are the different types of cookies in ASP. NET? Session Cookie – Resides on the client machine for a single session until the user does not log out. Persistent Cookie – Resides on a user’s machine for a period specified for its expiry, such as 1. What is the file extension of web service? Web services have file extension . What are the components of ADO. NET? The components of ADO. Net are Dataset, Data Reader, Data Adaptor, Command, connection. What is the difference between Execute. Scalar and Execute. Non. Query? Execute. Scalar returns output value where as Execute. Non. Query does not return any value but the number of rows affected by the query. Execute. Scalar used for fetching a single value and Execute. Non. Query used to execute Insert and Update statements.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2016
Categories |