[Silverlight getting started series]. NET Framework class libraries supported and not supported by Silverlight

Source: Internet
Author: User
Tags expression engine

Microsoft Silverlight is a cross-browser and cross-platform. NET Framework implementation for obtaining Web Media experience and rich interactive applications.Program.

The. NET Framework supported by Silverlight is called". NET Framework for Silverlight". NET Framework contains a subset of components and libraries, including data integration, extensible Windows controls, networks, base class libraries, garbage collection, and Common Language Runtime (CLR ).

Some parts of. NET Framework for Silverlight are deployed through applications. These "Silverlight libraries" are assemblies that are not included in the Silverlight runtime but will be provided in the Silverlight SDK. When the Silverlight library is used in an application, it is packaged with the application and downloaded to the browser. These libraries include new UI controls, xlinq, integration (RSS/atom), XML serialization, and Dynamic Language Runtime (DLR ).

Demonstrate the components and related components and services of the Silverlight structure.

The. NET Framework class libraries supported by Silverlight include:

Microsoft. CSHARP. runtimebinder

Contains the types that support the interoperability between Dynamic Language Runtime (DLR) and C.


Microsoft. Internal

Supports the. NET Framework for Silverlight infrastructure. This namespace is not suitableCode.


Microsoft. VisualBasic

Contains classes that support Visual Basic runtime in Visual Basic.


Microsoft. VisualBasic. compilerservices

Contains types that support the Visual Basic compiler for internal use only.


Microsoft. win32.safehandles

An abstract derived class containing a security handle class that provides common functions that support file and operating system handles.



Contains the basic classes and basic classes used to define common values and reference data types, events and event handlers, interfaces, properties, and handle exceptions. Other services support data type conversion, method parameter operations, mathematical operations, remote and local program calls, application environment management, and monitoring of hosted and unmanaged applications.


System. codedom. Compiler

The included classes can identify the code generated by the tool.


System. Collections

Contains bitarray classes, interfaces implemented by various set objects, and interfaces and structures that support extracting, enumerating, and comparing objects in a set.


System. Collections. Generic

Contains interfaces and classes that define generic sets.


System. Collections. objectmodel

Contains classes that can be used as collections in the object model of reusable libraries. These classes are used when an attribute or method returns a set.


System. Collections. Specialized

Contains a set of special and strong types.


System. componentmodel

Provides classes for implementing runtime and design-time behavior of components and controls.


System. componentmodel. Composition

Provides classes that constitute the core of the managed extension framework (MEF.


System. componentmodel. Composition. Hosting

Provides MEF classes that are useful to developers of scalable applications or hosts.


System. componentmodel. Composition. primitives

Provides primitive types that are used as the basis of the MEF programming model.


System. componentmodel. Composition. reflectionmodel

Provides MEF types that are useful to developers who use reflection-based programming models.


System. componentmodel. dataannotations

Provides feature classes for defining metadata for object classes.


System. configuration. Assemblies

Contains classes used to configure the assembly.


System. Data. Services. Client

Indicates the class and member that an application can use to interact with the WCF Data Services-WCF data service.


System. Data. Services. Common

Contains one or more classes that indicate the key attributes of an object.


System. Diagnostics

Provides classes that enable you to debug applications and track code execution.


System. Diagnostics. codeanalysis

Classes that interact with tools used to analyze code and encoding conventions (such as naming or security rules.


System. Diagnostics. Contracts

Contains static classes used to represent program protocols (such as preconditions, post conditions, and fixed protocols.


System. Diagnostics. Contracts. Internal

Provides a binary rewriting tool to handle classes that failed the protocol.


System. Diagnostics. symbolstore

Provides interfaces that enable you to access debugging symbolic information (for example, the ing from the source line to msil (Microsoft intermediate language. The. NET Framework for Silverlight compiler can store the debugging symbol information to the programmer's database (PDB) file. The debugger and code probe tools can read debugging symbol information at runtime.


System. Dynamic

Provides classes and interfaces that support dynamic Language Runtime (DLR.


System. Globalization

A class that defines information about a region. The information includes the language, country, calendar in use, date format, currency, number, and string sorting order. These classes are useful for writing global (international) applications.


System. Io

Contains the types that allow reading and writing data streams.


System. Io. isolatedstorage

Contains the types used to create and use virtual file systems. Independent storage provides secure client storage for some trusted applications. In Silverlight, All I/O operations are restricted to independent storage, and operating system file systems are not used.


System. JSON

It provides standard-based support for serialization of JavaScript Object Notation (JSON.


System. LINQ

Contains the query classes and interfaces that support the use of language Integrated Query (LINQ.


System. LINQ. Expressions

Contains the types of objects that can be represented by language-level code expressions in the expression directory tree form.


System. net

Provides simple programming interfaces for various protocols used in the current network. The webrequest and webresponse classes form the foundation of the pluggable protocol. With the pluggable protocol, you can develop applications that use Internet resources without worrying about the specific details of each protocol.


System. net. Browser

This class provides network communication support for Silverlight-based applications inside and outside the Web browser.


System. net. networkinformation

Provides access to information about network availability and local computer address change notifications.


System. net. Sockets

It provides a Socket network interface hosting implementation for developers who need to strictly control network access. On Windows, this namespace provides the Managed implementation of the Windows Socket (Winsock) interface. On Apple Macintosh OS X, this namespace provides a managed implementation of the Berkeley-based software distribution (BSD) UNIX socket interface.


System. numerics

Contains the numeric types that supplement the numeric elements (such as byte, double, and int32) defined by. NET Framework.


System. Reflection

The contained types can be retrieved by checking the metadata of the assembly, module, Member, parameter, and other entities in the managed code. These types can also be used to operate load-type instances, such as hook events or call methods.


System. reflection. emit

Includes classes that allow compilers or tools to issue metadata and Microsoft intermediate language (msil) and generate PE files on disks (optional ). The main clients of these classes are the script engine and compiler.


System. Resources

Provides classes and interfaces that allow developers to create, store, and manage various regional-specific resources used in applications.


System. runtime. compilerservices

Provides functions for Compiler writers that use hosted code to specify attributes in metadata that affect runtime behavior of common languages.


System. runtime. constrainedexecution

Define a type that ensures that the termination code is critical. This type applies to the restricted execution region (CER ).


System. runtime. exceptionservices

Provides classes for advanced exception handling.


System. runtime. interopservices

It provides various members that support com interoperability and platform call services.


System. runtime. interopservices. Automation

Provides classes for Silverlight-based applications to interact with automated APIs.


System. runtime. serialization

Contains classes that can be used to serialize and deserialize objects. Serialization refers to the process of converting an object or object graph to a linear byte sequence for storage or transmission to another location. Deserialization is the process of accepting stored information and using it to recreate an object.


System. runtime. serialization. JSON

Contains the types used to serialize objects into JavaScript Object Notation (JSON) and deserialize objects from JSON.


System. runtime. Versioning

It includes advanced types that support Version Control in parallel implementation of. NET Framework for Silverlight.


System. Security

Provides the basic structure of the. NET Framework for Silverlight security system.


System. Security. Cryptography

Provides encryption services, including secure data encoding and decoding, as well as many other operations, such as hash processing, random number generation, and message authentication.


System. Security. cryptography. x509certificates

Public Language Runtime implementation that contains the Authenticode X.509 V.3 certificate. This certificate uniquely identifies the Private Key signature of the certificate holder.


System. Security. Permissions

Defines the classes for controlling operations and resource access according to policies. The namespace supports the. NET Framework for Silverlight infrastructure. Any type of namespace is not accessible to application code.


System. Security. Principal

Defines the subject object that represents the security context of the Code.


System. servicemodel

The included types are required to generate a Silverlight-based client application that can be used to access distributed applications.


System. servicemodel. Channels

Includes the following content: construct and modify the types of messages that clients need to communicate with services, the types of channels used to exchange messages, the channel factories used to construct these channels, and the binding elements used to configure them.


System. servicemodel. Description

Contains the types required to construct and modify services, agreements, and endpoints (used to generate service runtime and export metadata.


System. servicemodel. Dispatcher

Contains the types required to modify the running behavior of the client application.


System. servicemodel. Security

Class that handles general Silverlight security-related topics.


System. servicemodel. Syndication

Contains the types that constitute the Silverlight integrated object model.


System. servicemodel. Web

Contains classes that constitute the web HTTP programming model.


System. Text

Contains the following classes: Unicode and UTF-8 character encoding classes; abstract base classes used for conversion between character blocks and byte blocks; A helper class (you can use this class to operate a String object and set its format without creating an intermediate string instance ).


System. Text. regularexpressions

Class that provides access to the. NET Framework Regular Expression Engine. The regular expression function provided by this namespace can be used on any platform or language running in. NET Framework.


System. threading

Provides classes and interfaces that support multi-threaded programming.


System. Windows

Provides a general framework representation class for the Silverlight client and many Silverlight base classes used to represent functions. These classes are generally similar to those in Windows Presentation Foundation (WPF.


System. Windows. Automation

Contains classes that are supported by the Silverlight UI automation client.


System. Windows. Automation. Peers

Defines the automationpeer base class and a group of types derived from this base class that correspond to the Silverlight control. Each automationpeer exposes the corresponding Silverlight control to UI automation.


System. Windows. Automation. Provider

Contains the interface used to create the UI automation provider.


System. Windows. Automation. Text

Contains the text format settings and related behavior types that are automated by the specified Silverlight UI.


System. Windows. Browser

You can use the classes contained in these classes to implement interaction between hosted code and Javascript in Silverlight-based applications. This function is called the HTML bridge function.


System. Windows. Controls

Contains classes used to create controls that allow users to interact with applications.


System. Windows. Controls. primitives

Contains the base classes and controls intended to be used as part of other more complex controls.


System. Windows. Data

Contains the class used to bind attributes to the data source.


System. Windows. Documents

Contains classes that support basic document concepts in Silverlight.


System. Windows. Ink

Provides classes for interacting with ink marks in Silverlight and operating these ink marks.


System. Windows. Input

Contains classes that support input in Silverlight-based applications.


System. Windows. InterOP

Contains classes that provide code exposure for the properties of the Silverlight plug-in. These classes also exist in the HTML Dom that hosts the browser.


System. Windows. Markup

The included classes support eXtensible Application Markup Language (XAML) Processing in Silverlight.


System. Windows. Media

Includes classes that allow you to integrate rich media in Silverlight-based applications, including drawing, text, and audio/video content.


System. Windows. Media. Animation

The included classes support the property animation function (including timeline, Demo Board, and key frame ).


System. Windows. Media. Effects

Some types are provided, which can be used to apply visual effects to image placement.


System. Windows. Media. Imaging

Class used to encode and decode bitmap images.


System. Windows. Media. media3d

Contains the types that support the matrix/perspective demonstration in Silverlight.


System. Windows. messaging

You can create a local message transmission channel between multiple Silverlight-based applications.


System. Windows. Navigation

Provides supported navigation types.


System. Windows. Printing

Provides printing support and dialog box access for Silverlight-based applications.


System. Windows. Resources

Contains a class used to provide resource stream information for application resources or other packages obtained through application. getresourcestream.


System. Windows. Shapes

Contains basic shape libraries that can be used in Extensible Application Markup Language (XAML) or code. It also includes the path class, which can load path data to describe the composite ry through the object model or Inline format.


System. Windows. threading

Contains classes that support the Silverlight thread processing system.


System. xml

Supports standard-based XML processing.


System. xml. LINQ

Contains the types used for LINQ to XML, which is an XML programming interface in memory, so that you can easily and effectively modify XML documents.


System. xml. Resolvers

You can use a DTD or XML Stream to populate the cache.


System. xml. Schema

Contains XML classes that are supported by the standard XML Schema Definition Language (XSD) architecture.


System. xml. serialization

Contains the class used to serialize objects to documents or streams in XML format.


System. xml. xpath

Type that includes defining the cursor model to navigate and edit XML Information.


System. xml. XSL

Supports extensible style sheet conversion (XSLT) conversion.


The. NET Framework class library not supported by Silverlight:

You can compare the msdn. NET Framework class libraries, which are much more than Silverlight.

Silverlight functional block:

  • Application and Programming Model

  • Layout, input, and print

  • Widget

  • Graphics, animation, and media

  • XAML

  • Integrate Silverlight with Web pages

  • Type, attribute, method, and event

  • Data access and data structure

  • Network and communication

  • Debugging, error handling, and exceptions

  • Deployment and Localization

  • Performance

  • Security

  • Mobile platform development

  • General Reference



    Http://msdn.microsoft.com/zh-cn/library/bb404713 (V = vs.95). aspx

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.