0% found this document useful (0 votes)
6 views

AWP

.NET framework architecture includes components like .NET languages, Common Language Runtime, and ASP.NET for web applications. Key concepts discussed include C# syntax, assemblies, inheritance, web.config, web server controls, validation controls, and data handling with ADO.NET. The document also covers user authentication, AJAX, and the differences between XML and HTML.

Uploaded by

kakashihata932
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 views

AWP

.NET framework architecture includes components like .NET languages, Common Language Runtime, and ASP.NET for web applications. Key concepts discussed include C# syntax, assemblies, inheritance, web.config, web server controls, validation controls, and data handling with ADO.NET. The document also covers user authentication, AJAX, and the differences between XML and HTML.

Uploaded by

kakashihata932
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/ 5

AWP

Unit 1

1) Draw and explain .Net framework architecture


- .Net language : include VB,C#,F#,and C++
- Common language Runtime: engine execute all .Net program and provide automatic service
for these applications
- .NET framework class library: class library contain thousand piece of pre built that can snap
into your application like ADO.NET (database) and WPF (desktop UI)
- ASP.NET : this is a engine that host the web application you create in .NET

2) basic C# syntax
- array : int [ ] number = { 1,2,3,4}
- Arraylist : ArrayList dynamiclist = new ArrayList()
- dynamiclist.add("one")
- String methods: string mystring = "yash"
- mystring.Trim(), mystring.Substring(0,4), .To upper(),.To Replace( "Y","M"),.Length()

3) explain assembly?
- assemblies is a collection of code files that are complied into executable or Dynamic link library
- Private Assemblies : An assembly that soly belong to single application, this assemblies not
intent to share with anyone
- they are used to store application specific code and resource
- simple to deploy and use the automatic loaded in .NET when application start
- Shared Assemblies: an assembly used by several programmes
- it is found in Global Assembly Cache or a common directory
- they are used to store resource and code shared by various applications
- Dynamic link library: it a assembly can be used by multiple applications DLL do not need a
strong name

4) explain inheritance ?
- answer link

Unit 2

1) explain way to sending user to new page ?


- <a href= "newpage.aspx "> here </a>
- Response.Redirect(" newpage.aspx ");
- Response.redirect("https://www.yash.com");
- Server.Transfer("newpage.aspx");

2) explain web.config?
- the web config file uses a predefined XML format
- the entire file is nested in a root<configuration>element
- inside this element are several more subsection
- is a case sensitive like all XML documents

3) list and explain 6 web server control


- TextBox Control Purpose: Used for collecting user input in text form.
- Button Control Purpose: Triggers postbacks and server-side events when clicked
- DropDownList Control Purpose: Presents a list of items for the user to select from.
- Label Control Purpose: Displays static or dynamic text on the web page.
- GridView Control Purpose: Displays data in a tabular format.
- checkbox (https://chatgpt.com/share/66e7e68f-3e04-8013-915c-c6eacf086fbc)

4) Validation control in Asp.net?


- RequiredFieldValidation Control
- CompareValidator control
- RangeValidator control
- RegularExpressionValidator control
- CustomValidator control
- ValidationSummary IMG ☝️
5) Rich control🛂 ?
- The Calendar: the Calendar Control present in miniature calender that you place in your web
page, like most rich control the calendar can be program as single object
- AdRotator: AdRotator control randomly selects banner graphics from list which is specified in
an external XML schedule file
- the external schedule file is called Advertisment file
<Asp:AdRotator runat = " server " AdvertismentFile = " adfile.xml " Target = "_blank"/>
Tag : ImageUrl,NavigateUrl,AlternateText, Impression,Keyword

6) User control and graphics ?


- user control look same as Asp.net web form diffrence is that file extension is .ascx instead of
.aspx they inherit form System.Web.UI.UserControl class
- the .ascx for use control begin with <%@control> rather than <%@page>
- user control can't directly request to browser instead they embedded inside other web pages

7) Website Navigation in .net?


- SiteMaps ,Url mapping ,url routing (vedio dekh lena exam se phele )

Unit 3
☝️
1) user defined exception ?
- IMG

2) explain Tracing , and Application level tracing ?


