mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-23 16:58:27 +02:00
Updated WireMock as a standalone process (markdown)
@@ -15,21 +15,8 @@ class Program
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
**The following commandline arguments can be defined:**
|
|
||||||
|
|
||||||
| Argument Name| Value Type | Default | Description |
|
See [[WireMock commandlineparameters]] for all supported commandline arguments.
|
||||||
| - | - | - | - |
|
|
||||||
| `--Port` | integer | | [wiki-port](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#port)
|
|
||||||
| `--Urls` | string| | [wiki-urls](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#urls)
|
|
||||||
| `--StartAdminInterface` | boolean | true | Defines whether to start admin interface. |
|
|
||||||
| `--AllowPartialMapping` | boolean | false | [wiki-allowpartialmapping](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#allowpartialmapping) |
|
|
||||||
| `--ReadStaticMappings` | boolean | false | Defines if the static mappings should be read at startup. |
|
|
||||||
| `--AdminUsername` | string | | [wiki-adminusername](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#adminusername) |
|
|
||||||
| `--AdminPassword` | string | | [wiki-adminpassword](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#adminpassword) |
|
|
||||||
| `--MaxRequestLogCount` | integer | | [wiki-maxrequestlogcount](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#maxrequestlogcount)
|
|
||||||
| `--RequestLogExpirationDuration` | integer | | [wiki-requestlogexpirationduration](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#requestlogexpirationduration) |
|
|
||||||
| `--WireMockLogger` | string | [WireMockNullLogger](https://github.com/WireMock-Net/WireMock.Net/blob/master/src/WireMock.Net/Logging/WireMockNullLogger.cs) | You can also define the value `WireMockConsoleLogger`. In that case the [WireMockConsoleLogger](https://github.com/WireMock-Net/WireMock.Net/blob/master/src/WireMock.Net/Logging/WireMockConsoleLogger.cs) is used. |
|
|
||||||
| `--ProxyURL` | string | | [wiki-proxyandrecordsettings](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#proxyandrecordsettings) |
|
|
||||||
|
|
||||||
### Option 2 : using the WireMock.Net.StandAlone library using the settings object
|
### Option 2 : using the WireMock.Net.StandAlone library using the settings object
|
||||||
```c#
|
```c#
|
||||||
|
|||||||
Reference in New Issue
Block a user