Fossa.Bridge 0.1.21

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

FossaApp Bridge

NuGet Version npm Version Developed by Tigran (TIKSN) Torosyan StandWithUkraine

The FossaApp Bridge provides shared frontend and backend functionality.

Project Purpose

The Fossa.Bridge project is a shared F# library designed to encapsulate logic, validation, and domain models that are common to both the .NET backend and the TypeScript/JavaScript frontend. By using Fable, the F# code is transpiled into JavaScript/TypeScript for the frontend environment while simultaneously being compiled into a standard .NET library for the backend. This ensures a single source of truth for core business logic, API models, and data validation rules, reducing duplication and preventing synchronization issues between the client and server.

Package Usage

For .NET Backends (C# / F#)

Install the NuGet package:

dotnet add package Fossa.Bridge

For JavaScript / TypeScript Frontends

Install the NPM package:

npm install @fossa-app/bridge

or using Yarn:

yarn add @fossa-app/bridge

Features

  • Shared API domain models.
  • Common validation and helper logic.
  • Consistent behavior across client and server.

Building and Packaging

To build both NPM and NuGet packages locally, run the included PowerShell script:

.\pack.ps1
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.21 0 3/12/2026
0.1.20 77 3/8/2026
0.1.19 76 3/7/2026
0.1.18 67 3/7/2026
0.1.17 75 3/7/2026
0.1.16 74 3/7/2026
0.1.15 72 3/7/2026
0.1.14 75 3/7/2026
0.1.13 83 3/6/2026
0.1.12 81 3/5/2026
0.1.11 77 3/5/2026
0.1.10 86 3/3/2026
0.1.9 83 3/3/2026
0.1.8 82 3/3/2026
0.1.7 81 3/2/2026
0.1.6 85 3/2/2026
0.1.5 86 2/27/2026
0.1.4 82 2/27/2026
0.1.3 86 2/27/2026
0.1.1 78 2/27/2026
Loading failed