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

  • Windows Community Toolkit v8.2 Adds Native AOT Support

    Microsoft shipped Windows Community Toolkit v8.2, an incremental update to the open-source collection of helper functions and other resources designed to simplify the development of Windows applications. The main new feature is support for native ahead-of-time (AOT) compilation.

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

Subscribe on YouTube