Strona głównaUżytkownik

dpawlukiewicz | użytkownik

3 979,62
11 dni, 7 godzin, 44 minuty temu
5 kwietnia, 2016

There are many different approaches to deal with failures in web apps. One of the most common is returning a result... The idea is simple. If the method fails because of validation or something else, the result tells it. The only thing we need is ifstatement an...

Dziel się z innymi:
Dealing with failures using custom exceptions and ASP.NET Core middleware - Forever F[r]ame

Web 686 dni, 3 godziny, 42 minuty temu dpawlukiewicz 59 rozwiń

In my last article, I presented how to run Aurelia unit tests inside Bitbucket pipeline. What’s quite funny (or may be scary for some of you) is that few hours after publishing, Facebook presented to me an add with „great CI tool” called Buddy. Without much thought, I navigated to the project’s site and I felt in love immediately. Why? There’s one reason – it’s dead simple...

Dziel się z innymi:
Building ASP.NET Core app with Buddy and Docker - Forever F[r]ame

Narzędzia 706 dni, 7 godzin, 9 minut temu dpawlukiewicz 83 rozwiń

Inspired by Piotr’s article I decided to play a little with the Bitbucket as an alternative to the GitHub. The thing that I really like about it, is that there’s no need to use any 3rd part CI tool such as TravisCI since Bitbucket offers its own build pipeline. Of course, I wanted to test it as soon as possible, so I created very simple Aurelia application using its CLI and I pushed my changes. My basic pipeline file (with the *.yml extension) presented as follows:   ...

Dziel się z innymi:
Running Aurelia tests inside Bitbucket pipelines - Forever F[r]ame

Web 714 dni, 13 godzin, 50 minut temu dpawlukiewicz 28 rozwiń

It’s pretty funny to me when you think that you know some programming language quite well and suddenly you find out some feature, you’ve never heard before. I mean at all. That’s exactly what happened to me yesterday. Let’s see what’s that. Generics are very useful in programming since we can avoid writing similar code multiple times. But when we start to complicate them too much, it quickly reduces the legibility of the code. Of course, I don’t claim that whe...

Tagi: alias, C#, generics
Dziel się z innymi:
CodeTip #7 - Aliased generics in C# - Forever F[r]ame

Sztuka programowania 726 dni, 13 godzin, 29 minut temu dpawlukiewicz 208 rozwiń

Prezentacja frameworka, który wspomoże nas w tworzeniu przejrzystej i funkcjonalnej dokumentacji dla API.

Dziel się z innymi:
Documenting ASP.NET Core API with Swagger - Forever F[r]ame

Narzędzia 739 dni, 21 godzin, 44 minuty temu dpawlukiewicz 111 rozwiń

The end of the May comes and hence the end of „Get Noticed 2017” competition. Therefore, I’m going to do a short summary which will describe things that I’m happy about together with those that I’m not. Obviously, this post also will be the last one in the GN2017 category which contains 16 articles. Wait, what?

Dziel się z innymi:
Get Noticed 2017 is over! - Forever F[r]ame

Daj się poznać 2017 751 dni, 3 godziny, 45 minut temu dpawlukiewicz 15 rozwiń

What is a random number? Well, even if you have never read any definition, you can still answer that question pretty easy. It’s the unpredictable result of some action like throwing a dice. We just can’t predict what the next number will be. The Lucky shoot is all we’ve got. In a real world, randomness is kind of natural „thing”, but it starts to be more complicated when it comes to machines. Why? Simply because of their deterministic character...

Tagi: random
Dziel się z innymi:
Using Random on the porduction may put you in a trouble! - Forever F[r]ame

Daj się poznać 2017 763 dni, 22 godziny, 37 minut temu dpawlukiewicz 141 rozwiń

Today’s post is going to be super easy, especially if you’re familiar with SQL, so without much explanation let’s discuss a little bit about two clauses that you might spot later in my Neo4j & Cypher series – Union and With.  UNION clause The Union clause can be used to merge the results of two queries. There are just two restrictions:the number of columns in both queries must be the samecolumn names in both queries must be the same Let’s demonstra...

Dziel się z innymi:
Neo4j & Cypher #3 UNION & WITH clasuse - Forever F[r]ame

Daj się poznać 2017 767 dni, 21 godzin, 46 minut temu dpawlukiewicz 16 rozwiń

As I’ve mentioned in previous posts about Akka.NET, everything that actor knows is stored in memory. While we can skip any database or IO related bottlenecks because things in memory are generally speaking very fast, we must remember that memory is not a place where you can store your data for an extended period of time and keep it. So let’s talk about persisting it.

Dziel się z innymi:
Akka.NET #5: Persisting actors state – events – Hryniewski.NET

Daj się poznać 2017 770 dni, 21 godzin, 49 minut temu Rafał Hryniewski 45 rozwiń

In the previous post, we explored Neo4j dataset containing actors and movies. We also got familiar with basics of Cypher – declarative query language created for graph databases. In today’s post, we’ll find out how to create a more complex query which will consist of many relationships and nodes.  What are we going to retrieve? Let’s start with defining our task. Imagine that someone asked us to build a query which will answer the below question: I...

Tagi: cypher, neo4j, query
Dziel się z innymi:
Neo4j & Cypher #2 Creating complex query - Forever F[r]ame

Daj się poznać 2017 769 dni, 11 godzin, 28 minut temu dpawlukiewicz 23 rozwiń

In one of my previous post, we got familiar with the graph databases concept as the opposing approach to the aggregate-oriented, NoSQL databases. As I promised back then, there’s going to be a series of post dedicated to the query language designed for querying that kind of data structure called Cypher. Today’s one starts it and it going to present the way to install Neo4j and later is going to discuss creating simple queries.  Installing Neo4j To start our j...

