Monday, March 14, 2011

Celebrate the Beauty of the Web and Get a Chance to Win a Brand New iPad 2!

Celebrate the Beauty of the Web and Get a Chance to Win a Brand New iPad 2!


Celebrate the Beauty of the Web and Get a Chance to Win a Brand New iPad 2!

Posted: 14 Mar 2011 02:32 PM PDT

Cynergy is giving away an iPad 2 to one lucky winner. All you have to do is become a fan on Facebook, play our HTML5 game Jitterbugs for Internet Explorer 9, and post a screenshot of your high score on our wall. You will be automatically entered into...( read more )...(read more)

Lighting up on Windows 7 with Native Extensions for Microsoft Silverlight

Posted: 14 Mar 2011 01:41 PM PDT

The Native Extensions for Microsoft Silverlight (NESL) is a library that helps bridge the gap between what Silverlight can do out of the box, and what WPF and the full .NET framework can do to integrate with Windows. Here's the description from the code...( read more )...(read more)

Lighting up on Windows 7 with Native Extensions for Microsoft Silverlight

Posted: 14 Mar 2011 01:41 PM PDT

The Native Extensions for Microsoft Silverlight (NESL) is a library that helps bridge the gap between what Silverlight can do out of the box, and what WPF and the full .NET framework can do to integrate with Windows. Here's the description from the code...( read more )...(read more)

Windows Client Developer Roundup 063 for 3/14/2011

Posted: 14 Mar 2011 12:28 PM PDT

This is Windows Client Developer Roundup #63. 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 Forms...( read more )...(read more)

Windows Client Developer Roundup 063 for 3/14/2011

Posted: 14 Mar 2011 12:28 PM PDT

This is Windows Client Developer Roundup #63. 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 Forms...( read more )...(read more)

Air Hockey for Windows Phone 7

Posted: 14 Mar 2011 06:01 AM PDT

If you are interested in creating physics based Games for Windows Phone 7, you might find this useful: Creating an Air Hockey Game for Windows Phone 7 I created this tutorial for the Expression Toolbox Site, using the Physics Helper Library and the Farseer...( read more )...(read more)

Simulating rain in Silverlight

Posted: 14 Mar 2011 01:58 AM PDT

This article is compatible with the latest version of Silverlight. Introduction In this article I will try to simulate rain in Silverlight application that can be programmatically configured to meet your expectations. Although Silverlight at the time...( read more )...(read more)

Dan Wahlin on Understanding the Role of Commanding in Silverlight

Posted: 14 Mar 2011 12:04 AM PDT

If you're building Silverlight 4 applications then you've more than likely heard the term "commanding" used at a talk, in a forum or in talking with a WPF or Silverlight developer. What is commanding and why should you care about it? In a nutshell...( read more )...(read more)

Silverlight Cream for March 13, 2011 -- #1059

Posted: 13 Mar 2011 08:24 PM PDT

In this Issue: András Velvárt , WIndowsPhoneGeek ( -2- ), Jesse Liberty ( -2- ), Victor Gaudioso , Kunal Chowdhury , Jeremy Likness , Michael Crump , and Dhananjay Kumar . Above the Fold: Silverlight: "Application Library Caching in Silverlight 4" Kunal...( read more )...(read more)

Build great Windows Phone applications the easy way!

Posted: 11 Mar 2011 06:15 PM PST

Introducing AgFx One of the things we've spent a fair amount of time on is working with various application writers, helping them build great Windows Phone 7 applications. Many of the top applications that you'll find on Windows Phone 7 devices...( read more )...(read more)

Sunday, March 13, 2011

Cynergy’s Dave Wolf Weighs in on the new iPad Newspaper The Daily

Cynergy’s Dave Wolf Weighs in on the new iPad Newspaper The Daily


Cynergy’s Dave Wolf Weighs in on the new iPad Newspaper The Daily

Posted: 12 Mar 2011 10:20 PM PST

Dave appeared live on WTTG Fox5 News this evening to discuss the new News Corp. iPad app and first iPad newspaper, The Daily. Watch the video below. The Daily, First iPad Newspaper Debuts : MyFoxDC.com...( read more )...(read more)

Gamifying Email

Posted: 12 Mar 2011 10:20 PM PST

At Cynergy we love to take an old idea and make it better. At the first ever Gamification Conference in San Francisco, we did just that by demonstrating a gamified interface to email. We presented a new take on email by applying game mechanics and motivational...( read more )...(read more)

The Era of Gamification

