[RIA Services] Use Shared class for metadatas

With WCF RIA Services and DomainServices, the metadatas file is generated from selected entities of the ADO.NET Entity Data Model. But if you want to add the “FullAddress” property in the metadatas, this error appears: “The associated metadata type for type ‘SharedInfos.Web.Customers’ contains the following unknown properties or fields: FullAddress. Please make sure that the names of these members match the names of the properties on the main type.” Shared classes allow completing this metadatas with properties and/or methods. This file has the .share.cs extension (or .shared.vb). Notice that the namespace must be the same as the Web project. namespace … Continue reading [RIA Services] Use Shared class for metadatas

[WP7] AskMe! My application for the killer-apps Windows Phone 7 contest

Microsoft France organizes a killers-app Windows Phone 7 contest. The 10 selected applications will be presented to a very impressive jury: Steve Ballmer, CEO, Microsoft Pierre Olivier Carles, CEO of Kipost and co-founder de Labotec, business angel. Jacques Antoine Granjon, Founder of Vente-privée.com Ouriel Ohayon,Co-founder of AppsFire and Co-founder of Isai found Marc Simoncini, Founder and President of Meetic and of Jaïna found Bruno Vanryb, Founder and President of Avanquest Software To be selected, you must make a Windows Phone 7 application, a video about it, post this video on the “Developpeurs” Facebook page and obtain a maximum of like to … Continue reading [WP7] AskMe! My application for the killer-apps Windows Phone 7 contest

[WP7] Add images in the Windows Phone 7 Media Library

The Windows Phone 7 emulator included in the beta developer tool doesn’t contain any images in the Media Library. It’s not very easy to test an application that asks the user to choose an image to use the application. This is a few lines of code which helps you to add images in the Media Library emulator. Please note that images are not being saved when you close the emulator ! When you look the media library in the WP7, there is nothing: You must add in the project the assembly Microsoft.Xna.Framework.Media. It allows you to access the Media Library … Continue reading [WP7] Add images in the Windows Phone 7 Media Library

[OData] Open Data Protocol Visualizer Extension for Visual Studio 2010

As seen before, I used OData in a Silverlight 4 project. Adding a data feed was possible through a Service Reference. Several files were created after the adding, including an edmx, but when you want to see it in Visual Studio 2010 the following error message appears : A Visual Studio 2010 extension is available to visualize exposed OData feed entities as a diagram. This extension is the Open Data Protocol Visualizer Extension for VS2010. The Extension Manager (in the Tools menu) allows its installation in Visual Studio 2010. A window opens and lists all available extensions. Choose Open Data … Continue reading [OData] Open Data Protocol Visualizer Extension for Visual Studio 2010

[SketchFlow] Convert SketchFlow Feedback into TFS Work Item

Within Expression Blend 4, SketchFlow enables to build (with WPF or Silverlight) application prototypes to exactly define, in collaboration with the customer, the navigation map and the functionalities for the future application. When the SketchFlow application is executed, the customer can write on each screen, and add feedbacks to notify what must be added, updated and deleted. A file with all the feedbacks can be exported by the customer. Then it’s forwarded to the development team. This file can be imported on Blend to list all the customer feedbacks. Each feedbacks can be convert into TFS Work Item through a … Continue reading [SketchFlow] Convert SketchFlow Feedback into TFS Work Item

[Silverlight] Three new Silverlight applications templates

Three new templates are available for Silverlight applications, both Silverlight Business Application and Silverlight Navigation Application. Furthermore style elements of these new themes are available to download, you can use them in any Silverlight applications. Finally these new themes include the new WCF RIA Services templates. These three new templates are : Windows 7 Cosmopolitan AccentColor   There are downloadable at this address, and these templates can easily be installed in Visual Studio 2010 : And Expression Blend 4 :

[OData] Use OData data with WCF Data Services and Silverlight 4

As seen before, OData (Open Data Protocol) is a protocol on top of HTTP, with a REST architecture and provide XML formatted data (e.g.: ATOM). WCF Data Services, included in Silverlight 4,will help us to handle data with OData. The purpose is to build a Silverlight master-detail application composed of a ComboBox control to choose a customer and a DataGrid Control to see all the Customer orders. We will use Customers and Orders tables from Northwind OData feed which is at this address : http://services.odata.org/Northwind/Northwind.svc/ We create a Silverlight 4 application and we add, in the Silverlight project, a reference … Continue reading [OData] Use OData data with WCF Data Services and Silverlight 4

[OData] Create and expose your own OData flow

OData (Open Data Protocol) is a protocol on top of HTTP, based on REST architecture, that allows remote edition and use for different clients (RIA, Web, Mobile, etc…). So one can use Linq to request data from a client interface. With WCF RIA Services, it becomes possible to expose your own data easily. When you add a DomainService, you must check the box “Expose OData endpoint” and the selected tables will be exposed. In our example, we will expose the Customers and Orders tables from Northwind database.   Checking the box brings two important modifications to our code: In the … Continue reading [OData] Create and expose your own OData flow

My new English blog !

Hi everybody ! This is my first post on my new English blog ! I really want to say thank you to Matthieu, Kathleen and Susan who give me that chance to open this blog here. I’m a MVP Client Application Development, so this blog will talk about RIA and RDA, specially Silverlight, WPF, Surface, WCF RIA Services and OData. I’m French, so sorry in advance for my English, but promised I will try to make my best ! 🙂 See you soon !