[Sample Of Mar 30th] How to call Windows Azure managment REST API using base64 encode certificate

  Sample Download : http://code.msdn.microsoft.com/How-to-call-Windows-Azure-7bcc7561 Managing Azure in Role instance may be difficult, because it requires a client certificate. This sample will show how to use the base64 string certificate instead of getting the certificate from Certificates store. You can find the answers to all the following questions in the code sample: How to use…

0

[Sample Of Mar 29th] How to search items by Retention Period in Office 365 Exchange Online

  Sample Download : http://code.msdn.microsoft.com/How-to-Search-Items-by-3de58d8d Now we can easily search email messages by retention policy in Outlook. But this feature is not available in Outlook Web App(OWA). In this application, we demonstrate how to search email messages with retention policy enabled in Office 365 Exchange Online by using Exchange Web Service Managed API. We use…

0

[Sample Of Mar 26th] How to generate SAS with Web API and get the SAS from client in Windows Azure

  Sample Download : http://code.msdn.microsoft.com/How-to-use-SAS-in-Windows-c8db136d Using a shared access signature (SAS) is a powerful way to grant limited access to blobs, tables, and queues in your storage account to other clients, without having to expose your account key. You can use a SAS when you want to provide access to resources in your storage account…

0

[Sample Of Mar 24th] How to retrieve the Identity value after inserting a data using ADO.NET

  Sample Download : http://code.msdn.microsoft.com/How-to-Retrieve-the-511acece We often set a column as identity column when the values in the column must be unique. And sometimes we need the identity values of new data. In this application, we will demonstrate how to retrieve the identity values: 1. Create a stored procedure to insert data and return identity…

1

[Sample Of Mar 23rd] How to update the config file at runtime in Windows Forms Applications

  Sample Download : http://code.msdn.microsoft.com/CSManipulateAppConfig-3e545252 This code sample demonstrates how to use ConfigurationManager to create, read, update and delete nodes in the config file and how to use XmlDocument to update the config file content at runtime. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or…

0

[Sample Of Mar 20th] How to view word document in WPF applications

  Sample Download : http://code.msdn.microsoft.com/CSVSTOViewWordInWPF-d0619184 The Sample demonstrates how to view word document in WPF applications. WPF does not support to view Word documents directly but some customers want to show word document in WPF. So we can use WPF DocumentViewer control to host fixed document such as XPS document. And we also can convert word…

0

[Sample Of Mar 19th] How to enable checkout notification in TFS.

  Sample Download : http://code.msdn.microsoft.com/CSTFSAddCheckOutEventType-673d0536 The code sample demonstrates how to enable checkout notification in TFS.  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 give you the flexibility to search samples, download samples on demand, manage…

0

[Sample Of Mar 18th] How to create a custom MultiValues work item control of TFS WebAccess.

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSTFSWebAccessWorkItemMulti-ace1b01e VB Version: http://code.msdn.microsoft.com/VBTFSWebAccessWorkItemMulti-4428dd9f This code sample demonstrates how to create a custom MultiValues work item control of TFS2010 WebAccess.  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 give…

0

[Sample Of Mar 17th] How to Use DbDataReader.GetInt32 Method

  Sample Download : http://code.msdn.microsoft.com/How-to-Use-DbDataReaderGetI-dd8b52e9 DbDataReader.GetInt32 Method gets the value of the specified column as a 32-bit signed integer. In this snippet, we will demonstrate how to use DbDataReader.GetInt32 Method. 1. Create DbConnection, DbCommand; 2. Create DbDataReader to read data; 3. Use DbDataReader.GetInt32 method to get the Data of Int32 type;  You can find more…

0

[Sample Of Mar 16th] How to dynamically bind an event handler on an aspx page to a control on an ascx page

  Sample Download : http://code.msdn.microsoft.com/How-to-dynamically-bind-an-d1c4ba64 This sample will demonstrate how to dynamically bind an event handler on an aspx page to a control on an ascx page. You can find answers to all the following questions in this code sample: How to get handler string and use reflection to bind click event to specific method. How to…

0