Developers
C# / .NET / ASP.NET: quickstart
Install and first-use steps for sending events to Feralin with C# / .NET / ASP.NET. Code samples come from the SDK's own README and statuses from the capability record.
Install
Feralin.Sdk, Feralin.Sdk.AspNetCore 0.1.0 is published on NuGet; install it with your package manager using the command below.
dotnet pack src/Feralin.Sdk/Feralin.Sdk.csproj -c Release -o ./paketler
dotnet pack src/Feralin.Sdk.AspNetCore/Feralin.Sdk.AspNetCore.csproj -c Release -o ./paketler
dotnet add package Feralin.Sdk.AspNetCore --version 0.1.0 --source ./paketlerFirst use
builder.Services.AddFeralin(o =>
{
o.ProjectKey = builder.Configuration["Feralin:ProjectKey"]!; // pk_… anahtarı; kaynak koda yazmayın
o.CollectUrl = "https://collect.example.com";
});
app.MapPost("/orders", (OrderRequest order, FeralinClient feralin) =>
{
// İzin kararı son kullanıcınındır; uygulamadan olay başına geçirilir.
feralin.Track(
"order_completed",
new Dictionary<string, object?> { ["order_id"] = order.Id, ["fr_click"] = order.ClickId },
new TrackOptions { UserId = order.UserId, Consent = new Consent(order.Analytics, order.Advertising) });
return Results.Accepted();
});Code samples are taken as they are from sdks/dotnet/README.md; comments inside may be in Turkish. You create the project key in the dashboard.
Capabilities
| Capability | Status |
|---|---|
| Event sending | Supported |
| Batch sending | Partial |
| Consent handling | Supported |
| Identity | Supported |
| Attribution | Not applicable |
| Deep links | Not applicable |
| Revenue | Partial |
| Error capture | Partial |
| Session replay | Not applicable |
| Tracing | Planned |
Verification chain
| Link | Status |
|---|---|
| Source | Passed |
| Build | Passed |
| Test | Passed |
| Registry publication | Passed |
| Clean install | Passed |
| Event receipt | Passed |
| Documentation | Passed |
| Super Admin proof | Not started |
Passed means local evidence: source, build and tests ran. Registry publication and Super Admin proof are separate links; the SDK is not called ready until each has passed.