dotnetomaniak.pl

Strona głównaUżytkownik

dpawlukiewicz | użytkownik

dpawlukiewicz
dpawlukiewicz
1 934,24
12 godzin, 2 minuty temu
5 kwietnia, 2016
dotnetomaniak.pl

Aggregate is one of the most fun and powerful methods in LINQ. Sadly it's also of of the most underused and "scary" ones. I hope that after reading this post you will understand Aggregate a bit more, know when to use it and won't be afraid of doing so.

Tagi: aggregate, Linq
Źródło: hryniewski.net
Dziel się z innymi:
Hryniewski.NET | LINQ - don't be afraid of Aggregate

Sztuka programowania 1 dzień, 10 godzin, 27 minut temu Rafał Hryniewski 230 rozwiń

Nowadays, asynchronous programming isn’t something unusual. We all know that when it comes to do some I/O operations or HTTP request, we should do it async. Why? There’re several reasons but two most important  are:Efficiency. In many cases, the code might work faster. That’s because it’s not forced to wait for the result. Instead, it can work on some other stuff and then come back for the response when it’s ready. Simple is that.Comfort. Async improves the comfort of using our applications. We don’t blo...

Źródło: foreverframe.pl
Dziel się z innymi:
What lies beneath async/await in C# ? - Forever F[r]ame

Sztuka programowania 8 godzin, 20 minut temu dpawlukiewicz 272 rozwiń

Hi folks, it’s me again! Well, I was kind of inactive for a while and to be honest, I did it for a purpose. 2016 was an absolutely crazy year for me, full of new challenges, projects and personal changes (hope that most of them were those positive). Therefore, at the end of December, I decided to take a short break and flush my thoughts related to the blog, podcast and… programming. But don’t be nervous, I’m not gonna give it up! Anyway, I guess that with the new year it’s finally time to do some summar...

Źródło: foreverframe.pl
Dziel się z innymi:
My thoughts about 2016 - Forever F[r]ame

Inne 10 dni, 2 godziny, 29 minut temu dpawlukiewicz 27 rozwiń

Niektórzy w tej chwili lepią pierogi, próbują nie wrócić do domu z pangą, latają za zapomnianym prezentem niczym Arnold za Turbo-Manem lub w ciepłym, przytulnym domku wieszają na choince bombki. Ja z kolei mam cały dzień dla siebie i jego część postanowiłem na napisanie krótkiego posta o tym jak możecie wykorzystać enumy jako flagi i obwiesić nimi swoje obiekty tak bardzo jak tylko chcecie, a żeby zachować choć pozory świątecznej atmosfery zrobię to z małym świątecznym akcentem (takim tycim).

Źródło: hryniewski.net
Dziel się z innymi:
Hryniewski.NET | Enumy jako flagi i wykorzystanie operatorów bitowych (XMASS Edition)

Sztuka programowania 16 dni, 11 godzin, 58 minut temu Rafał Hryniewski 210 rozwiń

Often developers as a log store use text files, system events, output console or database. In some cases they use distributed systems such Splunk or Elasticsearch. In this article I would like to present how to store logs in the form of objects, rather than plain text, which also offers all sorts of graphs and charts called dashboards.

Log data using Serilog, Elasticsearch and Kibana | mpustelak.com

Sztuka programowania 23 dni, 12 godzin, 45 minut temu Mateusz Pustelak 138 rozwiń

One thing that surprised me the most about the C# was the fact that it does not support multiple inheritances (which I knew from the C++). How can we deal with that? Of course, we use interfaces, since one class can implement more than one. But quickly we come to the very common problem...

Źródło: foreverframe.pl
Dziel się z innymi:
Using C# explicit interface implementation for hiding... - Forever F[r]ame

Sztuka programowania 28 dni, 11 godzin, 27 minut temu dpawlukiewicz 184 rozwiń

Sometimes it happens that we use mechanisms/features of specific language without beeing aware of it. That’s fine, but if you’ll want to discuss your code in a future to the audience or coworkers, soon or later you’ll be forced to learn it and understand (or at least name it using technical nomenclature). Therefore, today I’m going to discuss two related „mechanisms” of C# which are covariance and contravariance.  Covariance Covariance is a type conversion from the specific type to the more general (ba...

Źródło: foreverframe.pl
Dziel się z innymi:
What are covariance and contravariance in C#? - Forever F[r]ame

Sztuka programowania 34 dni, 2 godziny, 17 minut temu dpawlukiewicz 183 rozwiń

