ASP.NET Core and the “No service for type ‘Microsoft.AspNetCore.Identity.SignInManager`1[Microsoft.AspNetCore.Identity.IdentityUser]’ has been registered” error

If you are working on an ASP.NET Core application, you might encountered this error that happen when you launch your application: No service for type ‘Microsoft.AspNetCore.Identity.SignInManager`1[Microsoft.AspNetCore.Identity.IdentityUser]’ has been registered Here is a screenshot of the error: This error can be thrown by ASP.NET Core when you are using ASP.NET Identity with a custom IdentityUser class.… Continue reading

How to remove tick marks in Chart.JS

Theses days, I’m working on a big Angular application that contains a lot of graph highly customized thanks to Chart.JS. One of that chart is a bar chart displaying data according to hours on the X-axis: As you can see, we show labels only on some points so our customer asked us if there is… Continue reading

How to use FontAwesome in an HTML 5 Canvas

Today, I wanted to be able to use FontAwesome to display nice icons in a Chart.JS. As you might know, Chart.JS renders its output through a HTML 5 Canvas, which allow very good results but can be sometimes a bit more complex. To be able to use FontAwesome, in fact, it’s pretty easy because you… Continue reading

Using Azure Blob Storage to host static files

When it comes to host files, a lot of developers start to think about App Services of even on-premises servers. If this is a good way, it might be a bit “overkill” when you just have some static files that you want to share. So what can we do instead? Well, one possibility is to… Continue reading

[SQL Server] Check if a job has already been started or scheduled

I’m currently working on a big .NET Core application that is using SQL Server jobs to perform some background tasks. Today, I encountered an issue when I tried to start the job two times: SQLServerAgent Error: Request to run job XXX (from User YYYY) refused because the job already has a pending request from User… Continue reading

Create your own Google Home / Alexa with Cognitive Services Speech SDK and LUIS

Google Home or Alexa are very useful personal assistants that listen to your voice to execute the command you ask. Basically, it’s just composed by a microphone, speech/text recognition and some logic to understand the intents the user want to do. So, in fact, using Cognitive Services Speech SDK and LUIS (Language Understanding Service), we… Continue reading