Goa.Core 0.7.8-preview

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

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed