Skip to main content

.NET Core set up guide

1) Consume the Turas Design System NuGet packages

There are 3 NuGet packages available that should be installed when using the Turas Design System in a .Net Core web app.

We would advise consuming the latest Production versions:

  • NES.Turas.DesignSystem Version: 1.1.202501171
  • NES.Turas.DesignSystem.Common Version: 1.1.202501171
  • NES.Turas.DesignSystem.Utilities Version: 1.1.202501171

You will need permission to access the NES Technology NuGet feed to consume these.

2) Update your _viewImports files

Include this line in your _viewImports  files, this will allow you to use our tag helpers in your views:

  • @addTagHelper *, NES.Turas.DesignSystem

3) Consume the Turas Design System NPM package

You can Use LibMan with ASP.NET Core in Visual Studio to consume the Turas Design System client side libraries.

  1. In Visual Studio right click on your web project
  2. Select 'Add client-side library'
  3. Add the following details:
    • Provider: unpkg
    • Library: @nestechnology/turas-design-system@1.1.202502042
    • Target Location: wwwroot/lib/nestechnology/turas-design-system/

We would advise consuming the latest production version:

4) Inject the Styles and Scripts at startup

In the Program.cs after this line ''var builder = WebApplication.CreateBuilder(args)" add the following lines:

  • var services = builder.Services;
  • services.AddTurasDesignSystem(options => options.FontAwesomeKitId = "***RequestAFontAwsomeKitId***");

You can request a Font Awesome kit ID from the UX team.

Further information

An in depth README file is avaliable.  You will need access to our repository to view this.

We would advise using this Layout.cshtml page to start your project.   You will need access to our repository to view this.

Was this page helpful?