Friday, October 6, 2017

Azure App Service



Objective of this post : It is a bit tricky to understand well the new App Service offering for Azure. Here are some explanations details and useful links (I gave up using favourites in my browser to save the Azure documentation. Too big, too rich, too complex, meandering) I will start a serie of Sheets/Wiki on several topics, first for myself and make them public because it could help somebody else. This is the first one of the serie.

A little bit of history:

For Azure classic portal, there was 2 offerings - Azure Websites and Azure Mobile services. Since the beginning of 2015 and in Azure new portal, both of them got rolled into something called Azure App Service which also included two more kinds of apps - API Apps and Logic Apps. Recently a new App Service the Function has joined the Microsoft Azure App Service offering
Azure Web App is new name for Azure Websites that you can use to build websites in multiple languages where as Azure Mobile App is the new name for Azure Mobile Service that provides backend infrastructure for mobile applications (or in other words, Azure Mobile App is Mobile Backend-as-a-Service [MBaaS] offering from Azure).
source: stackoverflow discussion on the topic
You will have a clear and friendly explanation from Kirill Gavrylyuk in this Azure Friday session on Mobile App Service (03-19-2015) (I also embedded the video in the Mobile App Service Section. Scroll a bit down)

General presentation

App Service is a new offering for Azure wich pull in bunch of services into a single offering called App Service including Web Apps, mobile, API and Logic. It is a new way in Azure to gather different sevices so as they can enjoy the same capabilities. All the new features what we had in Azure Web Sites are available across all for new type of services (mobile, API and Logic). That includes:
  • How they are scaled
  • How they behave
  • Things like application insights
Link to Microsoft App Service Portal
Fantastic training courses on Azure from Microsoft



The five types of App Service : Web App, API, Mobile, Logic, Function


Want to play with Azure Portal and Azure App Services for free (no credit card information needed by Microsoft, just a social account for signing)? Go there:



Mobile App


Accelerate your mobile app development with this turnkey way to structure storage, authenticate users, and send push notifications. With native and cross-platform SDKs for iOS, Android, Windows, and HTML, as well as a powerful and flexible REST API, Mobile Apps empowers you to build connected applications for any platform and deliver a consistent experience across devices.

Integrate with SQL, Oracle, SAP, MongoDB, and more.
Make your app work offline and sync.
Connect to on-premises data.
Leverage enterprise single sign-on with Active Directory.
Integrate with social providers like Facebook, Twitter, and Google.
Broadcast push notifications across platforms, with customer segmentation.
Gain insights with mobile analytics.
Auto-scale to millions of devices.
source : Azure Portal Description when attempting to create


Microsoft Azure Mobile App Service Presentation - Azure Friday, (03-19-2015)



Link to Azure App Service Mobile Apps documentation
Link to Azure Friday Video - Azure App Service Mobile Apps with Kirill Gavrylyuk
Link to Mobile App Microsoft Portal
Link to Azure portal Mobile App Creation

Link to node.js backend with Mongo DB

Creation:

you can use this link or
On Azure Portal Click on App Service, then on Add:



Then click on the create button of the Mobile App picture



Web App


Create and deploy web sites in seconds, as powerful as you need them
Leverage your existing tools to create and deploy applications without the hassle of managing infrastructure. Microsoft Azure Web Sites offers secure and flexible development, deployment, and scaling options for any sized web application. Use frameworks and templates to create web sites in seconds. Choose from source control options like TFS, GitHub, and BitBucket. Use any tool or OS to develop your site with .NET, PHP, Node.js or Python.

Fastest way to build for the cloud
Provision and deploy fast
Secure platform that scales automatically
Great experience for Visual Studio developers
Open and flexible for everyone
Monitor, alert, and auto scale (preview)
source : Azure Portal Description when attempting to create


Web App are part of App Service and App Service is a new offering for Azure wich pull in bunch of services into a single offering called App Service including Web Apps, mobile, API and Logic. Web App is actually a web site.
Type Url
Choose Service Plan and Hosting (depending on the location of the main users)
source : Azure Friday Video: Azure App Service Web Apps with Yochay Kiriaty - 2015 May 24

API App


Create and deploy RESTful APIs in seconds, as powerful as you need them

Leverage your existing tools to create and deploy RESTful APIs without the hassle of managing infrastructure. Microsoft Azure App Service API Apps offers secure and flexible development, deployment, and scaling options for any sized RESTful API application. Use frameworks and templates to create RESTful APIs in seconds. Choose from source control options like TFS, GitHub, and BitBucket. Use any tool or OS to develop your RESTful API with .NET, Java, PHP, Node.js or Python.

Fastest way to build for the cloud
Provision and deploy fast
Simple access control and authentication
Secure platform that scales automatically
Great experience for Visual Studio developers with automatic SDK generation
Open and flexible for everyone
Monitor, alert, and auto scale (preview)

source : Azure Portal Description when attempting to create

Link to Microsoft Azure API App Service Portal
Link to API App Service Video

Creation

Click on All Resources (1), then Add (2). Type API APP into the search zone (3).



Then, clisk on the API APP button to access to the creation blade.



Logic App



Logic Apps allow developers to design workflows that articulate intent via a trigger and series of steps, each invoking an App Service API app whilst securely taking care of authentication and best practices like durable execution.
Easy to use design tools - Logic Apps can be designed end-to-end in the browser. Start with a trigger - from a simple schedule to whenever a tweet appears about your company. Then orchestrate any number of actions using the rich gallery of connectors.

Compose SaaS easily - Even composition tasks that are easy to describe are difficult to implement in code. Logic Apps make it a cinch to connect disparate systems. Want to create a task in CRM based on activity on your Facebook or Twitter accounts? Want to connect your cloud marketing solution to your on-premises billing system? Logic apps are the fastest, most reliable way to deliver solutions to these problems.

Extensibility baked in - Don't see the connector you need? Logic Apps are part of the App Service suite and designed to work with API apps; you can easily create your own API app to use as a connector. Build a new app just for you, or share and monetize in the marketplace.

Real integration horsepower - Start easy and grow as you need. Logic Apps can easily leverage the power of BizTalk, Microsoft's industry leading integration solution to enable integration professionals to build the solutions they need.

source : Azure Portal Description when attempting to create

Creation:

On Azure Portal Click on App Service, then on Add:



Then, scroll down to display the Logic App Section, and on the "More" link to display all the options regarding Logic Apps:




Function


Write any function in minutes – whether to run a simple job that cleans up a database or build a more complex architecture. Creating functions is easier than ever before, whatever your chosen OS, platform, or development method.
source : Azure Portal Description when attempting to create


No comments: