SlideShare a Scribd company logo
1) What is the difference between Convert.ToInt32(string) and
   Int32.Parse(string)?

  S.N   Int32.Parse(string)            Convert.ToInt32(string)
  o
  1     It throws an exception when    It returns zero when null value is
        null value is passed           passed


2) What is the difference between EVAL and BIND?

  S.N   EVAL                           BIND
  o
  1     It is readonly                 It is editable
  2     Used to display only           Used to both display and update


3) What is the main difference between MVP and MVC?

  S.N   MVP                            MVC
  o
  1     In MVP, the View is            In MVC,the Controller and the
        completely controlled by the   Model can update the View
        Presenter


4) What are the differences between Inline code and Code Behind
   Code?

  S.N   Inline code                    Code Behind Code
  o
  1     Its within .aspx file          Its in a external class file
  2     Dynamically compiled           Compiled prior to deployment
                                       and
                                       linked with .aspx file


5) What are the differences between Global.asax and
   Web.Config?

  S.N   global.asax                    web.config
  o
  1     It is a class file             It is an XML file
  2     There can be only one for an   There can be many if under
        application                    different sub-folders
  3     Can have Application and       Cannot have Application and
        Session events                 Session events
  4     Need to be recompiled when     No need to compile when
        changes are made               changes are made
6) What are the Differences between Server.Transfer and
   Response.Redirect?

  S.N   Server.Transfer                 Response.Redirect
  o
  1     The navigation happens on       The navigation happens on the
        the server-side ,so client      client-side ,so client history is
        history is not updated          updated
  2     Data can be persist across      Context.Items loses the
        the pages using Context.Item    persistence
        collection
  3     No Round-trips                  Makes a Round-trip
  4     Has Good encapsulation          No


7) What is the difference between a custom control and a user
   control?

  S.N   User Control                    Custom Control
  o
  1     Is a file with the .ascx        Is a file with the .dll extension
        extension
  2     Can be only used with the       Can be used in any number of
        application                     applications
  3     Language dependent              They are language independent,
                                        a control
                                        created in c# can be used in
                                        vb.net
  4     Cannot be added to Visual       Can be added to Visual studio
        studio Toolbox                  Toolbox
  5     Inherits from Server controls   We have to develop from
        and easy to create              scratch ,
                                        so comparatively
                                        difficult
  6     Generally used for static       Used when dynamic content is
        content                         required


8) What is the difference between Caching and Application?

  S.N   Caching                         Application
  o
  1     Cache have expire policy        Application   does not have expire
                                        policy
  2     Cache does not require          Application   require explicit
        explicit locking                locking
  3     Cache has the Property of       Application   variables exist as
        timeout, which allows us to     long as the   application is alive
        control the duration of the
Objects so cached
   4     Output can be cached in 4        Application does not have
         ways,                            options as like Cache object
              • Page Output Caching
              • Page Partial Caching
              • DataSource Caching
              • Data Caching
   5     It is accessible to page level
                                    It is accessible to both page
         to all the users           level and application level to all
                                    the users
9) What is the difference between web farm and web garden?

   S.N   Web farm                         Web garden
   o
   1     A web application running on     A web application running on a
         multiple servers is called a     single server that has multiple
         web farm                         CPUs is called a web garden


10)     What is the difference between Application and Session
   Events?

   S.N   Application Event                Session Event
   o
   1     Application events are used      Session events are used to
         to initialize objects and data   initialize data that we want to
         that we do want to make          keep throughout individual
         available to all the current     sessions, but that we do not
         sessions of our web              want to share between sessions
         application


11)      What is the difference between Session Cookies and
   Persistent Cookies?

   S.N   Session Cookies                  Persistent Cookies
   o
   1     Session Cookies do not have      Persistent Cookies have an
         expiration date                  expiration date. The expiration
                                          date indicates to the browser
                                          that it should write the cookie to
                                          the client’s hard drive


12)    What are the differences between Server Controls and
   HTML Controls?

   S.N   Server Controls                  HTML Controls
   o
1     Server Controls can trigger    HTML Controls can trigger only
         control-specific events on the page-level events on server
         server                         (postback)
   2     Data entered in a server       Data is not maintained in an
         control is maintained across   HTML control. Data must be
         requests. Server controls      saved and restored using page-
         retain state                   level scripts
   3     The Microsoft .NET             HTML controls have HTML
         Framework provides a set of    attributes only
         properties for each server
         control. Properties allows us
         to change the server
         control’s appearance and
         behavior within server-side
         code
   4     Server controls automatically We must detect browser in code
         detect browser and adapt       or write for least common
         display as appropriate         denominator
13)      What are the differences between ViewState and Hidden
   fields?

   S.N   ViewState                        Hidden fields
   o
   1     This is used for pages that      This is used for pages that will
         will postback to itself          postback to itself or to another
                                          page
   2     This is built in structure for   This is not an inbuilt structure
         maintaining state of a page
   3     Security is more as data is      Security is less when compared
         hashed, compressed and           to ViewState
         encoded


14)     What is the difference between SQL Cache Notification
   and SQL Cache Invalidation?

   S.N   SQL Cache Notification           SQL Cache Invalidation
   o
   1     Using SQL Cache                  Using SQL Cache Invalidation, we
         Notification, we can generate    can make a cached item invalid
         notifications when the data of   that depends on the data stored
         a database on which a            in a SQL server database, when
         cached item depends              the data in the SQL server
         changes                          database is changed


15)      What is the difference between absolute time expiration
   and sliding time expiration?
S.N   Absolute time expiration           Sliding time expiration
  o
  1     In absolute time expiration, a     In sliding time expiration, the
        cached item expires after the      time for which the item is cached
        expiration time specifies for      is each time incremented by its
        it, irrespective of how often it   expiration time if it is accessed
        is accessed                        before completion of its
                                           expiration time


16)     What is the difference between adding items into cache
   through Add() method and Insert() method?

  S.N   Cache.Add()                        Cache.Insert()
  o
  1     Cache.Add() method also            Cache.Insert() method adds only
        returns an object                  the item in the cache
        representing the item we
        have added in the cache
        ,besides adding the item in
        the cache
  2     It is not possible to replace      We can replace an existing item
        an existing item in the cache      in the cache using the
        using the Cache.Add()              Cache.Insert() method
        method


