ASP.NET Core application with Angular and MS-SQL Server.
The following components need to be installed on the machine as a prerequisite (Windows or Linux):
- Node.js (LTS Version)
- .NET Core (Version 5.0)
- SQL Server (Free Express Edition)
### Git clone (parameter recursive clones also required submodule Framework):
git clone https://github.com/WorkplaceX/ApplicationDoc.git --recursive
cd ApplicationDoc
### On first launch it will ask to register wpx command in environment path:
./wpx.cmd # For Windows
./wpx.sh # For Linux
### From now on just use:
wpx
### Set ConnectionString
wpx config connectionString="Data Source=localhost; Initial Catalog=ApplicationDoc; Integrated Security=True;" # Example Windows
wpx config connectionString="Data Source=localhost; Initial Catalog=ApplicationDoc; User Id=SA; Password=MyPassword;" # Example Linux
### Deploy Database
wpx deployDb
### Build
wpx build # build Angular and .NET
### Start
wpx start # http://localhost:5000/
### Stop
killall -g -SIGKILL Application.Server # Linux Only
- "Application/" (Application with custom business logic)
- "Application.Cli/" (Command line interface to build and deploy)
- "Application.Cli/DeployDb/" (SQL scripts to deploy to SQL server)
- "Application.Database/" (From database generated database dto objects like tables and views)
- "Application.Doc/" (Documentation images)
- "Application.Server/" (ASP.NET Core to start application)
- "Application.Website/" (Custom html and css in Angular)
- "Framework/" (External WorkplaceX framework)
- "ConfigCli.json" (Configuration file used by Application.Cli command line interface)
- "ConfigServer.json" (Generated configuration used by Application.Server web server)