My Definition of Done for performance and loadtest cases

Load and performance testcases are frequently used for multiple objectives: Determining where a system’s breaking point is Determining if a system is able to meet a required load Here are the criteria I use to make sure my load/performance testcases are good enough to use and maintain for all the objectives. I’ve been using this […]

Read more
How to generate self signed certificates

Sometimes you need a self-signed certificate for the purpose of testing websites or digitally signing files such as PDFs. Your PDF software will probably ask you for a .pfx file. You can generate these on Windows, Mac or linux On Windows On windows, with Visual Studio, you can use the makecert utility: Linux and Mac […]

Read more
Entity Framework Code First migrations and the [StringLength] annotation

Recently I needed to change my model so that a field would be checked for uniqueness. I eagerly added the [StringLength(3)] and [Index(IsUnique = true)] annotations to the model and ran Add-Migration and Update-Database. Close, but no cigar unfortunately. Update-Database kept throwing the following error: System.Data.SqlClient.SqlException (0x80131904): Column ‘IsoCode’ in table ‘dbo.CurrencyModels’ is of a […]

Read more