DeduceIngest 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package DeduceIngest --version 1.0.0                
NuGet\Install-Package DeduceIngest -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="DeduceIngest" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DeduceIngest --version 1.0.0                
#r "nuget: DeduceIngest, 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 DeduceIngest as a Cake Addin
#addin nuget:?package=DeduceIngest&version=1.0.0

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

Deduce Ingest

Deduce's data ingestion

Installation

use NuGet to search for DeduceIngest or install using NuGet commandline:

nuget install DeduceIngest

source for the library can be found on github

https://github.com/deduce-com/dotnet-deduce-ingest/

Usage

Configuration

Deduce Ingest requires a Site ID and apikey, provided by Deduce. If you have not been given one, please contact Deduce for more information.

.NET
  using System.Json;
  using Deduce;

  Ingest dd = new Ingest("site id", "api key", true /* use for testmode */);

Sending Data to Deduce

Within your view, include the Javascript collection code. Generate it using "html":

  String html = dd.html("user@example.com");

You may include options if you need to override any of the configuration options.

  String html = dd.Html("user@example.com", use_ssl: true);

Sending Events to Deduce

Within your controller, use "Event" to notify Deduce of events.

  JsonObject addtl = new JsonObject();
  addtl.Add("name", User.name);
  addtl.Add("phone", User.phone);

  string err = dd.Event("a@a.com", "12.12.12.1", "login", additional: addtl, testmode: true);

  if (err.Length > 0) {
    Console.WriteLine("error: {0}", err);
  } else {
    Console.WriteLine("success");
  }

Best Practices

  • Only pass information that you have already verified to be valid.

  • Work closely with your Deduce support representative.

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 netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.1.0 885 2/17/2020
1.0.0 644 11/20/2019