You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and [Azure Functions](../azure-functions/functions-overview.md).
22
+
This article shows you how to get started building a serverless app
23
+
in Visual Studio with a logic app that calls an Azure function.
24
+
To learn more about serverless solutions in Azure, see
23
25
[Azure Serverless with Functions and Logic Apps](../logic-apps/logic-apps-serverless-overview.md).
24
26
25
27
## Prerequisites
@@ -58,17 +60,16 @@ for locally debugging Functions
58
60
59
61
To get started, create an [Azure Resource Group project](../azure-resource-manager/vs-azure-tools-resource-groups-deployment-projects-create-deploy.md)
60
62
for your serverless app. In Azure, you create resources within a resource group,
61
-
which is a logical collection that you use to organize, manage,
62
-
and deploy an entire app's resources as a single asset. For a serverless app in Azure,
63
-
your resource group includes resources for both Azure Logic Apps and Azure Functions. Learn more about
63
+
which is a logical collection used for organizing, managing, and deploying resources
64
+
for an entire appas a single asset. For a serverless app in Azure, your resource group
65
+
includes resources for both Azure Logic Apps and Azure Functions. Learn more about
64
66
[Azure resource groups and resources](../azure-resource-manager/resource-group-overview.md).
65
67
66
68
1. Start Visual Studio, and sign in with your Azure account.
67
69
68
70
1. On the **File** menu, select **New** > **Project**.
69
71
70
-

72
+

72
73
73
74
1. Under **Installed**, select **Visual C#** or **Visual Basic**.
1.To review the resources for your serverless app,
104
-
in Solution Explorer, open your project's `azuredeploy.json` file.
111
+
1.Next, you must deploy your solution to Azure before you can open
112
+
your logic app and review the resources for your serverless app,
105
113
106
114
## Deploy your solution
107
115
@@ -127,14 +135,15 @@ your function app.
127
135
128
136

129
137
130
-
When your serverless solution starts deploying to your specified resource group,
138
+
When your solution starts deployment to your specified resource group,
131
139
your solution's deployment status appears in the Visual Studio **Output** window.
132
140
After deployment finishes, your logic app is live in the Azure portal.
133
141
134
142
## Edit logic app in Visual Studio
135
143
136
144
After your solution deploys to your resource group,
137
-
use the Logic App Designer for editing and changing your logic app.
145
+
open your logic app with the Logic App Designer
146
+
so you can edit and change your logic app.
138
147
139
148
1. In Solution Explorer, open the `azuredeploy.json` file's shortcut menu,
140
149
and then select **Open With Logic App Designer**.
@@ -153,6 +162,24 @@ and then choose **OK**.
153
162
154
163

155
164
165
+
## Create Azure Functions project
166
+
167
+
To create your Functions project and function with JavaScript, Python,
168
+
F#, PowerShell, Batch, or Bash, follow the steps in the article,
169
+
[Work with Azure Functions Core Tools](../azure-functions/functions-run-local.md).
170
+
If you're developing your Azure function with C# within your solution,
171
+
you can use a C# class library by following the steps in the article,
172
+
[Publish a .NET class library as a Function App](https://blogs.msdn.microsoft.com/appserviceteam/2017/03/16/publishing-a-net-class-library-as-a-function-app/).
173
+
174
+
## Build functions in Visual Studio
175
+
176
+
Your deployment template deploys any Azure functions that you have in your solution
177
+
from the Git repo that's specified by variables in the `azuredeploy.json` file.
178
+
If you create and author your Functions project in your solution,
179
+
you can check that project into Git source control, for example,
180
+
GitHub or Visual Studio Team Services, and then update the `repo`
181
+
variable so that the template deploys your Azure function.
182
+
156
183
## Manage logic apps and view run history
157
184
158
185
For logic apps already deployed in Azure, you can still edit,
@@ -171,23 +198,6 @@ So although you might have started a logic app in the Azure portal, you can stil
171
198
import and manage that app in Visual Studio. For more information, see
172
199
[Manage logic apps with Visual Studio](../logic-apps/manage-logic-apps-with-visual-studio.md).
173
200
174
-
## Create Azure Functions project
175
-
176
-
To create a Functions project with JavaScript, Python,
177
-
F#, PowerShell, Batch, or Bash, follow the
178
-
[steps in the Functions CLI](../azure-functions/functions-run-local.md).
179
-
If you're developing an Azure function with C#
180
-
in your current solution, you can use a
181
-
[C# class library](https://blogs.msdn.microsoft.com/appserviceteam/2017/03/16/publishing-a-net-class-library-as-a-function-app/).
182
-
183
-
## Build Azure functions in Visual Studio
184
-
185
-
Your deployment template deploys any Azure functions that you have in the solution
186
-
from the Git repo that's specified by the `azuredeploy.json` variables.
187
-
If you create and author your function project in your solution,
188
-
check that project into source control such as GitHub or Visual Studio Team Services,
189
-
and then update the `repo` variable so that the template deploys your Azure function.
190
-
191
201
## Next steps
192
202
193
203
*[Build a serverless social dashboard](logic-apps-scenario-social-serverless.md)
0 commit comments