Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 3

Question: Briefly explain the concept behind ASP.net.

ASP.NET Framework is a part of the .NET framework used to create a dynamic website, web application
and web services. It is a server-side technology that uses all .NET compatible language such as C#,
VB.NET, J# etc. which are compiled to Microsoft Intermediate Language (MSIL). ASP.NET uses server
control to develop a rapid and interactive application in an easy way.

Question: What are server controls in ASP.NET?

The ASP.NET server controls are objects on the ASP.NET pages that run when the Web page is requested.
Many server controls, such as button and text box, are similar to the HTML controls. In addition to the
HTML controls, there are many controls, which include complex behaviour, such as the controls used to
connect to data sources and display data.

Question: What is the difference between client-side and server-side validations?

Client-side validations work at the client end with the help of scripting languages such as JavaScript or
jQuery and VBScript. On the other hand, server-side validations work at the server end with the help of
programming languages like C#, VB, F# etc. Server validations work when you submit or send data to the
server.

Question: Explain webconfig file?

Answer: The web.config file is crucial because it contains the configuration settings for the application. It
keeps your entire configuration separate from your code so you can easily change settings without code
changes. It also allows you to potentially encrypt the configuration settings for increased security.

What is Post Back?

Validation Controls
Question: Briefly describe the difference between the Web Site and Web Application?

Answer:

Website

Web Application

Contains static content available publicly to all the visitors.

Dynamic and interactive content.

The content is readable by all but cannot be changed or manipulated.

An end-user can read and manipulate the restricted data.

These are mostly informational websites hence authentication is not mandatory.

Needs authentication as these have more features and options for the user.

It is simple to create as just information is loaded and updated.

Since there is interaction with the end-user, web applications are complex and perform more functions.

Website is a whole product that is accessible through the browser.

It is one part of the whole website. it cannot be accessed directly.

No pre-compilation is required, only HTML code needs to be refreshed.

Pre-compilation is required before deployment.

DEPARTMENT OF COMPUTER SCIENCE

ASP.net

FINAL EXAMINATIONS

Answer four (4) Questions (25 Marks Each)


Question 1:

Briefly explain the concept of ASP.net. as a solution to application developments

Explain the differences between ASP.net and JSP.

Question 2:

What are server controls in ASP.NET?

What is the difference between controls and HTML controls?

Question3:

Explain the difference between client-side and server-side validations?

Question 4:

Explain webconfig file and appConfig?

Explain the following terms:

Post Back?

Validation Controls

Event

Question 5:

Briefly describe the difference between the Web Site and Web Application?

Explain JDBC and ADO.net.

You might also like