0% found this document useful (0 votes)
6 views3 pages

2 Number Asp

The document provides an overview of ASP.NET Framework, detailing its components, features, and functionalities such as server-side scripting, client-side validation, and View State. It also explains various controls like Web Forms, Data Bound Controls, and Validation Controls, along with concepts like Session State, DataSet, and XML. Additionally, it compares C# and Java, defines the .NET Framework, and discusses the role of web servers and cookies in web development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

2 Number Asp

The document provides an overview of ASP.NET Framework, detailing its components, features, and functionalities such as server-side scripting, client-side validation, and View State. It also explains various controls like Web Forms, Data Bound Controls, and Validation Controls, along with concepts like Session State, DataSet, and XML. Additionally, it compares C# and Java, defines the .NET Framework, and discusses the role of web servers and cookies in web development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1. What is ASP.NET Framework ASP.

NET ek web development framework hai


jo Microsoft ne develop kiya hai. Ye framework server-side scripting use karta
hai dynamic web pages banane ke liye. ASP.NET, .NET Framework ka part hai
aur ismein C#, VB.NET jaise languages ka use karke websites, web apps, aur
web services banaye ja sakte hain. Ye framework performance, security aur
scalability provide karta hai. Isme Web Forms, MVC, Web API jaise components
included hote hain.

2. What do you mean by Client Side Validation? Client Side Validation ka


matlab hota hai user input ko validate karna browser ke side par bina server ko
request bheje. Isme JavaScript ya HTML5 ka use karke forms mein data check
kiya jata hai jaise ki required fields, email format, number range, etc. Iska fayda
ye hai ki user ko turant feedback milta hai aur server ka load bhi kam hota hai.
Ye faster aur user-friendly hota hai.

3. What is View State? View State ASP.NET ka ek feature hai jo page ke


controls ka data retain karta hai jab page reload ya postback hota hai. Jab user
koi data form mein fill karta hai aur page reload hota hai, to View State uss data
ko wapas show karta hai. Ye data page ke hidden field mein store hota hai aur
base64 encoding ke form mein rehta hai. Ye sirf same page ke liye kaam karta
hai.

4. Name Web Forms Control & Define Web Forms controls ASP.NET mein
predefined controls hote hain jo user input lete hain. Jaise: TextBox (text input),
Button (click action), DropDownList (select option), CheckBox (true/false),
RadioButton (multiple options). In controls ka use web forms mein interaction
ke liye hota hai. Ye server-side controls hote hain aur inki processing server par
hoti hai. Inse web apps banana easy aur structured ho jata hai.

5. What is Dataset Class? Dataset ek class hoti hai .NET framework mein jo
memory mein data ko tabular form mein store karti hai. Isme multiple DataTable
objects ho sakte hain. Dataset disconnected data architecture ko support karta
hai, yani ek baar data load hone ke baad usse database se connection ki jarurat
nahi hoti. Iska use mostly data manipulation aur data binding ke liye hota hai
web aur windows applications mein.

6. What is XML and SOAP? XML (eXtensible Markup Language) ek markup


language hai jo data ko structured format mein store aur transport karne ke liye
use hoti hai. SOAP (Simple Object Access Protocol) ek messaging protocol hai
jo XML ka use karke web services ke beech data exchange karta hai. SOAP
platform independent hota hai aur HTTP ke through messages bhejta hai. Ye
secure aur reliable communication provide karta hai.

7. What is Ad Rotator? Ad Rotator ASP.NET ka ek server-side control hai jo


dynamically ads display karta hai ek predefined XML file ke through. Ye control
randomly ya sequentially ads ko rotate karta hai har page reload ke sath. Isme
image URL, alternate text, navigate URL aur impression weight define kiya jata
hai. Iska use websites mein promotional banners ya advertisements dikhane ke
liye hota hai.

8. What is Data Bound Control? Data Bound Controls aise controls hote hain
jo kisi data source se directly bind kiye ja sakte hain. Jaise: GridView, DataList,
Repeater. Inka use data ko display karne ke liye hota hai jo kisi database ya XML
file se aata hai. Ye controls data ko structure ke saath easily dikhate hain aur
CRUD (Create, Read, Update, Delete) operations ke liye bhi use hote hain.

9. What is Application & Web Server? Application Server ek aisa software


