Hexalith.NetAspire.Defaults
1.1.0
dotnet add package Hexalith.NetAspire.Defaults --version 1.1.0
NuGet\Install-Package Hexalith.NetAspire.Defaults -Version 1.1.0
<PackageReference Include="Hexalith.NetAspire.Defaults" Version="1.1.0" />
<PackageVersion Include="Hexalith.NetAspire.Defaults" Version="1.1.0" />
<PackageReference Include="Hexalith.NetAspire.Defaults" />
paket add Hexalith.NetAspire.Defaults --version 1.1.0
#r "nuget: Hexalith.NetAspire.Defaults, 1.1.0"
#addin nuget:?package=Hexalith.NetAspire.Defaults&version=1.1.0
#tool nuget:?package=Hexalith.NetAspire.Defaults&version=1.1.0
Hexalith.NetAspire
Build Status
Overview
This repository provides libraries and a host project for integrating Hexalith applications with .NET Aspire. It facilitates the orchestration of various Hexalith services and components within the Aspire ecosystem.
Key components include:
- Hexalith.NetAspire Libraries: Core libraries (
Hexalith.NetAspire
,Hexalith.NetAspire.Abstractions
,Hexalith.NetAspire.Defaults
) for integrating Hexalith services with Aspire. - AspireHost: The .NET Aspire application host project (
AspireHost/AspireHost.csproj
) responsible for orchestrating the application's services. - HexalithApp Submodule: Contains the core Hexalith application modules.
- Hexalith.Builds Submodule: Provides shared build configurations and tooling.
Repository Structure
The repository is organized as follows:
- src Is the source code directory of your project.
- src/libraries Is the source code directory where you will add your Nuget package projects.
- src/examples Contains example implementations of your projects.
- src/servers Is the source code directory where you will add your Docker container projects.
- AspireHost Contains the .NET Aspire host project.
- test Contains test projects for your packages.
- Hexalith.Builds (Submodule) Contains shared build configurations and tools.
- HexalithApp (Submodule) Contains the core Hexalith application modules.
Getting Started
Prerequisites
- Hexalith.Builds
- .NET 8 SDK or later
- PowerShell 7 or later
- Git
Initializing the Package
To initialize the repository environment, including setting up necessary configurations or dependencies, run the initialization script:
./initialize.ps1
Git Submodules
This repository utilizes Git submodules to include external dependencies:
- Hexalith.Builds: Contains common build scripts, configurations, and tools used across Hexalith projects.
- HexalithApp: Includes the core application logic and modules for the Hexalith platform.
To initialize and fetch the content of these submodules, run the following Git command after cloning the repository:
git submodule update --init --recursive
The initialize.ps1
script might also handle submodule initialization.
Development
To build the entire solution, navigate to the root directory and run:
dotnet build Hexalith.NetAspire.sln
To run the application using the .NET Aspire host:
dotnet run --project AspireHost/AspireHost.csproj
This will start the Aspire dashboard and orchestrate the services defined in the host project.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net9.0
- Azure.Monitor.OpenTelemetry.AspNetCore (>= 1.2.0)
- Grpc.HealthCheck (>= 2.70.0)
- Grpc.Net.ClientFactory (>= 2.70.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 9.0.4)
- Microsoft.AspNetCore.OpenApi (>= 9.0.4)
- Microsoft.Extensions.Http.Resilience (>= 9.4.0)
- Microsoft.Extensions.ServiceDiscovery (>= 9.2.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.11.2)
- OpenTelemetry.Extensions.Hosting (>= 1.11.2)
- OpenTelemetry.Instrumentation.AspNetCore (>= 1.11.1)
- OpenTelemetry.Instrumentation.GrpcNetClient (>= 1.8.0-beta.1)
- OpenTelemetry.Instrumentation.Http (>= 1.11.1)
- OpenTelemetry.Instrumentation.Runtime (>= 1.11.1)
- Swashbuckle.AspNetCore (>= 8.1.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Hexalith.NetAspire.Defaults:
Package | Downloads |
---|---|
Hexalith.Infrastructure.WebApis
Hexalith is a set of libraries to build a micro-service architecture. |
|
Hexalith.Infrastructure.ClientAppOnServer
Hexalith is a set of libraries to build a micro-service architecture. |
GitHub repositories
This package is not used by any popular GitHub repositories.