CasCap.Api.Azure.EventGrid 2.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package CasCap.Api.Azure.EventGrid --version 2.0.0
                    
NuGet\Install-Package CasCap.Api.Azure.EventGrid -Version 2.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="CasCap.Api.Azure.EventGrid" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CasCap.Api.Azure.EventGrid" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CasCap.Api.Azure.EventGrid" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CasCap.Api.Azure.EventGrid --version 2.0.0
                    
#r "nuget: CasCap.Api.Azure.EventGrid, 2.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.
#:package CasCap.Api.Azure.EventGrid@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CasCap.Api.Azure.EventGrid&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CasCap.Api.Azure.EventGrid&version=2.0.0
                    
Install as a Cake Tool

CasCap.Api.Azure.EventGrid

Azure Event Grid dependencies and Blob Storage notification parsing for .NET consumers targeting net8.0, net9.0 and net10.0.

Installation

dotnet add package CasCap.Api.Azure.EventGrid

The package supplies Azure.Messaging.EventGrid, the parsing API and shared logging/extension dependencies. There is no publisher, subscriber, configuration or registration API. For delivery clients, use the Azure SDK and follow its Event Grid client guidance.

Parse Blob Notifications

BlobStorageEventReader reads a single Event Grid-schema notification, including a singleton array, into BlobStorageEvent.

using CasCap.Services;

// body is the received BinaryData envelope; no queue acknowledgement occurs here.
var notification = BlobStorageEventReader.Read(body);

Only Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted are supported. The parser requires bounded event identity/topic/subject fields, a credential-free HTTPS blob URI and a hexadecimal sequencer of at most 128 characters. It normalizes sequencers to uppercase, left-padded to 128 characters for per-blob ordinal ordering; do not compare different blobs. Malformed/empty or unsupported input throws rather than returning a success-shaped notification. An optional ETag is bounded to 200 characters.

Parsing does not authorize a source, download or validate PDF contents, elect a worker, commit a job or acknowledge delivery. Consumers must allowlist topic/container/subject and bind trusted application scope themselves. Keep source bodies and parser exceptions out of exported telemetry: SDK errors can contain input. No live Azure access is needed to parse an envelope.

Documentation

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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
2.1.0 151 11/14/2026
2.0.0 179 11/5/2026
1.8.0 114 11/1/2026
1.7.1 123 10/24/2026
1.7.0 113 10/21/2026
1.6.4 119 10/4/2026
1.6.3 113 9/25/2026
1.6.2 120 9/23/2026
1.6.1 132 9/21/2026
1.6.0 121 9/19/2026
1.5.5 129 9/11/2026
1.5.4 132 9/1/2026
1.5.3 138 8/18/2026
1.5.2 154 7/15/2026
1.5.1 161 6/26/2026
1.5.0 151 6/12/2026
1.4.13 148 6/10/2026
1.4.12 157 5/27/2026
1.4.11 142 5/26/2026
1.4.10 134 5/21/2026
Loading failed