Posts

ASP.NET Core: Simple shared DTOs (and Clients) with React

0 Comments

With the recent release of ASP.NET Core 5, OpenAPI documents generation for describing our Web API is now included by default when we create a new Web API project.

ASP.NET Core: Simple shared generic errors with React

0 Comments

Given an ASP.NET Core React app, sometimes you might want to throw some errors from any API endpoint, and be able to handle them gracefully in your Front end. For generic well known errors (401, 403, 404, etc.), the API part is pretty simple and a generic Front end handler system such as axios interceptors should do the job quite well.

ASP.NET Core: Simple shared components with React

0 Comments

There are a lot of approaches to sharing components between React projects (StoryBook, Lerna, private npm registries, etc.), but what if you just created 2 new ASP.NET Core app using dotnet new react (let’s say Front Office app namedFront and Back Office app calledBack) and wanted a simple way to share React components between these 2 apps?

Building a PWA with Blazor WebAssembly

0 Comments

Last month I had the wonderful opportunity to speak at the BlazorDay online conference about Building a PWA with Blazor WebAssembly (Replay is available on Youtube)

Azure Boards practical example - Getting a realistic Sprint scope of work

0 Comments

After preparing the Sprint Backlog, as well as preparing the Sprint Capacity, let’s now see how we can define a realistic scope of work, according to our Team capacity (that is to say, let’s see now how we can get an initial Remaining Work coherent with the Team capacity for the Sprint)

Azure Boards practical example - Sprint Capacity

0 Comments

After preparing as best as we could our Sprint Planning to keep it short and efficient, let’s see now how we can get a realistic Team capacity for the Sprint.

Azure Boards practical example - Before the Sprint Planning

0 Comments

We want to do this project given this budget, and we want to do it in Scrum/Agile!

How to authenticate easily an SPA with Azure AD in an aspnetcore app

0 Comments

Few months ago, my dear colleague Jonathan gave us a presentation to the various way of connecting an SPA to an aspnetcore API using OpenId Connect, and he said something which kept stuck in my mind :

At the end of the day, Cookie authentication is probably the most secure way of protecting your API.

Azure Pipelines: How to add a build agent with docker-machine

0 Comments

Last year, I wrote a small series of blog post about getting an azure pipelines agent in minutes using Azure Container Instances (here, here and here), and I got a great question from Thierry which made me admit that my favorite build environment is still having a self-hosted agent on an Azure Virtual Machine.

Kubernetes: Get a new environment for each Pull Request using Review Apps

0 Comments

Hi everyone,

Kubernetes: Are containers useful for a (dotnetcore) developer?

0 Comments

tl;dr: Useful? Yes. Absolutely necessary? No. Used for a single application? Nothing extraordinary… Used by the company with operations in mind? Now we are talking :)

Blazor - Part 5: Show our Blazor webassembly app faster by using server prerendering

0 Comments

This article is part of a serie. You can jump to other articles here:

Blazor - Part 4: How to get a Blazor PWA using Workbox

0 Comments

This article is part of a serie. You can jump to other articles here:

Blazor - Part 3: Hosting of a Blazor webapp

0 Comments

This article is part of a serie. You can jump to other articles here:

Blazor - Part 2: How to create a simple static Blazor SPA

0 Comments

This article is part of a serie. You can jump to other articles here:

Blazor - Part 1: What is Blazor

0 Comments

This article is part of a serie. You can jump to other articles here:

Docker : ASP.NET Core container and HTTPS

0 Comments

ASP.NET Core container and HTTPS

Docker : .NET Core container automated tests from Azure Pipelines

0 Comments

Next step after building a container: running automated tests from it

After getting your Docker build automated in Azure Pipelines (by following the article Optimize ASP.NET Core SPA container with Visual Studio for instance :), you are now wondering how could you automatize the execution of your tests in this Pipeline ?

Docker: Optimize ASP.NET Core SPA container with Visual Studio

0 Comments

Visual doesn’t yet support out of the box Docker for react SPA applications

Azure Pipelines: How to add a build agent with Azure Container Instances - part 3 : Build agent on demand

0 Comments

To the “Build agent on demand”

In the previous articles, we have seen how to start an additional build agent using Azure Container Instances in minutes, and then how to use our own custom build agent.

Azure Pipelines: How to add a build agent with Azure Container Instances - part 2 : Custom Agent

0 Comments

Context

In the previous article, we have seen the easiest way to add a build agent to your Azure DevOps organization in 1 command line.

Azure Pipelines: How to add a build agent with Azure Container Instances

0 Comments

Context

Had enough waiting for a build agent to be available?
Have some Parallel jobs available and looking for a way to exploit them ponctually?

How to start or stop automatically an azure VM to optimize cost

0 Comments

Context

We use Virtual Machines very often on Azure, for development, testing, building, etc.
Though these kind of VM might not be used all the time, especially very late in the night or during the weekend. So one easy cost optimization could be to turn off these VM during those periods to save Azure Compute, and money :)

How to send a dynamic email from Sendgrid with dotnetcore

0 Comments

Context

Sending email for notifications or confirmations is pretty common in applications, and Sendgrid email service is definitely a leader on this domain.

Which Azure DevOps should I choose ? Services, Server 2019 or Hybrid ?

0 Comments

Terminology clarification

We are now in March 2019, the new Azure DevOps Server 2019 just got released. Now it is time to have a look to all the hosting possibilities we have regarding the Azure DevOps product.
But before that, a little clarification on all the names associated to this product.

Should I abstract DateTime dependencies to produce testable code ?

0 Comments

DateTime.Now, one of the automated test killer

If you have read a little bit about unit testing and stuff, you probably have heard few golden rules: new keyworld is bad, static and singleton are dangerous, and so on.
But there is another classical “test killer” in the nature: DateTime.Now!

How to add logging on azure with aspnetcore and serilog

0 Comments

Logging as a Service in Azure

Have you ever wished you could get a powerful logging service such as ELK (Elasticsearch, Logstash, Kibana), but as a service in Azure ?
Well, you can rejoice and see in this blog post how to use Azure Log Analytics, the logging as a service in Azure in an AspNetCore application in just 2 Nuget packages and 5 lines of code :)

How to keep your UI tests maintainable over time? Welcome to Page Object Pattern

0 Comments

Context

Creating an automated UI test for a web application using Selenium is really super simple. You can leverage Katalon Recorder extension if you are new to coding, or start directly coding by using the Selenium.Webdriver package. However at the end of the day, tests are described in lines of code, and like any code base which is growing, the problem of maintainability of the code base arise.

Do I still need traditional specifications when using User Stories? Practical usage in Azure Boards

0 Comments

The need of User Stories

When starting a new development project, expressing your needs, constraints and requirements are generally the first step. Moreover, this is probably one of the most important part of the project, as it will have huge impact of how you will organize not only your team but also your code.

subscribe via RSS