Goa.Core
0.7.8-preview
dotnet add package Goa.Core --version 0.7.8-preview
NuGet\Install-Package Goa.Core -Version 0.7.8-preview
<PackageReference Include="Goa.Core" Version="0.7.8-preview" />
<PackageVersion Include="Goa.Core" Version="0.7.8-preview" />
<PackageReference Include="Goa.Core" />
paket add Goa.Core --version 0.7.8-preview
#r "nuget: Goa.Core, 0.7.8-preview"
#:package Goa.Core@0.7.8-preview
#addin nuget:?package=Goa.Core&version=0.7.8-preview&prerelease
#tool nuget:?package=Goa.Core&version=0.7.8-preview&prerelease
Goa.Core
Core utilities and shared functionality for the Goa framework. This package provides foundational components that are shared across all Goa libraries.
Installation
dotnet add package Goa.Core
Features
- Native AOT support for faster Lambda cold starts
- Core utilities and helper methods
- Shared abstractions and interfaces
- Lightweight dependency injection extensions
- Common error handling patterns
- Minimal dependencies for optimal performance
Overview
Goa.Core provides the foundational building blocks for the entire Goa framework, including:
- Core abstractions used by AWS service clients
- Shared utility methods and extensions
- Common interfaces for dependency injection
- Base error handling and result patterns
- Performance-optimized implementations
Usage
This package is typically used as a dependency by other Goa packages rather than directly in application code. However, it provides useful utilities that can be leveraged:
using Goa.Core;
using Microsoft.Extensions.DependencyInjection;
// Register core services
services.AddGoaCore();
// Use core utilities
var result = GoaUtilities.ValidateAwsArn(arnString);
Dependency Injection Extensions
using Goa.Core.Extensions;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
// Add core logging and configuration
services.AddGoaLogging();
services.AddGoaConfiguration();
Error Handling Patterns
using Goa.Core.Results;
public async Task<Result<User>> GetUserAsync(string id)
{
if (string.IsNullOrEmpty(id))
{
return Result.Failure<User>("User ID is required");
}
try
{
var user = await _repository.GetAsync(id);
return Result.Success(user);
}
catch (Exception ex)
{
return Result.Failure<User>($"Failed to get user: {ex.Message}");
}
}
Documentation
For more information and examples, visit the main Goa documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.2)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Goa.Core:
| Package | Downloads |
|---|---|
|
Goa.Functions.Core
Core runtime and bootstrapping functionality for high-performance AWS Lambda functions |
|
|
Goa.Clients.Core
Base functionality and abstractions for all Goa AWS service clients |
|
|
Goa.Functions.Kinesis
Kinesis stream processing for high-performance AWS Lambda functions |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.7.8-preview | 96 | 3/3/2026 |
| 0.7.7-preview | 67 | 3/3/2026 |
| 0.7.6-preview | 71 | 3/3/2026 |
| 0.7.5-preview | 69 | 3/2/2026 |
| 0.7.4-preview | 75 | 3/1/2026 |
| 0.7.3-preview | 74 | 2/28/2026 |
| 0.7.2-preview | 101 | 2/23/2026 |
| 0.7.1-preview | 213 | 1/26/2026 |
| 0.7.0-preview | 85 | 1/26/2026 |
| 0.2.1-preview | 134 | 1/20/2026 |
| 0.2.0-preview | 152 | 1/14/2026 |
| 0.1.9-preview | 157 | 1/1/2026 |
| 0.1.8-preview | 385 | 12/15/2025 |
| 0.1.7-preview | 227 | 12/15/2025 |
| 0.1.6-preview | 239 | 12/15/2025 |
| 0.1.5-preview | 262 | 12/15/2025 |
| 0.1.4-preview | 254 | 12/15/2025 |
| 0.1.3-preview | 104 | 12/12/2025 |
| 0.1.2-preview | 424 | 12/11/2025 |
| 0.1.1-preview | 409 | 12/11/2025 |