Strona głównaUżytkownik

http://michalkomorowski.blogspot.com/ | użytkownik

http://michalkomorowski.blogspot.com/
http://michalkomorowski.blogspot.com/
441,36
2016 dni, 21 godzin, 56 minut temu
9 kwietnia, 2009
dotnetomaniak.pl

Another .NET Developer Days behind me. This time it was something new for me because I was a speaker. I gave my presentation "Will AI replace developers" on the second day of the conference at 15:00. On the one hand, it was quite late and I was a little bit afraid about number of listeners. On the another hand, it was a chance to be well remembered because in general we remember better what was at the beginning and at the end. So how was it?

After .NET Developer Days 2018 | Michał Komorowski

Inne 2219 dni, 3 godziny, 18 minut temu http://michalkomorowski.blo... 26 źrodło rozwiń

The time has come to drop a few lines about Promgramistok 2018. This time I didn't give a presentation. Instead, together with my colleague Rafał Maciąg I conducted workshops "Recipe for DDD, BDD, CQRS and Event Sourcing".

After Programistok 2018 | Michał Komorowski

Inne 2219 dni, 3 godziny, 18 minut temu http://michalkomorowski.blo... 30 źrodło rozwiń

When we started PlatformX project, we were using full .NET Framework. Then we migrated to .NET Core. Despite many advantages this migration meant a problem with using Roslyn. This problem is called MsBuildWorkspace...

Tagi: roslyn
Dziel się z innymi:
How to use Roslyn with .NET Core | Michał Komorowski

I published the second part of a review of "virtual developers" and at the end I answered the question from the title - will computers replace developers?

Dziel się z innymi:
Will Artificial Intelligence replace developers (part 2)? | Michał Komorowski

Inne 2551 dni, 2 godziny, 53 minuty temu http://michalkomorowski.blo... 82 źrodło rozwiń

I'm trying to answer the question if Artificial Intelligence will replace developers? And if yes, when?

Dziel się z innymi:
Will Artificial Intelligence replace developers (part 1)? | Michał Komorowski

Inne 2555 dni, 23 godziny, 21 minut temu http://michalkomorowski.blo... 113 źrodło rozwiń

Since I started using SpecFlow acceptance tests, I think that they are simply great. If I had to select whether to write only unit tests or only acceptance tests, I would select the latter. Nonetheless, there is one important problem with SpecFlow...

Dziel się z innymi:
SpecFlow + .NET Core = problems | Michał Komorowski

Recently, I was tricked by Roslyn, today by Json.NET. My bloody luck ;) Let's look at the following two very simple classes. Class A has one readonly property and I had to define a special constructor to allow Json.NET to set this property. B is also simple. It has one property, this time of type A with some default value...

Tagi: .Net, programming
Dziel się z innymi:
Json.net also tricked me | Michał Komorowski

A while ago 2 of my SpecFlow tests started failing on the build server. At the same time, on a few local machines no problems were observed. I also didn't find any exceptions in the log, so I decided to log into the server and debug a problem there. Quite soon I figured out that the problem is in the algorithm that uses Roslyn to analyse and understand the code...

Tagi: roslyn
Dziel się z innymi:
Roslyn rme again | Michał Komorowski

Have you ever heard that "premature optimization is the root of all evil"? Probably yes. It's quite well known Donald Knuth's phrase. However, the whole cite is much less known...

Dziel się z innymi:
Report from the battlefield #11 - premature optimization is the root of all evil? | Michał Komorowski

My last 2 posts were about problems with using Roslyn. Nonetheless, even if I sometime hate it, I'm still using it so the time has come to show some practical example of using Roslyn. Recently, I've been working on the task that can be summed up as: Take this ugly code and do something with it. i.e. more or less the refactoring task...

Tagi: roslyn
Dziel się z innymi:
How I removed 50% of the code | Michał Komorowski

In my previous post I wrote about my problem with "empty" projects and Roslyn. The symptom was that in some cases according to Roslyn my C# projects didn't contain any files. For quite a long time, I haven't been able to find a solution. Especially because I couldn't reproduce problem on my local machine. Fortunately, today I noticed exactly the same problem on another computer.

Tagi: roslyn
Dziel się z innymi:
Why I hate Roslyn even more | Michał Komorowski

The more I work with Roslyn the more I appreciate the possibilities it gives and the more I hate it. And I hate it for the same thing as many other projects I worked with in the past. What is it? Well, I like when a system fails fast, fails loudly and fails in the clear way. Unfortunately, Roslyn can do something completely different what sometimes makes working with it the pain in ass. I'll give you some examples.

Tagi: roslyn
Dziel się z innymi:
Why I hate Roslyn | Michał Komorowski

Have you ever heard or used AutoMapper? What a question, of course you have. And in the very unlikely scenario that you haven't, it's the object to object mapper that allows you to map probably everything. In short no more manual, boring, tedious, error-prone mapping. However, the great power comes with great responsibility. In the recent time, I had an occasion to fix 2 difficult to track bugs related to improper usage of AutoMapper. Both issues were related to the feature of AutoMapper...

Tagi: AutoMapper
Dziel się z innymi:
Report from the battlefield #10 - fuck-up with AutoMapper | Michał Komorowski

This post from Report from the battlefield series will be about my own mistake. It is related to async/await and MARS i.e. Multiple Active Result Sets. async/await allows us to use asynchronous programming more easily. MARS is a feature of MSSQL that allows us to have more than one pending request opened per connection at the same time...

Dziel się z innymi:
Report from the battlefield #9 - async/await + MARS | Michał Komorowski

I'm working on the project where I have an opportunity to use Roslyn compiler as a service. It is very good :) However yesterday it took me more than 2 hours to write working unit tests (based on MSTest) for my code! Here are some tips that may save your time.

Dziel się z innymi:
Roslyn and unit tests suck | Michał Komorowski