Letters from Readers

Not So Clear

Not So Clear
A VSM reader responds to the September 2009 cover story on how to use the Repository pattern to eliminate dependencies in Test-Driven Development:

This approach makes a ton of sense to me if you're doing data access in the traditional ADO.NET fashion. But I'm not as clear about how to use it when you're using something like the Entity Framework (EF) for your data access (which is obviously another Microsoft-recommended best practice). It seems to me that you'd need to throw another two layers on top of the EF-generated objects for this to work (the repository plus the object facades), and that sort of misses the point behind letting the EF do the work for you. In other words, I'd appreciate any suggestions on how to use database mocking with the EF.

Ken Smith
Woodinville, Wash.
Posted online

'New' and 'Different'
Is Windows 7 a fresh start for Microsoft and developers, asked VSM Editor in Chief Michael Desmond in his September Frameworks column. Here are a few of the responses that we received from VSM readers:

How can a company that reinvents its products ever hope to make something work? Had development continued on XP, it could have evolved into Vista and everyone would use it. However, it was "new" and "different," one of which customers fear. Personally, I think Apple has it right. Continue working on your product and refine it instead of starting "fresh." Then, charge a small amount for that newer version of what they already know. Watch, OS X users will be running 10.6 in a very high percentage. Vista uptake was what ... 26 percent? And that was mostly due to forced upgrades when purchasing a new computer (no choice but run Vista). My two cents.

Jeff, California
Posted online

Win7 is definitely an improvement, but Vista was never as bad as the media made it out to be. The problem was that Microsoft and PC makers misled the public into thinking that it could work on hardware that couldn't really handle it. So, in the end, I guess it was just poetic justice that Vista got smeared.

Posted online

About the Author

This story was written or compiled based on feedback from the readers of Visual Studio Magazine.

comments powered by Disqus


  • How to Create a Machine Learning Decision Tree Classifier Using C#

    After earlier explaining how to compute disorder and split data in his exploration of machine learning decision tree classifiers, resident data scientist Dr. James McCaffrey of Microsoft Research now shows how to use the splitting and disorder code to create a working decision tree classifier.

  • Microsoft: Move from Traditional ASP.NET to 'Core' Requires 'Heavy Lifting'

    There are plenty of reasons to move traditional ASP.NET web apps -- part of the old .NET Framework -- to the new cross-platform direction, ASP.NET Core, but beware it will require some "heavy lifting," Microsoft says.

  • Purple Blue Nebula Graphic

    How to Compute Disorder for Machine Learning Decision Trees Using C#

    Using a decision tree classifier from a machine learning library is often awkward because it usually must be customized and library decision trees have many complex supporting functions, says resident data scientist Dr. James McCaffrey, so when he needs a decision tree classifier, he always creates one from scratch. Here's how.

  • Blazor's Future: gRPC Is Key

    Blazor guru Steve Sanderson detailed what Microsoft is thinking about the future of the revolutionary project that enables .NET-based web development using C# instead of JavaScript, explaining how gRPC is key, along with a new way of testing and a scheme for installable desktop apps.

  • Don't Do It All Yourself: Exploiting gRPC Well Known Types in .NET Core

    If you're creating business services that send dates and decimal data then you may be concerned that gRPC services don't support the relevant data types. Don't Panic! There are solutions. Here's how to use them.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events