Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Azure API Apps Adds Swagger Capability

DZone's Guide to

Azure API Apps Adds Swagger Capability

· Cloud Zone
Free Resource

MongoDB Atlas is a database as a service that makes it easy to deploy, manage, and scale MongoDB. So you can focus on innovation, not operations. Brought to you in partnership with MongoDB.

Microsoft has included a new feature named Azure API Apps as part of the Azure SDK 2.5.1 release. This feature raises the capabilities of ASP.NET Web API. It is also possible to extend this feature with Swagger metadata while providing a simple to manage interface in the Azure Portal.

With the help of Azure API Apps, you will be able to extend API with authentication and no code changes or generate an SDK for your API with a few clicks. Microsoft has provided full definition of API apps and their capabilities on the official Azure documentation.

Azure API Apps

API Apps resides in a single host App Gateway, which manages add-on functionality such as authentication and update policies for the API. Moreover, Gateways are contained within a standard Azure Resource Group.

API apps basically make use of connectors to access SaaS (software as a service) platforms such as Office 365 and Salesforce. You will be able to review the Swagger metadata for your app by navigating a web browser to the default web location of /swagger/docs/v1 in your compiled and running project in Visual Studio.

Jeffrey T. Fritz, Partner, Microsoft has provided code sample of ASP.NET API Controllers and the corresponding swagger format.

Microsoft has published a detailed tutorial which demonstrates the steps required to define and publish first API to enable developers to deploy it very effectively.

MongoDB Atlas is the best way to run MongoDB on AWS — highly secure by default, highly available, and fully elastic. Get started free. Brought to you in partnership with MongoDB.

Topics:

Published at DZone with permission of Anand Narayanaswamy, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}