[Sample of Oct 31st] EF4 Lazy Loading feature demo

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSEFLazyLoading-d88aa2cd VB Version: http://code.msdn.microsoft.com/VBEFLazyLoading-c3f0abe8 The example illustrates how to work with the Lazy Loading which is new in Entity Framework 4.0.  It also shows how to use the eager loading and explicit loading which is already implemented in the first version of Entity Framework.   You can find more code…

0

[Sample of Oct 30th] Socket programming in Silverlight

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSSL4SocketProgramming-34ed98c2 VB Version: http://code.msdn.microsoft.com/VBSL4SocketProgramming-6bc685f5 The project illustrates how to use Socket achieve MultiCast function in Silverlight. We demonstrate ISM and SSM in this sample, The application includes a console application as server side and a Silverlight application as client side, the server will broadcast messages to client sides and…

0

[Sample of Oct 29th] VSTO Interop with Excel VBA macros

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSVstoVBAInterop-8e7e9b92 VB Version: http://code.msdn.microsoft.com/VBVstoVBAInterop-d541a0c7 The VstoVBAInterop project demonstrates how to interop with VBA project object model in VSTO projects. Including how to programmatically add Macros (or VBA UDF in Excel) into an Office document; how to call Macros / VBA UDFs from VSTO code; and how to call VSTO code from…

0

[Sample of Oct 28th] Windows Forms databind nested properties

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSWinFormBindingNestedPrope-a3dca4ef VB Version: http://code.msdn.microsoft.com/VBWinFormBindingNestedPrope-2825045f The sample demonstrates how to bind a DataGridView column to a nested property in the data source. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They…

0

[Sample of Oct 27th] WPF clipboard viewer

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSWPFClipboardViewer-00ffa0d9 VB Version: http://code.msdn.microsoft.com/VBWPFClipboardViewer-d3f3cbd3 This Sample demonstrates how to monitor Windows clipboard changes in a WPF application. In order to be notified by the system when the clipboard content changes, an application must use the SetClipboardViewer function (user32.dll) to add its window into the chain of clipboard viewers. Clipboard…

0

[Sample of Oct 26th] Monitor registry changes

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSMonitorRegistryChange-d297cdf0 VB Version: http://code.msdn.microsoft.com/VBMonitorRegistryChange-27b67ef9  The sample demonstrates how to monitor the registry key change event using WMI event. The change event will be raised when one of the following operations happened.  1. Rename or delete the key.2. Add, rename or delete a sub key under the key.3. Add, rename,…

0

[Sample of Oct 25th] Load large dataset with infinite scroll in ASP.NET

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSASPNETInfiniteLoading-16f5bdb8 VB Version: http://code.msdn.microsoft.com/VBASPNETInfiniteLoading-10c3f379  Infinite scroll, has also been called autopagerize, unpaginate, endless pages. But essentially it is pre-fetching content from a subsequent page and adding it directly to the user’s current page.  The code sample demonstrates loading a large number of data entries in an XML file. It…

0

[Sample of Oct 24th] Code syntax highlight in ASP.NET webpage

  Sample Download : http://code.msdn.microsoft.com/CSASPNETHighlightCodeInPage-aba2cb53 Sometimes we input code like C# or HTML in our post and we need these code to be highlighted for a better reading experience.This project illustrates how to highlight the code in a page. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft…

0

[Sample of Oct 23rd] A sample music player supporting playlist in Silverlight

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSSL4MusicPlayer-069bbbf8 VB Version: http://code.msdn.microsoft.com/VBSL4MusicPlayer-06d1bbce The project illustrates how to create a music player supporting playlist in Silverlight. User can upload some music files in Web application and generate xml file, the xml file includes some useful information of music files. You can find more code samples that demonstrate the…

0

[Sample of Oct 22nd] serviced component in .NET

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSServicedComponent-d4d0aa0b VB Version: http://code.msdn.microsoft.com/VBServicedComponent-15bbeb55 A serviced component is a class that is authored in a CLS-compliant language and that derives directly or indirectly from the System.EnterpriseServices.ServicedComponent class. Classes configured in this way can be hosted in a COM+ application and can use COM+ services by way of the EnterpriseServices…

0