Install the Logic Apps tools for Visual Studio 2017 and create an Azure Storage file share to mimic the mainframe in the solution.
- [Instructor] Before I can start building my logic app, I'm going to need to do a little set up. In Visual Studio, go to the Tools, Extensions, and Updates, go to the Online category and search for logic. I'll find the Azure Logic Apps Tools for Visual Studio. I'm going to download that. This is going to add the ability for me to develop logic apps right in Visual Studio. I need to restart Visual Studio so I'll do that. Alright so I've got that extension installed that's going to allow me to create a new logic app.
I right click, add a new project. You'll notice I don't actually have a project type for logic app but I do have an Azure resource group. I come in here and I'm going to call this my HPlusLogic and you'll see that when we get the ARM template, logic app is one of the options that we can select here. So it's a little bit counter intuitive, you have to know where to go for that. Close this down and now I have a logic app JSON file and if I just double click that, you'll see it truly is some JSON with all sorts of information about a logic app.
This is what's known as an ARM template or Azure resource manager. If I right click it, one of the things that extension I added gave me was this Open With Logic App Designer and that's going to allow me to develop my logic app. So I'll choose my resource group, I'm going to do the location, I'll switch that to West US to match my other resources, and now I get a launch page, I'm ready to start my app. Before I do that though, remember that our logic app is going to create a file for the mainframe.
So let's go set that up. If I switch over to Azure and I go to my storage account, we set up our blobs, tables, and queues, one of the other things we have here is a file service. And if I go there, you can see I can create a file share. This builds on top of the notion of blob storage by actually exposing the blobs as a directory and a file with standard file share technologies. We'll call it HPlusSportsFiles and I'll just set the quota at one gigabyte 'cause we're going to have some small files going out there.
Now I've got a file share. If we came in and looked at this, you can see that I've got information to connect to here. It'll give me the information for setting up a share on Windows or on Linux or I can connect to and work with this from my local machine. We're going to use it from logic apps so we won't need to do that and we're all set to build our app.
Looking for study partners?Join the AZ-203 Azure Exam study group
Microsoft Azure boasts a variety of services for developers looking to build a web application on the popular cloud computing platform. In this hands-on course, Matt Milner details how to build web applications that take advantage of several of these services, including data storage offerings, Logic Apps, Azure Functions, and Azure Resource Manager. To introduce you to these options, Matt steps through how to extend a sample web app using Azure services, explaining why each option he selected is ideal for this particular project, as well as how to integrate and leverage each option. Learn about using Logic Apps for workflow and integration, how Azure Functions enable serverless compute and integrate with other offerings, and more.
- Planning your web app
- Choosing compute, storage, integration, and networking solutions
- Creating the web app and API on Azure
- Creating the Azure Cosmos DB resources used by the app
- Data consumption in the app
- Creating an Azure Functions project
- Building, publishing, and testing Logic Apps
- Packaging resources