Over a million developers have joined DZone.

Azure API Apps Adds Swagger Capability

· Cloud Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database on AWS. Try it now! 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.

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.


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

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

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

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

{{ parent.tldr }}

{{ parent.urlSource.name }}