All-In-One Silverlight Code Samples - Microsoft All-In-One Code Framework - Site Home - MSDN Blogs
Microsoft All-In-One Code Framework - Developers' Pain Killer

All-In-One Silverlight Code Samples

Rate This
  • Comments 7

All-In-One Silverlight Code Samples

Introduction

Silverlight is a powerful development platform for creating engaging, interactive applications for many screens across the Web, desktop, and mobile devices. The All-In-One Silverlight code samples demonstrate the typical programming topics about Silverlight. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing Silverlight projects.

 

Visual Studio 2008 Code Samples

Sample Description Download ReadMe
CSADONETDataServiceSL3Client The VC# code sample shows how to use ADO.NET Data Service in Silverlight Download ReadMe.txt
CSAzureServiceBusSLRest This Windows Azure code sample demonstrates how to expose an on-premises WCF service to an internet Silverlight client using Windows Azure platform AppFabric Service Bus. The samples create a WCF REST Service, but you can work with other types of WCF serv Download ReadMe.txt
CSSL3Animation This project demonstrates how to play PointAnimation in Silverlight 3 Download ReadMe.txt
CSSL3CustomControl This project demonstrates how to create the custom control HighLightTextBlock in Silverlight 3. Download ReadMe.txt
CSSL3DataBinding This project demonstrates how to work with Data Binding in Silverlight 3 Download ReadMe.txt
CSSL3DeepZoom The code sample demonstrates the Deep Zoom feature of Silverlight 3 that provides the ability to interactively view high-resolution images in Silverlight. You can zoom in and out of images rapidly without affecting the performance of your application. Download ReadMe.txt
CSSL3FullScreen This example demonstrates how to use the full screen feature in Silverlight 3. Download ReadMe.txt
CSSL3HTMLBridge The code sample demonstrates the HTML Bridge feature in Silverlight for interaction between HTML/Javascript and Silverlight. Download ReadMe.txt
CSSL3Input This sample demonstrates how to handle mouse and keyboard event in Silverlight 3 Download ReadMe.txt
CSSL3IsolatedStorage This project shows how to create Isolated Storage Explorer for viewing the virtual file structure and file management functions of the Silverlight 3 application's Isolated Storage Download ReadMe.txt
CSSL3LocalMessage This project demonstrates how to use local message in Silverlight 3 to communicate among local Silverlight-based applications Download ReadMe.txt
CSSL3MediaElement This code sample illustrates the basic usage of MediaElement in Silverlight 3. A MediaElement object is a rectangular region that can display video on its surface or play audio. Download ReadMe.txt
CSSL3OOB This code sample demonstrates how to how to enable out-of-browser support in Silverlight 3 so that users can install the Silverlight application from the web and run it outside the browser. Download ReadMe.txt
CSSL3PixelShader This sample demonstrates how to use new pixel shader feature in Silverlight 3. Download ReadMe.txt
CSSL3PlaneProjection This sample illustrates how to use the new perspective 3D feature of Silverlight 3. Download ReadMe.txt
CSSL3SocketClient This project creates a Silverlight socket client that can receive/send string message asynchronously from/to a socket server. Download ReadMe.txt
CSSL3SocketServer This project creates a socket server sample in which socket server will accept client connections, then receive string message and send back the respone message. Download ReadMe.txt
CSSL3Text This sample demonstrates how to work with text in Silverlight 3 using C#. Download ReadMe.txt
CSSL3WriteableBitmap The code sample demonstrates the WriteableBitmap feature in Silverlight 3. The feature enables you to update and render a bitmap on a per-frame basis. This is useful for generating algorithmic content, such as a fractal image, and for data visualization, Download ReadMe.txt
VBADONETDataServiceSL3Client The VB code sample shows how to use ADO.NET Data Service in Silverlight Download ReadMe.txt
VBAzureServiceBusSLRest The Windows Azure code sample demonstrates how to expose an on-premises WCF service to an internet Silverlight client using Windows Azure platform AppFabric Service Bus. The samples create a WCF REST Service, but you can work with other types of WCF servi Download ReadMe.txt
VBSL3Animation This project demonstrates how to play PointAnimation in Silverlight 3 Download ReadMe.txt
VBSL3CustomControl This project demonstrates how to create the custom control HighLightTextBlock in Silverlight 3. Download ReadMe.txt
VBSL3DeepZoom The code sample demonstrates the Deep Zoom feature of Silverlight 3 that provides the ability to interactively view high-resolution images in Silverlight. You can zoom in and out of images rapidly without affecting the performance of your application. Download ReadMe.txt
VBSL3FullScreen This example demonstrates how to use the full screen feature in Silverlight 3. Download ReadMe.txt
VBSL3HTMLBridge The code sample demonstrates the HTML Bridge feature in Silverlight for interaction between HTML/Javascript and Silverlight. Download ReadMe.txt
VBSL3Input This sample demonstrates how to handle mouse and keyboard event in Silverlight 3 Download ReadMe.txt
VBSL3IsolatedStorage This project shows how to create Isolated Storage Explorer for viewing the virtual file structure and file management functions of the Silverlight 3 application's Isolated Storage Download ReadMe.txt
VBSL3LocalMessage This project demonstrates how to use local message in Silverlight 3 to communicate among local Silverlight-based applications Download ReadMe.txt
VBSL3MediaElement This code sample illustrates the basic usage of MediaElement in Silverlight 3. A MediaElement object is a rectangular region that can display video on its surface or play audio. Download ReadMe.txt
VBSL3OOB This code sample demonstrates how to how to enable out-of-browser support in Silverlight 3 so that users can install the Silverlight application from the web and run it outside the browser. Download ReadMe.txt
VBSL3PixelShader This sample demonstrates how to use new pixel shader feature in Silverlight 3. Download ReadMe.txt
VBSL3PlaneProjection This sample illustrates how to use the new perspective 3D feature of Silverlight 3. Download ReadMe.txt
VBSL3SocketClient This project creates a Silverlight socket client that can receive/send string message asynchronously from/to a socket server. Download ReadMe.txt
VBSL3SocketServer This project creates a socket server sample in which socket server will accept client connections, then receive string message and send back the respone message. Download ReadMe.txt
VBSL3Text This sample demonstrates how to work with text in Silverlight 3 using VB Download ReadMe.txt
VBSL3WriteableBitmap The code sample demonstrates the WriteableBitmap feature in Silverlight 3. The feature enables you to update and render a bitmap on a per-frame basis. This is useful for generating algorithmic content, such as a fractal image, and for data visualization, Download ReadMe.txt
XAMLSL3SplashScreen This sample demonstrates how to customize the splash screen for Silverlight 3 application. Download ReadMe.txt
XAMLSL3StyleControlTemplate This XAML sample demonstrates how to work with Style and ControlTemplate in Silverlight 3. Download ReadMe.txt
XAMLSL3Text This example demonstrates how to work with text in Silverlight 3 using XAML. Download ReadMe.txt

