We recently struggled to upgrade the UI of On Key, Pragma’s Enterprise Asset Management System (EAMS) to Silverlight 5. We struggled with getting Silverlight 5 binaries for a lot of the open source projects (Moq, Castle.Core), but it was the lack of development tooling support in Visual Studio 2010 that really disappointed us. I can understand that the open source projects are slack in providing support for Silverlight 5. We solved the problem by getting the source code and creating Silverlight 5 binaries ourselves. However our hands are cut off when it comes the development tooling in Visual Studio. Expression Blend 5 is still only in preview edition with no word on when a final version that supports the SL 5 RTW will be provided. Code Analysis (FxCop) and Code Metrics analysis are broken for Silverlight 5 projects. I find it very disappointing that MS didn’t make sure that all parts of the development tooling surrounding Silverlight 5 was working by the time that Silverlight 5 went RTW. Hopefully these issues will be resolved soon, but one sort of gets the impression that with no more momentum behind Silverlight it might take quite a while ![]()
Google Website Translator Gadget
Wednesday, 08 February 2012
Silverlight 5 Upgrade Woes
Friday, 24 June 2011
Elementary, my dear Watson
<rant> I don’t know about any other .NET developer out there, but I’m finding the current speculation with regards to what’s going to happen with vNext of the .NET developer tool stack to be totally frustrating to say the least. This is causing so much angst and damage in the .NET developer community. The uncertainty about what’s going to happen with technology stacks like SL, WPF etc. and the unwillingness of MS to be open about their future is killing a lot of momentum and goodwill and just adding more fuel onto the “oh-what-is-MS-up-to-now-again” discussions. Yes, I know, all will become crystal clear at the BUILD conference somewhere in September, but why didn’t MS keep quiet until then? Figure out what you want to do with the different technology stacks, restructure and get enough prototyping done BEFORE starting to communicate to the developer community. Why even mention something like “HTML 5 and JavaScript is the way to go” with the first demo preview of Windows 8. Surely MS should have expected the reaction by developers wanting to know what the future holds for the other technology stacks? Anyway, I hope MS gets this right and that v1 of the next, seemingly consolidated UX platform, does not set us back another 2/3 years in waiting for it to become a really usable technology stack. </rant>
So until BUILD in September we are left to act as Sherlock Holmes – looking at information surfacing via leaked e-mails and other blog posts. Alternatively we can just let it be and hope that everything will indeed fall together in a big “ah-hah moment” come September. I just hope that an already fatigued .NET developer community will have enough energy left to buy into whatever MS is going to preach next and that it will be “Elementary, my dear Watson. Elementary indeed.” Time to get some rest before September then ![]()
Monday, 11 April 2011
Pragma On Key Silverlight Localization
One of the big features that we are adding to Version 5.4 of On Key, Pragma’s Enterprise Asset Management System, is the ability to use the system in different languages. It seems like the first language we will support in addition to English will be Brazilian Portuguese to support customers for our Pragma Brazil service company. So I’ve been spending some time during the past week or two looking at the various aspects of On Key that we need to localize to determine the best solutions for getting everything localized. In this post I will cover some useful information I discovered in my research.
Monday, 04 April 2011
Pragma Software Development: Check-in Procedure
When working together in a software development team it is important to have a common definition for when something is DONE. An important aspect of getting things DONE is a well-defined check-in procedure that all developers follow to commit something into the source control repository. Here is the procedure that we use at Pragma for committing changes into our Team Foundation Source Control repository:
- Code has been integrated with a recent version of the code in the TFS repository – at least a version of the TFS repository on the same day.
- Code has been formatted according to our ReSharper Pragma Full Cleanup profile. This automatically formats all code to follow the same formatting and layout standards.
- Code compiles without any compiler warnings.
- Code adheres to our coding standards - I’ll write more about this in a future post. We try to automate the application of our coding standards (where possible) using tools like ReSharper. Alternatively, use a code review checklist to quickly identify areas of concern.
- No ReSharper code analysis Error or Warning violations (i.e. green square in scrollbar). Any violation needs to be identified and agreed upon. Suggestions and Hints can be ignored if deemed unnecessary.
- No FxCop violations. Any violation needs to be identified, agreed upon and justified using the in-code SuppressMessage attribute.
- New functionality has been covered by tests and the code coverage has been verified using NCover.
- Bugs have been covered by tests and verified using NCover.
- Code adherers to the Logging strategy and the developer has inspected the usefulness of the log statements using Log4View.
- Code adheres to the Exception handling strategy for managing exceptions.
- Error Messages and translations have been added to the resource files.
- The associated TFS work item (development ticket/task) has been updated to reflect the effort involved (actual hours, comments etc.)
Once the code satisfies the above mentioned criteria, the developer runs a gated check-in using the TeamCity Visual Studio Plug-in. This ensures that all the unit and integration tests are executed by the TeamCity build server after integrating the local changes with the latest TFS repository changeset. Only if all the tests pass will TeamCity commit the changes onto the Mainline. The observant reader may have noticed that we don’t do an upfront code review. As we work from home for 2-3 days a week, we conduct our code reviews on the checked-in artefacts. I’ll write more about the code review procedure in a future blog posting.
Lastly, for service pack development, the developer needs to consider whether the change needs to be merged across to the Mainline for the next major version and merge the changes across if required.
Saturday, 05 February 2011
Pragma Software Development Tools
Last time around I mentioned I would blog about the software development tools we are using. They say a picture is worth a thousand words, so with time to blog being a bit short in the week running up to the final release of On Key, here’s a mind map showing the different software development tools we are using in the different software development disciplines! Btw, if anybody knows about a decent Live Writer plug-in to insert a thumbnail, be sure to leave me a comment.
