I've found it, I'm not sure it's the best solution...
# pact-net
a
I've found it, I'm not sure it's the best solution, but in my TestStartup I added:
var startupAssembly = typeof(Startup).Assembly;
services
.AddControllers()
.AddApplicationPart(startupAssembly)
.AddControllersAsServices();
👍 1