-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example is not working as expected #666
Labels
Comments
Thanks, Stef, I wonder, Maybe because I'm running it on mac OS? Could have any environment configuration difference? |
What happens if you run dotnet run command? Like: dotnet run --framework netcoreapp3.1 -- --Urls http://localhost:12345 Result at my windows pc: PS C:\Dev\GitHub\WireMock.Net\examples\WireMock.Net.StandAlone.NETCoreApp> dotnet run --framework netcoreapp3.1 -- --Urls http://localhost:12345
2021-10-26 18:17:01,031 [1] DEBUG Program - WireMock.Net server arguments ['--Urls', 'http://localhost:12345']
2021-10-26 18:17:01,106 [1] INFO Program - By Stef Heyenrath (https://github.com/WireMock-Net/WireMock.Net)
2021-10-26 18:17:01,347 [1] DEBUG Program - Server settings {
"Port": null,
"UseSSL": null,
"StartAdminInterface": true,
"ReadStaticMappings": false,
"WatchStaticMappings": false,
"WatchStaticMappingsInSubdirectories": false,
"ProxyAndRecordSettings": null,
"Urls": [
"http://localhost:12345"
],
"StartTimeout": 10000,
"AllowPartialMapping": false,
"AdminUsername": null,
"AdminPassword": null,
"AdminAzureADTenant": null,
"AdminAzureADAudience": null,
"RequestLogExpirationDuration": null,
"MaxRequestLogCount": null,
"AllowCSharpCodeMatcher": false,
"AllowBodyForAllHttpMethods": false,
"AllowOnlyDefinedHttpStatusCodeInResponse": false,
"DisableJsonBodyParsing": false,
"DisableRequestBodyDecompressing": null,
"HandleRequestsSynchronously": false,
"ThrowExceptionWhenMatcherFails": false,
"CertificateSettings": null,
"CustomCertificateDefined": false,
"WebhookSettings": null
}
2021-10-26 18:17:01,474 [1] INFO Program - Server using .NET Core 3.1
26-10-2021 16:17:01 Press Ctrl+C to shut down
26-10-2021 16:17:01 WireMock.Net server running : True |
This is happening when I use the Run button through Visual Studio 2019 for mac OS, I'm just trying to execute this one using a Windows machine. |
Closing... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Stef,
Thanks for all your help.
I want to report to you, that this example that you provide me some days ago is not working, is not taking the launchsettings.json parameters, is taking default parameters.
https://github.com/WireMock-Net/WireMock.Net/tree/dc078b57ea463e2c9c7da7f6579af34000596446/examples/WireMock.Net.StandAlone.NETCoreApp
Could you please to take a look at this?
The text was updated successfully, but these errors were encountered: