Tag | ALM Posts

<< Part 1 - Installing IronRuby and Cucumber A quick look at IronRuby Background IronRuby is an implementation of Ruby which runs on .NETs Dynamic Language Runtime platform (the DLR). Languages hosted on the DLR are interpreted at runtime, rather than compiled then executed (like C# applications). One benefit is that code can be invoked on the fly from a command line shell. This is handy when debugging or figuring out how to do something. Other popular DLR hosted languages include IronPython ...
After reading Tim Anderson’s blog article (here) on his installation of Hyper-V Server 2008 R2 I glibly added a comment that R2 now includes PowerShell 2.0 for local management of virtual machines using PowerShell scripts. Of course, I hadn’t actually tried this before commenting .... Why would you want to use scripting on Hyper-V Server 2008 R2 If you have never installed Hyper-V Server 2008 R2 you may not realise the limited options provided by the local management tool. Based on Windows Server ...
Very often I read posts in the newsgroups like: I call function Foo(dwParam) and it returns FALSE. What's wrong? If I cannot tell it immediately -for example because the dwParam is clearly wrong - my standard answer is: Have you called GetLastError()? Which error value it returns? GetLastError (if the call that fails actually sets an error and the error is meaningful) can be very helpful to detect why the call is failing. If you do not understand exactly what the code means and you have the code ...
In this Issue: Mark Miller, SmartyP(2), Goncalo Chaves(2), and David Anson. Shoutouts: Walt Ritscher announced October 2009 version of Composite WPF(Prism) released and has some highlights from the release Damian Schenkelman posted a similar announcement: Prism 2.1 (Composite Application Guidance for WPF & Silverlight 3) just released (updated version for Silverlight 3) From SilverlightCream.com: MVVM with Prism 101 – Part 5b: ServiceLocator vs Dependency Injection Mark Miller continues with ...
I am practicing Test Driven Development (TDD) now for some two years or so, and soon this technique of writing software felt so natural, that I hardly could imagine doing it another way or even imagine a reason why I should do so. But on the other hand, I know that not questioning something anymore and not being self-critical from time to time is a certain recipe for running into a disaster sooner or later. So I asked myself: What makes TDD such a natural way of writing software? and What are your ...
I love Test Driven Development. I use this development approach wherever I can. It makes my code a lot better and gives me the confidence that I indeed have crafted a good and reliable piece of code. However, some things are quite hard to test-drive, simply because they have so many dependencies that you would need to make extensive use of a mocking framework (and probably inspecting some things via Reflector...). In such a case, you usually decide to not have unit tests, because the time and amount ...
There are a lot of things to like about the new version Virtual PC. Compared to its predecessor, it has added support for USB devices; allows individual applications to be run from a virtual machine yet project on the host desktop; has terrific shell integration; and much better awareness of the host’s power management, allowing users to hibernate their physical PC, even while a virtual image is activated. When you add to that the new ability of Windows 7 to mount VHD files as physical drives, and ...
Often in large solutions i had the problem that a couple of little chances needs building some projects. Unfortunately Visual Studio tends to build more projects than needed. Formerly i used the configuration manager to deactivate unused projects. This is a overhead which sucks. Now i found, that Visual Studio allows to build all projects in a solution folder. A very cool feature. Normally all my projects are grouped in folder structures which reflects the functionality. And in almost all cases this ...
For the past year, I’ve been working with a client that is in a very unusual position, at least one that has been rare in my career. My client is an established business being spun off from their corporate parent, so they are starting up their IT department from scratch. I had a similar experience almost a decade ago, when I joined an IT department right before a huge growth spurt in staff and responsibilities. I was brought on board to help with their SharePoint portal initiative. This included ...
I’ve taught a number of classes recently to people who are just getting started as software developers either as a way to change careers and move into our profession or just to people who love computers and want to learn more about how to program. I personally love these types of classes as they differ so much from the standard SharePoint or Silverlight type course where the average student is fairly skilled and the questions and interaction from students is very technical. In an introduction type ...
While I was planning to write about the same topic and have the draft ready in my Windows Live Writer waiting to complete, I found an interesting question in StackOVerflow and couldn’t just resist to answer: ORM/Persistence layer Advice The question starts with: I'm starting a new project and I'm looking around for either a very good ORM or for a non-SQL-based persistence layer. Then follows up with a REALLY GOOD summary of what he believes about each known ORM he knew out of his own findings and ...
I've been on a contract in this facility for over 4 years now. That's actually a good thing considering my age. I wouldn't be disappointed if I could stay here until I went out of scope. But that can't stop me from complaining... that's just the nature of the beast. In my first letter back home from basic training my Mother worried that I was ok. My Father told her "He's complaining, he's fine!" ... so I guess 39 years later things haven't changed :) Logic tells me that if a company is paying a LOT ...
In this Issue: Mark Miller, Sergey Barskiy, Gavin Wignall, Josh Holmes, Bryant Likes, and Jeff Prosise. Shoutouts: András Velvárt sent me this yesterday and I was blown away by all the Silverlight goodness: Response Karl Shifflett did a re-release of his latest XAML Power Toys: Updated Code: XAML Power Toys for Visual Studio 2010 Beta2 Cider Designer Karl Shifflett also updated the templates for VS2010: Updated Code: Visual Studio 2010 Beta2 Sample Data Project Templates David Anson has a page up ...
PowerPivot is the newly announced name for Microsoft’s (not yet released) self-service analytics product, formerly code-named “Gemini.” PowerPivot brings the power of OLAP analytics to end-users, by allowing them to create their own data models, drawing from conventional data warehouses as well as flat files, spreadsheets, and even data feeds and reports. It then allows for sophisticated drill-down analysis in Excel 2010 itself which will feature a new “Slicer” element in its user interface, essentially ...
Back Links LINQ Overview, part zero LINQ Overview, part one (Extension Methods) LINQ Overview, part two (Lambda Expressions) Note: I realize it has been a really long time since I've posted anything. It is both exciting and humbling that I continue to receive such positive feedback on these articles. In fact, that is why I am trying to put in the effort and finish off this series before moving on to more recent topics. This nomad has been on some interesting journeys these past months, and I am really ...
I'm having an issue here at a client site. The report we designed runs fairly quickly in DEV, it takes 8 seconds for the report to render. We now have the report deployed to the production SharePoint site and it's taking 1 minutes 8 seconds to load. Both reports point to the same database, so there is no difference on the data side. It's past 5 PM here so there is nobody on the SharePoint site, either. There is a slight difference in the hardware: the prod has 0.5 GB less available memory than DEV, ...
I ran across a feature of SharePoint a few weeks ago that I wanted to share: the SPWebApplication.Properties and SPWeb.Properties property bags. These property bags can be used for many different needs, but I see a great application for them with feature activation/deactivation. At my current client we have almost a dozen features that make direct modifications to the web.config files of our web applications (see below for excellent link on making changes to the web.config files.) Some of these modifications ...
In this Issue: Alex Knight, Michael Washington, Gavin Wignall, Tim Heuer, Shawn Wildermuth, Karl Shifflett(2), Mark Miller, The Silverlight Blog, René Schulte Shoutouts: In addition to the XAML Power Toys release noted below, Karl Shifflett also announced XAML Power Toys for Visual Studio 2008 v5.0.0.1 Released Rob Eisenberg has announced Caliburn v1 RTW for WPF, Silverlight 2.0 and 3.0! Shawn Wildermuth shares his material with us from his Second Week of European Conference Tour... like being there ...
for the ado database sync, the method public virtual SyncContext ApplyChanges(SyncGroupMetadata groupMetadata, DataSet dataSet,SyncSession syncSession) on server side is not efficient, as it receive the changed data from client side, but it again sent it back to client within the SyncContext. In the returned SyncContext object, I found DataSet and GroupProgress.Changes is almost the same as input dataset. by verifying the code inside sync framework, I found: internal SyncGroupMetadata ResetProivderState(SyncGrou... ...
*Moved to: Deploying Visual Studio 2010 Team Foundation Server Beta 2 - DoneWell, nothing like hitting the ground running, my first job at SSW was to join the TFS Migration Team, it was a fun experience, let me tell you how it went. Update #1 20th January 2010: Have a look at our Rules to better TFS2010 Migration Read more...Follow my new blog on http://blog.hinshelwood.com ...
*Moved to: A change for the better #2In the last 2+ years at Aggreko I have worked with Visual Studio 2008 Team Foundation Server, Office SharePoint Server 2007 and a number of WPF, Silverlight and ASP.NET projects. There had been some discussion of a new role within Aggreko in the solution architecture arena. I also spoke to Adam Cogan who has the title “SSW Chief Architect and Microsoft Regional Director”…Read more...Follow my new blog on http://blog.hinshelwood.com ...
I have meant to have this posted earlier in the week and then it became an email to all volunteers and finally morphed back into a blog posting. So here goes… Last weekend (Oct 16th-18th, 2009), St. Louis held it’s first annual Coders-4-Charities event at Washington Universities CAIT center in Clayton, MO. The event had been in the planning stages for many months and we had done a significant amount of work in lining up 9 charitable, non-profit organizations which each had IT needs which we felt ...
In this Issue: Alex Golesh, Expression Blend and Design, Rob Bagby(2), Jeff Wilcox, Tim Heuer, David Anson, Mark Miller, Timmy Kokke, and Jeremy Likness. Shoutouts: Lee poses the question Same XAML Silverlight and WPF – different result ... see if you can comment! The Thirsty Developer chats with Chad Campbell: Thirsty Developer 75 - Sparking a Business into Divot Dog Shawn Wildermuth had a chance to do a short podcast while in Bulgaria producing: Five Minutes with Me Laurent Bugnion announced MVVM ...
I saw a link to this article (5 Rules To Write More Readable CSS Files) on Twitter this morning, checked it out, and felt the need to share, so here I am sharing. :-) It also reminded me of a funny full-page ad I tore out of a programming magazine many years ago that listed excuses for not commenting your programming code. I think the ad was for an COBOL comments generator or some type of utility like that. I’m sure I kept that magazine page and have it somewhere around here but where it is today ...
In this Issue: Mark Miller, Kirupa, Sergey Barskiy, Timmy Kokke, Laurent Bugnion, Jeff Prosise, Ronnie Saurenmann, Expression Blog, The Silverlight Blog, and Victor Gaudioso. Shoutouts: Check out .NET Rocks Show 489 because Shawn Wildermuth announced I am on .NET Rocks Talking about Declarative UI's Jon Galloway has a post up on The Designer/Developer Workflow Crisis (That Everyone’s Ignoring) that's definitely something to check out. Unless you've been sleeping behind the door, you already know ...
*Moved to: Configuring Visual Studio 2010 Team Foundation Server on Vista in 12 minutesAs Microsoft have separated Install with configuration, so I have separated my posts! You will need TFS2010 installed prior to the steps below. Read more...Follow my new blog on http://blog.hinshelwood.com ...
*Moved to: Installing Visual Studio 2010 Team Foundation Server on Windows Vista in 3 minutesNew in Visual Studio 2010 is the ability to install TFS on XP, Vista and Windows 7. You can use SQL 2008 Express, so no large overhead, and the Basic version you use for this does have the reporting and SharePoint requirement that the main install does. That does not mean that you can't upgrade later :) Read more...Follow my new blog on http://blog.hinshelwood.com ...
Day 1 of the Microsoft SharePoint Conference 2009 is almost over. The conference is impressive. There are over 7400 people in attendance, a number that represents 92% growth over last year and which tops this year’s Tech*Ed and MIX attendance combined. All this in a year when most events’ attendance is way down. That should tell you something about SharePoint, and should explain why Steve Ballmer, in his keynote at the conference this morning, said (1) he wasn’t going to start this keynote by talking ...
Folks with MSDN Subscriber licenses going to grab the latest version of VS2010 may wonder ‘Where is Team System? Team Suite? Team Developer? Team Architect?’ They are gone! Does that mean that MS is getting out of the ALM toolset market? Or does it mean that the ‘Team’ stuff is being released later? The answer is NEITHER. The branding, naming and licensing of Visual Studio is changing for the 2010 version. The ‘Team System’ branding is being dropped. What ‘used’ to be the ‘Team’ client products are ...
One of the most common question people ask me in the teams I’m in is the following: Where should I put Try – Catch blocks? The second most popular is equally challenging: What is the best method to re-throw an exception? This post will try to answer both questions. Before I start with this topic, I must warn you that the following is not the official “best practices” but rather my own personal opinion on the subject, based on my past experience. I think that Try – Catch blocks are a great asset of ...
*Moved to: Visual Studio 2010 Beta 2 is available Now!Visual Studio 2010 Beta 2 is now available on MSDN for download! Read more...Follow my new blog on http://blog.hinshelwood.com ...
Tiberiu “Tibi” Covaci, the CloudCasts international correspondent was in Bulgaria last week for the DevReach 2009 conference. During a hectic few days he managed to pin down some of the main presenters and technology influencers for his “Five Minutes With…” interview series. The interviews with Chris Sells, Richard Campbell, Christian Weyer and Carl Franklin have been published with four more to be released later this week. Tibi will also be at TechEd Berlin, OreDev in Malmoe and PDC in Los Angeles, ...
I have been working on database synchronization for a couple of weeks, and seems it at the final testing stage, I am using Microsoft Sync Framework 2.0, the DB server is SQL server 2008 Standard, and clients are SQL Server 2008 Express as I use Change Tracking to track DB changes instead of TombStone Tables and Guid tracking columns, I use WCF+IIS+SSL to host server side service, the binding uses Gzip binary encoding. The reason we are not using SQL Server Replication is because our tables need dynamic ...
In this Issue: Jeff Handley, Jeremy Likness, Gavin Wignall(2, 3, 4, 5), Mark Miller, Nigel Sampson, and Microsoft Expression Product Site. Shoutout While not a complete solution, Koen Zwikstra had done an OOB solution for Silverlight a while back and now he's giving up the source: Hosting Silverlight outside the browser (sourcecode). Forget all those weight-loss gimmicks! I worked Monday the 12th, took off the 13th and felt worse all day, was at the Dr with flu symptoms on the 14th... ended up with ...
So I’ve had a few Windows 7 VMs I’ve been playing with, but I wanted to put the new OS on some real hardware and experiment with the install process, so this weekend I had some time and gave it a whirl. I did two installs, one an upgrade process, the other a clean install: The upgrade was a upgrading a Vista Home Premium system to Windows 7 Ultimate. Besides testing the install process, the goal here was stability. The Vista system was problematic, gave me BSOD almost daily (Nvidia driver issues, ...
Hace un par de días necesitábamos tener el Windows Media Player instalado en un servidor con Windows Server 2008 casi recién desempacadito, por lo que no tenía ninguna configuración extra ni algo así. Ninguno de los que por ahí estábamos hemos trabajado mucho con este server anteriormente, así que no sabíamos si venía preinstalado o si teníamos que instalarlo, ni cuál de sus versiones.. nada. Tras buscarlo instalado, decidimos que era prudente pensar que no lo traía de fábrica y había que instalarlo. ...
Serialization is a beautiful thing. Now that was a geeky comment.... Jokes aside, it is. Standard .NET serialization is quite simple. Tag your class with the [Serializable()] attribute, make sure all your state variables are serializable and voila. But what if some of these variables aren’t serializable? Then you simply need to tag those variables as [NonSerializable()] and then you are really done. Of course I could get into the details of all this but this post isn’t about standard .NET serialization. ...
Recently I had the need to implement support for Dynamic Linq queries in my framework project. For the uninitiated, Dynamic Linq allows me to write statements like this: var query = db.Customers.Where("City == @0 and Orders.Count >= @1", "London", 10). OrderBy("CompanyName"). Select("New(CompanyName as Name, Phone)"); where I can specify the predicates and selectors as string values. Microsoft has published a helper class that enables DynamicLinq support here -->C# Dynamic Query Library (included ...
Brian Keller, Technical Evangelist for Visual Studio Team System just blogged about the “very soon” release of Visual Studio 2010 Beta 2 which will have a “Go Live” license. That means you will receive product support from MS if you deploy and use it. Brian also includes links to some resources to help prepare for VSTS 2010 beta 2 Overview presentation (.PPTX) Detailed checklist (.DOCX) Our ALM team at Imaginet has been working with the Beta 1 bits and have been keeping in touch with MS on what to ...
In This Issue: Laurent Bugnion, Chad Campbell, Mark Miller, Jacek Ciereszko, Laurent Duveau, Kirupa, Ning Zhang, Timmy Kokke, Expression Blend and Design Blog, and Mark Tucker. Shoutouts: Since the demise of the MSDN Social Bookmarks, I've wanted to move my tag page to it's own page on WynApse.com, and I finally did that last night. There's a left-border link to Tagged Posts that contains a tag cloud of, at this moment, 7268 articles tagged 10259 different ways using 421 unique tags, on all sorts ...

Herve Roggero and I were driving to the Naples .NET Code Camp yesterday talking about technology and ideas and all of a sudden he blurted out "BING me up Scotty!" We laughed so hard Herve almost drove off the road.

However, I now have a new tag line and have incorporated it into my presentations. We told Joe Healy about it and he also took a picture of it on my slide deck during my presentation.

"BING me up Scotty!"

After my last successes with TextBox Button Inovker Behavior, which was downloaded more than 700 times in 7 days and recommended by Silverlight sites like http://silverlike.net/invok... http://silverlightcream.com/, http://geekswithblogs.net/W... , I got motivation to share with you one more. This time my behavior will not be so useful and probably won’t be so famous but I hope It will be helpful for someone. What I did What I did this time is a simple behavior ...
Code reviews are one of the best things you can do to improve code quality within an organisation, but the process isn't a silver bullet, and it isn't guaranteed to succeed. These are my observations on what works and what doesn't work when it comes to implementing code reviews into a software development environment. I've worked at 3 companies now where code reviews have been introduced. At the first two it was a failure, but for different reasons each time. Only the third company has fully integrated ...
El día de ayer estaba intentando restaurar una base de datos, en un servidor diferente al que se creó y en el que la gente que lo administraba se había puesto a jugar con las configuraciones, permisos y logins como no tienen idea. El caso es que una restauración que puede llevar unos 3 ó 5 minutos, nos llevó poco más de 2 horas. El error: System.Data.SqlClient.SqlEr... The operating system returned the error '5(Access is denied.)' while attempting 'RestoreContainer::Validate... * ...
This series of posts is about overcoming a restriction, that O/R mappers like NHibernate have with respect to lazy loading and polymorphic type information. (Please refer to the problem description and example in part 1 and 1.5.) The previous part of this series demonstrated how we can fetch type-discriminating data from the db during the regular insert/update/retrieve lifecycle of an instance, along with its 'normal' data, and totally transparent from the domain perspective. This part now will show ...
Update: MVVM Light Toolkit V2 has been released. Please use the new installer to upgrade your installation. Ever since I released V1.1 of the MVVM Light Toolkit, I have received wonderful and constructive feedback from users. Most of it is flowing into V2, which is almost ready (I am still fighting a little with MSI installers and project/item templates for one feature I am particularly happy about, which is making project templates and item templates available in Expression Blend. That’s right, ...
Like most of us have found out the hard way, Silverlight 3 and Windows Presentation Foundation 3.5 are two quite similar beasts, but not totally the same. Silverlight is often presented as a subset of WPF (in fact, some features are available in Silverlight but not yet in WPF; generally speaking, though, it is true that Silverlight has less features than its big sister WPF) (yeah WPF is a girl, don’t tell me you didn’t know ;)) Read the rest of this entry » ...
There are lots of places we can use XML 1. Where we need a place to hold some data, can read / write / manipulate without having any database. Even we can use textfile, but XML is more flexible – say which field, what is the data type, etc., if we use text file, we need to predefine what is the sequence of each column and what dataype etc., 2. Where we need to transfer some data from one pace to another like one layer to another, one tier to another etc., – we can serialize the xml and deserialize ...
Lambda expressions are yet another one of those things that took me a while to really embrace/ understand but once I did, I use them exclusively in LINQ. The reason it took me a while to finally start using them is because every time I tried to read an explanation of them, the author got bogged down in a ridiculous amount of details and explanations that I either got lost, or just lost interest. Once I learned how to use them, I found it was easier to go back and re-read those explanations and understand ...
Yesterday at the Embedded Systems Conference (ESC) Boston, Kevin Dallas the General Manager of Windows Embedded at Microsoft announced that there will be a Windows CE 6.0 R3 release available within a month. The engineers tell me that the work is complete, now it is just a matter of getting it ready for us to download. The goal of the R3 release seems to be centered on usability. The new features are: Silverlight – or actually a subset with variation. This is not Silverlight for the browser, but ...