Console Application Startup Template

This template is used to create a minimalist console application project.

How to Start With?

First, install the ABP CLI if you haven't installed before:

dotnet tool install -g Volo.Abp.Studio.Cli
Bash

Then use the abp new command in an empty folder to create a new solution (with the --old parameter at the end of the command):

abp new Acme.MyConsoleApp -t console --old
Bash

Note: Since this startup template is not provided by the new ABP Studio Templates yet, you need to pass the --old parameter at the end of the command to use the old CLI & templating system for this startup template.

Acme.MyConsoleApp is the solution name, like YourCompany.YourProduct. You can use single level, two-levels or three-levels naming.

Solution Structure

After you use the above command to create a solution, you will have a solution like shown below:

basic-console-application-solution

  • HelloWorldService is a sample service that implements the ITransientDependency interface to register this service to the dependency injection system.

Contributors


Last updated: September 30, 2024 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

Community Talks

Deep Dive #1: Identity&Account Modules

17 Apr, 17:00
Online
Register Now
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
×