Pedro Roque

Pedro Roque

Software Architect

Posts

  • API Endpoints - a (better?) alternative to the traditional controller

    April 27, 2021
    .NET
    api
    rest
    It's no secret that I'm a big fan of .NET Core for API development. It's a framework that allows the development of powerful, high-performance applications and facilitates and encourages the use of good practices.
  • Configure VS Code to use _ as a prefix for private fields

    April 22, 2021
    vs-code
    .NET
    On my journey to migrate from Visual Studio to VS Code, one detail that frustrated me was the generation of private fields. My preference has always been to use _ as a prefix for private fields as a way to differentiate private fields from method parameters.
  • Running tests in .NET Core projects using VS Code

    April 21, 2021
    testing
    .NET
    In recent months, I've been making an effort to migrate my entire workflow to VS Code, instead of Visual Studio.
  • Integrating Azure Pipelines with SonarCloud

    September 4, 2020
    devops
    sonar
    azure
    pipelines
    Today's post is about the integration of SonarCloud with Azure Pipelines.
  • Breaking Changes in Autofac.Extras.Moq

    August 3, 2020
    c#
    .NET
    testing
    If, like me, you are a fan of Autofac and Moq, popular frameworks for dependency injection and mocking for .NET, respectively, you probably already know about Automoq.
  • React deployment pipeline

    February 18, 2020
    devops
    azure
    pipelines
    react
    Today, we will see how to create a publishing pipeline for a single-page app, in this case, a React.js application.
  • Deployment of a React application in a Node.js webApp, hosted on Azure

    February 14, 2020
    devops
    azure
    pipelines
    react
    Recently, I had to create a pipeline for publishing a React application on Azure. Normally, I would publish the application in blob storage, and problem solved. However, in this application, we use React routing, and we want to offer the possibility for users to arrive at a page with a link like https://site.com/product/xyz.
  • Publishing a NuGet package in Azure Artifacts, in a project-scoped feed

    February 13, 2020
    devops
    azure
    pipelines
    For a long time, it's been possible to create and share package feeds (NuGet and others) in Azure Artifacts.
  • Using Chocolatey to set up a development environment

    February 12, 2020
    dev
    chocolatey
    We've all been there: one fine day, you arrive at work and get the great news that you'll be getting a brand-new PC to work on! Top-tier SSD, latest generation I7, and enough memory to almost keep Chrome open for a day!
  • Welcome

    February 4, 2020
    jekyll
    After much procrastination, my blog finally sees the light of day!