Evolution.Daxtra
1.0.0
dotnet add package Evolution.Daxtra --version 1.0.0
NuGet\Install-Package Evolution.Daxtra -Version 1.0.0
<PackageReference Include="Evolution.Daxtra" Version="1.0.0" />
paket add Evolution.Daxtra --version 1.0.0
#r "nuget: Evolution.Daxtra, 1.0.0"
// 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 | Versions 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. |
-
.NETCoreApp 2.0
- Microsoft.Extensions.DependencyInjection (>= 2.0.0)
- Microsoft.Extensions.Logging (>= 2.0.1)
- Newtonsoft.Json (>= 11.0.2)
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,780 | 3/27/2018 |