MTConnect.NET-AgentModule-HttpServer
7.2.0.105-prerelease
See the version list below for details.
dotnet add package MTConnect.NET-AgentModule-HttpServer --version 7.2.0.105-prerelease
NuGet\Install-Package MTConnect.NET-AgentModule-HttpServer -Version 7.2.0.105-prerelease
<PackageReference Include="MTConnect.NET-AgentModule-HttpServer" Version="7.2.0.105-prerelease" />
<PackageVersion Include="MTConnect.NET-AgentModule-HttpServer" Version="7.2.0.105-prerelease" />
<PackageReference Include="MTConnect.NET-AgentModule-HttpServer" />
paket add MTConnect.NET-AgentModule-HttpServer --version 7.2.0.105-prerelease
#r "nuget: MTConnect.NET-AgentModule-HttpServer, 7.2.0.105-prerelease"
#:package MTConnect.NET-AgentModule-HttpServer@7.2.0.105-prerelease
#addin nuget:?package=MTConnect.NET-AgentModule-HttpServer&version=7.2.0.105-prerelease&prerelease
#tool nuget:?package=MTConnect.NET-AgentModule-HttpServer&version=7.2.0.105-prerelease&prerelease

MTConnect HTTP Server Agent Module
This Agent Module implements a MTConnect REST Protocol Http server
Configuration
modules:
- http-server:
server: localhost
port: 5000
allowPut: true
indentOutput: true
documentFormat: xml
accept:
text/xml: xml
application/json: json-cppagent
responseCompression:
- gzip
- br
files:
- path: schemas
location: schemas
- path: styles
location: styles
- path: styles/favicon.ico
location: favicon.ico
server- The server IP Address or Hostname to bind to. If not set, the server listens on all network interfaces.port- The port number the agent binds to for requests. Default is5000.documentFormat- Sets the Document Format ID (ex. XML, JSON, JSON-cppagent) to use for the response document when it is not set by the request. Default isXML.accept- Maps HTTP Accept Headers to the corresponding Document Format ID. By defaulttext/xmlandapplication/xmlare mapped toXMLandapplication/jsonis mapped toJSON.responseCompression- Sets the List of Encodings (ex. gzip, br, deflate) that can be used to compress a response when requested by the client in the Accept-Encoding HTTP Header. If not set, responses are not compressed.defaultVersion- Sets the MTConnect Version to use for the response document when it is not set by the request. This can be used to output documents using an older version for legacy clients. If not set, the MTConnect Version of the Agent is used.allowPut- Allow HTTP PUT or POST of data item values or assets. Default isfalse.allowPutFrom- Allow HTTP PUT or POST from a specific IP Address or list of IP Addresses (compared to the IP Address of the client). If not set, any client is allowed whenallowPutis enabled.indentOutput- Sets the indentation of the response document. True = Indent. False = Do not Indent. Default istrue.outputComments- Sets the default response document comments output. Comments contain descriptions from the MTConnect standard. Default isfalse.outputValidationLevel- Sets the default response document validation level. 0 = Ignore, 1 = Warning, 2 = Strict. Default is0(Ignore).files- Sets the configuration for Static Files that can be served from the Http Server.path- The location of the files on the server (where the Agent is running)location- The path to match in the requested URL
devicesStyle,streamsStyle,assetsStyle,errorStyle- Sets the XSL Stylesheet to reference in the corresponding XML response documents (MTConnectDevices, MTConnectStreams, MTConnectAssets, MTConnectError).location- The URL of the Stylesheet that is written to the response document
streamsNamespaces- Sets a list of additional XML Namespaces to add to MTConnectStreams XML response documents.alias- The Namespace prefixurn- The Namespace URN
tls- Sets the TLS settingspfx- The PFX certificate settingscertificatePath- The path to the (.pfx) filecertificatePassword- The certificate password
pem- The PEM certificate settingscertificatePath- The path to the (.pem) fileprivateKeyPath- The path to the file containing the private keyprivateKeyPassword- The private key password
Example 1
Use default configuration
modules:
- http-server:
Example 2
Specify the port
modules:
- http-server:
port: 5001
Example 3
Specify the port and server to an IP Address
modules:
- http-server:
server: 192.168.1.145
port: 5001
Example 4
Specify the port and server to a Hostname
modules:
- http-server:
server: DESKTOP-HV74M4N
port: 5001
Example 5
Specify the port and server with TLS (PFX Certificate)
modules:
- http-server:
server: DESKTOP-HV74M4N
port: 5001
tls:
pfx:
certificatePath: c:\certs\mtconnect-testing.pfx
certificatePassword: mtconnect
Example 6
Specify the port and server with TLS (PEM Certificate)
modules:
- http-server:
server: DESKTOP-HV74M4N
port: 5001
tls:
pem:
certificatePath: c:\certs\mtconnect-testing.crt
privateKeyPath: c:\certs\mtconnect-testing.key
privateKeyPassword: mtconnect
Example 7
Specify with custom Accept headers
modules:
- http-server:
accept:
text/xml: xml
application/json: json-cppagent
Contribution / Feedback
- Please use the Issues tab to create issues for specific problems that you may encounter
- Please feel free to use the Pull Requests tab for any suggested improvements to the source code
- For any other questions or feedback, please contact TrakHound directly at info@trakhound.com.
License
This application and its source code is licensed under the MIT License and is free to use.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
.NETFramework 4.6.2
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
.NETFramework 4.7
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
.NETFramework 4.7.1
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
.NETFramework 4.7.2
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
.NETFramework 4.8
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
.NETStandard 2.0
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
net10.0
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
net6.0
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
net7.0
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
net8.0
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
-
net9.0
- MTConnect.NET-HTTP (>= 7.2.0.105-prerelease)
- MTConnect.NET-SHDR (>= 7.2.0.105-prerelease)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MTConnect.NET-AgentModule-HttpServer:
| Package | Downloads |
|---|---|
|
MTConnect.NET-Applications-Agents
MTConnect.NET-Applications-Agents contains classes to fully implement an MTConnect Agent application. Supports MTConnect versions up to 2.7. Supports .NET Framework 4.6.1 up to .NET 10 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.2.0.105 | 0 | 11/21/2026 |
| 7.2.0.105-prerelease | 0 | 11/21/2026 |
| 7.2.0.103-prerelease | 49 | 11/20/2026 |
| 7.1.0.1-prerelease | 55 | 9/13/2026 |
| 7.0.0.2-prerelease | 245 | 6/26/2026 |
| 7.0.0.1-prerelease | 50 | 9/13/2026 |
| 6.9.0.2 | 713 | 10/16/2025 |
| 6.8.0 | 303 | 9/13/2025 |
| 6.7.0 | 413 | 6/22/2025 |
| 6.6.0 | 401 | 1/18/2025 |
| 6.5.1 | 354 | 12/3/2024 |
| 6.5.0 | 368 | 10/21/2024 |
| 6.4.7 | 300 | 8/21/2024 |
| 6.4.6 | 256 | 8/7/2024 |
| 6.4.5 | 225 | 8/2/2024 |
| 6.4.4 | 269 | 7/16/2024 |
| 6.4.3 | 328 | 6/14/2024 |
| 6.4.2 | 293 | 6/12/2024 |
| 6.4.1 | 253 | 5/17/2024 |
| 6.4.0 | 267 | 5/14/2024 |