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.

ESB
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

Featured

  • Uno Platform Ports Windows Calculator to Linux

    Uno Platform has ported the famed Windows Calculator, open sourced last year, to Linux as part of a continuing "proof point" effort to demonstrate the reach of what it describes as the sole UI offering available to target Windows, WebAssembly, iOS, macOS, Android and Linux with single-codebase applications coded in C# and XAML.

  • ASP.NET Core OData 8 Preview Supports .NET 5, but with Breaking Changes

    ASP.NET Core OData, which debuted in July 2018, is out in a v8.0 preview that for the first time supports the upcoming .NET 5 milestone release.

  • VS Code Java Team Details 5 Best Dev Practices

    Microsoft's Visual Studio Code team for Java development added a new Coding Pack for Java installer and detailed best practices for setting up a development environment.

  • Binary Classification Using PyTorch: Defining a Network

    Dr. James McCaffrey of Microsoft Research tackles how to define a network in the second of a series of four articles that present a complete end-to-end production-quality example of binary classification using a PyTorch neural network, including a full Python code sample and data files.

  • Blazor Debugging Boosted in .NET 5 RC 2

    In highlighting updates to ASP.NET Core in the just-launched second and final Release Candidate of .NET 5, Microsoft pointed out better debugging for Blazor, the red-hot project that allows for C# coding of web projects.

Upcoming Events