dotnetomaniak.pl - Artykuły z tagiem programming

New year, new me… Just kidding, no running or yoga plans, but I decided to have a (temporary) break with ‘C# attributes you should know’ series and start with a brand new one – C# facts that somehow surprised me. For the first article, I will show you how (friendly looking, always helpful, good guy...) enum can become an asshole. An asshole who will steal your precious time! One enum value passed to a method, other value received! What’s goin’ on?

Dziel się z innymi:
C# stuff nobody told you – enum is a b*tch! – A Girl Among Geeks

'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!

Źródło: blog.scooletz.com
Dziel się z innymi:
Software as Cheap Cr*p | Szymon Kulec `Scooletz`

Sztuka programowania 2349 dni, 7 godzin, 36 minut temu Scooletz 75 źrodło rozwiń

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

If you’re looking for a simple service for monitoring your MongoDB (things like opening a connection to the database or executing a query and processing the results), then you might find interesting a new type of the watcher added to the Sentry. The MongoDB watcher uses the C# MongoDB Driver under the hood but it’s been implemented in a way, that it’s possible to provide any driver that you’d like. In this post I’ll present how to use it and why it’s been implemented this way instead of another one.

[EN] Sentry – the MongoDB watcher | Piotr Gankiewicz

Daj się poznać 2016 2936 dni, 7 godzin, 46 minut temu spetz 31 źrodło rozwiń

Behavior-driven development (BDD) is a process of developing the software that has evolved from the TDD (test-driven development). We can think of a BDD such as the feature driven approach to the TDD. The main advantage of the BDD over the TDD is the way the tests are being written, in a form of the story that can be understood both by the developers and the customers. In short, we can simply state that the BDD is the TDD done right – it makes use of the so called ubiquitous language which is the core pa...

[EN] BDD with MSpec | Piotr Gankiewicz

Sztuka programowania 2947 dni, 18 godzin, 43 minuty temu spetz 64 źrodło rozwiń

The new type of the watcher for the API monitoring is already available. Actually, it has much in common with the website watcher (very akin configuration, and under the hood uses the HttpClient as well), however it does serve a different purpose, which is making the request to the API and validating its response, whereas the website watcher basically pings the given url (well, it can validate its response too), and does not really care about any other HTTP method different than GET. In this POST (did yo...

[EN] Sentry – the API watcher | Piotr Gankiewicz

Daj się poznać 2016 2950 dni, 23 godziny, 43 minuty temu spetz 64 źrodło rozwiń

Many of the programmers falls into the trap of creating too many unnecessary abstractions in code, that may introduce even more chaos and maintenance issues, instead of simplifying overall project structure and providing some real benefit. One of such abstractions, that have been discussed countless number of times, is the (one and only) repository pattern.

Dziel się z innymi:
[EN] Repository, so we meet again. | Piotr Gankiewicz

Architektura 2962 dni, 16 godzin, 37 minut temu spetz 235 źrodło rozwiń

Dodanie animacji w WPF w stylu funkcyjnym.

Dziel się z innymi:
Programowanie funkcyjne w WPF

Sztuka programowania 4285 dni, 2 godziny, 56 minut temu dit2006 227 źrodło rozwiń

1 2

Najaktywniejsi w tym miesiącu