Thursday, April 7, 2011

The Future of Blue Spire

The Future of Blue Spire


The Future of Blue Spire

Posted: 07 Apr 2011 11:44 AM PDT

Recently my good friend and business partner, Christopher Bennage, made a decision to move his family to Redmond and take a job with Microsoft's P&P team. A few people have been asking me what that means for Blue Spire. In short, I'm going...( read more )...(read more)

Attending MIX 2011? There’s an app for that!

Posted: 07 Apr 2011 03:23 AM PDT

If you're planning on attending MIX 2011 conference in Las Vegas and if you own a Windows Phone, check out our new Conference Helper app for Windows Phone 7, that we just released to the marketplace. Conference Helper is a free app. You can get...( read more )...(read more)

Silverlight 5 Beta scheduled to Release during MIX11

Posted: 06 Apr 2011 05:00 PM PDT

Microsoft officially announced the expected release time for the Silverlight 5 Beta. Yes, it will be available next week during MIX11. This information was shared in Microsoft Silverlight Team's Blog post " Standards-based web, plug-ins, and Silverlight...( read more )...(read more)

Wednesday, April 6, 2011

How to implement Template Binding in Silverlight Custom Control?

How to implement Template Binding in Silverlight Custom Control?


How to implement Template Binding in Silverlight Custom Control?

Posted: 06 Apr 2011 04:29 AM PDT

Continuing to our 2nd chapter of the series here on Silverlight Custom Control. In this chapter we will discuss on dynamically setting the Content and other properties to our Custom Control that we implemented earlier. After reading this article, you...( read more )...(read more)

Tech∙Ed North America 2011|May 16-19, Atlanta, GA

Posted: 06 Apr 2011 10:00 AM PDT

Choose from exciting .NET Framework sessions taught by top experts. Breakout sessions, hands-on labs and interactive discussions cover topics such as leveraging Windows Workflow, parallel programing and more.

This posting includes an audio/video/photo media file: Download Now

Download .NET 4

Posted: 12 Apr 2010 10:00 AM PDT

The .NET Framework is Microsoft's comprehensive and consistent programming model for building applications that have visually stunning user experiences, seamless and secure communication, and more.

This posting includes an audio/video/photo media file: Download Now

Windows Phone 7 – Creating Trial API Applications

Posted: 05 Apr 2011 11:30 PM PDT

In this short article, I would like to show you how to use the WP7 Trial API in your applications. As you know, there are three types of applications in the WP7 marketplace – free, buy and try-before-buy. It is a good practice to offer the user...( read more )...(read more)

Silverlight Cream for April 05, 2011 -- #1071

Posted: 05 Apr 2011 10:27 PM PDT

In this Issue: Michael Crump , Jeremy Likness , Matthew Delisle , Xianzhong Zhu , Nigel Sampson , Jeff Prosise ( -2- ), Andrea Boschin , Mike Ormond , Jeff Wilcox , and Bil Simser . Above the Fold: Silverlight: "Silverlight Scaling and Anti-Aliasing Issues...( read more )...(read more)

RIA Services T4 template to copy comments from server to client

Posted: 05 Apr 2011 03:37 PM PDT

Just posted a sample about how to use the T4 code-generation template support in RIA Services V1 SP1 in order to copy comments over from my server project to my Silverlight project, check it out here . Thanks, -Yavor Georgiev Program Manager, WCF...( read more )...(read more)

Tuesday, April 5, 2011

Back from MIX11 session at the Montreal User Group

Back from MIX11 session at the Montreal User Group


Back from MIX11 session at the Montreal User Group

Posted: 05 Apr 2011 01:19 PM PDT

This year again I will be at MIX , the major Microsoft Conference about web technologies, which will be held next week in Las Vegas. I expect to hear cool stuff about: Silverlight 5 Silverlight with Azure Silverlight on XBox? Expression Studio 5? Windows...( read more )...(read more)

The Visual C++ Weekly Vol. 1 Issue 14 (Apr 2, 2011)

Posted: 02 Apr 2011 12:00 PM PDT

Read in this issue:

  • Troubleshooting Tips for IntelliSense Slowness
  • The Concurrency Runtime and Visual C++ 2010: Lambda Expressions
  • CMapi v1.23 (MFC classes for sending and receiving mail using Simple MAPI)
  • Exception Boundaries: Working With Multiple Error Handling Mechanisms
  • Is it reasonable to use the prefix increment operator ++it instead of postfix operator it++ for iterators?
  • Meet the Visual C++ Most Valuable Professionals (II)
  • Windows 7 Taskbar Integration for MFC Applications
  • Windows Restart and Recovery Recipe