17)     What is the difference between page-level caching and
   fragment caching?

  S.N   Page-level caching                 Fragment caching
  o
  1     In Page-level caching, we          In Fragment caching, we cache
        cache a whole page                 parts of the web page such as a
                                           user control added to the web
                                           page


18)     What is the difference between Label control and Literal
   control?

  S.N   Label control                      Literal control
  o
  1     Final HTML code of a Label         Final HTML code of a Literal
        control has an HTML tag            control contains only text, which
                                           is not surrounded by any HTML
                                           tag
19)     What is the difference between HyperLink control and
   LinkButton control?

  S.N   HyperLink control               LinkButton control
  o
  1     A HyperLink control do not      A LinkButton control have Click
        have Click and Command          and Command events, which can
        events                          be handled in the code behind
                                        file of the web page


20)     What is the difference between an HtmlInputCheckBox
   control and an HtmlInputRadioButton control?

  S.N   HtmlInputCheckBox               HtmlInputRadioButton
  o     control                         control
  1     We can select more than one     We can select only a single
        HtmlInputCheckBox control       HtmlInputRadioButton control
        from a group of                 from a group of
        HtmlInputCheckBox controls      HtmlInputRadioButton controls


21)     How a content page differs from a master page?

  S.N   Content page                    Master page
  o
  1     A content page does not         A master page has complete
        have complete HTML source       HTML source code inside its
        code                            source file


22)      How will you differentiate a submaster page from a top-
   level master page?

  S.N   Submaster page                  Top-level master page
  o
  1     Like a content page, a          Top-level master page has
        submaster page also does        complete HTML source code
        not have complete HTML          inside its source file
        source code


23)      What is the difference between a page theme control and
   a global theme?

  S.N   Page theme                      Global theme
  o
  1     A page theme is stored inside   A global theme is stored inside
        a subfolder of the              the Themes folder on a web
        App_Themes folder of a web      server
application
  2     It can be applied to individual   It can be applied to all the web
        web pages of the web              sites on the web server
        application


24)    What is the difference between a default skin and a
   named skin?

  S.N   Default skin                      Named skin
  o
  1     A default skin does not have      A named skin has a SkinId
        a SkinId attribute                attribute
  2     It is automatically applied to    It is applied to a control explicitly
        all the controls of the same      by setting the SkinId property of
        type present on a web page        the control from the Properties
                                          window


25)     Differentiate Globalization and Localization

  S.N   Globalization                     Localization
  o
  1     Globalization is the process of   Localization is the process of
        identifying the specific          configuring a web application to
        portion of a web application      be supported for a specific
        that needs to be different for    language or locale
        different languages and
        isolating that portion from
        the core of the web
        application


26)     What are the differences between web.config and
   machine.config?

  S.N   web.config                        machine.config
  o
  1     This is automatically created     This is automatically installed
        when we create an ASP.Net         when we install Visual Studio.
        web application project           Net
  2     This is also called application   This is also called machine level
        level configuration file          configuration file
  3     We can have more than one         Only one machine.config file
        web.config file                   exists on a server
  4     This file inherits setting from   This file is at the highest level in
        the machine.config                the configuration hierarchy
Ad

More Related Content

What's hot (20)

Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
Raj vardhan
 
comment realiser un Service Web
comment realiser un Service Web comment realiser un Service Web
comment realiser un Service Web
Nazih Heni
 
Group policy objects
Group policy objectsGroup policy objects
Group policy objects
MianMuhammadMuaz
 
Ch03 system administration
Ch03 system administration Ch03 system administration
Ch03 system administration
Raja Waseem Akhtar
 
Telecharger Cours Systèmes d’exploitation windows: Administration Windows
Telecharger Cours Systèmes d’exploitation windows: Administration  WindowsTelecharger Cours Systèmes d’exploitation windows: Administration  Windows
Telecharger Cours Systèmes d’exploitation windows: Administration Windows
webreaker
 
10 Key Considerations For Selecting Hyper-Converged Infrastructure
10 Key Considerations For Selecting Hyper-Converged Infrastructure10 Key Considerations For Selecting Hyper-Converged Infrastructure
10 Key Considerations For Selecting Hyper-Converged Infrastructure
Heather Salmons Newswanger
 
La technologie des systemes distribués 2 ppt2222.pptx
La technologie des systemes distribués 2 ppt2222.pptxLa technologie des systemes distribués 2 ppt2222.pptx
La technologie des systemes distribués 2 ppt2222.pptx
kaoutarghaffour
 
1 Linux入門 第3章 ファイル操作
1 Linux入門 第3章 ファイル操作1 Linux入門 第3章 ファイル操作
1 Linux入門 第3章 ファイル操作
Enpel
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mounting
rajshreemuthiah
 
Difference between authentication and authorization in asp.net
Difference between authentication and authorization in asp.netDifference between authentication and authorization in asp.net
Difference between authentication and authorization in asp.net
Umar Ali
 
Base de données distribuée
Base de données distribuéeBase de données distribuée
Base de données distribuée
kamar MEDDAH
 
Chapitre2_fragmentation_Abdali.pptx
Chapitre2_fragmentation_Abdali.pptxChapitre2_fragmentation_Abdali.pptx
Chapitre2_fragmentation_Abdali.pptx
AimadBenzakry
 
Linux file system
Linux file systemLinux file system
Linux file system
Md. Tanvir Hossain
 
Servidores Ubuntu 18.04 DNSSEC, DMZ, Firewall, Servidor archivos e IPV6
Servidores Ubuntu 18.04 DNSSEC, DMZ, Firewall, Servidor archivos e IPV6Servidores Ubuntu 18.04 DNSSEC, DMZ, Firewall, Servidor archivos e IPV6
Servidores Ubuntu 18.04 DNSSEC, DMZ, Firewall, Servidor archivos e IPV6
Alejandro Takahashi
 
Active Directory component
Active Directory componentActive Directory component
Active Directory component
kuldeep singh shishodia
 
Replikasi (master slave) MySQL
Replikasi (master slave) MySQLReplikasi (master slave) MySQL
Replikasi (master slave) MySQL
AxelSyamodra
 
Cours SE linux
Cours SE linuxCours SE linux
Cours SE linux
Idriss22
 
Nfs
NfsNfs
Nfs
shanmuga rajan
 
applications-reparties
applications-repartiesapplications-reparties
applications-reparties
mourad50
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
Raj vardhan
 
comment realiser un Service Web
comment realiser un Service Web comment realiser un Service Web
comment realiser un Service Web
Nazih Heni
 