In today’s post, we are going to explore another feature of the Aurelia framework or more precisely aurelia-fetch-client. So, in many cases, it would be nice to perform some specific actions when doing an AJAX request. For instance, before sending a request we want to log it into browser database like PouchDb. A more common example is calling a toastr on some error like 404, 500, 401. The problem with such a scenarios is that many developers duplicate their code in every single request/callback so they b...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] Using Interceptors with aurelia-fetch-client - Forever F[r]ame

Web 44 dni, 11 godzin, 29 minut temu dpawlukiewicz 21 rozwiń

I’ve been using Windows OS since I remember. I guess the first version I used was ’95. Why Windows? Well mostly because of simplicity. When I wanted to install some application, all I needed to do was to download that and run the .exe. No struggling with some weird „sudo” like commands that I didn’t understand. It just worked fine. Things changed when I went to university and discovered Debian which is a Linux distribution. My first moments with UNIX family wasn’t very enjoyable but after few days I unde...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] Mac OS X for .NET developer? - Forever F[r]ame

Inne 52 dni, 7 godzin, 4 minuty temu dpawlukiewicz 104 rozwiń

When coding web applications we sometimes come to the point when we need to perform some action during user’s navigation. One of the most common examples would be authorization and checking whether the user has appropriate roles. Fortunately, Aurelia provides an access to route pipeline so it’s super easy to add some extra steps Let’s get to work!  Inspecting RouterConfiguration In order to add our custom pipeline steps, we need to create some routing for the application. I won’t describe the whole pr...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] Exploring Aurelia's route pipelines - Forever F[r]ame

Web 57 dni, 8 godzin, 2 minuty temu dpawlukiewicz 46 rozwiń

A few days ago I was playing with Entity Framework when suddenly an Exception popped out on the screen:   Additional information: LINQ to Entities does not recognize the method ‚System.String GetFullName(User)’ method and this method cannot be translated into a store expression.   That was because accidently I treated Expression

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] Func vs. Expression - Forever F[r]ame

Sztuka programowania 62 dni, 8 godzin, 38 minut temu dpawlukiewicz 257 rozwiń

In the previous post, I presented to you the Aurelia – new, great JavaScript framework created by Rob Eisenberg. We also used its Command Line Interface (CLI) to create new Aurelia project with all its dependencies, unit tests, and HTTP server. As I announced back then, we’re going to play with CLI to generate some code inside our project. So, let’s get started!Aurelia CLI generator Okay, before our implementation, let’s find out what kind of code we can generate using Aurelia’s CLI. To do that, just ty...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] Generating view model and view using Aurelia CLI - Forever F[r]ame

Web 79 dni, 1 godzinę, 57 minut temu dpawlukiewicz 37 rozwiń

As we all know, JavaScript world is one of the fastest growing. New frameworks appear and soon after die because of capabilities or outdated solutions. The example here is knockout.js (which I really loved by the way) – an excellent MVVM framework with dependency injection, two-way data binding e.t.c which was eaten by Google’s child called Angular. In the meantime React JS happened and all these great frameworks like Ember or Polymer. In early 2016, all frontend geeks waited for the new awesome framewor...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] Meet Aurelia & CLI - Forever F[r]ame

Web 77 dni, 10 godzin, 33 minuty temu dpawlukiewicz 55 rozwiń

Czy metody HTTP i JSON to już REST? Co powinniśmy wiedzieć, zanim wystawimy publicznie API i ogłosimy całemu światu, że jest ono "RESTful" ?

Tagi: HTTP, REST, RESTful
Źródło: mickl.net
Dziel się z innymi:
8 rzeczy, które warto wiedzieć projektując REST-owe API

Architektura 90 dni, 4 godziny, 53 minuty temu mickl 661 rozwiń

To be honest, I thought that my previous post would be the last in the CQRS/ES series, but I forgot to discuss one more thing related to that topic. Many developers don’t know how we should handle the following scenario in our systems:   „During the creation of user’s new account I would like to verify rather a username is unique in the whole database. Should I use Event Store or Read Database for a query? Where should I check that?”   Seriously, that question is one of the most popular topics connected ...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] How to guarantee username uniqueness with CQRS/ES? - Forever F[r]ame

Sztuka programowania 87 dni, 3 godziny temu dpawlukiewicz 138 rozwiń

