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.
In this article we explore the tasks related to creating a Cartoon Effect from images which reflect real world non-animated scenarios. When applying a Cartoon Effect it becomes possible with relative ease to create images appearing to have originated from a drawing/animation.
This article details how to decode or convert Base64 encoded strings back into Bitmap images by means of extending the string class.
The objective of this article is to explore various edge detection algorithms. The types of edge detection discussed are: Laplacian, Laplacian of Gaussian, Sobel, Prewitt and Kirsch. All instances are implemented by means of Image Convolution.
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.
The purpose of this article is aimed at exploring the concepts of Image Erosion, Image Dilation, Open Morphology and Closed Morphology. In addition this article extends conventional Erosion and Dilation implementations through partial colour variations of Erosion and Dilation.
This article explores encoding Bitmap images to Base64 strings. Encoding is implemented by means of an extension method targeting the Bitmap class.
This article serves to provides an introduction and discussion relating to Image Blurring methods and techniques. The Image Blur methods covered in this article include: Box Blur/Mean Filter, Gaussian Blur, Median Filter and Motion Blur.
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.
The purpose of this article is to explore and illustrate Image Unsharp Masking. This article implements image convolution in the form of a 3×3 Gaussian Blur, 5×5 Gaussian Blur, 3×3 Mean filter and a 5×5 Mean filter. In addition image subtraction/addition is also discussed.
1 - 10 of 45 Items   
0 results
No sample requests were found.
Mike.Wasson - Microsoft
Sample code for the following tutorial on asp.net:Getting Started with ASP.NET Web APIExcerpt from the tutorial: 
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, flexible, and ubiquitous.
(18)
6/1/2012
Parallel Computing Platform - Microsoft
This project provides samples and extensions for the parallel programming support in the .NET Framework.
(69)
7/23/2011
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.
(17)
9/13/2011
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
(6)
9/21/2012
Mike.Wasson - Microsoft
This sample contains the complete code for the following ASP.NET Web API tutorial:Dependency Injection for Web API Controllers[Excerpt]The Web API Dependency ResolverWeb API defines the IDependencyResolver interface for resolving dependencies. Here is the definition of the interf
(5)
6/7/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.
(10)
11/3/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. 
(7)
9/14/2011
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
patterns and practices
This sample demonstrates how to build a complete Windows Store app using JavaScript, HTML, and CSS.
(4)
1/11/2013
Yao - MSFT
This sample shows how to get the ASP.NET Web API Help Page working on self-hosted services.
(0)
12/20/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
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
(3)
8/17/2012
Yao - MSFT
This a simple command-line utility that will generate the help page as HTML files for ASP.NET Web API.
(3)
1/21/2013
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
(4)
10/19/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
Wahyu VB .Net
Have you ever thought, when an image file can be warp into trapezoid?
(1)
7/14/2012
Ashwini47
This code sample demonstrates how to use reflection provider to create an WCF Data Service
(1)
8/1/2012
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
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
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