Join Slack
Powered by
hi all, my .NET service has a WebApplicationBuilde...
# pact-net
s
Sonali Sharma
07/12/2023, 4:05 AM
hi all, my .NET service has a WebApplicationBuilder instance and services are added in a method call in Program.cs "builder.AddServices(). Here is where we do builder.Services.AddOptions, Configure, AddServices etc. Should my Provider test still use the Startup.cs and TestStartup.cs ? And I add the services as shown. Also do I use any port for serverUri?
https://github.com/pact-foundation/pact-net/blob/9a4aea964ed6d176adcc566bc138badff8aa47eb/samples/OrdersApi/Provider.Tests/ProviderTests.cs
2
Views
Open in Slack
Previous
Next