Telecharger Cours Systèmes d’exploitation windows: Administration Windows
Telecharger Cours Systèmes d’exploitation windows: Administration  WindowsTelecharger Cours Systèmes d’exploitation windows: Administration  Windows
Telecharger Cours Systèmes d’exploitation windows: Administration Windows
webreaker
 
10 Key Considerations For Selecting Hyper-Converged Infrastructure
10 Key Considerations For Selecting Hyper-Converged Infrastructure10 Key Considerations For Selecting Hyper-Converged Infrastructure
10 Key Considerations For Selecting Hyper-Converged Infrastructure
Heather Salmons Newswanger
 
La technologie des systemes distribués 2 ppt2222.pptx
La technologie des systemes distribués 2 ppt2222.pptxLa technologie des systemes distribués 2 ppt2222.pptx
La technologie des systemes distribués 2 ppt2222.pptx
kaoutarghaffour
 
1 Linux入門 第3章 ファイル操作
1 Linux入門 第3章 ファイル操作1 Linux入門 第3章 ファイル操作
1 Linux入門 第3章 ファイル操作
Enpel
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mounting
rajshreemuthiah
 
Difference between authentication and authorization in asp.net
Difference between authentication and authorization in asp.netDifference between authentication and authorization in asp.net
Difference between authentication and authorization in asp.net
Umar Ali
 
Base de données distribuée
Base de données distribuéeBase de données distribuée
Base de données distribuée
kamar MEDDAH
 
Chapitre2_fragmentation_Abdali.pptx
Chapitre2_fragmentation_Abdali.pptxChapitre2_fragmentation_Abdali.pptx
Chapitre2_fragmentation_Abdali.pptx
AimadBenzakry
 
Servidores Ubuntu 18.04 DNSSEC, DMZ, Firewall, Servidor archivos e IPV6
Servidores Ubuntu 18.04 DNSSEC, DMZ, Firewall, Servidor archivos e IPV6Servidores Ubuntu 18.04 DNSSEC, DMZ, Firewall, Servidor archivos e IPV6
Servidores Ubuntu 18.04 DNSSEC, DMZ, Firewall, Servidor archivos e IPV6
Alejandro Takahashi
 
Replikasi (master slave) MySQL
Replikasi (master slave) MySQLReplikasi (master slave) MySQL
Replikasi (master slave) MySQL
AxelSyamodra
 
Cours SE linux
Cours SE linuxCours SE linux
Cours SE linux
Idriss22
 
applications-reparties
applications-repartiesapplications-reparties
applications-reparties
mourad50
 

Viewers also liked (18)

Linq difference faqs- 1
Linq difference faqs- 1Linq difference faqs- 1
Linq difference faqs- 1
Umar Ali
 
How to create user friendly file hosting link sites
How to create user friendly file hosting link sitesHow to create user friendly file hosting link sites
How to create user friendly file hosting link sites
Umar Ali
 
Asp.Net difference faqs- 10
Asp.Net difference faqs- 10Asp.Net difference faqs- 10
Asp.Net difference faqs- 10
Umar Ali
 
CSharp difference faqs- 1
CSharp difference faqs- 1CSharp difference faqs- 1
CSharp difference faqs- 1
Umar Ali
 
Dotnet difference between questions list- 1
Dotnet difference between questions list- 1Dotnet difference between questions list- 1
Dotnet difference between questions list- 1
Umar Ali
 
Spring vs. asp.net mvc
Spring vs. asp.net mvcSpring vs. asp.net mvc
Spring vs. asp.net mvc
Umar Ali
 
Sql Server Difference FAQs Part One
Sql Server Difference FAQs Part OneSql Server Difference FAQs Part One
Sql Server Difference FAQs Part One
Umar Ali
 
Sql server difference faqs- 7
Sql server difference faqs- 7Sql server difference faqs- 7
Sql server difference faqs- 7
Umar Ali
 
Asp.net website usage and job trends
Asp.net website usage and job trendsAsp.net website usage and job trends
Asp.net website usage and job trends
Umar Ali
 
Software technology
Software technologySoftware technology
Software technology
Umar Ali
 
Silverlight difference faqs- 2
Silverlight difference faqs- 2Silverlight difference faqs- 2
Silverlight difference faqs- 2
Umar Ali
 
SOA Difference FAQs
SOA Difference FAQsSOA Difference FAQs
SOA Difference FAQs
Umar Ali
 
Silverlight difference faqs-1
Silverlight  difference faqs-1Silverlight  difference faqs-1
Silverlight difference faqs-1
Umar Ali
 
Sql server difference faqs- 5
Sql server difference faqs-  5Sql server difference faqs-  5
Sql server difference faqs- 5
Umar Ali
 
Link checkers 1
Link checkers 1Link checkers 1
Link checkers 1
Umar Ali
 
Important Run Commands
Important Run CommandsImportant Run Commands
Important Run Commands
Umar Ali
 
Difference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvcDifference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvc
Umar Ali
 
Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4
Umar Ali
 
Linq difference faqs- 1
Linq difference faqs- 1Linq difference faqs- 1
Linq difference faqs- 1
Umar Ali
 
How to create user friendly file hosting link sites
How to create user friendly file hosting link sitesHow to create user friendly file hosting link sites
How to create user friendly file hosting link sites
Umar Ali
 
Asp.Net difference faqs- 10
Asp.Net difference faqs- 10Asp.Net difference faqs- 10
Asp.Net difference faqs- 10
Umar Ali
 
CSharp difference faqs- 1
CSharp difference faqs- 1CSharp difference faqs- 1
CSharp difference faqs- 1
Umar Ali
 
Dotnet difference between questions list- 1
Dotnet difference between questions list- 1Dotnet difference between questions list- 1
Dotnet difference between questions list- 1
Umar Ali
 
Spring vs. asp.net mvc
Spring vs. asp.net mvcSpring vs. asp.net mvc
Spring vs. asp.net mvc
Umar Ali
 
Sql Server Difference FAQs Part One
Sql Server Difference FAQs Part OneSql Server Difference FAQs Part One
Sql Server Difference FAQs Part One
Umar Ali
 
Sql server difference faqs- 7
Sql server difference faqs- 7Sql server difference faqs- 7
Sql server difference faqs- 7
Umar Ali
 
Asp.net website usage and job trends
Asp.net website usage and job trendsAsp.net website usage and job trends
Asp.net website usage and job trends
Umar Ali
 
