Code Coverage on GitHub PRs with Coveralls.IO

With Coveralls.IO it’s possible to get code coverage on all pull requests submitted. For Kentor.AuthServices I’ve set up AppVeyor builds that uses Coveralls.Net to upload coverage numbers to Coveralls.IO. Why Coveralls.IO? When I set up the code coverage I already had AppVeyor builds running. I wanted something that worked together with AppVeyor. I tried out… Continue reading Code Coverage on GitHub PRs with Coveralls.IO

Pickup Mail Viewer

This is a guest post by Albin Sunnanbo introducing a great hack to work with mails in test environments. If you have a .NET application that sends emails, this is probably something for you. TL;DR; PickupMailViewer is a simple web viewer for emails saved by the specifiedPickupDirectory SMTP setting in a .NET application. Download the… Continue reading Pickup Mail Viewer

Built in .NET CSV Parser

In administrative systems, there is often a need to import and parse csv files. .NET actually has a built in CSV parser, although it is well hidden in a VB.NET namespace. If I had known about it I wouldn’t have had to write all those custom (sometimes buggy) parsers. To really test the parser, I’m… Continue reading Built in .NET CSV Parser

Published
Categorized as C# Tagged ,

Update-Database MSI Custom Action

In the Prevent EF Migrations from Creating or Changing the Database post I showed how to prevent the application from automatically creating or updating the database. Instead I want the installation program to do that. With a Web Setup Project for the installation an MSI Custom Action is needed. The actual work of updating the database is done… Continue reading Update-Database MSI Custom Action