_ITERATOR_DEBUG_LEVEL - Advanced STL, Part 3

Posted: 05 Apr 2011 01:50 PM PDT

In Part 3 of my video lecture series exploring the Standard Template Library's implementation, I explain how our powerful correctness checks in debug mode work.  In VC10, they're controlled by the macro _ITERATOR_DEBUG_LEVEL, which supersedes VC8 and VC9's more confusing _SECURE_SCL and _HAS_ITERATOR_DEBUGGING macros.  Additionally, VC10's #pragma detect_mismatch allows the linker to detect badness that previously would have caused incomprehensible crashes.  Finally, I demonstrate the undocumented and unsupported but exceedingly awesome compiler option /d1reportSingleClassLayout which prints an ASCII art diagram of a class's representation.

 

This advanced series assumes that you're familiar with C++ and the STL's interface, but not the STL's implementation.  If you haven't used the STL extensively yet, I recommend watching my introductory series.  For reference, here are all of the links:

 

[STL Introduction]

Part 1 (sequence containers)

Part 2 (associative containers)

Part 3 (smart pointers)

Part 4 (Nurikabe solver) - see Wikipedia's article and my updated source code

Part 5 (Nurikabe solver, continued)

Part 6 (algorithms and functors)

Part 7 (algorithms and functors, continued)

Part 8 (regular expressions)

Part 9 (rvalue references)

Part 10 (type traits)

 

[Advanced STL]

Part 1 (shared_ptr - type erasure)

Part 2 (equal()/copy() - algorithm optimizations)

