I would like to describe you one of the last cases of Azure Functions usage. In one of my projects I was using RoyalMail API to find address that is connected with provided post code. System has been delivered to users from England. In that country when you provide post code you are able to find out quite precise address and you can speed up form filling. Read more
I believe that you should know that Microsoft has prepared some set of components that can be used for integration purposes. You are able to consume the following services in our function: Azure Storage, Azure Event Hubs, Azure Service Bus, Azure Mobile Apps, Azure Cosmos DB, Azure Notification Hubs, Twilio, SendGrid. On the one hand this list is not so big. On the other one you can address with those services a lot of typical scenarios. But sometimes you need to do something more.
Today I would like to share with how easily you can use Redis cache in Azure Function. You should start thinking what for we need to do that. Probably you heard that Azure Functions should be stateless, atomic, small, fast, … But sometimes you need to do something that violate those rules. Read more
You should prepare your computers to be able to gain as much knowledge as it is possible from workshop.
Please install or organise the following elements:
Azure account on which you will be able to work. Of course, it can be a test account.
Visual Studio 2017 version 15.3.x with Azure Functions Tools for Visual Studio extension installed
Unfortunately, without those tools it will be hard for you to take part in this workshop.
The biggest advantage of Azure Functions is reducing time-to-market of our application. We can also use them to make prototyping more effective. From some time you are able to define mock of our function in Azure Portal. Function defined as mock will respond on request according to its configuration.
I believe that this solution has a great potential. It can be very useful in all sort of application’s prototyping activities. You just need to define our end point and its response. And that is all. You can start using it in you prototype. So you define correct connections in your application from early begin. Then you will need only to change mock definition with correct implementation of your function.
There is also other benefit. You can optimize work between people in your team. I think that everybody at least once has taken part in situation when two groups – one responsible for front-end and second one for back-end – defined common interfaces. And finally both parts of this solution couldn’t talk to each other in the end. Mocks allow us to define well described interfaces by providing working end-point. With that approach both groups would have materialized version of their contract and they can use it.
Unfortunately described feature is still not so well known and popular because it has not been introduced to Azure Portal as feature that can be configured easily by user from UI. You will need to modify manually configuration files. Read more
I would like to invite you to my new workshop – Serverless Azure. First of them will be conducted during Progressive .NET 2017 conference. It will took place in London on 14th September 2017.
During 3.5 hours of workshops you will learn how to use Azure platform to build serverless applications. Through different examples, you will explore on Azure Functions and Azure Logic Apps. You will discover how easy it is to build and integrate your applications. Finally, you will learn how to build, deploy, manage and monitor your application. Together with examples, I will point out main pros and cons of used platform. This talk will help you in deciding whether you should use serverless approach.
With this approach building scalable and secure applications has become easier. Developers can finally focus on solution creation and express creativity in providing new features.
Nowadays all topics related to Cloud and Serverless terms have become very popular. One of such elements are Azure Functions. Microsoft defines it as:
Azure Functions is a solution for easily running small pieces of code, or “functions,” in the cloud. You can write just the code you need for the problem at hand, without worrying about a whole application or the infrastructure to run it. Functions can make development even more productive, and you can use your development language of choice, such as C#, F#, Node.js, Python or PHP. Pay only for the time your code runs and trust Azure to scale as needed. Azure Functions lets you develop serverless applications on Microsoft Azure.
And really I could write a lot about comfort of it usage, easiness of implementation and other features that are great in this solution. Azure Functions works perfect when you do not need to have huge backend. I tested this scenario many times and I was always satisfied.
Of course, at the beginning I made some mistakes and I would like to write about two most important ones. Read more