NeuCharFramework (NCF)
  • NCF - NeuCharFramework
  • Projects

    • Preparation
    • Basic Library Source Code Analysis
    • DynamicWebApiEngine
    • Deployment
  • Help

    • Online Resources
    • Q&A Community
    • QQ Group (147054579)
    • Senparc WeChat SDK
  • Gitee
  • GitHub
  • English
  • 简体中文
GitHub
  • NCF - NeuCharFramework
  • Projects

    • Preparation
    • Basic Library Source Code Analysis
    • DynamicWebApiEngine
    • Deployment
  • Help

    • Online Resources
    • Q&A Community
    • QQ Group (147054579)
    • Senparc WeChat SDK
  • Gitee
  • GitHub
  • English
  • 简体中文
GitHub
  • NCF Overview

    • NCF - NeuCharFramework
    • About NCF
    • Environment Requirements
    • Frontend and Backend Separation Mode
    • Introduction to Xncf Modules
  • Prepare Development

    • Get NCF Template Source Code
    • Using Visual Studio to Run NCF
    • Running NCF Using CLI
    • Installation
    • Admin Login
    • Admin Backend
    • appsettings.json Configuration
    • Module Management
    • Accessing Documentation
  • Configuration

    • Entry File
    • Database Settings
    • appsettings.json Configuration
    • Docker
    • Dapr
    • Configure Multi-Tenant
    • Redis Cache
  • Modular Development

    • NCF Modular Development Concept
    • Composition of Xncf
    • Create the First Xncf Module
    • Xncf Module Sample Detailed Explanation
    • Implement Your Own Business Logic
    • Update Xncf Module
    • How to Call Between Modules
    • Publish Xncf Module to nuget.org
    • Update Base Library
    • Xncf Module Development
    • Embedding Static Resource Files into NCF
    • Publish Local Nuget Package
    • Advanced
  • Database

    • Database Settings
    • Multi-Database Support
    • Specify Database
    • Update database migration files for the Senparc.Service project (Migrations)
    • Multi-Database Principle
    • DatabasePlant
    • Tarmac Operation Database Migration and Update
  • Unit Testing

    • NCF Unit Test Introduction
    • Start Development
    • Advanced
    • Appendix
  • Q&A

    • NCF Terminology
    • NCF FAQ
  • Release

    • New Features
    • Upgrade Guide
    • Logs

Running NCF Using CLI

Step 1: Open Command Line Tool or Visual Studio Code

Navigate to the directory path where the Senparc.Web project (startup project) of NCF is located:

Tip: In Visual Studio Code, press Ctrl + ~ to open the command line tool.

Step 2: Enter .NET Project Startup Command

E:\...\Senparc.Web > dotnet run

Note: The default database used is SQLite. If you need to switch to another database, please refer to Using Multiple Databases.

Complete Startup

After waiting for a few seconds, the NCF Web project will be successfully started.

Due to some behavior characteristics of the CLI command line, you may see a site address prompt at the end, or it may stay on the system startup log, which is normal:

You just need to open https://localhost:5001 directly in the browser to see the startup page:

Tip: You can also change the startup port by modifying the configuration in the launchSettings.json file (default is "https://localhost:5001;http://localhost:5000"), or specify it through command line parameters.

First Time Startup Installation

When starting for the first time, the system will automatically prompt for installation. After the installation is complete, the installation interface will no longer appear.

Edit this page on GitHub
Last Updated:
Contributors: Jeffrey Su
Prev
Using Visual Studio to Run NCF
Next
Installation