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 MoreWritten against Visual Studio/Team Foundation beta; so subject to any changes in the SDK. Team Foundation Server 11 has the notion of teams; and its possible to assign work and iterations to multiple teams within a single Team Project. I was searching for a way to access the Team information via the …
Read MoreI’ve been working on a small SharePoint project this week. I have a single machine setup - I’m developing in Visual Studio and deploying to a local installation of SharePoint I set about writing the code, unit testing it and then deploying it into SharePoint. However when I came to re-run the unit tests (after …
Read MoreRecently whilst developing a VSTO document template, I was presented with this error whilst attempting to re-open a saved document. ‘The Office Open XML File .docx cannot be opened because there are problems with the contents. Unspecified error. Location: Part: /word/document.xml, Line: 2, Column: 1054’ Word offered to …
Read More