Last week I attended a tech conference where I learned about Azure Functions. This new service from Azure, Microsoft’s cloud platform, is something that got me interested. Microsoft is promoting this new service as a server-less option for simple APIs, triggers, notifications, and anything that you can think of that can be processed by a function, regardless of the programming language used.
It’s worth mentioning that just like with any other cloud service or feature, Azure Functions isn’t the solution for everything. However, Azure Functions are really helpful in supporting your application without the need to provision a new full-featured API, servers, etc.
In this tutorial, you’ll set up your Mac to do development using .NET Core and Azure. The tutorial also shows you the new and powerful .NET Core Command Line Interface (CLI) Tools.
After you have installed the .NET Core SDK and Visual Studio for Mac, open a terminal window and type the following:
$ cd /users/
$ cd users/yourusername/projects
$ mkdir samplereactapp
$ cd samplereactapp
The above commands will do the following: browse to the Mac user’s Projects directory and create a new directory to place the react app that we are about to create.
.NET Core CLI
.NET Core’s Command Line Interface (CLI) is very powerful, it allows you to do a lot without leaving the command line which allows for the fast and straightforward creation of these projects. Double-check your current directory is the new directory you’ve created, in our example this is samplecreateapp.
To make sure the .NET Core was correctly installed, type dotnet –info in the terminal, you should see output that looks like this: