Nx Dotnet screenshot

Nx Dotnet

Author Avatar Theme by Nx dotnet
Updated: 4 Feb 2025
273 Stars

A Nx plugin adding support for .NET 5+ (or .net core) projects, featuring full project graph and generator support.

Categories

Overview:

The NxDotnet plugin is a part of Nx, which is a set of Extensible Dev Tools for Monorepos. It allows for adding .NET capabilities to an existing Nx workspace. With NxDotnet, users can generate applications and libraries, run development servers, build projects, and more within the Nx ecosystem.

Features:

  • Support for .NET: Adds .NET capabilities to existing Nx workspaces.
  • Generate Applications and Libraries: Easily create applications and libraries in the same workspace.
  • Development Server: Run a development server for testing and debugging.
  • Build Projects: Build projects with options for production builds.
  • Dep Graph: Visualize dependencies of projects in the workspace.

Installation:

To install the NxDotnet plugin, follow these steps:

  1. Add the NxDotnet core plugin to your workspace by running:
    npm install --save-dev @nx-dotnet/core
    
  2. Generate an application by running:
    nx g @nx-dotnet/core:app my-app
    
  3. Generate a library by running:
    nx g @nx-dotnet/core:lib my-lib
    
  4. Start the development server:
    nx serve my-app
    
  5. Build the project:
    nx build my-app
    
  6. View project dependency graph:
    nx dep-graph
    

Summary:

NxDotnet is a powerful plugin within the Nx ecosystem that enables users to add .NET capabilities to their existing workspaces. It provides tools for generating applications and libraries, running development servers, building projects, and visualizing project dependencies. By integrating NxDotnet, developers can enhance their workflow and efficiency within the Nx framework.