As I announced in the last part, our CQRS/ES journey is almost finished! But before it happens we need to take care of read side of our application. However, before we move forward to the implementation, it’s worthwhile to explain why do we need a read side? After all, we have an excellent data source called Event Store which allows us to reconstruct every domain object in our system. What’s, even more awesome is the fact that we can „time travel” in our domain by not applying all events in our domain ob...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] CQRS/ES #6 Read database and Event Handlers - Forever F[r]ame

Architektura 96 dni, 6 godzin, 40 minut temu dpawlukiewicz 138 rozwiń

The letter „U” in CRUD means Update. Is that something hard to do in our applications? Of course not! We simply get some data, change the value of selected columns and save our changes. That’s it. However, sometimes thing may not go so smooth, especially when we (as programmers) wouldn’t predict some edge-case scenarios. One of this is updating same data by many users at the same time. That’s why today’s post will be dedicated to the concept of optimistic concurrency and implementing that using Entity Fr...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] Dealing with optimistic concurrency using Entity Framework - Forever F[r]ame

Web 103 dni, 13 godzin, 14 minut temu dpawlukiewicz 128 rozwiń

All right, after a few short breaks, I’m finally ready to continue our journey, during which we discover Command Query Responsibility Segregation pattern along with Event Sourcing. In a previous part, we discovered the role of events and ES in our application and to be honest we’re almost done! But before that, we need to focus a little bit on transporting our commands and events. That’s why today’s post will be dedicated the buses. Okay, let’s start!  RabbitMQ and EasyNetQ To accomplish our task, we n...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] CQRS/ES #5 Command Bus and Event Bus - Forever F[r]ame

Architektura 108 dni, 1 godzinę, 38 minut temu dpawlukiewicz 157 rozwiń

Dzień dobry bardzo! Kolejny poniedziałek, kolejny odcinek podcastu! Dziś będzie grubo, ponieważ gościem ósmego odcinka był Maciej Aniserowicz (ktoś nie zna?)! Maciek jest programistą, który od ponad pół roku nie pracuje bo może, prowadzi bloga devstyle.pl, jest hostem pierwszego Polskiego podcastu technicznego DevTalk, prowadzi szkolenia i jeździ po naszym pieknym kraju głosząc dev-słowa na przeróżnych konferencjach. Tematem dzisiejszego odcinka są testy. Jak i co powinniśmy testować w naszych systemach...

Tagi: podcast, testy
Źródło: foreverframe.pl
Dziel się z innymi:
DevReview #8 O testach z Maciejem Aniserowiczem - Forever F[r]ame

Inne 110 dni, 13 godzin, 47 minut temu dpawlukiewicz 170 rozwiń

One of the cool feature in ASP.NET 5 (before renaming to ASP.NET Core) or more precisely in dnx was tracking all code changes without recompiling whole project (Microsoft used to call that In-Memory compilation). Why is that so cool? Well simply, it’s way more comfortable than it used to be, and it makes our development faster. Now the good news is that it’s not gone. I mean, if you run your .NET Core application (with Ctrl+F5, not F5) using IIS Express, you can change your code in Visual Studio, then sa...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] Tracking code changes in ASP.NET Core using dotnet-watch - Forever F[r]ame

Web 121 dni, 12 godzin, 23 minuty temu dpawlukiewicz 98 rozwiń

1 2 3 4
Szkolenia SecurITum

luty

25.

marzec

03.
Wroc#
Wrocław

kwiecień

03.
4developers
Warszawa
Zobacz wszystkie

.NET Developer Days 2015

W tym roku ponownie jak w poprzednim jesteśmy jednym z patronów medialnych konferencji .NET Developer Days. W tym roku jednym z prelegentów będzie Scott Hanselman.  czytaj więcej
2015-07-22

Najaktywniejsi

1

macko (32 816,53)

2

http://pawlos.blo... (31 510,42)

3

pzielinski (27 178,29)

4

gordon_shumway (21 178,87)

5

paduda (20 336,33)

6

psz750 (13 018,14)

7

rroszczyk (10 383,88)

8

Damian (9 011,08)

9

danielplawgo (7 235,99)

10

arek (6 642,85)

11

burczu (6 214,22)

12

PaSkol (5 393,84)

13

lukaszgasior (4 097,38)

14

jj09 (3 418,06)

15

jedmac (3 238,38)

16

http://jakub-flor... (3 224,66)

17

CaMeL (2 954,87)

18

mnikolajuk (2 596,93)

19

lkurzyniec (2 466,12)

20

FutureProcessing (2 460,11)