Hexalith.NetAspire.Hosting
1.2.0
dotnet add package Hexalith.NetAspire.Hosting --version 1.2.0
NuGet\Install-Package Hexalith.NetAspire.Hosting -Version 1.2.0
<PackageReference Include="Hexalith.NetAspire.Hosting" Version="1.2.0" />
<PackageVersion Include="Hexalith.NetAspire.Hosting" Version="1.2.0" />
<PackageReference Include="Hexalith.NetAspire.Hosting" />
paket add Hexalith.NetAspire.Hosting --version 1.2.0
#r "nuget: Hexalith.NetAspire.Hosting, 1.2.0"
#addin nuget:?package=Hexalith.NetAspire.Hosting&version=1.2.0
#tool nuget:?package=Hexalith.NetAspire.Hosting&version=1.2.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
- Aspire.Azure.Messaging.ServiceBus (>= 9.2.1)
- Aspire.Azure.Security.KeyVault (>= 9.2.1)
- Aspire.Azure.Storage.Blobs (>= 9.2.1)
- Aspire.Azure.Storage.Queues (>= 9.2.1)
- Aspire.Hosting (>= 9.2.1)
- Aspire.Hosting.AppHost (>= 9.2.1)
- Aspire.Hosting.Azure.CosmosDB (>= 9.2.1)
- Aspire.Hosting.Redis (>= 9.2.1)
- Aspire.Microsoft.Azure.Cosmos (>= 9.2.1)
- CommunityToolkit.Aspire.Hosting.Dapr (>= 9.4.0)
- Hexalith.Application (>= 1.61.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.4)
- Microsoft.Extensions.Hosting (>= 9.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.4)
- System.Text.Json (>= 9.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.