Daily News Headline @SilverlightZone - 28 January 2011 - #13 |
- Daily News Headline @SilverlightZone - 28 January 2011 - #13
- SQL Azure Migration Wizard v3.5.2
- WPF Graphics Rendering Overview
- SQL Azure Migration Wizard v3.5.1
- SQL Azure Migration Wizard v3.5
- Windows Phone 7 DeferredLoadContentControl
- Silverlight Cream for January 26, 2011 -- #1036
- Heritage Shared
- Book update CRM 2011
Daily News Headline @SilverlightZone - 28 January 2011 - #13 Posted: 28 Jan 2011 01:39 AM PST Today, we have 11 new news items on various topics in Silverlight-Zone by different authors. If you are a Silverlight or Windows Phone 7 application developer, follow Silverlight-Zone for daily posts. Subscribe to our news feed and email digest...( read more )...(read more) | |
SQL Azure Migration Wizard v3.5.2 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. | |
WPF Graphics Rendering Overview Posted: 28 Jan 2011 08:45 AM PST Learn about how WPF renders graphics. | |
SQL Azure Migration Wizard v3.5.1 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. | |
SQL Azure Migration Wizard v3.5 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. | |
Windows Phone 7 DeferredLoadContentControl Posted: 28 Jan 2011 07:26 AM PST This blog post describes a simple content control that can be used to defer the rendering of its contents in order to provide a better user experience on Windows Phone 7. I think anyone who has made the transition from Emulator to Hardware with developing...( read more )...(read more) | |
Silverlight Cream for January 26, 2011 -- #1036 Posted: 28 Jan 2011 06:40 AM PST In this all-submittal Issue: XamlNinja , Kevin Dockx , Steve Wortham , Andrea Boschin , Mick Norman , Colin Eberhardt , and Rudi Grobler ( -2- , -3- , -4- , -5- ). Above the Fold: Silverlight: "Getting an invalid cross-thread exception in Silverlight...( read more )...(read more) | |
Posted: 28 Jan 2011 12:44 AM PST A few days ago, we posted two C++ quizzes based on a question posted in a forum. Let's review the first question
Quiz 1
The guy was frustrated because he expected two things:
Instead, he got the following compile-time error at that same line
The root of this compilation error is at line 11: as we are closing the definition of class Bar without saying anything about method DoStuff without arguments but, instead, having overloaded DoStuff in line 10 with a version that takes an argument of type int, what we just did was hide the original Foo::Stuff() declaration. With that said, the compilation error makes sense.
I have the feeling that Java and C# developers may have experienced this when coding artifacts in C++ as, in those languages, this notion of hiding declarations is not available (there's an alternative consisting in declaring members as private, so subclasses won't get them visible, but in that case the decision of what is hidden belongs to the coder of the superclass. In C++, the decision is to be taken by the coder of the derived class. How could my friend overcome this error in order to get the application working as he expected? By including a using declaration in the definition of Bar like the one at line 5 here:
Now the application runs as initially intended. In quiz 2, the C++ principle we just reviewed applies as well, but if hiding was not what we wanted to do, this issue could turn into something more dangerous because the application will compile anyway and the undesired behavior will have to be discovered at runtime.
Quiz 2
Despite the fact that Foo::DoStuff(char) isn't visible in line 30, the 'a' received as argument is implicitly converted to the int type, producing: Again, the solution here is based on a using declaration as before:
Once declared, we just compile, run and… voilĂ
As a conclusion, hiding a base class method is neither a bad thing nor something to avoid as long as it's exactly what you wanted to get. | |
Posted: 27 Jan 2011 03:48 PM PST As I've been traveling around the world doing training events on CRM 2011, a lot of people have been asking about an update on the book and what our plans are for CRM 2011. In addition to being crazy busy with all the things leading up to the launch we...( read more )...(read more) |
You are subscribed to email updates from "microsoft" via Ehsan in Google Reader To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
No comments:
Post a Comment