Software technology
Software technologySoftware technology
Software technology
Umar Ali
 
Silverlight difference faqs- 2
Silverlight difference faqs- 2Silverlight difference faqs- 2
Silverlight difference faqs- 2
Umar Ali
 
SOA Difference FAQs
SOA Difference FAQsSOA Difference FAQs
SOA Difference FAQs
Umar Ali
 
Silverlight difference faqs-1
Silverlight  difference faqs-1Silverlight  difference faqs-1
Silverlight difference faqs-1
Umar Ali
 
Sql server difference faqs- 5
Sql server difference faqs-  5Sql server difference faqs-  5
Sql server difference faqs- 5
Umar Ali
 
Link checkers 1
Link checkers 1Link checkers 1
Link checkers 1
Umar Ali
 
Important Run Commands
Important Run CommandsImportant Run Commands
Important Run Commands
Umar Ali
 
Difference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvcDifference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvc
Umar Ali
 
Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4
Umar Ali
 
Ad

Similar to ASP.NET Difference FAQs (20)

Dotnet difference questions & answers Compiled-1
Dotnet difference questions & answers Compiled-1Dotnet difference questions & answers Compiled-1
Dotnet difference questions & answers Compiled-1
Umar Ali
 
Design patterns difference between interview questions
Design patterns   difference between interview questionsDesign patterns   difference between interview questions
Design patterns difference between interview questions
Umar Ali
 
Node.js Service - Best practices in 2019
Node.js Service - Best practices in 2019Node.js Service - Best practices in 2019
Node.js Service - Best practices in 2019
Olivier Loverde
 
Kushal
KushalKushal
Kushal
bablu2010
 
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Atharva Jawalkar
 
Top java script frameworks ppt
Top java script frameworks pptTop java script frameworks ppt
Top java script frameworks ppt
Omkarsoft Bangalore
 
Top 50 .NET Interview Questions and Answers 2019 | Edureka
Top 50 .NET Interview Questions and Answers 2019 | EdurekaTop 50 .NET Interview Questions and Answers 2019 | Edureka
Top 50 .NET Interview Questions and Answers 2019 | Edureka
Edureka!
 
Dotnet difference questions & answers Compiled-1(updated)
Dotnet difference questions & answers Compiled-1(updated) Dotnet difference questions & answers Compiled-1(updated)
Dotnet difference questions & answers Compiled-1(updated)
Umar Ali
 
Dotnet difference questions and answers compiled- 1(updated-2)
Dotnet difference questions and answers compiled- 1(updated-2)Dotnet difference questions and answers compiled- 1(updated-2)
Dotnet difference questions and answers compiled- 1(updated-2)
Umar Ali
 
Angular interview questions
Angular interview questionsAngular interview questions
Angular interview questions
Goa App
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
Hùng Nguyễn Huy
 
Hibernate3 q&a
Hibernate3 q&aHibernate3 q&a
Hibernate3 q&a
Faruk Molla
 
.NET Intro & Dependency Injection Workshop
.NET Intro & Dependency Injection Workshop.NET Intro & Dependency Injection Workshop
.NET Intro & Dependency Injection Workshop
Serhii Kokhan
 
Angular.js interview questions
Angular.js interview questionsAngular.js interview questions
Angular.js interview questions
codeandyou forums
 
full stack interview questions.pdf
full stack interview questions.pdffull stack interview questions.pdf
full stack interview questions.pdf
Full stack campus
 
Oleksandr Valetskyy - Become a .NET dependency injection ninja with Ninject
Oleksandr Valetskyy - Become a .NET dependency injection ninja with NinjectOleksandr Valetskyy - Become a .NET dependency injection ninja with Ninject
Oleksandr Valetskyy - Become a .NET dependency injection ninja with Ninject
Oleksandr Valetskyy
 
Spring 2
Spring 2Spring 2
Spring 2
Aruvi Thottlan
 
Building Cloud-agnostic Serverless APIs
Building Cloud-agnostic Serverless APIsBuilding Cloud-agnostic Serverless APIs
Building Cloud-agnostic Serverless APIs
Postman
 
The Microservices world in. NET Core and. NET framework
The Microservices world in. NET Core and. NET frameworkThe Microservices world in. NET Core and. NET framework
The Microservices world in. NET Core and. NET framework
Massimo Bonanni
 
Docker_Interview_Questions__Answers.pdf
Docker_Interview_Questions__Answers.pdfDocker_Interview_Questions__Answers.pdf
Docker_Interview_Questions__Answers.pdf
RifqiMultazamOfficia
 
Dotnet difference questions & answers Compiled-1
Dotnet difference questions & answers Compiled-1Dotnet difference questions & answers Compiled-1
Dotnet difference questions & answers Compiled-1
Umar Ali
 
Design patterns difference between interview questions
Design patterns   difference between interview questionsDesign patterns   difference between interview questions
Design patterns difference between interview questions
Umar Ali
 
Node.js Service - Best practices in 2019
Node.js Service - Best practices in 2019Node.js Service - Best practices in 2019
Node.js Service - Best practices in 2019
Olivier Loverde
 
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Atharva Jawalkar
 
Top 50 .NET Interview Questions and Answers 2019 | Edureka
Top 50 .NET Interview Questions and Answers 2019 | EdurekaTop 50 .NET Interview Questions and Answers 2019 | Edureka
Top 50 .NET Interview Questions and Answers 2019 | Edureka
Edureka!
 
Dotnet difference questions & answers Compiled-1(updated)
Dotnet difference questions & answers Compiled-1(updated) Dotnet difference questions & answers Compiled-1(updated)
Dotnet difference questions & answers Compiled-1(updated)
Umar Ali
 
Dotnet difference questions and answers compiled- 1(updated-2)
Dotnet difference questions and answers compiled- 1(updated-2)Dotnet difference questions and answers compiled- 1(updated-2)
Dotnet difference questions and answers compiled- 1(updated-2)
Umar Ali
 
Angular interview questions
Angular interview questionsAngular interview questions
Angular interview questions
Goa App
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
Hùng Nguyễn Huy
 
.NET Intro & Dependency Injection Workshop
.NET Intro & Dependency Injection Workshop.NET Intro & Dependency Injection Workshop
.NET Intro & Dependency Injection Workshop
Serhii Kokhan
 
Angular.js interview questions
Angular.js interview questionsAngular.js interview questions
Angular.js interview questions
codeandyou forums
 
