Ends in:
3 DAYS
6 HRS
33 MIN
43 SEC
Ends in:
3 D
6 H
33 M
43 S

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

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

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.

In this document
Community Talks

What’s New with .NET 9 & ABP 9?

21 Nov, 17:00
Online
Watch the Event
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.

Learn More