This course focuses on building efficient, secure, and scalable Command-Line Interface (CLI) applications using C# and .NET. With CLI tools boosting flexibility and productivity, mastering these skills is essential for developers, system administrators, and DevOps professionals in today’s tech-driven world.

您将学到什么
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
您将获得的技能
要了解的详细信息

添加到您的领英档案
March 2026
14 项作业
了解顶级公司的员工如何掌握热门技能

该课程共有14个模块
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.
涵盖的内容
2个视频2篇阅读材料1个作业
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.
涵盖的内容
1个视频3篇阅读材料1个作业
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.
涵盖的内容
1个视频2篇阅读材料1个作业
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.
涵盖的内容
1个视频4篇阅读材料1个作业
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.
涵盖的内容
1个视频3篇阅读材料1个作业
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.
涵盖的内容
1个视频5篇阅读材料1个作业
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.
涵盖的内容
1个视频2篇阅读材料1个作业
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.
涵盖的内容
1个视频5篇阅读材料1个作业
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.
涵盖的内容
1个视频2篇阅读材料1个作业
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.
涵盖的内容
1个视频6篇阅读材料1个作业
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.
涵盖的内容
1个视频4篇阅读材料1个作业
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.
涵盖的内容
1个视频3篇阅读材料1个作业
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.
涵盖的内容
1个视频5篇阅读材料1个作业
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.
涵盖的内容
1个视频1篇阅读材料1个作业
位教师

提供方
从 Software Development 浏览更多内容
人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
常见问题
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
更多问题
提供助学金,







