Packt

Building CLI Applications with C Sharp and Dot Net

Limited time! Save 40% on 3 months of Coursera Plus and full access to thousands of courses.

Packt

Building CLI Applications with C Sharp and Dot Net

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Master CLI application development principles to improve productivity

  • Build modular and extensible CLI applications that adapt to evolving needs

  • Implement security measures to protect your applications and data

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

March 2026

Assessments

14 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 14 modules in this course

In this section, we contrast CLI and GUI workflows, analyze speed, scripting, and resource benefits of text interfaces, evaluate selection criteria, and survey essential tools automating daily IT tasks.

What's included

2 videos2 readings1 assignment

Install Visual Studio Code, smart C Sharp helpers, the .NET SDK and configure Git to craft a dependable workspace for building and sharing command-line projects.

What's included

1 video3 readings1 assignment

In this section, we scaffold a .NET console app with dotnet new, dissect Program.Main for argument parsing, and employ System.Console to validate input and output color-coded responses.

What's included

1 video2 readings1 assignment

In this section, we learn to transform a plain console program into a full Command Line Interface, adding subcommands, parsed options, and automatic help and version feedback.

What's included

1 video4 readings1 assignment

In this section, we enhance our System. CommandLine bookmark CLI by validating option inputs, designating required or defaulted settings, and handling file parameters for reliable import, export, backup, and data sharing.

What's included

1 video3 readings1 assignment

In this section, we learn to handle errors, write JavaScript Object Notation logs with Serilog, and shut down command line interface apps gracefully to capture every diagnostic detail.

What's included

1 video5 readings1 assignment

In this section, we explore how Spectre.Console enhances C# CLI apps by adding progress bars, adaptive prompts, FIGlet banners, and markup, turning simple utilities into interactive and engaging command line experiences.

What's included

1 video2 readings1 assignment

In this section, we create a code map of Bookmarkr, refactor commands with the Dependency Inversion Principle, and reorganize the project structure to build maintainable, testable, extensible CLI applications.

What's included

1 video5 readings1 assignment

In this section, we integrate external APIs in .NET using IHttpClientFactory, apply the Service Agent pattern to decouple and secure commands, and outline best practices for maintainable, extensible dependencies.

What's included

1 video2 readings1 assignment

In this section, we examine why testing CLI applications matters, implement unit and integration tests with mocking, place them within the test pyramid, and schedule runs for secure, maintainable software.

What's included

1 video6 readings1 assignment

In this section, we explore .NET 8 command line app packaging, automate deployments for Windows, macOS, and Linux, and implement semantic versioning to ensure each released build remains consistent and traceable.

What's included

1 video4 readings1 assignment

In this section, we instrument .NET applications, benchmark code with BenchmarkDotNet, identify CPU, memory and IO hotspots, and apply data-driven tuning techniques to maximize responsiveness.

What's included

1 video3 readings1 assignment

In this section, we survey security domains impacting CLI tools and outline a posture assessment, then protect remote interactions by integrating Personal Access Token (PAT) authentication for safe data access.

What's included

1 video5 readings1 assignment

In this section, we spot CLI scenarios needing specialized tools, choose libraries like Polly or MediatR, and map a learning plan from curated resources, ensuring maintainable, resilient, scalable command-line solutions.

What's included

1 video1 reading1 assignment

Instructor

Packt - Course Instructors
Packt
1,550 Courses 428,904 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions