Questions
Questions
1) What is ASP?
ASP stands for Active Server Pages. It is also known as classic ASP. It is a server-side
technology provided by Microsoft which is used to create dynamic and user-friendly web
pages. It uses different scripting languages to create dynamic web pages which can be
run on any browsers.
2) What is ASP.NET?
ASP.Net is a specification by Microsoft which is used to create web applications and web
services. It is a part of ".Net framework". You can create ASP.Net applications in most
of the .Net compatible languages like Visual Basic, C#, etc. ASP.Net provides much
better performance than scripting languages.
4) What is IIS?
IIS stands for Internet Information Services. It is created by Microsoft to provide
Internet-based services to ASP.NET Web applications.
o IIS also offers the services of SMTP and FrontPage server extensions.
o The SMTP is used to send emails and use FrontPage server extensions to get the
dynamic features of IIS, such as form handler.
o By caching the response, your request is served by the response already stored
in memory.
o You must be very careful while choosing the items to cache because Caching
incurs overhead.
o A frequently used web form which data doesn't frequently change is good for
caching.
o A cached web form freezes form?s server-side content, and changes to that
content do not appear until the cache is refreshed.
o Highly Scalable
o Compiled Code
o User Authentication
o Language Support
On the other hand, ASP.NET MVC uses the Front Controller approach. In this approach,
there is a common controller for all pages.
15) What is the difference between the GET method () and POST
method ()?
On the other hand, the application object is used to store the information and access
variables from any page in the application.
Global Theme: The Global theme is applied to all the web applications on the web
server. It is stored inside the Themes folder on a Web server.
Late Binding: In late binding, a virtual method is called which is decided at runtime.
There can be multiple web config files in an application but only one machine config file.
The Model represents data, View represents presentation and controller acts as an
interface between Model and View.
o Application
o Session
o Context
o Request
o Response
o Server
o Trace
o Privileges as per role restrict the user's actions on the system and ensure that a
user can do only what he is permitted to do on the system.
o When set to true, this property instructs the client application not to save the
Cookie on the hard disk of the user at the end of the session.
o HTML server controls are just like HTML elements that we use on the HTML
pages.
o HTML server controls are used to expose properties and events for use.