Packt

Building CLI Applications with C Sharp and Dot Net

Packt

Building CLI Applications with C Sharp and Dot Net

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • 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 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有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个作业

位教师

Packt - Course Instructors
Packt
1,550 门课程 434,881 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'

Jennifer J.

自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'

Larry W.

自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'

Chaitanya A.

''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题