CodeProject
February, 2012 - Microsoft All-In-One Code Framework - Site Home - MSDN Blogs
Sign In
Microsoft All-In-One Code Framework
The Microsoft All-In-One Code Framework is a free, centralized code sample library provided by the Microsoft Community team. Our goal is to provide typical code samples for all Microsoft development technologies.
.
Sample Browser
Social Media Sharing
February, 2012
Microsoft Next
Sample of the Day
RSS
http://blogs.msdn.com/b/codefx/archive/tags/SampleOfTheDay/
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Common Tasks
Blog Home
Email Blog Author
OK
RSS for comments
RSS for posts
Atom
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NET 4
ADO.NET
ASP.NET
Blog
COM
Interop
Network
News
Office
Release
Sample Browser
SampleBrowser
SampleOfTheDay
Silverlight
Story Creator
TFS
VSX
Windows Azure
Windows Forms
Windows Phone
Windows Phone 7
Windows SDK
Windows Shell
WPF
XML
Monthly Archives
Archives
May 2012
(32)
April 2012
(31)
March 2012
(34)
February 2012
(16)
December 2011
(2)
November 2011
(1)
October 2011
(2)
September 2011
(1)
August 2011
(2)
July 2011
(5)
June 2011
(1)
May 2011
(3)
April 2011
(3)
March 2011
(5)
February 2011
(3)
January 2011
(3)
December 2010
(1)
November 2010
(24)
October 2010
(4)
September 2010
(5)
August 2010
(3)
June 2010
(2)
May 2010
(3)
March 2010
(5)
February 2010
(2)
January 2010
(3)
December 2009
(3)
November 2009
(3)
October 2009
(4)
September 2009
(9)
August 2009
(3)
July 2009
(1)
June 2009
(1)
May 2009
(1)
April 2009
(2)
Visitors
Feedjit Live Blog Stats
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Microsoft All-In-One Code Framework
[Sample of Feb 29th] Story Creator Sample Application for Windows Phone 7
Posted
2 months ago
by
Jialiang Ge [MSFT]
0
Comments
Sample download: C# version: http://code.msdn.microsoft.com/CSWP7AzureVideoStory-2b9c3e12 VB version: http://code.msdn.microsoft.com/VBWPAzureVideoStory-ed1d5acc Today’s code sample is a big sample application that combines many hot technologies such as Windows Phone 7, Windows Azure, HTML5 , etc. This sample solution is a story creator for Windows Phone 7. You can use it to create photo stories on your phone, and send the stories to a Windows Azure service to encode them into...
Microsoft All-In-One Code Framework
[Sample of Feb 28th] Interactive Windows Service
Posted
2 months ago
by
Jialiang Ge [MSFT]
1
Comments
Sample download: http://code.msdn.microsoft.com/CSCreateProcessAsUserFromSe-b682134e Today’s code sample demonstrates a very frequently asked programming scenario for Windows developers: how to create/launch a process interactively in the session of the logged-on user from a Windows Service application. The sample was written by Microsoft Support Engineer Ashish Thakur. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In...
Microsoft All-In-One Code Framework
[Sample of Feb 27th] List process type information for all running processes
Posted
3 months ago
by
Jialiang Ge [MSFT]
0
Comments
Sample Download: http://code.msdn.microsoft.com/CppCheckProcessType-1f81439d Today’s code sample demonstrates how to list process type information for all running processes in C++, such as Is a Console Application or Is a Windows Application Is a Managed Application or Is a Native Application Is a .NET 4.0 Application Is a WPF Application Is a 64 Bit Application or Is a 32 Bit Application These topics are frequently asked and needed by developers, so Microsoft All...
Microsoft All-In-One Code Framework
[Sample of Feb 26th] Write / add SPN to user or computer account in Active Directory
Posted
3 months ago
by
Jialiang Ge [MSFT]
0
Comments
Sample Download: http://code.msdn.microsoft.com/CSDsWriteAccountSPN-95c31397 Today’s code sample is related to Active Directory . It demonstrates how to write/add Service Principal Name (SPN) to any user or computer account object in Active Directory. This sample must be run on domain environment and under the Domain Admin privileges. The sample was written by Microsoft Support Escalation Engineer: Shaleen Thapa . You can find more code samples that demonstrate the most typical programming...
Microsoft All-In-One Code Framework
[Sample of Feb 25th] Customize Visual Studio Status Bar
Posted
3 months ago
by
Jialiang Ge [MSFT]
2
Comments
Sample Download: http://code.msdn.microsoft.com/Customize-VS-status-bar-in-0990ed78 Today’s code sample demonstrates customizing the status bar of Visual Studio. The Visual Studio status bar, the horizontal region at the bottom of the Visual Studio design surface, provides a convenient way to convey information about the current state of the integrated development environment (IDE). In this sample, we will demo: 1) Write highlighted text in its feedback region 2) Read text from the feedback...
Microsoft All-In-One Code Framework
[Sample of Feb 24th] Change AppPool identity programmatically in Windows Azure
Posted
3 months ago
by
Jialiang Ge [MSFT]
0
Comments
Sample Download: http://code.msdn.microsoft.com/CSAzureChangeAppPoolIdentit-27099828 Today’s code sample demonstrates changing AppPool identity programmatically in Windows Azure . Most of customers test their applications to connect to cloud entities like storage, SQL Azure, AppFabric services via compute emulator environment. If the customer's machine is behind proxy that does not allow traffic from non-authenticated users, their connections fail. One of the workaround is to change the...
Microsoft All-In-One Code Framework
[Sample of Feb 23rd] Save a DIB on the Clipboard to a File using Silverlight 5
Posted
3 months ago
by
Jialiang Ge [MSFT]
0
Comments
Sample Download: http://code.msdn.microsoft.com/CSTFSAddCheckOutEventType-673d0536 Today’s code sample demonstrates accessing the Windows Clipboard and retrieving a Device Independent Bitmap (DIB) and saving the DIB to a file in Silverlight 5 . If you are developing Silverlight applications or learning Silverlight 5, we hope that the Microsoft All-In-One Code Framework sample would reduce your effort in this typical Silverlight programming scenario. The sample was written by Microsoft...
Microsoft All-In-One Code Framework
More about REST: File upload download service with ASP.NET Web API and Windows Phone background file transfer
Posted
3 months ago
by
Yi-Lun Luo
3
Comments
Last week we discussed RESTful services, as well as how to create a REST service using WCF Web API. I'd like to remind you what's really important is the concepts, not how to implement the services using a particular technology. Shortly after that, WCF Web API was renamed to ASP.NET Web API , and formally entered beta. In this post, we'll discuss how to upgrade from WCF Web API to ASP.NET Web API. We'll create a file uploading/downloading service. Before that, I'd like to give you some background...
Microsoft All-In-One Code Framework
[Sample of Feb 22nd] Using Direct2D for Server-Side Rendering with ASP.NET
Posted
3 months ago
by
Jialiang Ge [MSFT]
0
Comments
Sample Download: http://code.msdn.microsoft.com/CSD2DServerSideRendering-2d099ab6 Today’s code sample demonstrates how to use Direct2D to render images in ASP.NET web applications. Some server applications need to render images and send back the generated bitmaps to users connected through web clients. GDI+ and System.Drawing are not supported in a service or web application. Direct2D is the appropriate technology for rendering images to a bitmap on disk in a service context. Direct2D is...
Microsoft All-In-One Code Framework
[Sample of Feb 21st] Add CheckOut Event to TFS
Posted
3 months ago
by
Jialiang Ge [MSFT]
0
Comments
Sample Download: http://code.msdn.microsoft.com/CSTFSAddCheckOutEventType-673d0536 Today’s code sample demonstrates how to enable checkout notification in TFS2010. In TFS2010, when a user sends a Check out (PendChanges) request to server, the server will send a PendChangesNotification before the items are checked out. If we subscribe this notification, we can deny the request or fire some custom check out events. If you are customizing your TFS workspace for your team projects or if you...
Microsoft All-In-One Code Framework
[Sample of Feb 20th] Configure SSL for specific pages in Windows Azure
Posted
3 months ago
by
Jialiang Ge [MSFT]
0
Comments
Sample Download: http://code.msdn.microsoft.com/CSAzureSSLForPage-e844c9fe Today’s code sample demonstrates how to configure SSL for specific page(s) while hosting the application in Windows Azure . If you are developing applications in Windows Azure or if you are learning Windows Azure, we hope that the Microsoft All-In-One Code Framework sample would reduce your effort in this typical Windows Azure programming scenario. The sample was written by the Microsoft Escalation Engineer Narahari...
Microsoft All-In-One Code Framework
Launching "Sample of the Day" - Learn an amazing code sample every 24 hours
Posted
3 months ago
by
Jialiang Ge [MSFT]
2
Comments
Every day is an opportunity to learn something or discover something new. Learn one sample every day, be coding master in a year! Microsoft All-In-One Code Framework offers " Sample of the Day ". "Sample of the Day" introduces one amazing code sample every 24 hours that demonstrates the most typical programming scenarios of different Microsoft technologies. If you are curious about and passionate for learning something new, follow the “Sample of the Day” RSS feed or visit the "Sample...
Microsoft All-In-One Code Framework
A post about RESTful services
Posted
3 months ago
by
Yi-Lun Luo
0
Comments
Introduction This is the first article in a planned series of blog posts. There will be two or three posts in all. Today the All-In-One Code Framework sample Story Creator has a web role, which contains a RESTful service that allows you to upload stories to Windows Azure. One of the potential features in the next version of Story Creator is to use Windows Azure ACS (and possibly Windows Live Connect) to protect this service. So this post talks about how to work with RESTful services, and...
Microsoft All-In-One Code Framework
Create a color picker for Windows Phone
Posted
3 months ago
by
Yi-Lun Luo
0
Comments
One of the new features we plan to add to the next version of story creator is to add caption text support for each photo. This includes related settings such as text font and color. Adding font support isn't too difficult. But color is another story. It is easy enough to provide a static list to allow users select some pre-defined colors. But the experience may not be very good. Windows Phone supports 32 bit colors (2^32). Why limit the user experience to about 10 colors? This may be fine for...
Microsoft All-In-One Code Framework
The future of Story Creator
Posted
3 months ago
by
Yi-Lun Luo
0
Comments
A while ago we released a sample called Story Creator: http://code.msdn.microsoft.com/CSWP7AzureVideoStory-2b9c3e12 . It combines several technologies, such as Windows Phone, Windows Azure, WCF, and C++. It is a complete application that you can use and extend. But we're also aware of some limitations. For example, it is based on Windows Phone 7.0, not the latest Mango release. It doesn't offer too many features. However, do not worry. We don't stop here. We want to continue to improve it, and provide...
Microsoft All-In-One Code Framework
Microsoft All-In-One Code Framework 2012 January Sample Updates
Posted
3 months ago
by
Jialiang Ge [MSFT]
1
Comments
A new release of Microsoft All-In-One Code Framework is available on Feb 6th. We expect that its 8 new code samples covering typical programming scenarios in Windows Azure, Directory Services, Hyper-V, TFS, WDK, and Windows SDK would ease your development work. You can download the code samples using Sample Browser or Sample Browser Visual Studio extension . They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and...
Page 1 of 1 (16 items)