Skip to content

Commit

Permalink
Changing the structure of the folders
Browse files Browse the repository at this point in the history
  • Loading branch information
lbugnion committed Sep 27, 2017
1 parent 1b8d09f commit 248723c
Show file tree
Hide file tree
Showing 30 changed files with 21 additions and 21 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
8 changes: 4 additions & 4 deletions azure-explorer.md → Doc/azure-explorer.md
Expand Up @@ -4,22 +4,22 @@ The Microsoft Azure Storage Explorer is a convenient Windows application that yo

You can install [from this website](https://azure.microsoft.com/en-us/features/storage-explorer/). After you install the tool on your development machine, start the explorer.

![Microsoft Azure Storage Explorer](./Pics/azure-explorer/2017-09-06_13-31-45.png)
![Microsoft Azure Storage Explorer](/Doc/Img/azure-explorer/2017-09-06_13-31-45.png)

1. Click on "Add an account".

2. Select Azure from the combobox in the "Connect to Azure Storage" window, unless the account you want to use is stored elsewhere. Then press "Sign in".

![Connect to Azure Storage](./Pics/azure-explorer/2017-09-06_13-37-02.png)
![Connect to Azure Storage](/Doc/Img/azure-explorer/2017-09-06_13-37-02.png)

3. Enter your account details. In case you still don't have an Azure account and an active subscription, [you can follow the steps here](trial-account.md).

4. In the Microsoft Azure Storage Explorer's main window, you should now see the subscriptions for your account. If you have followed the instructions to get a free trial subscription, you should now see it.

> **Note:** If you don't see your subscription, make sure that the Microsoft Azure Storage Explorer window is maximized.
![Subscription in the Azure Explorer](./Pics/azure-explorer/2017-09-06_14-01-00.png)
![Subscription in the Azure Explorer](/Doc/Img/azure-explorer/2017-09-06_14-01-00.png)

5. You can now explore your data.

![Data view in the Azure Explorer](./Pics/azure-explorer/2017-09-06_14-10-50.png)
![Data view in the Azure Explorer](/Doc/Img/azure-explorer/2017-09-06_14-10-50.png)
Expand Up @@ -10,15 +10,15 @@ What's really cool is that the Azure SDK installs the full Azure Function runtim

In Visual Studio, you need to install the Azure SDK in order to get the Azure Functions template. In the Visual Studio installer, make sure that you select this workload:

![Installing the Azure development workload](/Pics/creating-testing-functions/2017-09-19_19-20-42.png)
![Installing the Azure development workload](/Doc/Img/creating-testing-functions/2017-09-19_19-20-42.png)

After you are done, verify if the templates are properly installed by following these steps:

1. In Visual Studio 2017, select File, New, Project.
2. Under Visual C#, select the Cloud category.
3. Make sure that Azure Functions shows up in the templates area.

![Checking the template](/Pics/creating-testing-functions/2017-09-19_19-26-28.png)
![Checking the template](/Doc/Img/creating-testing-functions/2017-09-19_19-26-28.png)

### In case the Functions don't show up...

Expand All @@ -40,7 +40,7 @@ You can create a new Azure Functions application in Visual Studio 2017 with thes

After a short wait, your function is created. You should see the following files in the Solution Explorer:

![Function app in the Solution Explorer](/Pics/creating-testing-functions/2017-09-19_22-08-00.png)
![Function app in the Solution Explorer](/Doc/Img/creating-testing-functions/2017-09-19_22-08-00.png)

Note that a Functions app is a normal .NET based application, and so it can take advantage of the whole .NET framework, as well as any libraries supporting .NET such as portable class libraries, .NET Standard libraries, etc.

Expand Down
12 changes: 6 additions & 6 deletions functions-http.md → Doc/functions-http.md
Expand Up @@ -5,15 +5,15 @@ Now that the application is created, let's add a Function. To do this, follow th
1. Right click on the project in the Solution Explorer and select Add, New Item from the context menu.
2. In the Add New Item dialog, select Azure Function. Give it a name and press Add.

![Add New Item](/Pics/creating-testing-functions/2017-09-19_22-15-03.png)
![Add New Item](/Doc/Img/creating-testing-functions/2017-09-19_22-15-03.png)

## HTTP trigger without parameter

You can select an HTTP trigger with or without parameters. Let's start without parameters first.

3. In the New Azure Function dialog, select Http trigger.

![New HTTP Trigger](/Pics/creating-testing-functions/2017-09-19_22-22-58.png)
![New HTTP Trigger](/Doc/Img/creating-testing-functions/2017-09-19_22-22-58.png)

Selecting "Http trigger" only will answer to a URL of the following form:

Expand All @@ -39,7 +39,7 @@ If you are handling a small number of simple parameters, you might prefer a URL

3. In the New Azure Function dialog, select Http trigger with parameters.

![New HTTP Trigger with parameters](/Pics/creating-testing-functions/2017-09-21_10-25-15.png)
![New HTTP Trigger with parameters](/Doc/Img/creating-testing-functions/2017-09-21_10-25-15.png)

Selecting "Http trigger with parameters" will answer to a URL of the following form:

Expand Down Expand Up @@ -90,14 +90,14 @@ Here to you can use a POST request. This can be used for more complex parameters

Once the Function is created, you can easily test it. In Visual Studio, place a breakpoint on the first line of the function you want to debug. Then press F5 to build and run your application in debug mode.

![Debugging an Azure Function locally](/Pics/creating-testing-functions/2017-09-21_17-05-44.png)
![Debugging an Azure Function locally](/Doc/Img/creating-testing-functions/2017-09-21_17-05-44.png)

In the Azure Function console, find the local URL at the bottom.

![Debugging an Azure Function locally](/Pics/creating-testing-functions/2017-09-21_17-07-17.png)
![Debugging an Azure Function locally](/Doc/Img/creating-testing-functions/2017-09-21_17-07-17.png)

Open your favorite web browser and copy this URL into the location bar. You need to replace the *{name}* with a real name, for instance Laurent. The breakpoint in your function should be hit and you can then step into your code and inspect it.

Step through the code. When the function is done executing, you should see the following in your favorite web browser:

![Function result in the web browser](/Pics/creating-testing-functions/2017-09-21_17-09-07.png)
![Function result in the web browser](/Doc/Img/creating-testing-functions/2017-09-21_17-09-07.png)
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions trial-account.md → Doc/trial-account.md
Expand Up @@ -8,7 +8,7 @@ The first step to get into Azure is to procure a Microsoft account (MSA). This i

You can use outlook.com email addresses as MSA. To create a new email address, a good idea is to open a private web browser window. This will avoid issues with existing accounts in case you were already logged in. In Microsoft Edge, you can open a New InPrivate Window from the "…" menu on the top right. Then select the corresponding menu.

![In-private browing](./Pics/trial-account/2017-08-31_13-14-57.png)
![In-private browing](/Doc/Img/trial-account/2017-08-31_13-14-57.png)

Then follow the steps:

Expand Down Expand Up @@ -42,17 +42,17 @@ On the left hand side of the portal, you will see a choice of services. We will

1. Locate the "Storage account" menu and select it.

![Storage account menu](./Pics/trial-account/2017-08-31_13-49-28.png)
![Storage account menu](/Doc/Img/trial-account/2017-08-31_13-49-28.png)

>**Note:** If you see only the icons in the left menu, you can expand it by using the "hamburger" menu on top of the icon list (![Hamburger menu](./Pics/trial-account//2017-09-04_23-57-17.png))
>**Note:** If you see only the icons in the left menu, you can expand it by using the "hamburger" menu on top of the icon list (![Hamburger menu](/Doc/Img/trial-account//2017-09-04_23-57-17.png))
2. Select the Add button on the top left corner.

![Add a resource group](./Pics/trial-account/2017-09-06_11-17-14.png)
![Add a resource group](/Doc/Img/trial-account/2017-09-06_11-17-14.png)

3. If you already have a subscription, you can jump to step 3.3. Otherwise, you should see the image below. Click on the link titled "Sign up for a new subscription".

![Sign up for a new subscription](./Pics/trial-account/2017-09-04_23-25-39.png)
![Sign up for a new subscription](/Doc/Img/trial-account/2017-09-04_23-25-39.png)

### 3.2 Creating the subscription

Expand All @@ -78,12 +78,12 @@ If you have followed the steps under 3.2 above, and you created a new subscripti

2. Select the subscription you want to use. If you just created a free subscription, it should be available in the combo box.

![Creating the storage account](./Pics/trial-account/2017-09-06_11-22-17.png)
![Creating the storage account](/Doc/Img/trial-account/2017-09-06_11-22-17.png)

3. Enter a Resource group name. This will be where all the resources needed by your application will be grouped. This makes it easier to find resources.

4. Select the location for the resource group. You can select any of the multiple Azure datacenters around the globe.

5. Click on the "Create" button at the bottom.

![Finishing to create the storage account](./Pics/trial-account/2017-09-06_11-24-55.png)
![Finishing to create the storage account](/Doc/Img/trial-account/2017-09-06_11-24-55.png)
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -20,4 +20,4 @@ Your feedback is important to us! [Please don't hesitate to contact me on Twitte

* The MVVM Light Toolkit <http://www.mvvmlight.net>

![Presenting about Azure Functions](./Pics/readme/el20170902001.jpg)
![Presenting about Azure Functions](/Doc/Img/readme/el20170902001.jpg)

0 comments on commit 248723c

Please sign in to comment.