Importing namespaces in XAML is different in .Net Metro applications compared with WPF. The difference is subtle and caught me unawares… In WPF, one imports a namespace using. 1<Grid xmlns:Core="clr-namespace:Namespace;Assembly=AssemblyName" This has changed to : 1<Gridxmlns:Core="using:Namespace” …
Read MoreThis post is part of a series of ‘Lessons Learnt’ from a recent conversion of Microsoft.Practices.Prism to Net Metro Prism. See here for related posts I got stumped on an issue with delegates whilst converting Prism to Metro … In metro, A System.Delegate type doesn’t have a Method property. How can that be!? Background …
Read MoreI recently upgraded a WCF Data Service project to WCF Data Services 5.0 for OData v3. This upgrade has support for accessing your EF Code First entities via a Wcf data service. There’s a good blog post on MSDN by Glenn Gailey with details on how to upgrade. However, I started my upgraded service and got this rather …
Read MoreThis post is part of a series of ‘Lessons Learnt’ from a recent conversion of Microsoft.Practices.Prism to Net Metro Prism. See here for related posts Where is Type.GetTypeInfo()!? Most members from the System.Type class have been moved to the System.Reflection.TypeInfo class. All the documentation suggests you can get …
Read MoreThe exe and assemblies can be found under C:\Program Files\WindowsApps (need to add permissions to view folder) Deployed Metro apps access application settings and runtime state information in C:\Users\AppData\Local\Packages The appxmanifest.xml can be found under C:\ProgramData\Microsoft\Windows\AppRepository (need …
Read MoreThis post is part of a series of ‘Lessons Learnt’ from a recent conversion of Microsoft.Practices.Prism to Net Metro Prism. See here for related posts In Metro there is a whole new improved mechanism for dealing with resources and localization. Its quite powerful; allowing one to embed text, images and even …
Read MoreI recently converted Prism to work with .Net for Metro Style Apps. You can get the project on codeplex at http://metroprism.codeplex.com/ Its a pragmatic conversion; but keeps most of the existing functionality that you get in Prism 4.1 apart from features that don’t naturally work within Metro (such as reflectively …
Read More