Professional Documents
Culture Documents
Net Unit 1 Sem Notes
Net Unit 1 Sem Notes
Net Unit 1 Sem Notes
15.What is the syntax of .NET? Syntax The .NET Application Password SDK
comprises several classes, each containing one or more methods.
Class: PSDKPasswordRequest
Class: PasswordSDK
Class: PSDKPassword
PART B 8MARKS
79.List out the advantages and disadvantages of client – side and Server – side
scripts.
Advantages and disadvantages of client-side scripts
Developers might consider using client-side scripts for many reasons, and they
might have some legitimate reasons not to use them.
Advantages
Client-side scripts offer numerous advantages, including:
Allow for more interactivity by immediately responding to users’ actions.
Execute quickly because they do not require a trip to the server.
May improve the usability of Web sites for users whose browsers support
scripts.
Can give developers more control over the look and behaviour of their Web
widgets.
Disadvantages
Client-side scripts also create additional worries which include:
Not all browsers support scripts, therefore, users might experience errors if
no alternatives have been provided.
Different browsers and browser versions support scripts differently, thus
more quality assurance testing is required.
Advantages and disadvantages of server-side scripts
Advantages
User can create one template for the entire website
The site can use a content management system which makes editing
simpler.
Generally quicker to load than client-side scripting
User is able to include external files to save coding.
Disadvantages
Many scripts and content management systems tools require databases in
order to store dynamic data.
It requires the scripting software to be installed on the server.
80. What is client-side scripting? Explain with suitable example.
The client-server model is used because servers are typically more powerful and
more reliable than user devices. They also are constantly maintained and kept in
controlled environments to make sure they're always on and available; although
individual servers may go down, there are usually other servers backing them up.
Meanwhile, users can turn their devices on and off, or lose or break their devices,
and it should not impact Internet service for other users.
Servers can serve multiple client devices at once, and each client device sends
requests to multiple servers in the course of accessing and browsing the Internet.
Multiple clients and servers interact:
. Class Library
The .NET Framework includes a set of standard class libraries. A class library is a
collection of methods and functions that can be used for the core purpose.
. Languages
The types of applications that can be built in the .Net framework is classified
broadly into the following categories.
84. Describe in detail the role of Common Language Runtime (CLR) in .NET.
NET Common Language Runtime (CLR)
.NET CLR is a run-time environment that manages and executes the code written
in any .NET programming language.
It converts code into native code which further can be executed by the CPU.
.NET CLR Functions
Following are the functions of the CLR.
It converts the program into native code.
Handles Exceptions
Provides type-safety
Memory management
Provides security
Improved performance
Language independent
Platform independent
Garbage collection
Provides language features such as inheritance, interfaces, and overloading for
object.
PART C 15MARKS
126. Explain in detail about HTML.
The HyperText Markup Language or HTML is the standard markup
language for documents designed to be displayed in a web browser. It can
be assisted by technologies such as Cascading Style Sheets (CSS)
and scripting languages such as JavaScript.
127. Give the difference between client side scripting and server side scripting.
Client-side scripting Server-side scripting