-
What is XML
- Extensible Markup LanguageStandardizes information exchange.
- Machine-readable text documents
- Opening tags have to have closing tags
- Elements with attributes
- provides stardized shema for validation
- How computers communicate using webservices. (JSON) is another way but XLM is most common.
-
XmlDocument Class
Represents an XML file. An Instance can be used to manipulate the XML file.
-
XMLWriter Class
For writing to a XML file. Works like reader, but in reverse.
-
XMLDataDocument Class (Depricated)
- Allows you to access a XML document as if it where a database.
- Can be linked to a Control to list the contents of a XML file in a list box.
-
XmlNamespaceManager Class
- Namespace is a link to a location on the web that tells you more about the document.
- Allows you to manipulate the namespace manually.
-
What is XPath and what are some commen classes?
- Example: child: :para [attribute: :type-"warning"]
- Allows quick navigation
- XPathDocument - represents the entire XML file
- XPatHNavigator - finds spicific nodes
- XPathNodeIterator - used to walk though many nodes in a document.
-
Web Services
Allow two applications to communicate with each other accross the network by uaing standardized communications.
-
What is WCF
- Windows Communication Foundation
- Clients
can communicatte via .NET, AJAX and JAVASCRIPT - Communicate across all platforms.
- Uses protocals: HTTP, JSON, XML WSDL
-
What is a Database
- Store and organize large amounts of data centrally
- Privides infrastructure
- Allow multiple connections
- Relational database
-
Data Access Layer
- API (application programming interface)
- ODCB (outdated)
- ADO.NET (active x data object)
- Entity Framework - current best version
-
Data Binding
- Connect data to a server control
- Two things to set up databinding
- Set the controls .DataSource
-
Call .DataBind()
-
LINQ Queries
The Entity Framework way to access data in a database
- from <selector> in <table>
- where<condition>
- select <results>
-
DataReader Class
- Connects to a database then go one row at a time.
- Very fast
- Great for going through tables or queries
-
DataSet Class
- More advanced then and contains DataReaderAllow you to move forward, backward, and randomly seltect spicific data.
-
Datbase Connections
- The all have a Connection String. Connections Strings indenticfies the server and the databese. tell how to authenticate to ther server (windows authentication)
- Connection Object -
- Connection Pools - Many different users will use the same connection to a database. makes it more effecient to connect to a database.
-
What are Transactions used for?
A way to group all of the actions that need to occur to complete a transaction togeather so that if any one fails, the all fail.
-
Data Source Control Types (ASP 2.0)
- LinqDataSource - access a linq query
- ObjectDataSource - works with any type of collection in the .NET framework.
- XmlDataSource - Allows you to access a Xml file as if it were a database
- SqlDataSource - Connects directly to a SQL database and allow read and write. Most commen typy for Data Source
-
Client Side Scripting Pros
More responsive then server side scripting because the script is excuted locally in the browser.
-
Client Side Scripting Pros
- JaveScript must be used and is not as robust as the .NET framwork.
- Difficult to code, debug, and test.
- Not always availible (might not be running on client side)
- Anything on the client side cannot be trusted
-
JavaScript
- Cross Platform and lightweight
- Based on C language. {} ; () methods are called functionsJaveScript does not automatically run functions.
-
jQuery
- Open source library that adds a lot of capabilities to JavaScript.
- Very Common
- Visual Studio ships wih jQuery
- slows things down a little, will have to download if they don't have it.
-
AJAX
- Client side technology that builds on JaveScript. Created by MicroSoft to intigrate with asp.net
- Any time you use AJAX you have to put a ScriptManager into the page.
-
AJAX Controls
- ScriptManager - use on every page that has AJAX master page.
- ScriptMangerProxy - used for content pages that have AJAX controls but the master page already has ScriptManager in it.
- UpdatePanel - allows you to updat part of the page without doin a full postback.
-
AJAX Triggers
- What causes microsoft AJAX to request an update from the server. (like a button click) used in an updatepanel controls
- Can nest triggers usind ChildrenAsTriggers.
- EnablePartialRendering
- Allows and UpdatePanel to go back to the server and retrieve an update.
-
VBScript
- Microsoft's competition to JaveScript
- Never took off because it was not cross-platform (only supported by IE)
|
|