This project is a modular architecture built using ASP.NET Core 2.1. It is designed to be extensible and modular, allowing for easy integration of new modules and features.
The project is organized into several key directories and projects:
- src/: Contains the main source code of the project.
- Ntech.WebHost/: The main web application project that serves as the entry point for the application. It includes the
Startup.csandProgram.csfiles, which configure the application and its services. - Ntech.Platform.CommonService/: Contains common services used across the application.
- Ntech.Platform.Repository/: Handles data access and repository patterns.
- Ntech.Infrastructure/: Provides infrastructure services and utilities.
- Ntech.Modules.React/: A module for React-based components.
- Ntech.Core.Server/: Core server-side functionality and interfaces.
- Ntech.Contract.Entity/: Defines entity contracts and interfaces.
- Ntech.Contract.Entity.SubDatabase/: Contains sub-database entity contracts.
- Modules/: Contains various modules that can be integrated into the application.
- Ntech.Modules.DashboardModule/: A module for dashboard functionality.
- Ntech.Modules.Core/: Core module functionality.
- Ntech.Modules.Api.Base/: Base API module.
- Ntech.Modules.Angular/: A module for Angular-based components.
- Ntech.WebHost/: The main web application project that serves as the entry point for the application. It includes the
The project relies on several key packages:
- Microsoft.AspNetCore.App: Core ASP.NET Core packages.
- Microsoft.AspNetCore.Identity.EntityFrameworkCore: For identity management.
- Autofac.Extensions.DependencyInjection: For dependency injection.
- Microsoft.AspNetCore.SpaServices.Extensions: For SPA (Single Page Application) support.
- Microsoft.Composition: For composition and modularity.
The application is configured using appsettings.json and appsettings.Development.json. These files contain settings for database connections, logging, and other configurations.
To run the application, ensure you have the following prerequisites:
- .NET Core SDK 2.1 or later.
- SQL Server (or another compatible database) with the connection string configured in
appsettings.json.
- Clone the repository.
- Navigate to the
src/Ntech.WebHostdirectory. - Run the following command to start the application:
dotnet run
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.