Blogs - OneCode


Troubleshoot expired certificates[MP4] [0:02:10] [2016/01/01]
This video shows different error scenarios caused by expired certificates when users open web application in web server, and provides corresponding solutions.


Troubleshoot incorrect URI/Identifier specified on relying party[MP4] [0:02:46] [2015/12/31]
This video provides solutions to the errors that occur when users open their web applications in web server caused by incorrect URI/Identifier specified on the Relying Party.


How to create and host WCF services in Azure[MP4] [0:04:55] [2015/12/01]
Azure Cloud Services help you deploy and scale powerful web applications and APIs. This video will show you how to use this code sample to create and use WCF services in Azure Cloud Services.…


How to control role instances programmatically in Azure using a WCF service[MP4] [0:04:13] [2015/12/01]
Windows Communication Foundation is designed to offer a manageable approach to create Web services and Web service clients. This video shows you how to start a WCF service to control role instances in…


How to resize WPF panel at Runtime[MP4] [0:01:58] [2015/12/01]
In WPF apps, you might want to resize controls at runtime, for example, when you create some template for a form. This video will show you how to resize WPF controls at runtime. Download sample:…


How to use Azure Access Control for Single Sign-On[MP4] [0:06:11] [2015/12/01]
If your web application need support multiple user validations, you must handle different token with different methods, but when you try to move your application to Windows Azure, Access Control…


How to encode several images to a video in universal Windows apps[MP4] [0:02:33] [2015/12/01]
Media Foundation provides better support for media formats, with new codecs, and a simplified programming model. This video will show you how to encode multiple images to a video with Media Foundation…


How to bulk import or export data to or from Azure table storage with Excel (VS2013)[MP4] [0:02:41] [2015/12/01]
In Azure Table storage, you can store large amounts of structured, non-relational data. This video shows how to use the sample solution to export or import data from or to Azure Table storage by using…


How to apply an Opacity Mask to an image in Universal apps using Direct2D[MP4] [0:02:26] [2015/12/01]
An opacity mask enables you to control the opacity of the image when applied to another image in very creative ways. This video will show you how to apply opacity mask effect to an image using…


How to download or upload multiple files in Windows Azure blob storage (VS2013)[MP4] [0:02:47] [2015/12/01]
Azure blob storage is a service for storing large amounts of data in the cloud, such as documents, images, or media files. This video shows you how to download or upload multiple files from or to…


How to add a table with rows to PowerPoint using OpenXML[MP4] [0:01:51] [2015/05/21]
Sometimes, you may need to perform certain operations in Office PowerPoint using code. Open XML SDK can help you achieve this with strongly-typed classes. This video will show you how to use Open XML…


How to access data from SQL Server database in Windows Store app[MP4] [0:02:41] [2015/05/21]
In Windows Store apps there is no option to directly connect to a SQL Server database. If you want to access SQL Server database, you must add a service layer. In this video, we're gonna show you how…


How to use HttpClient to post Json data to WebService in universal Windows apps[MP4] [0:01:44] [2015/05/21]
It's easy to post JavaScript Object Notation or JSON data to a web service in WinJS realm. But sometimes you may need to do this using the HttpClient class in the .NET applications. This video shows…


How to convert an Excel file to XML format[MP4] [0:01:41] [2015/04/09]
XML file format is well-known for its use of the open standard, which allows you to exchange data between different apps. This video shows you how to convert an Excel file to XML format using Open…


How to call Web service in Excel using Visual Studio Tools for Office[MP4] [0:01:50] [2015/04/08]
Sometimes, you may want to incorporate data from online resources into your Excel worksheets, like the weather data of a city. This video shows you how to call a weather web service to get online data…


How to drag items between groups in grouped GridView [MP4] [0:01:12] [2015/02/04]
GridView is a common control for displaying grouped items in Windows Store apps. Sometimes, you may want to move an item from one group to another with drag and drop. However, the dragged item will…


How to save a data collection to app storage in Windows Store apps[MP4] [0:01:48] [2015/02/04]
Sometimes you may want to save app data to local storage when you close or leave the app so that it can be reloaded the next time you run the app. In this video, we'll show you how to save a…


How to create a master-detail ListBox in universal Windows apps[MP4] [0:01:36] [2015/02/04]
Multi-level master/detail listbox allows you to display a few lists that let users quickly drill down to the items of interest with a few selection of data in a hierarchy. In this video, we'll show…


How to zoom in or out the content in WebView in Univeral apps[MP4] [0:02:08] [2015/01/15]
The size of the WebView may not fit the size of the content very well. Whereas Webview has no built-in zoom function. So you cannot resize the content as your will. This video shows how to zoom in or…


How to pick and manipulate a 3D object in universal Windows game apps[MP4] [0:01:41] [2014/12/17]
Microsoft DirectX is a collection of APIs for handling tasks related to multimedia, especially in game programming. In this video, we'll show you how to use DirectX to pick a 3D object and manipulate…


How to add wartermark text or image to a bitmap in Windows Store app[MP4] [0:01:48] [2014/12/17]
Placing a watermark on an image before you publish it to the web can help identify its ownership. In this video, we will show you how to use D2D to add text or image watermark to a bitmap image in…


How to: Reflection in the .NET Framework for Windows Store apps[MP4] [0:03:11] [2013/03/13]
This video will demonstrate how to get all classes that inherit from a base class or implement an interface in a C#/VB.NET Windows Store app. Download C# sample code | Download VB sample code Your…


How to Add an Item Dynamically to a Grouped GridView in a Windows Store app[MP4] [0:01:24] [2013/03/13]
This video will demonstrate how to add an item dynamically to a grouped GridView in Windows Store app.Download C# sample code | Download VB sample code Your App Adventure Starts here. Build your…


How to Port Android apps to Windows Store apps[MP4] [0:23:13] [2013/01/12]
This session talks about how to port Android apps to Windows Store apps with mapping relations between Android and Windows Store apps. We'll cover the programming architecture, UI control, application…


How to Port iOS apps to Windows Store apps[MP4] [0:23:53] [2013/01/11]
This session talks about how to port iOS apps to Windows Store apps with mapping relations between iOS and Windows Store apps. We'll cover programming architectures, design principles, UI controls,…


How to Manipulate a File with FileRandomAccessStream in a Windows Store app[MP4] [0:01:41] [2012/12/14]
In a Windows Store app, FileRandomAccessStream can be used to create a file, load content from a file, or insert data into a specific position in the file. This video demonstrates…


How to Crop an Image in a Windows Store Application[MP4] [0:02:37] [2012/11/12]
In a typical .NET WPF application, we can use the System.Windows.Media.Imaging.CroppedBitmap class to crop a bitmap, but in a Windows Store app, this class is not available. In Windows Store app, you…