Posted: 12 Mar 2011 10:19 PM PST

The first ever gamification conference took place last week in San Francisco. The leading experts in game design and engagement science gathered to share their insights to a sold out crowd. Many of the leading names in the space from Amy Jo Kim, Nicole...( read more )...(read more)

World of Workcraft

Posted: 12 Mar 2011 10:19 PM PST

World of Workcraft is a project out of Cynergy Labs that brings a variety of game design techniques into the enterprise, reaping the motivational benefits of games without incurring the cost of purple dragons and magical swords. We developed the World...( read more )...(read more)

Closing the eReader Gap

Posted: 12 Mar 2011 10:19 PM PST

When was the last time you read a page-turning textbook? As a leading expert in this new field of Gamification; or as I call it 'Motivational Design'; I am working on a new book on the topic and thought I should use my knowledge to create page-turning...( read more )...(read more)

Paleolithic 3d Displays

Posted: 12 Mar 2011 10:19 PM PST

Holding one of the new LG Optimus 3D cellphones in my hand at the Mobile World Conference in Barcelona was an experience that changed not just how I think about 3d displays but how I view the entire history of visual art. Before seeing this phone, I was...( read more )...(read more)

Keeping Design In The MIX

Posted: 12 Mar 2011 10:19 PM PST

The organizers of MIX face a bit of a challenge. Once a designer/developer conference on web technologies, MIX is now being set up to be the Windows Phone 7 (WP7) conference. Yesterday, Microsoft broke big news (IE9! Multitasking!) on upcoming features...( read more )...(read more)

Softwear: Fashion as User Experience

Posted: 12 Mar 2011 10:19 PM PST

Working for Cynergy, I travel quite a bit—usually to climates warmer than my home city of Grand Rapids, Michigan. During the winter, flying with a bulky coat is inconvenient, so I usually leave my coat in my car and go dashing through the snow to the...( read more )...(read more)

eBay SimpleLister with Silverlight 4

Posted: 12 Mar 2011 10:03 PM PST

Just a month ago, Dave (Building Innovative Windows Client Software) and Myself (Building the eBay Simple Lister with Silverlight) were at mix showing the world the eBay simple lister. Today I am VERY proud of the whole Cynergy and eBay team to announce...( read more )...(read more)

Silverlight 5: In the Trenches

Posted: 12 Mar 2011 10:03 PM PST

Silverlight 5 has made it to the light of day. Silverlight 5 is going to be an amazing leap forward. Yet this isn't a blog entry rehashing the Silverlight 5 features, I'll Leave that to Tim Heur: http://timheuer.com/blog/archive/2010/12/02/silverlight...( read more )...(read more)

Leveraging Silverlight in the USA TODAY Windows 7-Based Slate App

Posted: 12 Mar 2011 10:03 PM PST

Today we were really excited to announce the new USA TODAY software for Windows 7-based slate devices. This has been a pretty great ride, developing for these new bread of devices, and I'm really excited to see this app ship with devices like the...( read more )...(read more)

Windows Phone 7 Runtime Debugging

Posted: 12 Mar 2011 10:03 PM PST

Ok, I'll admit it ColdFusion was one of my first web dev loves <insert snide dev look here />. When moving from cgi and asp classic to, at the time Allair, ColdFusion felt like a breath of fresh air. With all the tag-based efficency it was...( read more )...(read more)

Creating a Silverlight Out-of-Browser Splash Screen

Posted: 12 Mar 2011 10:03 PM PST

More and more we're seeing the out-of-browser Silverlight functionality really take off. Lots of different customers are seeing OOB Silverlight as a great option not only for cross-platform desktop apps (even on Linux now with Moonlight 4 beta out...( read more )...(read more)

Application Library Caching in Silverlight 4

Posted: 12 Mar 2011 08:07 AM PST

Sometime your Silverlight application becomes too larger and creates a bigger XAP file. This causes issue while loading your XAP file for the first time as it increases the loading time for downloading the XAp. So, what will you do in this case? There...( read more )...(read more)

Saturday, March 12, 2011

Free Video Training: ASP.NET MVC 3 Features

Free Video Training: ASP.NET MVC 3 Features


Free Video Training: ASP.NET MVC 3 Features

Posted: 09 Mar 2011 11:44 PM PST

A few weeks ago I blogged about a great ASP.NET MVC 3 video training course from Pluralsight that was made available for free for 48 hours for people to watch.  The feedback from the people that had a chance to watch it was really fantastic.  We also received feedback from people who really wanted to watch it – but unfortunately weren't able to within the 48 hour window. The good news is that we've worked with Pluralsight to make the course available for free again until March 18th.  You can watch any of the course modules for free, through March 18th, on the www.asp.net/mvc website here : The 6 videos in this course are a total of 3 hours and 17 minutes long, and provide a nice overview of the new features introduced with ASP...(read more)

DevConnections Conference

Posted: 09 Mar 2011 09:08 PM PST

The excellent DevConnections conference will be held in Florida later this month (March 27th to 30th).  DevConnections features multiple concurrent tracks – including ASP.NET Connections, Silverlight Connections, Visual Studio Connections, SQL Server Connections, and SharePoint Connections. I'll be doing a keynote on the first day, and there will be dozens of fantastic talks that week by some of the best presenters in the .NET community.  You can learn more about the conference here . I highly recommend the conference – and hope to meet up with some of you there! Scott P.S. Use the discount code "DevCon1" to save $200 when registering. Read More......(read more)

SQL Script Executer

Posted: 11 Mar 2011 10:28 AM PST

SQL Executer makes it easy to deploy, execute multiple scripts on SQL Server as you could do in VS 2008. In Visual Studio 2008's Database Project, one had an option to select multiple sql files and Run them on choosen DB. Visual Studio 2010, doesn't come with this functionality.

Proposed Workaround for Assembly Signing Issue with VS2010 SP1

Posted: 11 Mar 2011 07:56 PM PST

Hi, my name is Amit Mohindra and I'm Program Manager with the MS Visual C++ team.

We are very sorry for the inconvenience caused by this assembly signing issue. We recognize that this change in SP1 has introduced an unintentional breaking change. This is indeed a bug in VS2010 SP1.

