Thursday, June 30, 2011

What’s the Difference Between a Value Provider and Model Binder?

What’s the Difference Between a Value Provider and Model Binder?


What’s the Difference Between a Value Provider and Model Binder?

Posted: 30 Jun 2011 09:57 AM PDT

ASP.NET MVC 3 introduced the ability to bind an incoming JSON request to an action method parameter, which is something I wrote about before . For example, suppose you have the following class defined (keeping it really simple here): public class ComicBook { public string Title { get; set; } public int IssueNumber { get; set; } } And you have an action method that accepts an instance of ComicBook: [HttpPost] public ActionResult Update(ComicBook comicBook) { // Do something with ComicBook and return an action result } You can easily post a comic book to that action method using JSON. Under the hood, ASP.NET MVC uses the DefaultModelBinder in combination with the JsonValueProviderFactory to bind that value. A question on an internal mailing list...(read more)

WCF RIA Services support for EF 4.1 and Snippets

Posted: 30 Jun 2011 10:20 AM PDT

WCF RIA Services now has support for EF 4.1. Varun Parnik and Jeff Handley have details on their blogs about how to use it. One of the really interesting things Varun provides is a snippet to help setup the DbDomainService since the Wizard will not be Read More......(read more)

Reactive Extensions RTW

Posted: 30 Jun 2011 06:52 AM PDT

I'm a big fan of the Reactive Extensions (Rx) and I've put together a post or two in the past and also even done a talk or two around the topic so it was great to see that the Reactive Extensions team have put out their first full release of the framework...( read more )...(read more)

RIA Services EF Code First Support

Posted: 30 Jun 2011 01:00 AM PDT

You've been asking for it for what seems like forever now, and as of today, it's available. That's right, WCF RIA Services now supports EntityFramework Code First! Varun Puranik developed the feature, and he has blogged about it , including some very Read More......(read more)

SilverlightShow for June 20 - 26, 2011

Posted: 29 Jun 2011 08:24 PM PDT

Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for June 20 - 26, 2011. Here are the top 5 news on SilverlightShow for last week: Metro UI for RadControls for Silverlight and WPF Nokia's first Windows Phone:...( read more )...(read more)

Windows Phone 7 (Mango) Tutorial - 24 - Local Database Support, CRUD operation with Demo

Posted: 29 Jun 2011 10:30 AM PDT

In the last two chapters of the tutorial series, we discussed about the local database support in Windows Phone 7 (Mango). We learnt how to create a DataContext class from existing SQL CE database and also we learnt about the issues that arises once we...( read more )...(read more)

Hanselminutes Podcast 272 - Basics of Web Security with Barry Dorrans

Posted: 29 Jun 2011 03:24 PM PDT

Scott sits down with Microsoft Security Engineer Barry Dorrans to get a general sense of the basics of Web Security in 2011. Who are the groups in the news most often? What threats are nailing websites most often today, and are they different from classic threats? Where do we start to protect our sites? Download: MP3 Full Show NOTE: If you want to download our complete archives as a feed - that's all 271 shows, please subscribe to the Complete MP3 Feed here . Also, please do take a moment and review the show on iTunes . Subscribe: or or Zune Do also remember the complete archives are always up and they have PDF Transcripts , a little known feature that show up a few weeks after each show. Telerik is our sponsor for this show. Building quality...(read more)

Wednesday, June 29, 2011

My session at the Vancouver Silverlight User Group

My session at the Vancouver Silverlight User Group


My session at the Vancouver Silverlight User Group

Posted: 29 Jun 2011 01:29 PM PDT

Next week I will be in Vancouver and talk at the local User Group: the Vancouver Silverlight User Group . Title: HTML5 and Silverlight 5: facts, assumptions and near future Abstract: In this session, I will try to clarify what we hear (and not hear) around...( read more )...(read more)

SilverDiagram new learn section

Posted: 29 Jun 2011 12:01 PM PDT

We have created a new section on our site: SilverDiagram Learn In this site you will find: Links to our codeplex extensions / samples. How to… videos , right now: How to build the codeplex samples . How to create custom shapes . Link to articles / post...( read more )...(read more)

Mango Beta2…get it while it's fresh!

Posted: 29 Jun 2011 10:15 AM PDT

The Mango Windows Phone Developer Tools Windows Phone SDK Beta2 released today (the tools have been renamed to SDK). With the beta2 release you will see some additions to the tools like the Isolated Storage Explorer , improvements to the profiler and...( read more )...(read more)

Download Windows Phone SDK 7.1 Beta 2 (Mango) - Web and Offline Installer

Posted: 29 Jun 2011 03:18 AM PDT

Microsoft released Windows Phone 7.1 SDK Beta 2 today, 29th June 2011. It has a no. of new features as well as some breaking changes respect to previous Beta 1 release.   In this post, find the link to download the Beta 2 SDK of Windows Phone 7.1...( read more )...(read more)

Windows Phone Mango – New Tasks (Beta & Beta2)

Posted: 29 Jun 2011 01:57 AM PDT

Windows Phone Mango adds few more task over initial Windows Phone (RTM) release. This post will cover new task (launchers and choosers) added to Windows Phone Mango Beta and Beta 2. To introduce those features I've created sample application which looks...( read more )...(read more)

Windows Pone Mango–Developer Tools Beta 2 released!

Posted: 29 Jun 2011 01:55 AM PDT

Microsoft just released Beta 2 refresh of Windows Phone Mango developer tools! The refresh further improves the tools, resolves bugs from previous release and adds some new features. Most important – registered Windows Phone developers with retail device...( read more )...(read more)

C++ Q&A with Herb Sutter

Posted: 29 Jun 2011 09:00 AM PDT

Herb's last appearance on C9 was a relatively short chat about C++0x. You wanted more questions so Herb decided that the best way to get the questions you want asked is, well, to have you ask them. Most of the highest user-rated questions were asked and Herb answers with his usual precision. So, without further ado, it's C++ question and answer time with the great Herb Sutter, powered by you.

[Watch the entire interview in Channel 9]

Silverlight Cream for June 28, 2011 -- #1112

Posted: 28 Jun 2011 10:15 PM PDT

In this Issue: WindowsPhoneGeek , John Papa , Mike Taulty , Erno de Weerd , Stephen Price , Chris Rouw , Peter Kuhn , Damian Schenkelman , Michael Washington , and Manas Patnaik . Above the Fold: Silverlight: "Binding to View Model properties in Data...( read more )...(read more)

Windows Phone 7 (Mango) Tutorial - 23 - Local Database Support, Configuring Project

Posted: 28 Jun 2011 10:30 AM PDT

Hope you read my previous post on Windows Phone 7.1 (Mango) local database support. If you didn't read the earlier post, you need to read it before reading this one. You can find it here: " Create DataContext ". That will give you the basic...( read more )...(read more)

Tuesday, June 28, 2011

Extensibility interfaces for Windows Phone 7 and Silverlight 3

Extensibility interfaces for Windows Phone 7 and Silverlight 3


Extensibility interfaces for Windows Phone 7 and Silverlight 3

Posted: 28 Jun 2011 12:59 AM PDT

The extensibility interfaces (IClientMessageFormatter, IClientMessageInspector, IParameterInspector) added in Silverlight 4 were a great addition and enabled many scenarios that were, if not impossible, quite hard to accomplish before. But for applications...( read more )...(read more)

Windows Phone 7 (Mango) Tutorial - 22 - Local Database Support, Create DataContext

Posted: 27 Jun 2011 10:30 AM PDT

Do you know that, Windows Phone 7.1 (Mango) now supports local database? Yes, you can now use local database inside your Phone 7 device and use it to CRUD operations. You can now create a DataContext class from an existing database and use it as the entry...( read more )...(read more)

Windows Client Developer Roundup 074 for 6/27/2011

Posted: 27 Jun 2011 04:50 PM PDT

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 , Visual Studio, WCF RIA Services , Netduino...( read more )...(read more)

Windows Client Developer Roundup 074 for 6/27/2011

Posted: 27 Jun 2011 04:50 PM PDT

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 , Visual Studio, WCF RIA Services , Netduino...( read more )...(read more)

MarketsPlus Evolve: UX Inspiration from a Great Silverlight Application

Posted: 27 Jun 2011 01:29 PM PDT

At Microsoft we often talk about "consumer" applications and "line of business" applications as separate classes of apps. Sometimes, applications that intersect both worlds come along. A few weeks ago, I was turned on by Scott Hanselman, to a soon-to...( read more )...(read more)

MarketsPlus Evolve: UX Inspiration from a Great Silverlight Application

Posted: 27 Jun 2011 01:29 PM PDT

At Microsoft we often talk about "consumer" applications and "line of business" applications as separate classes of apps. Sometimes, applications that intersect both worlds come along. A few weeks ago, I was turned on by Scott Hanselman, to a soon-to...( read more )...(read more)

Monday, June 27, 2011

MarketPlus Evolve: UX Inspiration from a Great Silverlight Application

MarketPlus Evolve: UX Inspiration from a Great Silverlight Application


MarketPlus Evolve: UX Inspiration from a Great Silverlight Application

Posted: 27 Jun 2011 01:29 PM PDT

At Microsoft we often talk about "consumer" applications and "line of business" applications as separate classes of apps. Sometimes, applications that intersect both worlds come along. A few weeks ago, I was turned on by Scott Hanselman, to a soon-to...( read more )...(read more)

MarketPlus Evolve: UX Inspiration from a Great Silverlight Application

Posted: 27 Jun 2011 01:29 PM PDT

At Microsoft we often talk about "consumer" applications and "line of business" applications as separate classes of apps. Sometimes, applications that intersect both worlds come along. A few weeks ago, I was turned on by Scott Hanselman, to a soon-to...( read more )...(read more)

Using Code Signing Certificates to sign downloaded MSIs and build reputation with IE9 SmartScreen

Posted: 27 Jun 2011 11:39 AM PDT

First, let me start that if you want a lot of people to download something, make sure that the words "HTML5," "Support" and "Update" appear in the title. I'm sure if the folks that are making Diablo 3 called it "Diablo 3 HTML5 Support Update" that a metric buttload more people would download it. That said, a bunch of folks in the Web Platform and Tools team created the Web Standards Update package with HTML5 Support for the Visual Studio 2010 Editor . This Web Standards Update is something that anyone in the community could have released, just extending Visual Studio in a standard way. Like many other (most) extensions in Visual Studio Extension Gallery, it was not "signed." It was not a...(read more)

ASP.NET MVC 3 Docs In Nine Languages

Posted: 27 Jun 2011 10:46 AM PDT

In May, we released a tools update for ASP.NET MVC 3 in nine languages other than English . Today I got the good news that ASP.NET MVC 3 documentation is also now available in those nine languages, which arguably is even more helpful to those learning and using ASP.NET MVC. Japanese: http://msdn.microsoft.com/ja-jp/library/gg416514(VS.98).aspx Korean: http://msdn.microsoft.com/ko-kr/library/gg416514(VS.98).aspx Chinese (Simplified): http://msdn.microsoft.com/zh-cn/library/gg416514(VS.98).aspx Chinese (Traditional) http://msdn.microsoft.com/zh-tw/library/gg416514(VS.98).aspx German: http://msdn.microsoft.com/de-de/library/gg416514(VS.98).aspx Spanish: http://msdn.microsoft.com/es-es/library/gg416514(VS.98).aspx French: http://msdn.microsoft.com...(read more)

Teaching Computer Programming at Home

Posted: 27 Jun 2011 09:16 AM PDT

This past week I had a great time teaching my 9-year-old son Alex and 9 of his friends computer programming in my home.  I used Kodu Game Lab and Small Basic , two free tools created for kids to learn programming. I wrote a series of blog posts about...( read more )...(read more)

Getting ready for the Windows Phone 7 Exam 70-599 (Part 4)

Posted: 27 Jun 2011 03:22 AM PDT

This is the fourth part of my article series to prepare you for Microsoft's new Windows Phone 7 exam which will be available starting July 14th. For a short introduction and overview of the exam as well as a list of general learning materials please take...( read more )...(read more)

June 26th Links: ASP.NET, ASP.NET MVC, .NET and NuGet

Posted: 26 Jun 2011 09:59 PM PDT

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 Introducing new ASP.NET Universal Providers : Great post from Scott Hanselman on the new System.Web.Providers we are working on.  This release delivers new ASP.NET Membership, Role Management, Session, Profile providers that work with SQL Server, SQL CE and SQL Azure. CSS Sprites and the ASP.NET Sprite and Image Optimization Library: Great post from Scott Mitchell that talks about a free library for ASP.NET that you can use to optimize your CSS and images to reduce HTTP requests and...(read more)

Windows Phone 7 (Mango) Tutorial - 21 - Small Demo of Accelerometer Application

Posted: 26 Jun 2011 10:30 AM PDT

Last two days we learned about Accelerometer class, it's base class and the accelerometer tool that comes with the Phone emulator. Hope those posts gave you some basic idea about it.   Here in this post, we will learn the use of this feature with...( read more )...(read more)

Sunday, June 26, 2011

Deployment in Visual C++ 2010 (Visual C++ 2010)

Deployment in Visual C++ 2010 (Visual C++ 2010)


Deployment in Visual C++ 2010 (Visual C++ 2010)

Posted: 26 Jun 2011 02:15 PM PDT

When you deploy an application to another computer, you must install the application itself and any library files that the application depends on. Visual C++ 2010 gives you three ways to deploy the Visual C++ runtime with an application.

Weekly News Digest @SilverlightZone - 19-June-2011 to 25-June-2011

Posted: 25 Jun 2011 10:30 AM PDT

Here comes the weekly news digest of Silverlight-Zone.com from 19th June 2011 to 25th June 2011. We have submitted 72 article links during the week on various topics like Silverlight, Windows Phone 7, LightSwitch, Expression Blend and even Windows 8....( read more )...(read more)

Saturday, June 25, 2011

SQL Azure Migration Wizard v3.7.2

SQL Azure Migration Wizard v3.7.2


SQL Azure Migration Wizard v3.7.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.

Windows Phone 7 (Mango) Tutorial - 20 - Know about the Accelerometer Tool

Posted: 24 Jun 2011 10:30 AM PDT

Yesterday, we came to know about Accelerometer of Windows Phone 7. We also learnt about the structure of the Accelerometer class and it's base class. Now, it's the time to see how to run the same inside the Phone emulator. In this post we are going to...( read more )...(read more)

Adding RSS to tags in Orchard

Posted: 24 Jun 2011 04:26 PM PDT

A year ago, I wrote a scary post about RSS in Orchard . RSS was one of the first features we implemented in our CMS , and it has stood the test of time rather well, but the post was explaining things at a level that was probably too abstract whereas my readers were expecting something a little more practical. Well, this post is going to correct this by showing how I built a module that adds RSS feeds for each tag on the site. Hopefully it will show that it's not very complicated in practice, and also that the infrastructure is pretty well thought out. In order to provide RSS, we need to do two things: generate the XML for the feed, and inject the address of that feed into the existing tag listing page, in order to make the feed discoverable...(read more)

Friday, June 24, 2011

WP7 Contrib – Bing Service Wrapper Part I – Location

WP7 Contrib – Bing Service Wrapper Part I – Location


WP7 Contrib – Bing Service Wrapper Part I – Location

Posted: 24 Jun 2011 07:31 AM PDT

This being the first post about the Wrappers I thought that we should break the ice with the most commonly used service. Location. Out of all of the services this is the simplest to call but also we would suspect the most widely used. When you combine...( read more )...(read more)

WCF RIA Services in Windows Azure AppFabric June CTP

Posted: 24 Jun 2011 07:06 AM PDT

If you've been using RIA in the cloud or are considering it, it is definitely worth your time to take a look at the Windows Azure AppFabric June CTP . The CTP is an early look at a platform that is positioned to simplify the development, deployment, and Read More......(read more)

SQLBK; una solucion para respaldos de SQL Server. (SQL Server backups)

Posted: 21 Jun 2011 10:12 AM PDT

SQLBk es una herramienta desarrollada en .NET Framework que permite realizar respaldos de bases de datos SQL Server, comprimirlas y enviarlas a un servidor FTP

SQLBk is a .NET application for SQL Server backups, compress and send to an FTP server

Windows Phone 7 (Mango) Tutorial - 19 - What is WP7 Accelerometer?

Posted: 23 Jun 2011 10:30 AM PDT

Accelerometer defines the force applied to the Windows Phone 7 device which can be used to determine the measure of direction that has been applied by the user by moving the device. This values are represented as a 3D vector coordinates in X, Y and Z...( read more )...(read more)

Silverlight WebBrowser Control for Offline Apps (Part 2)

Posted: 23 Jun 2011 04:16 PM PDT

Following up on my previous post about using the WebBrowser control to display HTML content that is stored in the filesystem and so available offline I thought I'd experiment with a little code. I wrote a couple of HTML pages that look like this in IE9...( read more )...(read more)

Thursday, June 23, 2011

Silverlight TV 77: Exploring 3D

Silverlight TV 77: Exploring 3D


Silverlight TV 77: Exploring 3D

Posted: 23 Jun 2011 09:44 AM PDT

Silverlight TV 77: In this week's episode of SLTV, Aaron Oneal, program manager of the Silverlight 3D efforts, joins John to discuss the 3D APIs in Silverlight 5 beta. Aaron was instrumental in working on the 3D features and helped to create the 3D Solar...( read more )...(read more)

Silverlight Cream for June 22, 2011 -- #1111

Posted: 22 Jun 2011 09:42 PM PDT

In this Issue: Kunal Chowdhury , Beth Massi , Mike Taulty , Xpert360 , and Erno de Weerd . Above the Fold: Silverlight: "Silverlight, HTML and the WebBrowser Control for Offline Apps" Mike Taulty WP7: "Windows Phone 7 (Mango) Tutorial - 18 - Know about...( read more )...(read more)

AIUB CEC Web

Posted: 21 Jun 2011 02:50 AM PDT

A web portal developed for American International University - Bangladesh (http://www.aiub.edu) for their Continuing Education Center department. The website is live at http://cec.aiub.edu.

Now it's Open Source and can be used by you! We would just expect to be mentioned. Enjoy!

Windows Phone 7 (Mango) Tutorial - 18 - Know about various Phone Tasks

Posted: 22 Jun 2011 10:30 AM PDT

Last two days, we learnt about Alarm and Reminder class present for Windows Phone 7 application development. We came to know about the class structure and demoed the implementation with small application created in step-by-step process. We also learnt...( read more )...(read more)

Wednesday, June 22, 2011

Bouncy McFuzzin for Windows Phone 7

Bouncy McFuzzin for Windows Phone 7


Bouncy McFuzzin for Windows Phone 7

Posted: 22 Jun 2011 12:50 PM PDT

Here is a sneak peek of another little physics game I'm working on for Windows Phone 7. Help McFuzzin escape from the evil witch's lint jar in this fun physics game. Use your finger to draw trampolines for McFuzzin to bounce on. You'll encounter many...( read more )...(read more)

Mohsen Agsen: C++ Today and Tomorrow

Posted: 22 Jun 2011 09:00 AM PDT

Mohsen AgsenFor those who haven't seen it yet, Charles Torre interviewed again Mohsen Agsen, Microsoft Technical Fellow who runs the Visual C++ engineering team.

Back in February Mohsen and Charles had had a first conversation, when they put forward the notion of a renaissance taking place in the native world. The reception to C++ Renaissance message has been great (and, in some sense, unexpected). Now that some time has passed, Charles visited Mohsen to continue their conversation.

[Watch the full interview in Channel 9]

Silverlight, HTML and the WebBrowser Control for Offline Apps

Posted: 22 Jun 2011 04:18 AM PDT

"Silverlight is a browser plug-in" In the early days of Silverlight, it was fairly easy to understand that Silverlight content would always be rendered inside of a browser window (whether that be IE, Chrome, Firefox or Safari) where it was surrounded...( read more )...(read more)

Mosaic by Tribune

Posted: 22 Jun 2011 01:50 AM PDT

I was very impressed by the Mosaic application that you can read more about on the Windows Azure blog or by hopping over to the Mosaic site; I've only tried the Windows version so far but I'm keen to get the Windows Phone 7 version too and try that out...( read more )...(read more)

App Hub WP7 tutorials ported to Spanish

Posted: 22 Jun 2011 12:39 AM PDT

Good news for the spanish speaking community (LATAM + Spain). "La Liga de Silverlight" has translated the 27 WP7 tutorials to Spanish. You can click this link to access the tutorials....( read more )...(read more)

Silverlight Cream for June 21, 2011 -- #1110

Posted: 21 Jun 2011 10:12 PM PDT

In this Issue: Colin Eberhardt , Kunal Chowdhury ( -2- ), Peter Kuhn ( -2- , -3- ), Mike Gold , WindowsPhoneGeek , Nigel Sampson , Paul Sheriff , Dhananjay Kumar , and Erno de Weerd . Above the Fold: Silverlight: "Silverlight Debug Helper" Peter Kuhn3...( read more )...(read more)

SilverlightShow for June 13 - 19, 2011

Posted: 21 Jun 2011 08:39 PM PDT

Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for June 13 - 19, 2011. Here are the top 5 news on SilverlightShow for last week: Panorama "Windows 8" template for Silverlight Premature cries of Silverlight ...( read more )...(read more)

Windows Phone 7 (Mango) Tutorial - 17 - How to Create a WP7 Reminder Application?

Posted: 21 Jun 2011 10:30 AM PDT

Yesterday we discussed about the Alarm class and also demonstrated the use of it using a small demo app. Today in this post we will learn about Reminder class and will see the structure of the same. We will also demonstrate the implementation with a small...( read more )...(read more)