twoday.Dynamicweb.PingEndpoint
0.9.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package twoday.Dynamicweb.PingEndpoint --version 0.9.0
NuGet\Install-Package twoday.Dynamicweb.PingEndpoint -Version 0.9.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="twoday.Dynamicweb.PingEndpoint" Version="0.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="twoday.Dynamicweb.PingEndpoint" Version="0.9.0" />
<PackageReference Include="twoday.Dynamicweb.PingEndpoint" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add twoday.Dynamicweb.PingEndpoint --version 0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: twoday.Dynamicweb.PingEndpoint, 0.9.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package twoday.Dynamicweb.PingEndpoint@0.9.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=twoday.Dynamicweb.PingEndpoint&version=0.9.0
#tool nuget:?package=twoday.Dynamicweb.PingEndpoint&version=0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
twoday.Dynamicweb.PingEndpoint
Ping/status-endpoint til Dynamicweb 9 (DW9) sites.
Opsaetning paa nyt site
- Installer NuGet-pakken. Ingen Global.asax.cs-aendringer noedvendige (IHttpModule via PreApplicationStartMethod).
- Tilfoej til Web.config appSettings: PingService.ApiKey og PingService.ExtendedPingCooldown (sekunder, default 21600).
Eksempel paa hvordan det skal se ud i Web.config:
<configuration>
<appSettings>
<add key="PingService.ApiKey" value="saet-en-hemmelig-noegle-her"/>
<add key="PingService.ExtendedPingCooldown" value="21600"/>
</appSettings>
</configuration>
Kald endpoints
Header PingService-API-Key skal matche PingService.ApiKey.
GET /api/status/getstatus - health check. GET /api/status/getextendedstatus - udvidet status, 425 hvis cooldown ikke udloebet.
Reset cooldown lokalt
Slet PingTimeStamp.json i sitets rodmappe.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- Newtonsoft.Json (>= 13.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.