LGN 3.4.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet tool install --global LGN --version 3.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local LGN --version 3.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=LGN&version=3.4.0
                    
nuke :add-package LGN --version 3.4.0
                    

Prerequisites

ASP .NET Core

Install .Net Core SDK 6+

https://dotnet.microsoft.com/en-us/download

Install EntityFramework tools

dotnet tool install --global dotnet-ef

Install

the resource pre-compiler for Lagoon is installed with the following command:

dotnet tool install --global LGN

Install Terser (optional)

Used when compiling in "RELEASE" to minify javascript resources using terser.

lgn install

Update

To update, use the following command:

dotnet tool update --global LGN

Starting a new Lagoon application

Create the application

Execute the following command to create a new application, for example:

lgn new web MyApp

Creating the database

To create the database for the application, go to the "Model" folder in the solution and run the following command:

cd Model
dotnet ef database update

Run it !

Use Visual Studio or "dotnet run"

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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 was computed.  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.

This package has no dependencies.

Version Downloads Last Updated
4.0.0-beta0006 0 7/1/2026
4.0.0-beta0005 0 7/1/2026
4.0.0-beta0004 98 6/26/2026
4.0.0-beta0003 90 6/24/2026
4.0.0-beta0002 92 6/15/2026
4.0.0-beta0001 96 6/14/2026
3.4.0 1,673 6/18/2025
3.4.0-beta0001 193 6/18/2025
3.3.3 549 4/5/2025
3.3.3-beta0001 146 4/4/2025
3.3.2 427 4/1/2025
3.3.2-beta0001 158 1/27/2025
3.3.1 642 1/23/2025
3.3.1-beta0002 149 1/22/2025
3.3.1-beta0001 140 1/22/2025
3.3.0 712 10/15/2024
3.2.1 338 10/14/2024
3.2.0 880 9/25/2024
3.1.2 343 9/24/2024
Loading failed