Evolution.Daxtra 1.0.0

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

// Install Evolution.Daxtra as a Cake Tool
#tool nuget:?package=Evolution.Daxtra&version=1.0.0                

DaxtraService

.NET Core service to send CVs to Datxra's service.

See Daxtra's API documentation here.

Daxtra provide a reference .NET implementation, but this is compatible with .NET Core's dependency injection model.

This also serialises the result to .NET structured objects, see Model.

Startup Injection

To add this service:

string url = $"https://{yourService}.daxtra.com";
string api = "/cvx/rest/api/v1"; // Or whatever version you want to use
string key = "your secret password";

services.AddDaxtraParser(url, api, key);

Using the CV Parsing Service

Then this service is available as IDaxtraParser, for instance as a Web API action:

[HttpPost("parseCV")]
public async Task<IEnumerable<Resume>> ParseCV(
    [FromServices] IDaxtraParser parser,     // Get the parser from the injected services 
    [FromForm] IEnumerable<IFormFile> files) // CV files posted from an HTML form
{
    var result = new List<Resume>();
    foreach (var f in files)
    {
        if (f.Length == 0)
             continue;

        using (var s = new MemoryStream())
        {
            await f.CopyToAsync(s);
            var parsed = await parser.Parse(s.ToArray());
            result.Add(parsed);
        }
    }

    return result;
}

Exceptions

Any errors are thrown as DaxtraException, and this contains the body of the CSERROR from the Daxtra service and the HTTP Status.

Request Details

Requests to the Daxtra service are sent as multipart/form-data and GZIP compression, as per best practice recommendation. Content are send and parsed as JSON.

Roadmap

Currently only the profile service to parse CVs is supported. We plan to introduce batch parsing next.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 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 3,686 3/27/2018