Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Building CLI Applications with C# and .NET

You're reading from   Building CLI Applications with C# and .NET A step-by-step guide to developing cross-platform CLI apps—from coding and testing to deployment

Arrow left icon
Product type Paperback
Published in Feb 2025
Publisher Packt
ISBN-13 9781835882740
Length 300 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Tidjani Belmansour Tidjani Belmansour
Author Profile Icon Tidjani Belmansour
Tidjani Belmansour
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Part 1: Getting Started with CLI Applications FREE CHAPTER
2. Chapter 1: Introduction to CLI Applications 3. Chapter 2: Setting Up the Development Environment 4. Chapter 3: Basic Concepts of Console Applications in .NET 5. Part 2: Foundations of Building CLI Applications
6. Chapter 4: Command-Line Parsing 7. Chapter 5: Input/Output and File Handling 8. Chapter 6: Error Handling and Logging 9. Part 3: Advanced Topics in CLI Application Development
10. Chapter 7: Interactive CLI Applications 11. Chapter 8: Building Modular and Extensible CLI Applications 12. Chapter 9: Working with External APIs and Services 13. Part 4: Testing and Deployment
14. Chapter 10: Testing CLI Applications 15. Chapter 11: Packaging and Deployment 16. Part 5: Advanced Techniques and Best Practices
17. Chapter 12: Performance Optimization and Tuning 18. Chapter 13: Security Considerations for CLI Applications 19. Chapter 14: Additional Resources and Libraries 20. Index 21. Other Books You May Enjoy

What this book covers

Chapter 1, Introduction to CLI Applications, introduces CLI applications and explains why they matter.

Chapter 2, Setting Up the Development Environment, describes how to set up your development environment.

Chapter 3, Basic Concepts of Console Applications in .NET, explains that there is a console application behind every CLI application. Therefore, we will start our journey by discussing console applications.

Chapter 4, Command-Line Parsing, converts our console application into a real CLI application, and we learn how to parse its arguments.

Chapter 5, Input/Output and File Handling, delves into the essential concepts of reading from and writing to files, a common task for CLI applications.

Chapter 6, Error Handling and Logging, explains how to handle errors to allow for graceful handling of these errors by the application and we will learn how to log relevant information for later analysis.

Chapter 7, Interactive CLI Applications, teaches techniques to enhance the user experience by creating interactive and visually attractive CLI applications.

Chapter 8, Building Modular and Extensible CLI Applications, delves into techniques to make our CLI applications easier to maintain and extend.

Chapter 9, Working with External APIs and Services, covers how to consume and work with external dependencies, including web services to extend the capabilities of our CLI applications.

Chapter 10, Testing CLI Applications, explains how to test our CLI applications, as testing is one of the key steps of the application development lifecycle.

Chapter 11, Packaging and Deployment, delves into how to package and distribute our CLI applications to our users and customers using the most widely used distribution methods.

Chapter 12, Performance Optimization and Tuning, covers how to spot performance issues along with the common techniques to enhance our applications’ performance, making our users happy.

Chapter 13, Security Considerations for CLI Applications, explores key security areas, explores tools that help us assess the security posture of our applications, and teaches some techniques to secure remote communications.

Chapter 14, Additional Resources and Libraries, explores additional material that will help you deep dive into the various concepts we covered in this book.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime