Pakujemy się we trójkę w samochód i wyruszamy w Polskę. 5 miast, dzień po dniu. Trzech .NETomaniaków. Trzej Dot Netos w trasie. Codziennie wieczorem inne miasto, inni ludzie ale te same tematy - wydajność .NET, wnętrza .NET, zaawansowane tematy .NET.
Strona głównaUżytkownik
dpawlukiewicz | użytkownik
I really enjoy learning new architectures, design patterns, frameworks, libraries or in general – everything related to web development. I really do. But honestly, after quite long time all these stuff became a little bit… boring. To avoid possible burnout I decided to play with something completely different. My thoughts circled around functional programming (F#, Heskel), IoT, quantum programming in Q# and much more, but none of them felt right. Enlightenment ...
Sztuka programowania 2514 dni, 4 minuty temu 233 źrodło rozwiń
In my last post, I wrote about great HTTP client for .NET Core called RestEase and I showed how to use it as a simple proxy between API Gateway and microservice. Today I’ll present how this library can also simplify writing part of integration tests. Unit test vs integration test I assume that for some of you the term „integration test” may sounds odd, therefore I’d like to explain it first to avoid the possible confusion with a unit test later in this artic...
Sztuka programowania 2522 dni, 23 godziny, 17 minut temu 152 źrodło rozwiń
Przedstawiamy wam 18 odcinek podcastu Ostra Piła w którym to rozwodzimy się nad code-review. Porozmawiamy sobie na takie tematy jak to jak robić dobrze code review oraz czy każdy powinien je robić czy może tylko seniorzy powinni dostąpić tego zaszczytu? Dwugodzinne code-review dla waszej programistycznej przyjemności. Miłego słuchania.
Mało ostatnio pisuję na blogu bo 110% sił wkładam w pisanie książki. Jednak podsumowania roku 2017 nie mogę sobie odmówić. Po pierwsze, to już tradycja - podsumowałem rok 2016 oraz rok 2015. Po drugie, może to kogoś zainteresuje. Po trzecie,...
There are some common questions when it comes to microservices. One of them is „how to forward request from API gateway to the particular microservice?”. There’s no rule of thumb here because everyone has a slightly different approach, but the most popular solution I know is:For writes, so creates, updates and deletes (CUD) create a command and publish it to the service bus based on a queue like RabbitMQ.For reads (GET) forward the HTTP request to the internal API (not p...
Programowanie rozproszone 2531 dni, 37 minut temu 162 źrodło rozwiń
Recently, I had quite an interesting discussion about var keyword in C#. Basically, my interlocutor tried to convince me that using var we drastically reduce code readability, so we should only use that together with anonymous types. He also mentioned performance and that some operations cannot be done using implicit typing. Well, if you’ve been reading my blog for some time, you’ve probably spotted that I’m a big fan of vars, and I put them every time it’s possible. B...
Sztuka programowania 2557 dni, 22 godziny, 51 minut temu 272 źrodło rozwiń
Once a while, recruiters from the company I work at, ask me whether I have some friend (developer) who’s looking for a job. Typically, this kind of dialogue looks something like: Recruiter: „Hey Darek! I have a great job offer for a .NET developer! Maybe you’ve got someone who would be interested?” Me: „Show me what you got. Yeah… I have one who knows all the technologies and worked with this kind of architecture. Although he’s got half a year less experience than r...
Last Tuesday, I had a talk in Wrocław about async/await in C# (thanks once again, you rock!). At some point, I asked the audience seemingly simple question. Why do we need async keyword at all? When I look at the folks, lots of them looked very confused since the answer seemed very obvious. Well, as you probably expect, it’s a little bit more complicated. Async makes my method asynchronous… At the very beginning, I should explain why the answer to my ques...
Sztuka programowania 2572 dni, 23 godziny, 20 minut temu 292 źrodło rozwiń
About two months ago I worked on the microservice for my company’s new product. The whole thing was based on the CQRS pattern which is basically about splitting the application into reads (queries) and writes (commands). I came to the point when I wanted to validate a command object received from RabbitMQ. Without thinking, I started coding another if statements which after a while became my „domain logic”. I’m not going to present the example code because I’m ...
Sztuka programowania 2586 dni, 19 godzin, 12 minut temu 135 źrodło rozwiń
This post shows how conditional requests can be used in ASP.NET Core MVC powered Web API to improve performance and avoid Lost Update problem.
'You mean the cheap crXp? This is what I heard, when I ask a colleague in London about a local souvenir shop. Recently it recalled it when thinking about software quality and technical debt. Interested in SaCC? Read along!
Sztuka programowania 2596 dni, 23 godziny, 7 minut temu 78 źrodło rozwiń
A few days ago I watch a very interesting talk from NDC given by Jon Skeet, Kathleen Dollard and Rob Conery. Around 41:15 minute Kathleen said something very interesting about protected internal...
Sztuka programowania 2605 dni, 8 minut temu 233 źrodło rozwiń
Currently, I’m working on my new open source project which hopefully will be announced by the end of October. One thing that I really missed during my work was integrating my GitHub repository with some kind of service which would present me how each Pull Request increases/decreases coverage and what’s the overall coverage on develop and master branch. After few hours I decided to try Codecov since it’s quite easy to setup and has a very clear visualization. ...
A few days ago I faced an interesting problem. In a nutshell, I had one interface implemented by three classes...
Lots of developers do pet projects besides their job. Things are pretty straightforward when you work alone. You code some functionality, then commit the changes and push it to the repository like GitHub, Bitbucket or Gitlab. Simple is that. But at some point, your code might turn into a full product. Folks start using it, new contributors come and your repository becomes their workspace as well. As you probably guess, if you want to keep the control over t...
A few days ago, I watched an excellent talk by Erik Meijer called „The hacker way„. In a nutshell, he presented an opposite approach to Agile called Hacker Way which is successfully used by Facebook. The idea is very simple – continuous improvement and iteration. Instead of hours of planning and discussing whether something is possible to implement, just try to prototype this because it will probably take less time than plenty different meetings. And what if you’ll fa...
Witam w 1. praktycznym cyklu programistycznym, od czasu wpisów na temat Java i Android, teraz C#, ASP.net Core i Docker'y. W 1. części zajmę się tworzeniem web serwisu na bazie .net Core 2.0
Siemanko W dzisiejszym poście pragnę nieco przybliżyć temat automatycznych testów end2end i pokazać przykładowy teścik. Jak wszyscy pracujący m.in. przy webie wiemy, że ostateczne testy wykonują zazwyczaj ludzie klikając myszką i stukając w klawiaturę. Bez względu na fakt pokrycia kodu testami jednostkowymi, które przed r...