Navigate / search

Mocking API with Azure Functions

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

Is it now time for a change?

Career is a great topic for different kind of guides. Let’s be serious. I wonder how often are you thinking about it? Do you have plan for it or maybe do you have defined some milestones? And finally do you monitor your career?

This topic can be seen as trivial. I have a job which I am happy with. Moreover my position is set there and I am in my comfort zone. First problems occur in situation when you are trying to change your job. It will be more dramatic in each situation when you will be forced to do that. Unfortunately, it is quite common to meet people that are very good in topics strictly tight to their projects during recruitment meetings. Unfortunately, they forget that our reality it is moving forward. And it is moving very fast. Please just look at the last century. Read more

Serverless Azure – Progressive .NET 2017

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.

Azure Functions – Lessons learned

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

FluentValidation.Validators.UnitTestExtension version 1.1

I just managed to publish new version of packgage FluentValidation.Validators.UnitTestExtension. This package allows you to write unit tests for Fluent Validators in more effective way.

With version 1.1 following changes have been introduced:

  • support for new version of FluentValidation 7.*
  • new verifiers that check configuration of ScalePrecisionValidator and RegularExpressionValidator.

More information about project is available on GitHub.

I am writing good code – InfoMEET Katowice 2017

On this Saturday (20.05) you will be able to listen to me on  InfoMEET Katowice 2017. Subject of my presentation is I am writing good code – how you should protect code quality in your project? During presentation I will explain what software quality means and show you how you can easily increase its level. But this is not all. I will focus on practical part and I will show you how tools can help us with taking care of our code. We will learn how you should do it in effective way. So you could gain the biggest benefit with the smallest cost.

You are welcome!