Visual Studio 2010 Code Samples

Sample Description Download ReadMe
CSAzureBingMaps The sample application combines cloud computing solutions (e.g. Windows Azure, SQL Azure, Bing Maps, Windows Live) and other modern technologies (e.g. WP7, IE9, HTML 5, Silverlight 4) to demo a trip planning system. Download ReadMe.txt
CSSL4COMInterop This project demonstrates how to inter-operate with COM components in Silverlight 4. Download ReadMe.txt
CSSL4DataFormCancelButton This project demonstrates how to show a Cancel button in the edit mode of DataForm in Silverlight 4. Download ReadMe.txt
CSSL4DataGridGroupHeaderStyle This project illustrates how to define group header style of different levels and define group header style according to group header content. Download ReadMe.txt
CSSL4FileDragDrop The code sample demonstrates the new drag&drop feature of Silverlight 4 to implement dragging picures from the local file system to a Silverlight application. Download ReadMe.txt
CSSL4MEF The code sample demonstrates the use of Managed Extensibility Framework (MEF) in Silverlight 4. MEF is designed for simplifying the design of extensible applications and components. Download ReadMe.txt
CSSL4WCFNetTcp The code sample demonstrates communicate with WCF web service using net.tcp protocol in Silverlight 4. Download ReadMe.txt
CSSLTreeViewCRUDDragDrop The code sample demonstrates a custom TreeView with added functionalities of CRUD and drag-and-drop operations Download ReadMe.txt
VBAzureBingMaps The sample application combines cloud computing solutions (e.g. Windows Azure, SQL Azure, Bing Maps, Windows Live) and other modern technologies (e.g. WP7, IE9, HTML 5, Silverlight 4) to demo a trip planning system. Download ReadMe.txt
VBSL4COMInterop This project demonstrates how to inter-operate with COM components in Silverlight 4. Download ReadMe.txt
VBSL4DataFormCancelButton This project demonstrates how to show a Cancel button in the edit mode of DataForm in Silverlight 4. Download ReadMe.txt
VBSL4DataGridGroupHeaderStyle This project illustrates how to define group header style of different levels and define group header style according to group header content. Download ReadMe.txt
VBSL4FileDragDrop The code sample demonstrates the new drag&drop feature of Silverlight 4 to implement dragging picures from the local file system to a Silverlight application. Download ReadMe.txt
VBSL4WCFNetTcp The code sample demonstrates communicate with WCF web service using net.tcp protocol in Silverlight 4. Download ReadMe.txt

Download all code samples: http://1code.codeplex.com/releases

 

Submit your request of Silverlight code samples (Guidance)

Leave a Comment
  • Please add 5 and 8 and type the answer here:
  • Post
  • Could you please provide a vb.net code sample to incorporate PDF print functionality into a silverlight 4 web mapping application?

  • Hello sara

    You can submit this request to our portal:

    1code.codeplex.com/wikipage

    However, as far as I know, printing PDF relies on some 3rd party components, which may not be appropriate to be demoed by a code sample from Microsoft.

  • I have downloaded SL3 Socket samples and I am testing it on WinXP without any change. but it gives me following error :

    The I/O operation has been aborted because of either a thread exit or an application request

  • thx very good and hellpfull for newbie  lıke me   ;)

  • please provide a sample fro chat in suilverlight 4.

  • Code for Multipication of tow textbox on DATAFORM  and save to database.

  • please help me for  maintain session and viewstate  in silverlight application

Page 1 of 1 (7 items)