Mocking is a great technique for isolating code that you want to test. By mocking the interfaces a code section depends on you can create an isolation level where only the behavior of this specific code section is being tested. In my example I have a ProfileService (BLL) that takes an IProfileRepository interface (DAL) as
Category: Visual Studio
How to make sure all projects in a Visual Studio 2013 solution have the same version of NuGet packages?
I created a Visual Studio 2013 solution with an MVC project and a class project, both created around the same time. The MVC project had a few NuGet packages pre-installed and I added some of them to the class project as well. After many mysterious problems, and some tearing of my hair, I realized that
In an earlier article I wrote about 10 ways to get more productive in Visual Studio. This is a follow up with new neat things coming with Visual Studio 2013. Open the Resolve menu when typing It happens once in a while that you haven’t included the namespace you need at the top of your
Visual Studio is full of shortcuts and handy tools helping you, as a programmer, to be more efficient in your work. Today I’m sharing a few of my favourite ones. All examples given here are tested in Visual Studio 2012. Open search result in a list Press CTRL + F to open the search pane.
Popular tagsasp.net azure Binding C# cast character set code-first convert csharp css domain eclipse entity framework enum font git google-font linq model mvc MVC4 mysql Path php PropertyPath razor Regex Regular expressions rotate SetBinding skew sorting sql sql server t-sql task team foundation service tfs timer toastr Ubuntu Visual Studio 2013 vm WPF XAML
Follow me on TwitterMy Tweets