Dziel się z innymi:
Neo4j & Cypher #1 Installation and basic query - Forever F[r]ame

Daj się poznać 2017 777 dni, 10 godzin, 9 minut temu dpawlukiewicz 37 rozwiń

Imagine the following situation: your job was to add some functionality to the application. You’ve worked on this for last couple days doing N commits. When the job is over you want to push your changes to the origin but soon after you spot that for the whole time you’ve worked on master/develop branch instead of the feature branch. Sounds familiar to you? Don’t worry, you can still move your changes!  The example Let’s say that we started a new project. We’ve ...

Tagi: git, undo changes
Dziel się z innymi:
Moving already commited changes to new branch using GIT - Forever F[r]ame

Daj się poznać 2017 780 dni, 4 godziny, 56 minut temu dpawlukiewicz 53 rozwiń

Almost all my career I’ve spent with relational databases (later called RDB) and more precisely SQL Server. Honestly, I’ve never complained about that. It works fine, integrating with object languages is very quick since we’ve got a lot of different ORMs (like Entity Framework or Dapper) and it’s pretty easy to learn no matter how advanced developer you are. Sounds like a perfect solution, right? I mean, think about all the companies and projects th...

Dziel się z innymi:
Introduction to graph databases - Forever F[r]ame

Daj się poznać 2017 779 dni, 22 godziny, 47 minut temu dpawlukiewicz 69 rozwiń

A few days ago I showed you how to combine Nancy with Autofac and ASP.NET Core IoC. Today’s post will be related to the security and more precisely JWT authentication. Before moving further, I’d like to mention that below text is going to be the last Nancy-related one (at least for now). In a next couple weeks, we’ll explore the world of graph databases with Neo4j and .NET Core, so I hope you’re as excited as I do 😉  How does JWT authe...

Dziel się z innymi:
Nancy meets JWT authentication - Forever F[r]ame

Daj się poznać 2017 791 dni, 22 godziny, 10 minut temu dpawlukiewicz 76 rozwiń

For couple last days, I worked on gifty to catch up a little bit. My primal task was to introduce JWT authentication to my microservices hosted by Nancy. That’s the topic for next post but today, I’ll describe the proper steps to fully integrate Nancy with Autofac and ASP.NET Core since it’s not that obvious (at least wasn’t for me) and took me way to much time to finally do it. So, I hope that this one will help you one way or another.  Installing pa...

Dziel się z innymi:
Integrating Nancy with Autofac and ASP.NET Core IoC - Forever F[r]ame

Daj się poznać 2017 796 dni, 3 godziny, 35 minut temu dpawlukiewicz 71 rozwiń

Kilka słów o konferencji GET.NET w Łodzi + konkurs ;)

Dziel się z innymi:
GET.NET 2017 is coming! - Forever F[r]ame

Inne 804 dni, 22 godziny, 9 minut temu dpawlukiewicz 59 rozwiń

It’s been almost a year since I did my first public speaking (related to programming). During that, many things changed including my personal point of view on that profession. It is nothing new that the first steps are the hardest, so in this post, I’ll describe my first feelings, mistakes, and moves which started my personal journey as a speaker. Since I’m still at the beginning of my way, this post will probably evolve from time to time but even thou...

Dziel się z innymi:
Don't be afraid of public speaking! - Forever F[r]ame

Daj się poznać 2017 805 dni, 11 godzin, 13 minut temu dpawlukiewicz 39 rozwiń

Last week, I finally started working on my „Get noticed” project called gifty. If you have absolutely no idea what I’m writing about you can go read my introduction to the project which I link here😉 Anyway, one of the first things I wanted to do was to create some kind of ServiceBuilder for every microservice, since all of them (or at least majority) will have to go through some steps before the actually run. The steps are:Initialize Kestrel wi...

Using interface explicit imlementation for creating a builder class - Forever F[r]ame

Daj się poznać 2017 818 dni, 16 godzin, 14 minut temu dpawlukiewicz 69 rozwiń

I’m not a big enthusiast of hard-coded values in my apps, mostly because of three things. First, it’s really annoying to change their value if necessary (especially if one is used in many places). Of course, we can use some „find and replace tool” but to be honest I don’t fully trust them. Another thing is that in many cases we have absolutely no idea what do they represent. Let’s say we have the following of code:   PaymentService.Create(or...

Dziel się z innymi:
How to keep settings in ASP.NET Core? - Forever F[r]ame

Daj się poznać 2017 824 dni, 4 godziny, 45 minut temu dpawlukiewicz 49 rozwiń

Today’s post is going to shortly discuss entire architecture,  I’m going to implement in next three months. Since I’m not microservices master, some of my current decisions might be stupid or just not efficient. I so, please let me know in the comments. This would definitely help me out 😉 !  What are microservices? Let’s start with defining the microservice term. In a common approach, we design our system as one huge „being”. Of course, there mig...

Dziel się z innymi:
gifty - Architecture overview - Forever F[r]ame

Daj się poznać 2017 829 dni, 10 godzin, 18 minut temu dpawlukiewicz 48 rozwiń

1 2 3 4 5 6 7 8
Dotnetos Conference


(32 876,58)
(32 816,53)
(27 178,29)
(21 178,88)
(20 336,33)
(13 018,14)
(10 434,77)
(9 775,28)
(8 283,27)
(6 822,96)
(6 214,22)
(5 393,84)
(4 097,38)
(3 979,62)
(3 863,06)
(3 597,29)
(3 448,35)
(3 318,39)
(3 224,66)
(3 105,41)