Developer Code Samples

Contributions
Requests
Favorites
Sort By:

Developers usually generate web service client proxy code in order to call into web services. Since WSDL is an exact description of a web service it is also possible to generate code that represents a web service. This article illustrates how to generate a web service from WSDL.
This article details how to decode or convert Base64 encoded strings back into Bitmap images by means of extending the string class.
In this article we explore manipulating a Bitmap image’s underlying pixel data. The process of Pixel data manipulation at its core feature the implementation of Linq Queries targeting raw pixel data.
This article describes creating basic Image filters using the ColorMatrix class. The filters discussed are: Grayscale, Transparency, Image Negative and Sepia tone. All filters are implemented as extension methods targeting the Image class, as well as the Bitmap class.
This article illustrates the process of generating icon files (*.ico) from user specified input images. The accompanying sample source code implements a Windows Forms application, allowing for easily testing the icon generation process. Implemented through an extension method.
This article explores encoding Bitmap images to Base64 strings. Encoding is implemented by means of an extension method targeting the Bitmap class.
The objective of this article is to illustrate Image Arithmetic being implemented when blending/combining two images into a single result image. The types of Image Arithmetic discussed are: Average, Add, SubtractLeft, SubtractRight, Difference, Multiply, Min, Max and Amplitude.
In this follow up article we further explore manipulating a Bitmap image’s underlying pixel data. This article is part 2 of the Linq to Bitmaps series, we’ll be focussing on partial colour inversion using Linq queries.
This article is intended to explain and illustrate the various possible combinations that can be implemented when swapping the underlying colour channels related to a  Bitmap image. Concepts explained can easily be replicated by making use of the included sample application.
This article explores creating basic image filters implemented by directly manipulating the ARGB colour values associated with an image’s pixels. The types of filters discussed are: Grayscale, Transparency, Image Negative and Sepia tone, implemented as extension methods.
1 - 10 of 27 Items   
0 results
No sample requests were found.
Official Windows SDK Sample

Official Windows SDK Sample MSFT

Windows SDK samples are developed and tested by the Windows team to ensure that you have a great experience.

View Samples
- Microsoft
This sample provides completed versions of the apps you create by following the Create your first Windows Store app using JavaScript tutorial series.
(11)
8/15/2012
Internet Explorer sample

Internet Explorer sample MSFT

Internet Explorer sample are developed and tested by the Internet Explorer Team to ensure that you have a great experience.

View Samples
- Microsoft
The drag and drop sample contains four code examples to show how the draggable attribute helps you create fully drag and drop enabled web applications.
(11)
9/13/2011
Mike.Wasson
 http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-apiYour First ASP.NET Web API (C#)[Excerpts] HTTP is not just for serving up web pages. It is also a powerful platform for building APIs that expose services and data. HTTP is simple,
(3)
6/1/2012
Srithar
CRUD stands for "Create, Read, Update, and Delete," which are the four basic database operations. Many HTTP services also model CRUD operations through REST or REST-like API.
(7)
11/3/2012
patterns and practices
This sample demonstrates how to build a complete Windows Store app using JavaScript, HTML, and CSS.
(2)
1/11/2013
Mike.Wasson - Microsoft
This sample contains the finished code for the tutorial Sending HTML Form Data.[Excerpt from the tutorial follows]This tutorial shows how to upload files to a web API. It also describes how to process multipart MIME data.Here is an example of an HTML form for uploading a file:<fo
(1)
9/21/2012
Mike.Wasson - Microsoft
From the following tutorial: http://www.asp.net/web-api/overview/extensibility/using-the-web-api-dependency-resolver [Excerpt] This tutorial shows how to inject dependencies into your ASP.NET Web API controller, using the Web API dependency resolver.A dependency is an object or i
(3)
6/7/2012
Walt Smith
This sample will show you how to build a simple controller for the Kinect that will let you control the mouse on your Windows desktop using a Kinect device.
(2)
10/3/2012
Internet Explorer sample

Internet Explorer sample MSFT

Internet Explorer sample are developed and tested by the Internet Explorer Team to ensure that you have a great experience.

View Samples
- Microsoft
CSS Grid enables you to create webpages with a layout where the elements overlap and respond to changing window size, without requiring complicated pixel calculation. 
(6)
9/14/2011
Mike.Wasson - Microsoft
This sample contains the complete source code for the following tutorial:Self-Host a Web API [Excerpt]Create a New ProjectStart Visual Studio 2010 and select New Project from the
Start page. Or, from the File menu, select New and then
Project.In the Templates pane, select Inst
(0)
6/18/2012
Srithar
Windows Communication Foundation (WCF) is an SDK for developing and deploying services on Windows. WCF provides a runtime environment for your services, enabling you to expose CLR types as services, and to consume other services
as CLR types. In this article, I am going to expl
(3)
10/19/2012
Walt Smith
Hi everyone, this sample will show you the basics of how to use the Kinect for Windows device within a Winforms application.  While there are many examples in the Kinect SDK for WPF and XNA, there are not many good examples of doing a WinForms application.  I hope you enjoy this
(2)
8/17/2012
Tomasz Kowalczyk
This solution includes some sample that would be useful if you are going to try programming the Kinect device. It`s work on Kinect SDK Beta 2.
(1)
12/14/2011
Yao - MSFT
This sample shows how to get the ASP.NET Web API Help Page working on self-hosted services.
(0)
12/20/2012
Yao - MSFT
This a simple command-line utility that will generate the help page as HTML files for ASP.NET Web API.
(2)
1/21/2013
Wahyu VB .Net
Have you ever thought, when an image file can be warp into trapezoid?
(1)
7/14/2012
Walt Smith
Hi everyone.  This sample will show you the basic components of a gesture processing system for the Microsoft Kinect for Windows. It also shows you how to create a basic skeleton image for output to an application.
(8)
9/14/2012
Ashwini47
This code sample demonstrates how to use reflection provider to create an WCF Data Service
(1)
8/1/2012
Matt Wrock
This sample demonstrates how to adapt Xiaolin Wu's Color Quantizer to incorporate an Alpha layer using C# to produce very high quality quantized 8 bit PNGs from a source 32 bit PNG.
(9)
9/5/2011
Marcelo Kruger
The function of this example is to test the various functions such as moving Kinect engine adjustment, the distance to the User Kinect, extraction of silhouette, skeleton and create images of depth.
(0)
7/3/2011
Tomasz Kowalczyk
W celu poznania możliwości jakie daje omawiany element interfejsu użytkownika w artykule tym zostanie omówiona implementacja oprogramowania, korzystającego z możliwości urządzeń wielodotykowych.
(2)
10/13/2011