framework hai jo business logic ko execute karta hai, jaise .NET framework.
Web Server jaise IIS (Internet Information Services) HTTP requests ko handle
karta hai aur web pages ko client tak deliver karta hai. Web server static
content serve karta hai, jabki application server dynamic content generate karta
hai. ASP.NET applications dono servers ka use karti hain.

10. What do you mean by Validation Controls? Validation Controls ASP.NET


mein predefined tools hote hain jo user input ko check karte hain form submit
hone se pehle. Common controls hain: RequiredFieldValidator, RangeValidator,
RegularExpressionValidator, CompareValidator, CustomValidator. Inka use form
data ki accuracy ensure karne ke liye hota hai jaise ki email format, required
field, number range, etc. Ye client-side aur server-side validation dono support
karte hain.

11. What is Session State? Session State ASP.NET ka feature hai jisme user
specific data server par store kiya jata hai jab tak user session active hai. Iska
use temporary data jaise username, user preferences ko store karne ke liye
hota hai. Jab user website ko access karta hai, ek session ID generate hota hai
jo browser ke through identify hota hai. Ye per-user data ko manage karta hai.

12. What is Data Grid? Data Grid ek ASP.NET control hai jo tabular format mein
data display karta hai. Ye data sources jaise SQL database, XML files, etc. se
bind hota hai. Data Grid sorting, paging, and editing jaise features provide karta
hai. Iska use web applications mein large data sets ko user-friendly way mein
show karne ke liye hota hai. Ye interactive aur customizable hota hai.

13. What is XML Parser? XML Parser ek tool ya library hoti hai jo XML
documents ko read, interpret, aur manipulate karta hai. Ye XML data ko process
karne ke liye use hota hai web applications mein. Parser data ko structured
format mein convert karta hai jise application samajh sake. DOM (Document
Object Model) aur SAX (Simple API for XML) do common parsing methods hain.
XML parser reliable data exchange ke liye important hota hai.

14. Give two differences between C# and Java


. C# Microsoft ke .NET framework ke liye design kiya gaya hai, jabki
.
Java platform-independent hai aur JVM par run hota hai.
. C# mein properties aur events built-in hote hain, jabki Java mein inka
manual implementation karna padta hai. C# Windows development
mein use hota hai aur Java mostly Android aur cross-platform
development mein popular hai.
15. Define .NET Framework .NET Framework Microsoft ka ek software
development platform hai jisme CLR (Common Language Runtime) aur class
libraries hoti hain. Ye framework Windows-based applications banane ke liye
use hota hai. Ye multiple languages support karta hai jaise C#, VB.NET. CLR
code ko execute karta hai aur memory management, security, exception
handling jaise features provide karta hai.

16. What is Web Server? Web Server ek aisa software ya hardware system
hota hai jo client se aayi HTTP requests ko handle karta hai aur web pages
provide karta hai. ASP.NET applications mostly IIS (Internet Information
Services) web server par chalte hain. Ye static aur dynamic content serve karta
hai jaise HTML, ASPX files.

17. What tag is used to find version of XML? XML version define karne ke liye
XML declaration tag use hota hai:
Ye tag hamesha XML file ke start mein hota hai aur ye batata hai ki XML kaunsa
version use kar raha hai. Encoding attribute batata hai ki text kis character set
mein likha gaya hai.

Is tag mein version attribute XML version batata hai. Mostly version 1.0 use hoti
hai.
18. Explain XML Elements XML elements data ko represent karte hain. Ek
element start tag, content aur end tag se milkar banta hai: Deepak Yahan start
tag hai, Deepak content hai, aur end tag hai. XML elements structured aur
readable data store karne mein help karte hain.

19. Define XML Namespace XML Namespace ka use XML document mein
elements aur attributes ke naming conflict ko avoid karne ke liye hota hai. Ye ek
URI (Uniform Resource Identifier) hota hai jo uniquely identify karta hai XML
elements ko. Syntax: xmlns:prefix="URI" Example: xmlns:book="http://
example.com/book"

20. What is Cookie? Cookie ek small piece of data hota hai jo web browser
user ke system par store karta hai. Iska use user-related information store
karne ke liye hota hai jaise login info, user preferences, etc. Cookie client-side
par store hoti hai aur har request ke sath server ko bheji ja sakti hai. Session
management aur tracking ke liye cookies useful hoti hain.

You might also like