- Asp.ner have feature called tracing that give you far more convenient and flexible way to report
diagnostic information
- to use tracking need to write explicitly
- Trace.IsEnabled = true;
- Application level tracing allow you to enable tracing for an entire application
- tracing info won't show instead it store in memory for short time and can review it using special
URL
- to enable tracking you need to modify web.config file
- <trace enabled="true" requestlimit="10" page output="false">

3) explain Cross page postback ?


- techniques that send user to another page but with all the information for that page
- achieve by PostBackUrl (by buttons tag)

Q4: What is a query string?


A4: A query string is part of a URL that carries data in key-value pairs, typically after a ?. It is
lightweight and used to transfer information between web pages, but it has limitations like
limited data size and visibility to users.

Q5 explain style,theme,and master page


- style refers to the use of CSS to define the look and feel of web pages, such as colors, fonts,
and layouts.
Themes allow for consistent styling across multiple web pages by grouping resources like CSS
files, images, and skins. They help in applying a unified design to a site.
Master pages provide a template for the layout of web pages, enabling shared elements like
headers, footers, or navigation menus to be reused across multiple pages, ensuring consistency
and reducing code duplication. Together, these elements help create a cohesive and
maintainable user interface in ASP.NET applications.

Unit 4

1) what is Ado.net? Explain Dataset and Datatable ?


- it is a module of .Net Framework which is to establish connection between application and
Datasources like SQL,XML
- consist classes that can be used to
connect, retrieve ,insert and delete data
- Data set is used to access data independently from any data resources
- Dataset contain collection of one or more Datatable object of data
- it cache data locally at your application
- allow performing processing of data without open connection

2) .net Framework Data provider Object


- Connection, command, Datareader, Data adapter

3) explain Data Binding ? Explain types ?


- the basic principles of data binding is that you tell control where to find your data and how to
you want to it displayed
- single value data binding : single value data binding allow you to take variable ,a property ,an
expression and insert it dynamically into a page
- helps to create template for rich data control
-Repeated - value Data Binding used to display an entire table in such as gridview ,listbox etc

4) The Data control ?


- Gridview, Detail view,Form view,ListView oh wow whole chapter for gridview
question nhi de raha hai )
😮‍💨(kya hai
Unit 5

1) what is XML? Difference in XML and html


- XML (eXtensible Markup Language) is a markup language designed to store and transport
data, focusing on simplicity and usability across platforms.
- Key Differences between XML and HTML in ASP.NET:
-Purpose: XML is used for data storage and transport, while HTML is for web page structure
and display.
-Tag Customization: XML allows custom tags; HTML has predefined tags.
-Data Validation: XML supports validation via DTD/XSD; HTML does not.
-Case Sensitivity: XML is case-sensitive; HTML is not.
-Structure: XML requires well-formed documents; HTML is more lenient with error

2) Define Authentication and authorisation ?types of authentication


- Authentication: The process of verifying a user's identity by ensuring that the user is who they
claim to be, typically by asking for credentials such as a username and password. The
credentials are then validated against a trusted system (like a database or file).
- Authorization: Once a user is authenticated, authorization determines if they have permission
to access specific resources or perform certain actions, such as retrieving data from a database
or viewing restricted pages.
- Types of Authentication in ASP.NET:
- Forms Authentication: ASP.NET handles the authentication process using a login form,
tracking user sessions, and authorizing requests.
- to implement form based security
- <authentication mode=" form">
- <form name="myappcode" loginurl="~/login.aspx" protection="All" timeout="30" path="/">
- Windows Authentication: Uses Windows credentials to authenticate users based on the
Windows user accounts on the server, without requiring a separate login.
- <authentication mode=" Windows">

3) Define AJAX , what are various AJAX control ?


- AJAX is a technique used in web development to send and retrieve data from a server
asynchronously without refreshing the entire webpage.
- It allows for dynamic content updates, enhancing user experience

4) Define partial Refresh ?


- Partial Refresh in web development refers to updating only a specific part of a webpage
without reloading the entire page. This improves user experience by making interactions faster
and more seamless, as only the relevant data or section is refreshed.

You might also like