[Sample Of August 1] How to delete a row from Windows Azure Table storage without retrieving it first

Aug. 1 Sample Download : http://code.msdn.microsoft.com/How-to-delete-a-row-from-4c051eda When you develop an app that needs connecting to Azure storage service, it will take a long time to send requests and get responses in the client application. This sample demonstrates how reduce the times of connection between client app and Azure storage service. It also shows how to…

0

[Sample Of July 31] Use JSOM to change a user’s permissions on lists and libraries in SharePoint

July 31 Sample Download : http://code.msdn.microsoft.com/How-to-use-JSOM-to-change-f9fb89a5 This sample demonstrates how to use JavaScript Object Model to change user permission on list or library.   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…

0

[Sample Of July 30] Use JSOM to change a user’s permissions on lists and libraries in SharePoint

July 30 Sample Download : http://code.msdn.microsoft.com/How-to-use-JSOM-to-change-f9fb89a5 This sample demonstrates how to use JavaScript Object Model to change user permission on list or library.   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…

0

[Sample Of July 29] Determine which Windows Azure Cloud Service Role instance handles the request

July 29 Sample Download : http://code.msdn.microsoft.com/How-to-determine-which-70301e15 Sometimes developers want to know which Role Instance handles requests from the client side for several conditions: • They want to know which deployment slot handles the request.• They use traffic manager to connect 7 cloud services together, and want to know which cloud service will handle the requests…

0

[Sample Of July 28] How to break the locked lease of blob storage in Windows Azure

July 28 Sample Download : http://code.msdn.microsoft.com/How-to-break-the-locked-99744bf8 This code snippet shows how to break the locked lease of blob storage in Windows Azure. Windows Azure provides functionality to acquire lock on blobs to avoid concurrent writes to blobs. Sometimes, if the backup fails due to prolonged or sustained network connectivity failure, the backup process may not…

0

[Sample Of July 25] How to change the content type of Windows Azure blob storage

July 25 Sample : http://code.msdn.microsoft.com/How-to-change-the-content-605b3df5 This code snippet shows how to change the content type of Windows Azure blob storage. In some cases, a lot of media files stored on blob are in different formats – mp4, image file, etc. Sometimes, all these files are set as one content type: application/octet-stream, which causes issues in…

0

[Sample Of July 24] How to create a snapshot of blob in Windows Azure

July 24 Sample : http://code.msdn.microsoft.com/How-to-create-a-snapshot-f6558876   This Code Snippet shows how to create a snapshot of blob in Windows Azure. For developers, the best way to prevent accidental deletion or modification is creating a snapshot of blob.A snapshot is a read-only version of a blob that’s taken at a point in time. Once a snapshot…

0

[Sample Of July 23] How to create and access session variables in ASP.NET MVC

July 23 Sample Download : http://code.msdn.microsoft.com/How-to-create-and-access-447ada98 This sample demonstrates how to create and access session variables in ASP.NET MVC. In this sample, we will demo two ways to achieve this. One is to directly access HttpContext.Current.Session. The other is to create an extension method for HttpContextBase. We type some words selected from the page and…

0

[Sample Of July 22] Add custom Message and HTTP headers to WCF method call in Windows Store apps

July 22 Sample Download : http://code.msdn.microsoft.com/How-to-add-custom-5cbbf066 This sample implements a WCF Service implementation and a client project in the form of a Windows Store app. The WCF Service is a simple Calculator service. The client side project only calls the “Add” method, but it shows how to add the MessageHeader and HTTP headers to the…

0

[Sample Of July 21] How to search and highlight the search term in WebView in Windows Store apps

July 21 Sample Download : http://code.msdn.microsoft.com/How-to-search-and-248d933f WebView continues to be a hot topic in the Windows Store app forums. The ability to bring in web content and manipulate it as you wish is a strong desire for many developers. This code sample will show you how to highlight search terms in any page which you…

0