I will start by giving you a little bit of background into what the issue was in VS2010 RTM, how our change in SP1 broke your projects and then finally the workaround you could apply to unblock yourselves.

 

  1. VS2010 RTM
    1. Assemblies built using C++ projects were not getting signed at all.
      1. This was happening since mt.exe would invalidate the signature performed by the preceding Link step (which signs the binary). This is expected behavior.
      2. To counter the invalidation the build process runs and additional "LinkEmbedManifest" step to re-sign the assembly after mt.exe is done embedding the manifest.
      3. However, in VS2010 RTM step 1.a.B was being skipped. Thus, the assemblies were not getting signed.
    2. So we recommended a workaround to run "sn.exe –R <assembly> <KeyFile>" (e.g. sn -R debug\CLRConsole.exe C:\mykey.snk)  as part of the custom build step and to sign the assembly.
  2. VS2010 Sp1 (fix that broke you)
    1. The main reason why "LinkEmbedManifest" step was getting skipped in VS2010 RTM was that during the build process our decision logic to trigger this step did not have enough information. The decision logic required evaluated values for "Key File" and "Delay Sign" (properties on the Linker). These values were stored as "Item Definition Group"  (IDG) in the project file and IDG's are evaluated at a later stage than the decision point and thus were unavailable.
    2. To fix the issue we made "Key File" and "Delay Sign" MSBuild properties (<PropertyGroups>) instead and since MSBuild properties are evaluated early on we would now be able to decide whether to run "LinkEmbedManifest" step or not. With this change we would have eliminated the need of a custom build step (as suggested in above in 1.a.B)
    3. As part of the Sp1 readme (http://go.microsoft.com/fwlink/?LinkId=210711 – section 2.4.1.2) we suggested refactoring of the project to make signing work. The suggestion was to redefine the "Key File" and "Delay Sign" property for the project using the IDE.
    4. However there were two issues with this solution:
      1. First, a typo in one our build files makes the above suggestion not work when you are targeting the Win32 configurations to build your projects.
      2. Second, we did not recognize that people using the old method and the VS2010 RTM workaround (mentioned above in 1.a.B) would be broken.

 

Workaround

The following workaround enables you to fix the two issues described above in 2.d.A and 2.d.B. You can work around this issue in two ways.

1. Change each project in your solution and redefine the "Key File" and "Delay Sign" properties on the linker. To do that follow these steps:

· Fix the typo in the build process (2.d.A):

  1. Open cmd prompt as administrator
  2. Go to %ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32
  3. Run "notepad Microsoft.Cpp.Win32.targets" (x64 targets are fine)
  4. Find the "LinkEmbedManifest" target (search for <Target Name="LinkEmbedManifest")
  5. Under the above target and in the task "<Link" perform the following steps.
  6. Change property  DelaySign
    1. From :       DelaySign                      ="%(Link.DelaySign)"
    2. To :            DelaySign                      ="$(LinkDelaySign)"
  7. Change property  KeyFile
    1. From :        KeyFile                        ="%(Link.KeyFile)"
    2. To:               KeyFile                        ="$(LinkKeyFile)"

· Redefine the "Key File" and "Delay Sign" properties used for signing your project (2.d.B):

  1. Right click on your project to bring up the properties page.
  2. Go to Configuration Properties->Linker->Advanced
  3. Overwrite the property "Key File" with your original key file. (for e.g. myfile.snk)
  4. This workaround eliminates the need of a custom build step (as described in section VS2010RTM-1.2)
  5. If you want to use the same project in VS2010 RTM and VS2010 SP1 make sure that when you redefine these properties they match their original value as set in VS2010 RTM.

2. Or, If you have a lot of projects and don't want do step 1 (above) , alternatively you could make the following changes to resurrect your VS2010 RTM behavior:

  1. Open cmd prompt as administrator
  2. Go to "%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32"
  3. Run "notepad Microsoft.Cpp.Win32.targets"
  4. Move to "Link" target (search for <Target Name="Link")
  5. Add the following lines right after the first  "<PropertyGroup>" definition  and before the "<Link" task
    <PropertyGroup>
        <LinkDelaySign Condition="'$(LinkDelaySign)' == ''">%(Link.DelaySign)</LinkDelaySign>
        <LinkKeyFile Condition="'$(LinkKeyFile)' == ''">%(Link.KeyFile)</LinkKeyFile>
    </PropertyGroup>
  6. Find the "LinkEmbedManifest" target (search for <Target Name="LinkEmbedManifest")
  7. Under the above target and in the task "<Link" perform the following steps.
  8. Change property  DelaySign
    1. From :       DelaySign                      ="%(Link.DelaySign)"
    2. To :            DelaySign                      ="$(LinkDelaySign)"
  9. Change property  KeyFile
    1. From :        KeyFile                        ="%(Link.KeyFile)"
    2. To:               KeyFile                        ="$(LinkKeyFile)"
  10. Repeat the steps 1 to 5 for "%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64"
  11. Note that this solution will move you back to the VS2010 RTM behavior and you would still need to use the original workaround to sign your assemblies using sn.exe in the custom build step.

Thank you for helping us improve quality of the product. We understand that this change has caused much pain to you and for which we are sorry. Meanwhile we are also looking at other avenues to provide you with this fix.

 

Thanks,
Amit

Friday, March 11, 2011

Silverlight Cream for March 10, 2011 -- #1058

Silverlight Cream for March 10, 2011 -- #1058


Silverlight Cream for March 10, 2011 -- #1058

Posted: 10 Mar 2011 09:17 PM PST

In this Issue: Ian T. Lackey , Peter Kuhn , WindowsPhoneGeek ( -2- ), Jesse Liberty ( -2- ), Martin Krüger , John Papa , Jeremy Likness , Karl Shifflett , and Colin Eberhardt . Above the Fold: Silverlight: "Silverlight TV 65: 3D Graphics" John Papa WP7...( read more )...(read more)

Prism 4 Region Navigation with Silverlight Frame Navigation and Unity

Posted: 10 Mar 2011 05:12 PM PST

I have blogged how to use the Unity Container with Prism 4 Region Navigation and the Silverlight Frame Navigation API's. While the sample code for the post is Silverlight, the Unity Configuration requirements are the same for WPF. Have a great day, Just...( read more )...(read more)

I’m developing my own Foursquare client for the Windows Phone

Posted: 10 Mar 2011 03:28 PM PST

I'm developing an unofficial Foursquare app for Windows Phone that will be the basis of a number of upcoming technical blog posts, conference talks, and more....( read more )...(read more)

Thursday, March 10, 2011

Silverlight TV 65: 3D Graphics

Silverlight TV 65: 3D Graphics


Silverlight TV 65: 3D Graphics

Posted: 10 Mar 2011 10:41 AM PST

Silverlight TV 65: Do 3D and graphics get you going? The folks at Archetype created an amazing 3D application that we first showed in the keynote at the Silverlight Firestarter in December, 2010. In this week's episode of SLTV, Danny Riddell, CEO of Archetype...( read more )...(read more)

Visual Studio 2010 Service Pack 1 General Availability

Posted: 10 Mar 2011 09:00 AM PST

If you guys follow Jason Zander's (Visual Studio corporate Vice President) blog, you learned two days ago that the Visual Studio 2010 Service Pack 1 whose Beta had been released last December achieved final release stage. Today is generally available (last Tuesday was only for MSDN subscribers).

You can get it from here.

Let's summarize the list of C++ new features and fixes that are included in this release. You'll find an expanded description beyond C++ in this Microsoft Support article.

 

New C++ Features

MFC-based GPU-accelerated graphics and animations

Visual Studio 2010 SP1 enables the following two technologies for MFC:

You can take advantage of these two technologies without breaking the MFC programming model. Additionally, you can find demos in the following directory:

[drive]:\Program Files\Microsoft Visual Studio 10.0\Samples\1033\VC2010SP1Samples.zip

For more information about the technology improvements in Visual Studio 2010 SP1, visit the following website: MFC Additions for Visual Studio 2010 SP1.

New AMD and Intel instruction set support

Visual Studio 2010 SP1 adds intrinsic functions or intrinsics to enable the extensions on the AMD and Intel new microprocessors (being released this year). The intrinsic functions allow for highly efficient computing without the overhead of a function call. For more information about the intrinsic function, visit the following website: Compiler Intrinsics.

For more information about the extensions, visit the following third-party websites:

 

List of C++ Specific Issues that Are Fixed

Some link to the Connect bug, some don't when the issue was found internally.

C++ Editor

C++ Compiler

Standard C++ Library

C Runtime (CRT)

Microsoft Foundation Classes (MFC) and Active Template Library (ATL)

C++ Debugging

For a complete list of new features and fixes, please visit this article.

 

ATTENTION: There's an issue identified when installing Visual Studio 2010 SP1 in machines containing the stand-alone Microsoft Windows SDK for Windows 7 and .NET Framework 4. Read here for more information.

DevConnections Conference

Posted: 09 Mar 2011 09:08 PM PST

The excellent DevConnections conference will be held in Florida later this month (March 27th to 30th).  DevConnections features multiple concurrent tracks – including ASP.NET Connections, Silverlight Connections, Visual Studio Connections, SQL Server...( read more )...(read more)

Silverlight Cream for March 09, 2011 -- #1057

Posted: 09 Mar 2011 09:02 PM PST

In this Issue: Dennis Doomen , Peter Kuhn , Michael Crump , Joe McBride , Martin Krüger , Jeremy Likness , Manas Patnaik , Jesse Liberty ( -2- ), WindowsPhoneGeek ( -2- ). Above the Fold: Silverlight: "A highlighting AutoCompleteBox in Silverlight" Peter...( read more )...(read more)

WCF RIA Services V1.0 SP1

Posted: 09 Mar 2011 06:25 PM PST

On March 8, Visual Studio 2010 Service Pack 1 was released to MSDN subscribers, and general availability is March 10. For the WCF RIA Services team, this is especially exciting because our MSI is chained into the installation. If your machine has the Read More......(read more)

Using AutoCompleteBox in a Windows Phone Panorama or Pivot item

Posted: 09 Mar 2011 02:28 PM PST

With some quick re-templating action, you can use AutoCompleteBox from the toolkit in a Panorama or Pivot control page for Windows Phone. This is one of the key customer asks from folks developing WP7 apps that I hear often. The good news is that this...( read more )...(read more)

Wednesday, March 9, 2011

March 6th Links: ASP.NET, ASP.NET MVC, jQuery, EF, .NET

March 6th Links: ASP.NET, ASP.NET MVC, jQuery, EF, .NET


March 6th Links: ASP.NET, ASP.NET MVC, jQuery, EF, .NET

Posted: 06 Mar 2011 08:53 PM PST

Here is the latest in my link-listing series .  Also check out my Best of 2010 Summary for links to 100+ other posts I've done in the last year. [I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] ASP.NET 35 ASP.NET and VS 2010 What's New Videos : 35 free videos from Joe Stagner that highlight some of the new features that came in ASP.NET 4 and VS 2010. Filling in PDF Forms with ASP.NET and iTextSharp : Nice article by Scott Mitchell on how to populate PDF forms using ASP.NET and iTextSharp – an open source PDF library for .NET. Building and Using Custom OutputCache Providers with ASP.NET : A good MSDN Magazine article on how to outputcache ASP.NET Content with MongoDB and the AppFabric...(read more)

Silverlight Show: Interview with Silverlight MVP Jeremy Likness

Posted: 09 Mar 2011 09:35 AM PST

Silverlight Webinar: In this episode of Silverlight Show, Emil Stoychev sits down with Silverlight MVP Jeremy Likness at the MVP Summit 2011 that took place in Redmond, Washington from February 28 – March 2. In this interview, Jeremy shares more...( read more )...(read more)

XNA for Silverlight developers: Part 6 - Input (accelerometer)

Posted: 08 Mar 2011 09:31 PM PST

Don't miss... What is Windows Phone series XNA article by Levente Mihály WP7 series by Andrea Boschin WP7 and XNA book: Show more books This article is part 6 of the series "XNA for Silverlight developers": XNA for Silverlight developers: Part...( read more )...(read more)

...( read more )...(read more)

Posted: 09 Mar 2011 01:48 AM PST

...( read more )...(read more)

...( read more )...(read more)

Posted: 09 Mar 2011 01:48 AM PST

...( read more )...(read more)

Creating a Custom Markup Extension in WPF (and soon, Silverlight)

Posted: 08 Mar 2011 09:15 PM PST

WPF currently, and Silverlight in v5 , enables you to create your own custom markup extensions. Markup extensions are those little strings in XAML that are typically (but not always) enclosed in {curly braces} which, as the name implies, add new functionality...( read more )...(read more)

Creating a Custom Markup Extension in WPF (and soon, Silverlight)

Posted: 08 Mar 2011 09:15 PM PST

WPF currently, and Silverlight in v5 , enables you to create your own custom markup extensions. Markup extensions are those little strings in XAML that are typically (but not always) enclosed in {curly braces} which, as the name implies, add new functionality...( read more )...(read more)

Silverlight Cream for March 08, 2011 -- #1056

Posted: 08 Mar 2011 09:08 PM PST

In this Issue: Joost van Schaik , Manas Patnaik , Kevin Hoffman , Jesse Liberty , Deborah Kurata , Dhananjay Kumar , Dennis Delimarsky , Samuel Jack , Peter Kuhn , WindowsPhoneGeek , and Jfo . Above the Fold: Silverlight: "How I let the trees grow" Peter...( read more )...(read more)

SilverlightShow for Feb 28 - March 06, 2011

Posted: 08 Mar 2011 07:20 PM PST

Check out the Top Five most popular news at SilverlightShow for Feb 28 - Mar 06, 2011. While you're at it, check out the ECO Contest site , and vote for your favorites before midnight PST on March 10. Here are the top 5 news on SilverlightShow for last...( read more )...(read more)

Algorithm Optimizations - Advanced STL, Part 2

Posted: 08 Mar 2011 05:01 PM PST

Part 2 of my video lecture series exploring the Standard Template Library's implementation is now available.  In this part, I walk through how our STL algorithms equal() and copy() use template metaprogramming to detect when it's safe to call memcmp() and memmove(), which are potentially faster than the generic loops.

 

In Part 1's comments, two customers reported compiler bugs to us.  While I can't promise that they'll be fixed in VC11, I'm happy to report that fixes for them have been queued in our checkin system, which is certainly a prerequisite for shipping them.  :->

 

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)

 