full stack interview questions.pdf
full stack interview questions.pdffull stack interview questions.pdf
full stack interview questions.pdf
Full stack campus
 
Oleksandr Valetskyy - Become a .NET dependency injection ninja with Ninject
Oleksandr Valetskyy - Become a .NET dependency injection ninja with NinjectOleksandr Valetskyy - Become a .NET dependency injection ninja with Ninject
Oleksandr Valetskyy - Become a .NET dependency injection ninja with Ninject
Oleksandr Valetskyy
 
Building Cloud-agnostic Serverless APIs
Building Cloud-agnostic Serverless APIsBuilding Cloud-agnostic Serverless APIs
Building Cloud-agnostic Serverless APIs
Postman
 
The Microservices world in. NET Core and. NET framework
The Microservices world in. NET Core and. NET frameworkThe Microservices world in. NET Core and. NET framework
The Microservices world in. NET Core and. NET framework
Massimo Bonanni
 
Docker_Interview_Questions__Answers.pdf
Docker_Interview_Questions__Answers.pdfDocker_Interview_Questions__Answers.pdf
Docker_Interview_Questions__Answers.pdf
RifqiMultazamOfficia
 
Ad

More from Umar Ali (20)

Difference between wcf and asp.net web api
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web api
Umar Ali
 
Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()
Umar Ali
 
Difference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvcDifference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvc
Umar Ali
 
ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1
Umar Ali
 
Affiliate Networks Sites-1
Affiliate Networks Sites-1Affiliate Networks Sites-1
Affiliate Networks Sites-1
Umar Ali
 
Technical Video Training Sites- 1
Technical Video Training Sites- 1Technical Video Training Sites- 1
Technical Video Training Sites- 1
Umar Ali
 
US News Sites- 1
US News Sites- 1 US News Sites- 1
US News Sites- 1
Umar Ali
 
Weak hadiths in tamil
Weak hadiths in tamilWeak hadiths in tamil
Weak hadiths in tamil
Umar Ali
 
Bulughul Maram in tamil
Bulughul Maram in tamilBulughul Maram in tamil
Bulughul Maram in tamil
Umar Ali
 
Indian news sites- 1
Indian news sites- 1 Indian news sites- 1
Indian news sites- 1
Umar Ali
 
Photo sharing sites- 1
Photo sharing sites- 1 Photo sharing sites- 1
Photo sharing sites- 1
Umar Ali
 
File hosting search engines
File hosting search enginesFile hosting search engines
File hosting search engines
Umar Ali
 
Ajax difference faqs compiled- 1
Ajax difference  faqs compiled- 1Ajax difference  faqs compiled- 1
Ajax difference faqs compiled- 1
Umar Ali
 
ADO.NET difference faqs compiled- 1
ADO.NET difference  faqs compiled- 1ADO.NET difference  faqs compiled- 1
ADO.NET difference faqs compiled- 1
Umar Ali
 
Dotnet differences compiled -1
Dotnet differences compiled -1Dotnet differences compiled -1
Dotnet differences compiled -1
Umar Ali
 
.NET Differences List
.NET Differences List.NET Differences List
.NET Differences List
Umar Ali
 
Difference between ajax and silverlight
Difference between ajax and silverlightDifference between ajax and silverlight
Difference between ajax and silverlight
Umar Ali
 
Difference between is and as operators in c#
Difference between is and as operators in c#Difference between is and as operators in c#
Difference between is and as operators in c#
Umar Ali
 
Difference between c# generics and c++ templates
Difference between c# generics and c++ templatesDifference between c# generics and c++ templates
Difference between c# generics and c++ templates
Umar Ali
 
Var vs iEnumerable
Var vs iEnumerableVar vs iEnumerable
Var vs iEnumerable
Umar Ali
 
Difference between wcf and asp.net web api
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web api
Umar Ali
 
Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()
Umar Ali
 
Difference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvcDifference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvc
Umar Ali
 
ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1
Umar Ali
 
Affiliate Networks Sites-1
Affiliate Networks Sites-1Affiliate Networks Sites-1
Affiliate Networks Sites-1
Umar Ali
 
Technical Video Training Sites- 1
Technical Video Training Sites- 1Technical Video Training Sites- 1
Technical Video Training Sites- 1
Umar Ali
 
US News Sites- 1
US News Sites- 1 US News Sites- 1
US News Sites- 1
Umar Ali
 
Weak hadiths in tamil
Weak hadiths in tamilWeak hadiths in tamil
Weak hadiths in tamil
Umar Ali
 
Bulughul Maram in tamil
Bulughul Maram in tamilBulughul Maram in tamil
Bulughul Maram in tamil
Umar Ali
 
Indian news sites- 1
Indian news sites- 1 Indian news sites- 1
Indian news sites- 1
Umar Ali
 
Photo sharing sites- 1
Photo sharing sites- 1 Photo sharing sites- 1
Photo sharing sites- 1
Umar Ali
 
File hosting search engines
File hosting search enginesFile hosting search engines
File hosting search engines
Umar Ali
 
Ajax difference faqs compiled- 1
Ajax difference  faqs compiled- 1Ajax difference  faqs compiled- 1
Ajax difference faqs compiled- 1
Umar Ali
 
ADO.NET difference faqs compiled- 1
ADO.NET difference  faqs compiled- 1ADO.NET difference  faqs compiled- 1
ADO.NET difference faqs compiled- 1
Umar Ali
 
Dotnet differences compiled -1
Dotnet differences compiled -1Dotnet differences compiled -1
Dotnet differences compiled -1
Umar Ali
 
.NET Differences List
.NET Differences List.NET Differences List
.NET Differences List
Umar Ali
 
Difference between ajax and silverlight
Difference between ajax and silverlightDifference between ajax and silverlight
Difference between ajax and silverlight
Umar Ali
 
Difference between is and as operators in c#
Difference between is and as operators in c#Difference between is and as operators in c#
Difference between is and as operators in c#
Umar Ali
 
Difference between c# generics and c++ templates
Difference between c# generics and c++ templatesDifference between c# generics and c++ templates
Difference between c# generics and c++ templates
Umar Ali
 
Var vs iEnumerable
Var vs iEnumerableVar vs iEnumerable
Var vs iEnumerable
Umar Ali
 

Recently uploaded (20)

Assurance Best Practices: Unlocking Proactive Network Operations
Assurance Best Practices: Unlocking Proactive Network OperationsAssurance Best Practices: Unlocking Proactive Network Operations
Assurance Best Practices: Unlocking Proactive Network Operations
ThousandEyes
 
Managing Geospatial Open Data Serverlessly [AWS Community Day CH 2025]
Managing Geospatial Open Data Serverlessly [AWS Community Day CH 2025]Managing Geospatial Open Data Serverlessly [AWS Community Day CH 2025]
Managing Geospatial Open Data Serverlessly [AWS Community Day CH 2025]
Chris Bingham
 
Artificial Intelligence (Kecerdasan Buatan).pdf
Artificial Intelligence (Kecerdasan Buatan).pdfArtificial Intelligence (Kecerdasan Buatan).pdf
Artificial Intelligence (Kecerdasan Buatan).pdf
NufiEriKusumawati
 
MuleSoft RTF & Flex Gateway on AKS – Setup, Insights & Real-World Tips
MuleSoft RTF & Flex Gateway on AKS – Setup, Insights & Real-World TipsMuleSoft RTF & Flex Gateway on AKS – Setup, Insights & Real-World Tips
MuleSoft RTF & Flex Gateway on AKS – Setup, Insights & Real-World Tips
Patryk Bandurski
 
UX for Data Engineers and Analysts-Designing User-Friendly Dashboards for Non...
UX for Data Engineers and Analysts-Designing User-Friendly Dashboards for Non...UX for Data Engineers and Analysts-Designing User-Friendly Dashboards for Non...
UX for Data Engineers and Analysts-Designing User-Friendly Dashboards for Non...
UXPA Boston
 
Planetek Italia Corporate Profile Brochure
Planetek Italia Corporate Profile BrochurePlanetek Italia Corporate Profile Brochure
Planetek Italia Corporate Profile Brochure
Planetek Italia Srl
 
Stretching CloudStack over multiple datacenters
Stretching CloudStack over multiple datacentersStretching CloudStack over multiple datacenters
Stretching CloudStack over multiple datacenters
ShapeBlue
 
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
SOFTTECHHUB
 
Reducing Bugs With Static Code Analysis php tek 2025
Reducing Bugs With Static Code Analysis php tek 2025Reducing Bugs With Static Code Analysis php tek 2025
Reducing Bugs With Static Code Analysis php tek 2025
Scott Keck-Warren
 
Apache CloudStack 101 - Introduction, What’s New and What’s Coming
Apache CloudStack 101 - Introduction, What’s New and What’s ComingApache CloudStack 101 - Introduction, What’s New and What’s Coming
Apache CloudStack 101 - Introduction, What’s New and What’s Coming
ShapeBlue
 
Building Connected Agents: An Overview of Google's ADK and A2A Protocol
Building Connected Agents:  An Overview of Google's ADK and A2A ProtocolBuilding Connected Agents:  An Overview of Google's ADK and A2A Protocol
Building Connected Agents: An Overview of Google's ADK and A2A Protocol
Suresh Peiris
 
AI-Powered Prototyping: Building an Onboarding Flow with Cursor by Ivana Milicic
AI-Powered Prototyping: Building an Onboarding Flow with Cursor by Ivana MilicicAI-Powered Prototyping: Building an Onboarding Flow with Cursor by Ivana Milicic
AI-Powered Prototyping: Building an Onboarding Flow with Cursor by Ivana Milicic
UXPA Boston
 
Collaborative Design for Social Impact Work by David Kelleher
Collaborative Design for Social Impact Work by David KelleherCollaborative Design for Social Impact Work by David Kelleher
Collaborative Design for Social Impact Work by David Kelleher
UXPA Boston
 
Multi-Agent AI Systems: Architectures & Communication (MCP and A2A)
Multi-Agent AI Systems: Architectures & Communication (MCP and A2A)Multi-Agent AI Systems: Architectures & Communication (MCP and A2A)
Multi-Agent AI Systems: Architectures & Communication (MCP and A2A)
HusseinMalikMammadli
 
Storage Setup for LINSTOR/DRBD/CloudStack
Storage Setup for LINSTOR/DRBD/CloudStackStorage Setup for LINSTOR/DRBD/CloudStack
Storage Setup for LINSTOR/DRBD/CloudStack
ShapeBlue
 
SQL Database Design For Developers at PhpTek 2025.pptx
SQL Database Design For Developers at PhpTek 2025.pptxSQL Database Design For Developers at PhpTek 2025.pptx
SQL Database Design For Developers at PhpTek 2025.pptx
Scott Keck-Warren
 
GraphSummit Singapore Master Deck - May 20, 2025
GraphSummit Singapore Master Deck - May 20, 2025GraphSummit Singapore Master Deck - May 20, 2025
GraphSummit Singapore Master Deck - May 20, 2025
Neo4j
 
Automating Call Centers with AI Agents_ Achieving Sub-700ms Latency.docx
Automating Call Centers with AI Agents_ Achieving Sub-700ms Latency.docxAutomating Call Centers with AI Agents_ Achieving Sub-700ms Latency.docx
Automating Call Centers with AI Agents_ Achieving Sub-700ms Latency.docx
Ihor Hamal
 
Breaking it Down: Microservices Architecture for PHP Developers
Breaking it Down: Microservices Architecture for PHP DevelopersBreaking it Down: Microservices Architecture for PHP Developers
Breaking it Down: Microservices Architecture for PHP Developers
pmeth1
 
Is Your QA Team Still Working in Silos? Here's What to Do.
Is Your QA Team Still Working in Silos? Here's What to Do.Is Your QA Team Still Working in Silos? Here's What to Do.
Is Your QA Team Still Working in Silos? Here's What to Do.
marketing943205
 
Assurance Best Practices: Unlocking Proactive Network Operations
Assurance Best Practices: Unlocking Proactive Network OperationsAssurance Best Practices: Unlocking Proactive Network Operations
Assurance Best Practices: Unlocking Proactive Network Operations
ThousandEyes
 
Managing Geospatial Open Data Serverlessly [AWS Community Day CH 2025]
Managing Geospatial Open Data Serverlessly [AWS Community Day CH 2025]Managing Geospatial Open Data Serverlessly [AWS Community Day CH 2025]
Managing Geospatial Open Data Serverlessly [AWS Community Day CH 2025]
Chris Bingham
 