Part 3 (_ITERATOR_DEBUG_LEVEL, #pragma detect_mismatch, and /d1reportSingleClassLayout)

 

Stephan T. Lavavej

Visual C++ Libraries Developer

Windows Phone 7 XNA Game Tutorial For Ya

Posted: 05 Apr 2011 10:34 AM PDT

The Microsoft game folks just released a tutorial that will guide you through the creation of a two-dimensional action game – called Shooter – on Windows, Xbox 360, or Windows Phone 7....( read more )...(read more)

Silverlight UserGroup Meeting tomorrow night April 6, 2011

Posted: 05 Apr 2011 10:35 AM PDT

Yes tomorrow really is the first Wednesday of the month! and Yes, we are having our normally scheduled meeting. The Silverlight User Group meeting will be from 6PM to 8PM at Interface Technical Training (NW corner of Central & Thomas) -- check PhoenixSilverlight...( read more )...(read more)

SilverlightShow for March 28-April 3, 2011

Posted: 05 Apr 2011 07:31 AM PDT

Check out the Top Five most popular news at SilverlightShow for March 28-April 3, 2011. Here are the top 5 news on SilverlightShow for last week: Force the NoDo update on the Samsung Omnia 7 and other Windows Phone 7 devices New Book: Developer's Guide...( read more )...(read more)

How to design a Custom Control by editing the Part Template?

Posted: 05 Apr 2011 01:23 AM PDT

This is a continuation to my previous post " How to create a Custom Control in Silverlight? " In this tutorial part, we will discuss on the template and modify our basic template to give a better look as per our need. In this chapter, we will...( read more )...(read more)

Build Related Improvement in VS2010 SP1

Posted: 05 Apr 2011 09:00 AM PDT

Hi, my name is Li Shao. I am a Software Design Engineer in Test in C++ team. In VS2010, C++ has accomplished the migration of VCBuild to MSBuild based project and Build system. We have received very warm acceptance and overall customer satisfaction is very good. You can take a look of a few of my previous blogs (Native MultiTargeting, Conversion, Custom Build Rules) for some features and issues related to migration to MSBuild based build system for C++. VS2010 VS2010 SP1 release is around the corner. I would like to take this opportunity to let you know a few improvements that we have made in this area based on your feedback.

 

Managed Incremental Build

When referencing managed assemblies, a full rebuild is only needed when there are significant changes in the referenced assemblies. Significant changes include things like assembly version change, function signature, interface changes, etc. This functionality will greatly reduce the build time for managed or managed/native interop applications, where managed or managed assemblies are referenced.

We first introduced the managed incremental build feature in VS2008. In VS2010, we were not able to re-implement the managed incremental build feature with the build system moving to MSBuild. We received strong customer requests for this feature. As a result, we re-implemented this feature and it is included in VS2010 SP1.

Enable Managed Incremental Build

 

Custom Dependency File List for Incremental Build

One of the customer reported issues is that for VS2010 disregards the //{{NO_DEPENDENCIES}} line in the resource.h of MFC applications. When there is a resource.h change either manually or by adding a resource ID using the resource editor, all the files that include resource.h get rebuilt. This has a negative performance impact since resource.h can be included by many files. It is also a behavior change from VS2008.

To fix the problem, in VS2010 SP1, we have implemented a fix so that you can specify the list of header files that they would like to skip when doing incremental build. The property introduced is "NoDependencies". There are four ways that you can take advantage of this feature:

1. Set as an environment variable

You can use this approach if the dependencies to resource header files are common across all your projects. For example: set NoDependencies=resource.h;resource2.h.

You can set this in the environment that you launch Devenv or set this in your build environment

2. Set through property sheet

You can create a property sheet and set General -> No Dependencies File List to the list of files that you would like to exclude from dependency check.

No Dependencies File List

3. Set as a global property for your project

You can set the property as the following to the "Global" property of the project file:

  1. <PropertyGroup Label="Globals">
  2. <ProjectGuid>{3C2EE7D3-A2C9-40A5-91F0-3F988C8D5DF5}</ProjectGuid>
  3. <Keyword>AtlProj</Keyword>
  4. <NoDependencies> resource.h;resource2.h</NoDependencies>
  5. </PropertyGroup>

4. Set as a file level property

  1. <ClInclude Include="resource.h">
  2. <NoDependency>true</NoDependency>
  3. </ClInclude>

Note that this feature only works if you would like to skip certain headers from incremental building. It does not work for files other than header files.

 

Signing of Managed Assemblies

In VS2010, there was a bug that signing of the managed assemblies cannot be accomplished when Linker -> Advanced -> Delay Sign is set to "Yes". We have previously recommended a workaround to address this issue. In general, you would need to use post build steps to sign the assembly. This is a regression in terms of functionality from VS2008 behavior. In VS2010 SP1, we have attempted to fix the problem. However, there were still some issues with the fix. You can take a look of this blog posted by my colleague Amit Mohindra on how to fix the problem. Essentially, you need to manually modify Microsoft.Cpp.Win32.targets. You can also take a look of this readme (http://go.microsoft.com/fwlink/?LinkId=210711 – section 2.4.1.2) if you have application converted with VS2010 prior to SP1 RTM.

 

These are the major changes we have made in SP1 regarding C++ build scenarios. Please let me know if you think there are issues we should have fixed. We will try to address them in future releases.

Producing and Consuming OData in a Silverlight and Windows Phone 7 application (Part 3)

Posted: 04 Apr 2011 03:01 PM PDT

Don't miss... Webinar recording: Building LOB apps with Silverlight and WCF Data Services WP7 series by Andrea Boschin WP7 Developer Guide Show more books This article is Part 3 of the series "Producing and Consuming OData in a Silverlight and Windows...( read more )...(read more)

Opus Suite

Posted: 04 Apr 2011 06:14 AM PDT

Owner/Occupier Property Management software for the commercial and residential rental markets using the ASP.NET MVC platform.

Silverlight Cream for April 04, 2011 -- #1070

Posted: 04 Apr 2011 08:39 PM PDT

In this Issue: Kevin Hoffman , Kunal Chowdhury ( -2- ), Colin Eberhardt , Rudi Grobler , Michael Washington , WindowsPhoneGeek , Nigel Sampson , Jeff Prosise ( -2- ), and Andrea Boschin ( -2- , -3- , -4- ). Above the Fold: Silverlight: "How to create...( read more )...(read more)

Silverlight Connections 2011 Moving from Windows Forms to Silverlight and WPF Presentation

Posted: 04 Apr 2011 06:12 PM PDT

At DevConnections (Silverlight Connections) this year, I gave a short session on moving your applications from Windows Forms to Silverlight.In that session, I covered a little bit of WinForms, a little Entity Framework Code First, and a lot of code shuffling...( read more )...(read more)

Silverlight Connections 2011 Moving from Windows Forms to Silverlight and WPF Presentation

Posted: 04 Apr 2011 06:12 PM PDT

At DevConnections (Silverlight Connections) this year, I gave a short session on moving your applications from Windows Forms to Silverlight.In that session, I covered a little bit of WinForms, a little Entity Framework Code First, and a lot of code shuffling...( read more )...(read more)

Standards-based web, plug-ins, and Silverlight

Posted: 04 Apr 2011 04:36 PM PDT

As we drive toward MIX, we wanted to share our thoughts on the role of plug-ins in general, and Silverlight in particular, in the context of HTML5 and the future of the web. As we have been more vocal about our commitment to and investment in HTML5 as...( read more )...(read more)

Procedural Animations in Silverlight

Posted: 04 Apr 2011 03:38 PM PDT

I loved this post over on the Clarity Consulting blog about procedural animations in Silverlight – very cool; http://blogs.claritycon.com/blog/2011/03/30/advanced-animation-animating-15000-visuals-in-silverlight-2/   I gave it a try in IE9 on my...( read more )...(read more)

Windows Client Developer Roundup 065 for 4/4/2011

Posted: 04 Apr 2011 02:05 PM PDT

This is Windows Client Developer Roundup #65. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++ , XNA , Expression Blend , Surface , Windows 7 , Windows Phone...( read more )...(read more)

Windows Client Developer Roundup 065 for 4/4/2011

Posted: 04 Apr 2011 02:05 PM PDT

This is Windows Client Developer Roundup #65. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++ , XNA , Expression Blend , Surface , Windows 7 , Windows Phone...( read more )...(read more)

Monday, April 4, 2011

HTTP Handlers and HTTP Modules Overview

HTTP Handlers and HTTP Modules Overview


HTTP Handlers and HTTP Modules Overview

Posted: 04 Apr 2011 10:40 AM PDT

An ASP.NET HTTP handler is the process that runs in response to a request made to an ASP.NET Web application. An HTTP module is an assembly that is called on every request that is made to an ASP.NET Web application. This topic explains both HTTP handlers and HTTP modules.

How to create a Custom Control in Silverlight?

Posted: 04 Apr 2011 03:36 AM PDT

I am working on Silverlight since 3 years and during the initial period I had a fear on creating Custom control. I was more confident creating UserControls. But when I started working on custom control, I came to know the power of custom control. Currently...( read more )...(read more)

WP7 for iPhone and Android Developers - Using Bing Maps

Posted: 03 Apr 2011 04:56 PM PDT

This is the 6th article in a series of articles designed to introduce iOS and Android developers to C#, Silverlight, and Windows Phone 7 application development. WP7 for iPhone and Android Developers - Introduction to C# WP7 for iPhone and Android Developers...( read more )...(read more)

Sunday, April 3, 2011

A Complete Guide to Expression Blend 4 Shortcut Keys

A Complete Guide to Expression Blend 4 Shortcut Keys


A Complete Guide to Expression Blend 4 Shortcut Keys

Posted: 03 Apr 2011 03:30 AM PDT

In this post, I will share you some important Shortcut keys of Microsoft Expression Blend 4. If you are working with Expression Blend 4, this will definitely help you to improve your daily productivity work. Keep the list with you always to best use of...( read more )...(read more)

Saturday, April 2, 2011

AgFx now on CodePlex

AgFx now on CodePlex


AgFx now on CodePlex

Posted: 01 Apr 2011 03:33 PM PDT

Today, the CodePlex AgFx site went live, with a new updated release. Quite a few folks are now building Windows Phone 7 apps on AgFx and are having good luck with it. I've written a few more walkthroughs and detail pages on the documentation tab, and the release now includes a help CHM file. Along with some bug fixes the Release on CodePlex adds: The ability to manually push items into the cache with the DataManager.Current.Save method Helper classes for handling login and credentials management with AgFx (AgFx.Controls.Phone.Authentication) A derived PhoneApplicaitonFrame type (creatively named PhoneApplicationFrameEx) that gives support for An app-wide header area for something like a loading progress bar A PopupContent property that...(read more)

Silverlight Show: Recording of webinar 'WCF RIA Services Validation' by Brian Noyes

Posted: 01 Apr 2011 03:23 PM PDT

Silverlight Webinar: In this episode of Silverlight Show, Microsoft Regional Director Brian Noyes presents 'WCF RIA Services Validation'. In this recorded webinar Brian discusses the following topics: Quick review of the update process of WCF RIA Services...( read more )...(read more)

Friday, April 1, 2011

Silverlight TV 68: Worlds are Colliding! New Silverlight Web Parts for Sharepoint

Silverlight TV 68: Worlds are Colliding! New Silverlight Web Parts for Sharepoint


Silverlight TV 68: Worlds are Colliding! New Silverlight Web Parts for Sharepoint

Posted: 01 Apr 2011 09:50 AM PDT

Silverlight TV 68: In this week's episode of SLTV, Paul Stubbs, of Sharepoint Sideshow , joins John to discuss some new features the Sharepoint team have released for Visual Studio to make Silverlight development easier. Paul walks through the new Visual...( read more )...(read more)

Silverlight Cream for March 31, 2011 -- #1069

Posted: 31 Mar 2011 10:29 PM PDT

In this Issue: John Papa , Rudi Grobler , Michael Washington , Jeff Prosise ( -2- ), Xianzhong Zhu , Nigel Sampson , Martin Krüger , WindowsPhoneGeek , Vinit Yadav , András Velvárt , and Alex Sorokoletov . Above the Fold: Silverlight: "Response.MVVM is...( read more )...(read more)