XPing365.Availability 1.0.0-rc8

This is a prerelease version of XPing365.Availability.
dotnet add package XPing365.Availability --version 1.0.0-rc8
NuGet\Install-Package XPing365.Availability -Version 1.0.0-rc8
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="XPing365.Availability" Version="1.0.0-rc8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XPing365.Availability --version 1.0.0-rc8
#r "nuget: XPing365.Availability, 1.0.0-rc8"
#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.
// Install XPing365.Availability as a Cake Addin
#addin nuget:?package=XPing365.Availability&version=1.0.0-rc8&prerelease

// Install XPing365.Availability as a Cake Tool
#tool nuget:?package=XPing365.Availability&version=1.0.0-rc8&prerelease

About The Project

XPing365 SDK provides a set of tools to make it easy to write automated tests for Web Application and Web API, as well as troubleshoot issues that may arise during testing. The library provides a number of features to verify that the Web Application is functioning correctly, such as checking that the correct data is displayed on a page or that the correct error messages are displayed when an error occurs.

The library is called XPing365, which stands for eXternal Pings, and is used to verify the availability of a server and monitor its content.

You can find more information about the library, including documentation and examples, on the official website xping365.com.

Getting Started

The library is distributed as a NuGet packages, which can be installed using the .NET CLI command dotnet add package. Here are the steps to get started:

Installation using .NET CLI

  1. Open a command prompt or terminal window.

  2. Navigate to the directory where your project is located.

  3. Run the following command to install the XPing365 NuGet package:

    dotnet add package XPing365.Availability
    
  4. Once the package is installed, you can start using the XPing365 library in your project.

using XPing365.Availability.DependencyInjection;

Host.CreateDefaultBuilder()
    .ConfigureServices(services =>
    {
        services.AddHttpClients();
        services.AddTestAgent(
            name: "TestAgent", builder: (TestAgent agent) =>
            {
                agent.Container = new Pipeline(
                    name: "Availability pipeline",
                    components: [
                        new DnsLookup(),
                        new IPAddressAccessibilityCheck(),
                        new HttpRequestSender()
                    ]);
                return agent;
            });
    });
using XPing365.Availability

var testAgent = _serviceProvider.GetRequiredKeyedService<TestAgent>(serviceKey: "TestAgent");

TestSession session = await testAgent
    .RunAsync(
        new Uri("www.demoblaze.com"),
        TestSettings.DefaultForHttpClient)
    .ConfigureAwait(false);

That’s it! You’re now ready to start automating your web application tests and monitoring your server’s content using XPing365.

License

Distributed under the MIT License. See LICENSE file for more information.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-rc8 55 3/7/2024
1.0.0-rc7 54 2/21/2024
1.0.0-rc6 55 1/28/2024
1.0.0-rc5 46 1/20/2024
1.0.0-rc4 47 1/20/2024