Artificial Intelligence (Kecerdasan Buatan).pdf
Artificial Intelligence (Kecerdasan Buatan).pdfArtificial Intelligence (Kecerdasan Buatan).pdf
Artificial Intelligence (Kecerdasan Buatan).pdf
NufiEriKusumawati
 
MuleSoft RTF & Flex Gateway on AKS – Setup, Insights & Real-World Tips
MuleSoft RTF & Flex Gateway on AKS – Setup, Insights & Real-World TipsMuleSoft RTF & Flex Gateway on AKS – Setup, Insights & Real-World Tips
MuleSoft RTF & Flex Gateway on AKS – Setup, Insights & Real-World Tips
Patryk Bandurski
 
UX for Data Engineers and Analysts-Designing User-Friendly Dashboards for Non...
UX for Data Engineers and Analysts-Designing User-Friendly Dashboards for Non...UX for Data Engineers and Analysts-Designing User-Friendly Dashboards for Non...
UX for Data Engineers and Analysts-Designing User-Friendly Dashboards for Non...
UXPA Boston
 
Planetek Italia Corporate Profile Brochure
Planetek Italia Corporate Profile BrochurePlanetek Italia Corporate Profile Brochure
Planetek Italia Corporate Profile Brochure
Planetek Italia Srl
 
Stretching CloudStack over multiple datacenters
Stretching CloudStack over multiple datacentersStretching CloudStack over multiple datacenters
Stretching CloudStack over multiple datacenters
ShapeBlue
 
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
SOFTTECHHUB
 
Reducing Bugs With Static Code Analysis php tek 2025
Reducing Bugs With Static Code Analysis php tek 2025Reducing Bugs With Static Code Analysis php tek 2025
Reducing Bugs With Static Code Analysis php tek 2025
Scott Keck-Warren
 
Apache CloudStack 101 - Introduction, What’s New and What’s Coming
Apache CloudStack 101 - Introduction, What’s New and What’s ComingApache CloudStack 101 - Introduction, What’s New and What’s Coming
Apache CloudStack 101 - Introduction, What’s New and What’s Coming
ShapeBlue
 
Building Connected Agents: An Overview of Google's ADK and A2A Protocol
Building Connected Agents:  An Overview of Google's ADK and A2A ProtocolBuilding Connected Agents:  An Overview of Google's ADK and A2A Protocol
Building Connected Agents: An Overview of Google's ADK and A2A Protocol
Suresh Peiris
 
AI-Powered Prototyping: Building an Onboarding Flow with Cursor by Ivana Milicic
AI-Powered Prototyping: Building an Onboarding Flow with Cursor by Ivana MilicicAI-Powered Prototyping: Building an Onboarding Flow with Cursor by Ivana Milicic
AI-Powered Prototyping: Building an Onboarding Flow with Cursor by Ivana Milicic
UXPA Boston
 
Collaborative Design for Social Impact Work by David Kelleher
Collaborative Design for Social Impact Work by David KelleherCollaborative Design for Social Impact Work by David Kelleher
Collaborative Design for Social Impact Work by David Kelleher
UXPA Boston
 
Multi-Agent AI Systems: Architectures & Communication (MCP and A2A)
Multi-Agent AI Systems: Architectures & Communication (MCP and A2A)Multi-Agent AI Systems: Architectures & Communication (MCP and A2A)
Multi-Agent AI Systems: Architectures & Communication (MCP and A2A)
HusseinMalikMammadli
 
Storage Setup for LINSTOR/DRBD/CloudStack
Storage Setup for LINSTOR/DRBD/CloudStackStorage Setup for LINSTOR/DRBD/CloudStack
Storage Setup for LINSTOR/DRBD/CloudStack
ShapeBlue
 
SQL Database Design For Developers at PhpTek 2025.pptx
SQL Database Design For Developers at PhpTek 2025.pptxSQL Database Design For Developers at PhpTek 2025.pptx
SQL Database Design For Developers at PhpTek 2025.pptx
Scott Keck-Warren
 
GraphSummit Singapore Master Deck - May 20, 2025
GraphSummit Singapore Master Deck - May 20, 2025GraphSummit Singapore Master Deck - May 20, 2025
GraphSummit Singapore Master Deck - May 20, 2025
Neo4j
 
Automating Call Centers with AI Agents_ Achieving Sub-700ms Latency.docx
Automating Call Centers with AI Agents_ Achieving Sub-700ms Latency.docxAutomating Call Centers with AI Agents_ Achieving Sub-700ms Latency.docx
Automating Call Centers with AI Agents_ Achieving Sub-700ms Latency.docx
Ihor Hamal
 
Breaking it Down: Microservices Architecture for PHP Developers
Breaking it Down: Microservices Architecture for PHP DevelopersBreaking it Down: Microservices Architecture for PHP Developers
Breaking it Down: Microservices Architecture for PHP Developers
pmeth1
 
Is Your QA Team Still Working in Silos? Here's What to Do.
Is Your QA Team Still Working in Silos? Here's What to Do.Is Your QA Team Still Working in Silos? Here's What to Do.
Is Your QA Team Still Working in Silos? Here's What to Do.
marketing943205
 

ASP.NET Difference FAQs

  • 1. 1) What is the difference between Convert.ToInt32(string) and Int32.Parse(string)? S.N Int32.Parse(string) Convert.ToInt32(string) o 1 It throws an exception when It returns zero when null value is null value is passed passed 2) What is the difference between EVAL and BIND? S.N EVAL BIND o 1 It is readonly It is editable 2 Used to display only Used to both display and update 3) What is the main difference between MVP and MVC? S.N MVP MVC o 1 In MVP, the View is In MVC,the Controller and the completely controlled by the Model can update the View Presenter 4) What are the differences between Inline code and Code Behind Code? S.N Inline code Code Behind Code o 1 Its within .aspx file Its in a external class file 2 Dynamically compiled Compiled prior to deployment and linked with .aspx file 5) What are the differences between Global.asax and Web.Config? S.N global.asax web.config o 1 It is a class file It is an XML file 2 There can be only one for an There can be many if under application different sub-folders 3 Can have Application and Cannot have Application and Session events Session events 4 Need to be recompiled when No need to compile when changes are made changes are made
  • 2. 6) What are the Differences between Server.Transfer and Response.Redirect? S.N Server.Transfer Response.Redirect o 1 The navigation happens on The navigation happens on the the server-side ,so client client-side ,so client history is history is not updated updated 2 Data can be persist across Context.Items loses the the pages using Context.Item persistence collection 3 No Round-trips Makes a Round-trip 4 Has Good encapsulation No 7) What is the difference between a custom control and a user control? S.N User Control Custom Control o 1 Is a file with the .ascx Is a file with the .dll extension extension 2 Can be only used with the Can be used in any number of application applications 3 Language dependent They are language independent, a control created in c# can be used in vb.net 4 Cannot be added to Visual Can be added to Visual studio studio Toolbox Toolbox 5 Inherits from Server controls We have to develop from and easy to create scratch , so comparatively difficult 6 Generally used for static Used when dynamic content is content required 8) What is the difference between Caching and Application? S.N Caching Application o 1 Cache have expire policy Application does not have expire policy 2 Cache does not require Application require explicit explicit locking locking 3 Cache has the Property of Application variables exist as timeout, which allows us to long as the application is alive control the duration of the
  • 3. Objects so cached 4 Output can be cached in 4 Application does not have ways, options as like Cache object • Page Output Caching • Page Partial Caching • DataSource Caching • Data Caching 5 It is accessible to page level It is accessible to both page to all the users level and application level to all the users 9) What is the difference between web farm and web garden? S.N Web farm Web garden o 1 A web application running on A web application running on a multiple servers is called a single server that has multiple web farm CPUs is called a web garden 10) What is the difference between Application and Session Events? S.N Application Event Session Event o 1 Application events are used Session events are used to to initialize objects and data initialize data that we want to that we do want to make keep throughout individual available to all the current sessions, but that we do not sessions of our web want to share between sessions application 11) What is the difference between Session Cookies and Persistent Cookies? S.N Session Cookies Persistent Cookies o 1 Session Cookies do not have Persistent Cookies have an expiration date expiration date. The expiration date indicates to the browser that it should write the cookie to the client’s hard drive 12) What are the differences between Server Controls and HTML Controls? S.N Server Controls HTML Controls o
  • 4. 1 Server Controls can trigger HTML Controls can trigger only control-specific events on the page-level events on server server (postback) 2 Data entered in a server Data is not maintained in an control is maintained across HTML control. Data must be requests. Server controls saved and restored using page- retain state level scripts 3 The Microsoft .NET HTML controls have HTML Framework provides a set of attributes only properties for each server control. Properties allows us to change the server control’s appearance and behavior within server-side code 4 Server controls automatically We must detect browser in code detect browser and adapt or write for least common display as appropriate denominator 13) What are the differences between ViewState and Hidden fields? S.N ViewState Hidden fields o 1 This is used for pages that This is used for pages that will will postback to itself postback to itself or to another page 2 This is built in structure for This is not an inbuilt structure maintaining state of a page 3 Security is more as data is Security is less when compared hashed, compressed and to ViewState encoded 14) What is the difference between SQL Cache Notification and SQL Cache Invalidation? S.N SQL Cache Notification SQL Cache Invalidation o 1 Using SQL Cache Using SQL Cache Invalidation, we Notification, we can generate can make a cached item invalid notifications when the data of that depends on the data stored a database on which a in a SQL server database, when cached item depends the data in the SQL server changes database is changed 15) What is the difference between absolute time expiration and sliding time expiration?
  • 5. S.N Absolute time expiration Sliding time expiration o 1 In absolute time expiration, a In sliding time expiration, the cached item expires after the time for which the item is cached expiration time specifies for is each time incremented by its it, irrespective of how often it expiration time if it is accessed is accessed before completion of its expiration time 16) What is the difference between adding items into cache through Add() method and Insert() method? S.N Cache.Add() Cache.Insert() o 1 Cache.Add() method also Cache.Insert() method adds only returns an object the item in the cache representing the item we have added in the cache ,besides adding the item in the cache 2 It is not possible to replace We can replace an existing item an existing item in the cache in the cache using the using the Cache.Add() Cache.Insert() method method 17) What is the difference between page-level caching and fragment caching? S.N Page-level caching Fragment caching o 1 In Page-level caching, we In Fragment caching, we cache cache a whole page parts of the web page such as a user control added to the web page 18) What is the difference between Label control and Literal control? S.N Label control Literal control o 1 Final HTML code of a Label Final HTML code of a Literal control has an HTML tag control contains only text, which is not surrounded by any HTML tag
  • 6. 19) What is the difference between HyperLink control and LinkButton control? S.N HyperLink control LinkButton control o 1 A HyperLink control do not A LinkButton control have Click have Click and Command and Command events, which can events be handled in the code behind file of the web page 20) What is the difference between an HtmlInputCheckBox control and an HtmlInputRadioButton control? S.N HtmlInputCheckBox HtmlInputRadioButton o control control 1 We can select more than one We can select only a single HtmlInputCheckBox control HtmlInputRadioButton control from a group of from a group of HtmlInputCheckBox controls HtmlInputRadioButton controls 21) How a content page differs from a master page? S.N Content page Master page o 1 A content page does not A master page has complete have complete HTML source HTML source code inside its code source file 22) How will you differentiate a submaster page from a top- level master page? S.N Submaster page Top-level master page o 1 Like a content page, a Top-level master page has submaster page also does complete HTML source code not have complete HTML inside its source file source code 23) What is the difference between a page theme control and a global theme? S.N Page theme Global theme o 1 A page theme is stored inside A global theme is stored inside a subfolder of the the Themes folder on a web App_Themes folder of a web server
  • 7. application 2 It can be applied to individual It can be applied to all the web web pages of the web sites on the web server application 24) What is the difference between a default skin and a named skin? S.N Default skin Named skin o 1 A default skin does not have A named skin has a SkinId a SkinId attribute attribute 2 It is automatically applied to It is applied to a control explicitly all the controls of the same by setting the SkinId property of type present on a web page the control from the Properties window 25) Differentiate Globalization and Localization S.N Globalization Localization o 1 Globalization is the process of Localization is the process of identifying the specific configuring a web application to portion of a web application be supported for a specific that needs to be different for language or locale different languages and isolating that portion from the core of the web application 26) What are the differences between web.config and machine.config? S.N web.config machine.config o 1 This is automatically created This is automatically installed when we create an ASP.Net when we install Visual Studio. web application project Net 2 This is also called application This is also called machine level level configuration file configuration file 3 We can have more than one Only one machine.config file web.config file exists on a server 4 This file inherits setting from This file is at the highest level in the machine.config the configuration hierarchy
  翻译: