Reposted from http://www.cnblogs.com/nasa/archive/2009/07/12/new-future-of-sl3.html
I,
Silverlight 3 New Features
The Silverlight official website lists the new features of Silverlight 3:
-
- Support for high-quality videos and audios
- Live streaming and on-demand real HD (true HD 720 p +) smooth Streaming Media
- Supports more formats
- Full Screen real HD playback
- Extended media format support
- Industry-leading Content Protection Technology
-
- Give a richer experience
- View 3D images
- Pixel coloring
- Bitmap cache
- New bitmap API
- Thematic applicationsProgramSupported
- Animation Effect
- Enhanced control skin replacement
- Improvement on text rendering and font support
- Improves Ria productivity
- There are more than 60 controlsSource code
- Deep linking)
- Search engine optimization (SEO)
- Enhanced Data Support
- Binding elements to element
- Data Form
- Provides new features for data verification.
- Support Business Objects
- Improved performance
- Application function library Cache
- Enhanced the deep zoom function. The new version of deep zoom composor is also released.
- Binary XML transmission is supported.
- Supports local connection
-
- More advanced accessibility features
-
- Run without a browser. You can access these two examples for this feature: Ted player and Webby Awards player.
- Run outside the browser
- Supports Desktop shortcuts and start menus
- More reliable and secure
- SmoothInstallProcess
- Automatic Upgrade
- Internet connection Detection
At the same time, Silverlight 3 tools for Visual Studio2008SP1 also released the final version. The specific features are as follows:
- Provides Visual Basic and Visual C # project templates
- Provides intelligent awareness andCodeGeneration function
- Debug the Silverlight Application
- Remote debugging of Silverlight applications on MAC systems
- SupportedWebReference
- Provides a WCF Template
- Support Team build and command line build
- Supports cache transparent platform extension (cached transparent platform. Extensions)
- Supports development and configuration of Silverlight 3 out of browser applications
Because the above tool does not provide the silverlig application interface designerMicrosoftThe RC version of expression blend 3 is also released. It is worth mentioning that this version comes with the long-awaited sketchflow prototype design tool. The new features of blend 3 have been well known during mix09:
- Sketchflow. Microsoft gave an overview of sketchflow. In his blog, Christian schormann also introduced the concept of sketchflow and the use of sketchflow map. He planned to write a seriesArticleTo introduce sketchflow.
- Supports importing Adobe Photoshop and Illustrator files.
- Action. Zero Code adds the interaction function for the application.
- Sample data. It is convenient to generate sample data for the application to facilitate the running and display of the test function.
- Improve the design and development experience.
As part of Microsoft's important RIA development platform, Silverlight only solves the front-end interface problems. Therefore, Microsoft developed the RIA services framework to help you quickly develop business logic running on the middle layer and control data access. With the official release of Silverlight 3, Ria services was also updated to the July preview version.
VaR M = Window. _ blog. prerenderposts; If (m) {M ();}
Ii. Silverlight 4 RC] new features Guide
At the mix10 conference, Silverlight 4 RC was released. The version here has made some changes with the previous release of Silverlight 4 beta. Here we will introduce these changes and new features.
Http://timheuer.com/blog/archive/2010/03/15/whats-new-in-silverlight-4-rc-mix10.aspx
First, prepare the work environment
- Visual Studio 2010 RC or visual web developer express 2010 RC
- Silverlight 4 tools for Visual Studio 2010 (here, the SDK, for vs tools, and WCF Ria services are installed on Silverlight 4 runtime ).
- Silverlight toolkit March 2010 release
- WCF Ria services Toolkit
- Expression blend 4 Beta
- Breaking changes documentation-recommended
- WindowsPhone Developer Tools
OK ~ Some important changes and new features are sorted out here.
Change |
New Features |
- RichTextBox Improvement
- Webbrowser Control
- Printing API enhancements
- Native automation (COM InterOP)
- Language/script. Support
- Networking and sockets
- User dialog box for cameras, clipboard, etc.
|
- Xap signing
- Custom window chrome for trusted applications
- Pinned full-screen mode
- WCF Ria services Toolkit
- Contextmenu Control
- Sllauncher silent instils
|
For more information about Visual Studio 2010, see
Install a patch file for Visual Studio 2010 before installing Silverlight 4 toos.
RichTextBox (previously known as richtextarea)
Silverlight 4 contains a new control that can edit and display rich text, RichTextBox (known as richtextarea in Beta ). He has made some changes here, and changed his name
RichTextBox . In terms of new features, the new feature provides the XAML capability to get the content displayed at runtime, which is very useful for saving content and retrieving content accidentally. It is very easy to get XAML String Richtext = myrichcontent. XAML; a new text selection and locating API is provided here. For more details, see my article [Silverlight 4 RC] RichTextBox Overview
Webbroswer Control
In previous beta versions, HTML content is displayed in OOB mode. In this version, only some APIs have changed. Htmlbrush is now called webbrowserbrush. For more details, see [Silverlight 4 RC] webbrowser overview> [Silverlight 4 RC] webbrowserbrush Overview
Painting API enhancements
The printing API enhancement can help developers query the size and area of the printed page. Before: printdocument Doc = New Printdocument (); Doc. documentname = "Sample document" ; Doc. Print ();
Later: printdocument Doc =NewPrintdocument (); Doc. Print ("Sample document");
Native automation (COM InterOP)
Some APIs have changed, and the operation requires the advanced trust mode under OOB.
Before:
Dynamic Excel = comautomationfactory. Createobject ("Excel. application ");
After:
Dynamic Excel = automationfactory. Createobject ("Excel. application ");
Language/script. Support Silverlight now has great multi-language support, including Thai text and Vietnamese text, as well as multi-character support for India.
Script
|
Language
|
Bengalioriyamalayalamkannadatamiltelugugujaratigurmukhidevanagari |
Bengali, Assamese, Manipuri Oriya Malayalam Kannada Tamil Telugu Gujarati Punjabi Hindi, Marathi, sanskirt, Konkani, Kashmiri, Nepali, Sindhi
|
Networking During beta, the socket port is restricted to run in trusted mode. In this RC version, this restriction is canceled. In addition, clienthttp adds support for uploadprogress status and cache.
User dialog box for cameras, clipboard, etc.
The preceding dialog box can be called the "user authorization dialog box ". When some devices such as hardware, cameras, microphones, and clipboard are accessed, or independent storage space is added, the user will be asked if they are allowed. In beta, only the most basic yes and no are available. In this release, a "remember my answer" option is added to improve user experience and remember me.
Of course, you can modify this "Remember my choices" under the permission tab in the configuration of Silverlight.
Certificate authentication in advanced trust mode
When you enable the OOB application in advanced trust mode, you will find that its installation interface is very different from the previous OOB installation interface. From a security perspective, xap without certificate authentication always has a yellow alert prompt when installing the interface, and the app icon is not displayed on the installation interface. Windows:
Mac OSX:
After the signature, the yellow alert is cleared, and the icon is displayed. Windows:
Mac OSX:
In addition, xap oob sl applications without certificate authentication cannot be automatically updated (checkanddownloadupdateasync ).
OOB mode form border Style Previously done
WPF Developers should know. WPF can customize irregular borders. The OOB mode of Silverlight also provides similar functions. He provides three border styles, one of which is commonly used before. I will not explain them here. The other two are in the borderless mode. They are displayed in a four-square rectangle. Another is to change the right-angle edge to the rounded edge in the border-less mode. You can select the border style below the OOB mode.
Let's take a look at the effect.
Traditional edge:
No border style for rounded corners:
Pinned full-screem Mode
Fixed full screen mode. I wonder if you have any development environment with multiple monitors. At present, I am a laptop with a 22-inch external display. In practical applications, you may need to play a movie in full screen on the development environment ~. However, if you click the mouse on the monitor in the development environment, the monitor in the other full screen mode will exit the full screen and return to the normal state. In this release, APIs are added to improve the full screen mode in Multi-monitor mode.
App. Current. Host. content. fullscreenoptions = system. Windows. InterOP. fullscreenoptions. staysfullscreenwhenunfocused;
Once the above Code takes effect, the full screen mode will remain until the user presses the ESC key or manually clicks the exit full screen button.
Contextmenu Control
In beta, a right-click event is added. In most cases, this event is used by developers to make right-click menus. In the latest toolkit for March 2010, a contextmenu control is added to implement the right-click menu function.
Sllauncher silent instils
In this example, sllanucher.exe allows you to deploy OOB-mode Silverlight applications using command lines.
"% ProgramFiles % \ microsoft Silverlight \ sllauncher.exe"/Install:"D: \ deploy \ demoapp. xap"
/Origin: Http://foocompany.com/apps/ClientBin/demoapp.xap" /Shortcut: desktop + startmenu/Overwrite
WCF Ria services Toolkit After you install Silverlight 4 tools for Visual Studio, you will be automatically installed with the WCF Ria service.
Including:
- Linqtosql domainservice
- Soap endpoint-enabling exposing a soap endpoint for your domainservice
- JSON endpoint-enabling exposing a JSON endpoint for your domainservice
- ASP. NET domaindatasource-enabling your ASP. NET application to talk to your domainservice