Book Image

Windows PowerShell for .NET Developers - Second Edition

By : Chendrayan Venkatesan, Sherif Talaat
Book Image

Windows PowerShell for .NET Developers - Second Edition

By: Chendrayan Venkatesan, Sherif Talaat

Overview of this book

Windows PowerShell 5.0 for .NET Developers is your self-start guide to performing automation using Windows PowerShell. This book will help you to understand the PowerShell syntax and grammar and will also teach you techniques to remove the rough edges of manual deployments. Packed with PowerShell scripts and sample C# codes to automate tasks, it also includes real-world scenarios such as administrating office servers to help you save time and perform deployments swiftly and efficiently. The book begins with the Windows PowerShell basics, explores the significant features of Windows Management Framework 5.0, covers the basic concepts of Desired State Configuration and the importance of idempotent deployments. By the end of the book, you will have a good understanding of Windows PowerShell’s features and will be able to automate your tasks and manage configuration effectively.
Table of Contents (13 chapters)

Chapter 5. Exploring Application Programming Interface

Application Programming Interface (API) is a set of protocols, routines, and tools used to build software applications. The main purpose of API is data exchange and integration, whereas Software Development Kit (SDK) is customization. The type of API varies based on the data exchange and transport mechanism. The transport mechanism may be web-based, source code, or binary function.

Following are the most common types of API:

  • Web Services API

    • This is an API that is highly useful in up and coming technologies. It is hypertext-based and the standards used are REST, SOAP, XML-RPC, and JSON-RPC.

    • It is commonly used in web applications and service-oriented architecture (SOA).

  • Source code API

    • This offers libraries of objects, classes, and so on

    • It is commonly used in development projects

    • The standards used vary based on the platform, such as .NET or J2EE

In this chapter, we will cover the following topics:

  • Exploring API using PowerShell

  • The Exchange...