Azure.Deployments.Extensibility.Core 0.1.147

Prefix Reserved
dotnet add package Azure.Deployments.Extensibility.Core --version 0.1.147
                    
NuGet\Install-Package Azure.Deployments.Extensibility.Core -Version 0.1.147
                    
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="Azure.Deployments.Extensibility.Core" Version="0.1.147" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Azure.Deployments.Extensibility.Core" Version="0.1.147" />
                    
Directory.Packages.props
<PackageReference Include="Azure.Deployments.Extensibility.Core" />
                    
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 Azure.Deployments.Extensibility.Core --version 0.1.147
                    
#r "nuget: Azure.Deployments.Extensibility.Core, 0.1.147"
                    
#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 Azure.Deployments.Extensibility.Core@0.1.147
                    
#: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=Azure.Deployments.Extensibility.Core&version=0.1.147
                    
Install as a Cake Addin
#tool nuget:?package=Azure.Deployments.Extensibility.Core&version=0.1.147
                    
Install as a Cake Tool

Azure.Deployments.Extensibility.Core

Core models, contracts, and validation utilities for building Bicep extensions.

A Bicep extension is an API abstraction that enables users to deploy Azure data-plane or non-Azure resources through Bicep files or ARM templates.

What's in this package

Namespace Description
Azure.Deployments.Extensibility.Core.V2.Contracts.Models Request/response models defined by the Bicep Extension API Contract v2: Resource, ResourceSpecification, ResourceReference, ResourcePreview, LongRunningOperation, ErrorResponse, and related types.
Azure.Deployments.Extensibility.Core.V2.Contracts.Handlers Handler interfaces for each operation: IResourcePreviewHandler, IResourceCreateOrUpdateHandler, IResourceGetHandler, IResourceDeleteHandler, ILongRunningOperationGetHandler.
Azure.Deployments.Extensibility.Core.V2.Contracts The OneOf<T0, T1> and OneOf<T0, T1, T2> discriminated union types used as handler return types.
Azure.Deployments.Extensibility.Core.V2.Contracts.Exceptions ErrorResponseException for propagating structured errors through the handler pipeline.
Azure.Deployments.Extensibility.Core.V2.Validation A fluent model validation framework: ModelValidator<T>, IPropertyRuleBuilder, and built-in criteria (NotNull, MatchesRegex, MatchesJsonSchema, Satisfies).
Azure.Deployments.Extensibility.Core.V2.Json JSON utilities: JsonDefaults (serializer options), JsonPointerProxy, and JsonNodeExtensions for navigating JSON trees with JSON Pointers.

Usage

This package provides the shared types. To build a complete extension with HTTP hosting, routing, and the handler pipeline, use Azure.Deployments.Extensibility.AspNetCore on top of this package.

Defining a model validator

using Azure.Deployments.Extensibility.Core.V2.Validation;

public class EmployeeValidator : ModelValidator<ResourceSpecification>
{
    public EmployeeValidator()
    {
        Ensure(x => x.Type).NotNull();
        Ensure(x => x.Properties).NotNull().MatchesJsonSchema(employeeSchema);
    }
}

Throwing structured errors

using Azure.Deployments.Extensibility.Core.V2.Contracts.Exceptions;

throw new ErrorResponseException("InvalidProperty", "The 'name' property is required.", "/properties/name");

Documentation

License

This project is licensed under the MIT License.

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 was computed.  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 was computed.  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 (2)

Showing the top 2 NuGet packages that depend on Azure.Deployments.Extensibility.Core:

Package Downloads
Azure.Deployments.Extensibility.Providers.Kubernetes

Package Description

Azure.Deployments.Extensibility.AspNetCore

ASP.NET Core hosting framework for building Bicep extensions. Provides fluent handler registration, middleware pipeline, request routing, and behavior (decorator) chains.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.147 163 4/17/2026
0.1.135 420 3/23/2026
0.1.115 481 12/22/2025
0.1.113 249 12/12/2025
0.1.102 361 10/23/2025
0.1.67 123,526 1/31/2025
0.1.55 149,702 6/24/2024
0.1.49 364 5/3/2024
0.1.45 421 4/2/2024
0.1.43 323 3/25/2024
0.1.38 1,202 12/2/2023
0.1.29 676 4/10/2023
0.1.28 763 2/6/2023
0.1.20 917 11/16/2022
0.1.19 928 10/18/2022
0.1.6 1,017 6/29/2022
0.1.5 1,017 6/27/2022