Michał Jankowski

avatar

About Michał Jankowski

Microsoft MVP Azure, an architect, designer, team leader and trainer. He began programming in the early ’90s from Basic and Assembler for 8-bit computers. During most of his career, he was delivering .NET platform targeted application for the world’s largest companies. Currently, he is specialising in the development of web applications and Azure environment. A great enthusiast of software craftsmanship, unit testing, software design and other topics related to software development. In his free time, when he is not playing with the code, he likes travelling, photography and writing a technical blog.

FluentValidation.Validators.UnitTestExtension version 1.4

I just managed to publish a new version of package FluentValidation.Validators.UnitTestExtension. This package allows you to write unit tests for Fluent Validators in a more effective way. With version 1.4 following changes have been introduced: new verifiers that check the configuration of EnumValidator, MaxLengthValidator, MinLenghtValidator, ExactLengthValidator, ExclusiveBetweenValidator and InclusiveBetweenValidator support for .NETStandard 1.6 and .NETStandard 2.0 More information about the project is available on GitHub.

By |2018-07-01T22:23:57+02:001 July 2018 |Extras / Tools, Projects, Testing|0 Comments

How to enable/disable Azure Function programmatically

Today I would like to write about something different. I am curious… Have you ever thought about enabling/disabling Azure Function by code? In such scenario, we would be able to decide about the state of the function directly from our application. I believe that you can find a lot of useful scenarios for such behaviour. I will provide two of them. The first one. We have some resource that is not so fast and we would like to reduce the frequency of using it during the day. In such scenario, we can use Azure Storage Queue as a buffer for [...]

By |2019-05-12T15:58:47+02:0027 June 2018 |Azure Functions, C#|8 Comments

How you can improve code quality in your project?

Last Saturday during my lecture about code quality I was a bit shocked how many people didn’t know the most accessible tools that can improve code quality. You should remember that cost of quality improvements will be low only when we will think about those issues from the early beginning of the project. Every additional day when we are not monitoring and improving quality will increase the cost of potential quality issues fixes in future. Of course, I would assume that each time we are trying to deliver good quality code but we are only humans. So even when we [...]

By |2018-06-05T11:22:38+02:005 June 2018 |Extras / Tools|0 Comments

I would like to invite you to September workshops

We still have few months to September but I would like to invite you to my workshops that will take place in that month. First of them - CosmosDB – Database for Serverless Era – is part of ProgNET London 2018. I will be conducting 3,5 hours workshop during the second day of the conference (13th September 2018). You will learn how to use CosmosDb in your Serverless solutions. I will start with a short introduction of this service, and will present most essential features of CosmosBD. Then you will be able to learn how you can store and query [...]

By |2019-03-10T16:38:10+02:0027 May 2018 |Conferences / Presentations|0 Comments

Sending SMSes from Azure Functions – Twilio

This is a second article showing how easy you can build value by correct compositions of two elements. This time we will try to send SMS from Azure Functions. Like in previous time – when we were sending emails – we have dedicated provider for this type of service. It is Twilio. […]

By |2019-05-12T16:01:24+02:0014 April 2018 |.net, Azure Functions, C#|2 Comments

Sending emails from Azure Functions – SendGrid

I am trying to convince people that right now we should try to think about how we can build our application effectively. Instead of building everything from scratch we should look for possibilities of composition application from different elements. This means that you should write smaller amount of code and there is also smaller chance for making an error. In case of Azure Functions natural choice for email service provider is SendGrid. […]

By |2019-05-12T16:02:39+02:0014 April 2018 |.net, Azure Functions, C#|0 Comments

Azure Function – Uploading photos to Azure Blob Storage

Today I would like to describe another production use case for Azure Functions. This time example is quite simple. I would like to use Azure Functions to upload photos to Azure Blob Storage. Of course, you can upload photos directly to Azure Blob Storage. However, with such solution, your components are tightly connected. This can block you in the future. To avoid that you should add some middle layer. For this, you can use Azure Function. It will act like an API that will accept photos encoder in base64 and upload it to provided location. With this approach, you will [...]

By |2019-05-12T16:03:19+02:0023 February 2018 |.net, Azure Functions, In practice|0 Comments

Crisis of productivity – things that you can do not to become a slave of your calendar

It is quite often that I am afraid of things I have to do. And what is even worse I start acting as a firewall – I am busy!!! I am very busy!!! I do not have time!!! I become the slave of my calendar and ToDo list. Even more, there are sometimes tasks that I do not want to do and I am not obliged to do. In such situation, effectiveness became an issue… There are a lot of small matters to do, and there is no time for bigger and more serious ones. Sometimes at the end of [...]

By |2018-02-05T19:46:03+02:005 February 2018 |Project management, Team management|0 Comments