Goa.Core
0.0.3-preview.1
dotnet add package Goa.Core --version 0.0.3-preview.1
NuGet\Install-Package Goa.Core -Version 0.0.3-preview.1
<PackageReference Include="Goa.Core" Version="0.0.3-preview.1" />
<PackageVersion Include="Goa.Core" Version="0.0.3-preview.1" />
<PackageReference Include="Goa.Core" />
paket add Goa.Core --version 0.0.3-preview.1
#r "nuget: Goa.Core, 0.0.3-preview.1"
#:package Goa.Core@0.0.3-preview.1
#addin nuget:?package=Goa.Core&version=0.0.3-preview.1&prerelease
#tool nuget:?package=Goa.Core&version=0.0.3-preview.1&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 | 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. |
-
net10.0
-
net9.0
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.Functions.Kinesis
Kinesis stream processing for high-performance AWS Lambda functions |
|
Goa.Clients.Core
Base functionality and abstractions for all Goa AWS service clients |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.0.3-preview.1 | 47 | 8/23/2025 |
0.0.2-preview.2.3 | 111 | 8/18/2025 |
0.0.2-preview.2.2 | 136 | 8/17/2025 |
0.0.2-preview.2.1 | 87 | 8/17/2025 |
0.0.2-preview.2 | 272 | 8/9/2025 |
0.0.0-alpha.0.32 | 168 | 12/7/2024 |
0.0.0-alpha.0.29 | 97 | 12/4/2024 |
0.0.0-alpha.0.20 | 92 | 10/27/2024 |