Using Webpack & Vue.js with .NET Core in 2020

ASP.NET used to have a nice Webpack integration with the officially supported Microsoft.AspNetCore.SpaServices Nuget package. In August 2019 Microsoft announced that it would be deprecating this package and suggested a new integration mechanism with Microsoft.AspNetCore.SpaServices.Extensions.

Since I use this with Vue.js and the new integration mechanism doesn’t offer the same functionality, I’ll share how I managed to get up and running again in this post.

Lessons learned: upgrading visitor privacy with Matomo Analytics

Google Analytics is hard to beat: it’s super easy to implement, it’s the market standard for analytics, it provides valuable insights and on top of that, it’s free.

That being said, Google Analytics comes with a hidden cost. Google Analytics has become ubiquitous and with that, so has Google surveillance.

For a long time, it was hard to find a good alternative to Google Analytics. But now, Matomo Analytics (formerly Piwik) deserves your serious consideration if you value your visitor’s privacy (and your own).

Note: I’m not affiliated with- or paid by any of the companies discussed in this article (Matomo & Google).

To kill a dev server

When working with local development servers, a message like this might look familiar:

Error: listen EADDRINUSE: address already in use 127.0.0.1:8888
    at Server.setupListenHandle [as _listen2] (net.js:1300:14)
    at listenInCluster (net.js:1348:12)
    at doListen (net.js:1487:7)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)

This doesn’t really give us much information to work with. Since I couldn’t find a solution on the web within a few minutes, this is my contribution for anyone running into the same problem.

12346