My Blog

Empowering developers since 2015. Real articles, real insights.
Cloud and DevOps solutions that will save you hours.

    Clone a Git repository from Azure DevOps to your local machine by using the command line

    In order to download and use a remote repository, which is stored in Azure DevOps, do the following two steps and you are good to go.

    Read the complete article

    A possible reason for the .NET MVC "The view XXXX or its master was not found" error

    “The view XXXX or its master was not found” error looks like that:

    "The view 'XXXX' or its master was not found or no view engine supports the searched locations. 
    The following locations were searched:
    ~/Areas/XXXX/Views/XXXX/XXXX.cshtml
    ~/Areas/XXXX/Views/XXXX/XXXX.vbhtml
    ~/Areas/XXXX/Views/Shared/XXXX.cshtml
    ~/Areas/XXXX/Views/Shared/XXXX.vbhtml
    ~/Views/XXXX/XXXX.cshtml
    ~/Views/XXXX/XXXX.vbhtml
    ~/Views/Shared/XXXX.cshtml
    ~/Views/Shared/XXXX.vbhtml"
    

    and I recently had to deal with it, although I was 100% sure that my view was in the right place inside my MVC project.

    Read the complete article

    Run your Load Tests against multiple server environments, like localhost, development or integration

    Load Tests help us identify bottlenecks in our application and can answer with high precision how many users our infrastructure can support in a given time. In a previous article I gave you some tips for using the Load Tests from Visual Studio in a more efficient way.

    Today I would like to show you how you can run the same load tests against different server environments, for example on your localhost machine and on the integration server, before deploying a change into the production.

    Read the complete article

    How to find the connection string of your LocalDB database in Visual Studio

    Today while I was developing a .NET Core example for testing Dapper against my LocalDB tables, I had to define the connection string so that I can run queries in my code against the database. If I was to use Entity Framework, then the connection string would be scaffolded for me, but now I have to find it on my own.

    Read the complete article

    6 tips and tricks for better unit-testing while using the Moq framework

    Moq is probably the most known framework for mocking functionality which is then used in your unit-tests. In this article you can find some of my notes about Moq that I wanted to share with you.

    Read the complete article