Stephan T. Lavavej

Visual C++ Libraries Developer

Tuesday, March 8, 2011

SQL Azure Migration Wizard v3.5.7

SQL Azure Migration Wizard v3.5.7


SQL Azure Migration Wizard v3.5.7

Posted: 31 Aug 2009 02:23 PM PDT

SQL Azure Migration Wizard (SQLAzureMW) is designed to help you migrate your SQL Server 2005/2008 databases to SQL Azure. SQLAzureMW will analyze your source database for compatibility issues and allow you to fully or partially migrate your database schema and data to SQL Azure.

WP7 for iPhone and Android Developers - Advanced UI

Posted: 07 Mar 2011 06:37 PM PST

This article is part 3 in a 12-part article series on Windows Phone 7 for iPhone and Android Developers. WP7 for iPhone and Android Developers - Introduction to C# WP7 for iPhone and Android Developers - Introduction to Xaml and Silverlight WP7 for iPhone...( read more )...(read more)

Silverlight Cream for March 07, 2011 -- #1055

Posted: 07 Mar 2011 09:22 PM PST

In this Issue: Max Paulousky , Chris Rouw , David Anson , Jesse Liberty , Shawn Wildermuth , Simon Guindon , and Dhananjay Kumar . Above the Fold: Silverlight: "Faster Databinding in WPF and Silverlight using OptimizedObservableCollection" Simon Guindon...( read more )...(read more)