|Developing applications that use system types and collections |
Embedding configuration, diagnostic, management, and installation features into a .NET Framework application
Manage data in a .NET Framework application by using .NET Framework 2.0 system types. (Refer System namespace)
May include but is not limited to: Nullable type; Reference types; Attributes; Generic types; Exception classes; Boxing and UnBoxing; TypeForwardedToAttributes class
Manage a group of associated data in a .NET Framework application by using collections. (Refer System.Collections namespace)
May include but is not limited to: ArrayList class; Collection interfaces; Iterators; Hashtable class; CollectionBase class and ReadOnlyCollectionBase class; DictionaryBase class and DictionaryEntry class; Comparer class; Queue class; SortedList class; BitArray class; Stack class
Improve type safety and application performance in a .NET Framework application by using generic collections. (Refer System.Collections.Generic namespace)
May include but is not limited to: Collection.Generic interfaces; Generic Dictionary; Generic Comparer class and Generic EqualityComparer class; Generic KeyValuePair structure; Generic List class, Generic List.Enumerator structure, and Generic SortedList class; Generic Queue class and Generic Queue.Enumerator structure; Generic SortedDictionary class; Generic LinkedList; Generic Stack class and Generic Stack.Enumerator structure
Implement .NET Framework interfaces to cause components to comply with standard contracts. (Refer System namespace)
May include but is not limited to: IComparable interface; IDisposable interface; IConvertible interface; ICloneable interface; INullableValue interface; IEquatable interface; IFormattable interface
Implementing serialization and input/output functionality in a .NET Framework application
Embed configuration management functionality into a .NET Framework application. (Refer System.Configuration namespace)
May include but is not limited to: Configuration class and ConfigurationManager class; ConfigurationSettings class, ConfigurationElement class, ConfigurationElementCollection class, and ConfigurationElementProperty class; Implement IConfigurationSectionHandler interface; ConfigurationSection class, ConfigurationSectionCollection class, ConfigurationSectionGroup class, and ConfigurationSectionGroupCollection class; Implement ISettingsProviderService interface; Implement IApplicationSettingsProvider interface; ConfigurationValidationBase class; Implement IConfigurationSystem interface
Debug and trace a .NET Framework application by using the System.Diagnostics namespace.
May include but is not limited to: Debug class and Debugger class; Trace class, CorrelationManager class, TraceListener class, TraceSource class, TraceSwitch class, XmlWriterTraceListener class, DelimitedListTraceListener class, and EventlogTraceListener class; Debugger attributes
Improving the security of .NET Framework applications by using the .NET Framework 2.0 security features
Serialize or deserialize an object or an object graph by using runtime serialization techniques. (Refer System.Runtime.Serialization namespace)
May include but is not limited to: Serialization interfaces; Serialization attributes; SerializationEntry structure and SerializationInfo class; ObjectManager class; Formatter class, FormatterConverter class, and FormatterServices class; StreamingContext structure
Control the serialization of an object into XML format by using the System.Xml.Serialization namespace.
May include but is not limited to: Serialize and deserialize objects into XML format by using the XmlSerializer class; Control serialization by using serialization attributes; Implement XML Serialization interfaces to provide custom formatting for XML serialization; Delegates and event handlers provided by the System.Xml.Serialization namespace
Access files and folders by using the File System classes. (Refer System.IO namespace)
May include but is not limited to: File class and FileInfo class; Directory class and DirectoryInfo class; DriveInfo class and DriveType enumeration; FileSystemInfo class and FileSystemWatcher class; Path class; ErrorEventArgs class and ErrorEventHandler delegate; RenamedEventArgs class and RenamedEventHandler delegate
Compress or decompress stream information in a .NET Framework application (refer System.IO.Compression namespace), and improve the security of application data by using isolated storage. (Refer System.IO.IsolatedStorage namespace)
May include but is not limited to: IsolatedStorageFile class; IsolatedStorageFileStream class; DeflateStream class; GZipStream class
Implementing interoperability, reflection, and mailing functionality in a .NET Framework application
Implement access control by using the System.Security.AccessControl classes.
May include but is not limited to: DirectorySecurity class, FileSecurity class, FileSystemSecurity class, and RegistrySecurity class; AccessRule class; AuthorizationRule class and AuthorizationRuleCollection class; CommonAce class, CommonAcl class, CompoundAce class, GeneralAce class, and GeneralAcl class; AuditRule class; MutexSecurity class, ObjectSecurity class, and SemaphoreSecurity class
Implement a custom authentication scheme by using the System.Security.Authentication classes. (Refer System.Security.Authentication namespace)
May include but is not limited to: Authentication algorithms and SSL protocols
Encrypt, decrypt, and hash data by using the System.Security.Cryptography classes. (Refer System.Security.Cryptography namespace)
May include but is not limited to: DES class and DESCryptoServiceProvider class; HashAlgorithm class; DSA class and DSACryptoServiceProvider class; SHA1 class and SHA1CryptoServiceProvider class; TripleDES and TripleDESCryptoServiceProvider class; MD5 class and MD5CryptoServiceProvider class; RSA class and RSACryptoServiceProvider class; RandomNumberGenerator class; CryptoStream class; CryptoConfig class; RC2 class and RC2CryptoServiceProvider class; AsymmetricAlgorithm class; ProtectedData class and ProtectedMemory class; RijndaelManaged class and RijndaelManagedTransform class; CspParameters class; CryptoAPITransform class; Hash-based Message Authentication Code (HMAC)
Control permissions for resources by using the System.Security.Permission classes. (Refer System.Security.Permission namespace)
May include but is not limited to: SecurityPermission class; PrincipalPermission class; FileIOPermission class; StrongNameIdentityPermission class; UIPermission class; UrlIdentityPermission class; PublisherIdentityPermission class; GacIdentityPermission class; FileDialogPermission class; DataProtectionPermission class; EnvironmentPermission class; IUnrestrictedPermission interface; RegistryPermission class; IsolatedStorageFilePermission class; KeyContainerPermission class; ReflectionPermission class; StorePermission class; SiteIdentityPermission class
Control code privileges by using System.Security.Policy classes. (Refer System.Security.Policy namespace)
May include but is not limited to: ApplicationSecurityInfo class and ApplicationSecurityManager class; ApplicationTrust class and ApplicationTrustCollection class; Evidence class and PermissionRequestEvidence class; CodeGroup class, FileCodeGroup class, FirstMatchCodeGroup class, NetCodeGroup class, and UnionCodeGroup class; Condition classes; PolicyLevel class and PolicyStatement class; IApplicationTrustManager interface, IMembershipCondition interface, and IIdentityPermissionFactory interface
Access and modify identity information by using the System.Security.Principal classes. (Refer System.Security.Principal namespace)
May include but is not limited to: GenericIdentity class and GenericPrincipal class; WindowsIdentity class and WindowsPrincipal class; NTAccount class and SecurityIdentifier class; IIdentity interface and IPrincipal interface; WindowsImpersonationContext class; IdentityReference class and IdentityReferenceCollection class
Implementing globalization, drawing, and text manipulation functionality in a .NET Framework application
Send electronic mail to a Simple Mail Transfer Protocol (SMTP) server for delivery from a .NET Framework application. (Refer System.Net.Mail namespace)
May include but is not limited to: MailMessage class; MailAddress class and MailAddressCollection class; SmtpClient class, SmtpPermission class, and SmtpPermissionAttribute class; Attachment class, AttachmentBase class, and AttachmentCollection class; SmtpException class, SmtpFailedRecipientException class, and SmtpFailedRecipientsException class; SendCompletedEventHandler delegate; LinkedResource class and LinkedResourceCollection class; AlternateView class and AlternateViewCollection class
Creating and Programming a Web Application
Enhance the user interface of a .NET Framework application by using the System.Drawing namespace.
May include but is not limited to: brushes, pens, colors, and fonts; graphics, images, bitmaps, and icons; shapes and sizes
Integrating Data in a Web Application by Using ADO.NET, XML, and Data-Bound Controls
Add and configure Web server controls.
May include but is not limited to: Add Web server controls to a Web Form; Configure the properties of Web server controls programmatically; Configure Web server control properties by using the Microsoft Visual Studio Property Editor; Specify whether events of a control cause a Web Form to post to the server; Configure a control to receive postback events; Access controls in Web Forms pages when working with naming containers and child controls; Create HTML server controls in the designer; Set HTML server control properties programmatically; Use HTML server controls to programmatically access HTML tags; Create HTML controls as elements in an HTML document; Use the AdRotator Web server control to manage banners and pop-up windows; Use the Button Web server control to send a command to the server when a button is clicked; Display a calendar on a Web page by using the Calendar Web server control; Implement the CheckBox Web server control; Implement the FileUpload Web server control; Create and manipulate links on a Web Form by using the HyperLink Web server control; Display an image on a Web Form by using the Image Web server control; Implement a button on a Web Form by using the ImageButton Web server control; Define hotspot regions within an image by using the ImageMap Web server control; Use the Label Web server control to display customized text on a Web page; Display a hyperlink style button on a Web Form by using the LinkButton Web server control; Display lists of information by using controls that derive from the ListControl class; Create a Web Form with static text by using the Literal Web server control; Implement pagination for controls on a page by using the Pager Web server control; Use the Panel Web server control to arrange controls in groups on a page; Create a container for a group of View controls by using the MultiView Web server control; Use the View Web server control to create a Web application; Create a mutually exclusive set of choices by using the RadioButton Web server control; Construct a table by using the Table, TableRow, and TableCell Web server controls; Enable users to type information into a Web Form by using the TextBox Web server control; Create a wizard by using the Wizard Web server control to collect data through multiple steps of a process; Use the XML Web server control to create XML data at the location of the control; Customize the appearance of Web server controls by using Web control templates; Programmatically edit settings in a Web site's configuration file; Dynamically add Web server controls to a Web Forms page
Configure settings for a Web application.
May include but is not limited to: Configure system-wide settings in the Machine.config file; Configure settings for a Web application in the Web.config file; Manage a Web application's configuration by using the Web Site Administration Tool
Program a Web application.
May include but is not limited to: Redirect users to another Web page by using a server-side method; Detect browser types in Web Forms; Ascertain the cause of an unhandled exception at the page level; Programmatically access the header of a Web page; Implement cross-page postbacks; Assign focus to a control on a page when the page is displayed; Avoid performing unnecessary processing on a round trip by using a page's IsPostBack property; Access encapsulated page and application context; Avoid unnecessary client-side redirection by using the HttpServerUtility.Transfer method; Avoid round trips by using client-side scripts; Use a page's Async attribute to create a page that has built-in asynchronous capabilities; Convert HTML server controls to HTML elements
Creating Custom Web Controls
Implement data-bound controls.
May include but is not limited to: Use tabular data source controls to return tabular data; Use hierarchical data source controls to display hierarchical data; Display data by using simple data-bound controls; Display data by using composite data-bound controls; Display data by using hierarchical data-bound controls; Use the FormView control to display the values of a single table record from a data source
Manage connections and transactions of databases.
May include but is not limited to: Configure a connection to a database graphically by using the Connection Wizard; Configure a connection by using Server Explorer; Configure a connection to a database by using the connection class; Connect to a database by using specific database connection objects; Enumerate through instances of Microsoft SQL Server by using the DbProviderFactories.GetFactoryClasses method; Open a connection by using the Open method of a connection object; Close a connection by using the connection object; Secure a connection to protect access to your data source; Create a connection designed for reuse in a connection pool; Control connection pooling by configuring ConnectionString values based on database type; Use connection events to detect database information; Handle connection exceptions when connecting to a database; Perform transactions by using the ADO.NET Transaction object
Create, delete, and edit data in a connected environment.
May include but is not limited to: Retrieve data by using a DataReader object; Build SQL commands visually in Server Explorer; Build SQL commands in code; Create parameters for a command object; Perform database operations by using a command object; Retrieve data from a database by using a command object; Perform asynchronous operations by using a command object; Perform bulk copy operations to copy data to a SQL Server computer; Store and retrieve binary large object (BLOB) data types in a database
Tracing, Configuring, and Deploying Applications
Create a composite Web application control.
May include but is not limited to: Create a user control; Convert a Web Forms page to a user control; Include a user control in a Web Forms page; Manipulate user control properties; Handle user control events within the user control code-declaration block or code-behind file; Create instances of user controls programmatically; Develop user controls in a code-behind file; Create a templated user control
Customizing and Personalizing a Web Application.
Copy a Web application to a target server by using the Copy Web tool.
Precompile a Web application by using the Publish Web tool.
Optimize and troubleshoot a Web application.
May include but is not limited to: Customize event-level analysis by using the ASP.NET health-monitoring API; Use performance counters to track the execution of an application; Troubleshoot a Web application by using ASP.NET tracing; Optimize performance by using the ASP.NET Cache object
Implementing Authentication and Authorization
Implement a consistent page design by using master pages.
May include but is not limited to: Create a master page; Add a ContentPlaceHolder control to a master page; Specify default content for a ContentPlaceHolder; Reference external resources in a master page; Define the content of a particular page in a content page; Create a content page; Add content to a content page; Reference a master page member from a content page; Handle events when using master pages; Create a nested master page; Change master pages dynamically
Customize a Web page by using themes and user profiles.
May include but is not limited to: Apply a theme declaratively; Apply a theme programmatically; Apply a user-selected theme programmatically; Define custom themes; Define the appearance of a control by using skins; Enable users to personalize an application by using Web Parts; Track and store user-specific information by using user profiles; Personalize a Web page by dynamically adding or removing child controls in a Placeholder control at run time
Implement Web Parts in a Web application.
May include but is not limited to: Track and coordinate all Web Parts controls on a page by adding a WebPartManager control; Connect Web Parts to each other by using connection objects; Divide a page that uses Web Parts into zones by using WebPartZones; Present a list of available Web Parts controls to users by using CatalogPart controls; Enable users to edit and personalize Web Parts controls on a page by using EditorPart controls
Creating ASP.NET Mobile Web Applications
Establish a user's identity by using forms authentication.
May include but is not limited to: Configure forms authentication for a Web application by using a configuration file; Enable cookieless forms authentication by setting the cookieless attribute; Use membership APIs and the Membership class to manage users; Enable anonymous identification
Use authorization to establish the rights of an authenticated user.
May include but is not limited to: Manage roles in the Web Site Administration Tool; Ascertain whether a specific user is in role; Get the roles for a specific user by using the Roles object or the User object; Store role information in a cookie; Restrict access to files by using file authorization; Restrict access to portions of an application by using URL authorization
Use login controls to control access to a Web application.
May include but is not limited to: Use the Login Web server control; Use the LoginView Web server control to view a user's login status; Use the PasswordRecovery Web server control to allow a user to recover a password; Use the LoginStatus Web server control to display either a login or logout link; Use the LoginName Web server control to display a user's login name on a Web page; Use the CreateUserWizard Web server control as a UI for creating new Web application user accounts; Use the ChangePassword Web server control to allow users to change their passwords; Specify the membership provider used for logging on; Configure a mail server so that login controls can be used to send e-mail messages to users
Create a mobile Web application project.
Use device-specific rendering to display controls on a variety of devices.
Use adaptive rendering to modify the appearance of Web server controls.
Use the mobile Web controls to display content on a device.