Trochę czasu już upłynęło… Warto by było przyswoić pewne dodatkowe informacje procesie zapisu na strumienie.
Architektura 1603 dni, 17 godzin, 46 minut temu 92 źrodło rozwiń
W jaki sposób jednocześnie numerować kolejne wydania pod Androida i iOS w Xamarinie, bez szukania za każdym razem plików, a także sterować numeracją tylko z jednego miejsca? Jest na to ciekawy sposób, poprzez eventy w csproj, pliku projektu w Visual Studio. Zapraszam do mego wpisu.
Mobile development 1608 dni, 22 godziny, 14 minut temu 66 źrodło rozwiń
Prosty i czytelny sposób na generowanie dokumentów xml - Linq to Xml
Bazy danych i XML 1610 dni, 22 godziny, 5 minut temu 211 źrodło rozwiń
Ostatnia z 3 części historii dotyczącej zastosowania w projekcie AutoMappera.
Sztuka programowania 1611 dni, 21 godzin, 55 minut temu 124 źrodło rozwiń
Większość programistycznej pracy polega na automatyzowaniu, zazwyczaj biznesu klienta. Jednak duża część programistycznych zadań również może być robiona samoczynnie. Przykładowo całe podejście Continuous Integration (Ciągła Integracja) polega na automatyzowaniu pracy developerskiej. Dzisiaj opiszę jak skonfigurować proces budowania aplikacji i uruchamianie testów przy pomocy Cake na przykładzie projektu IsTableBusy.
Czy zdarzyło Ci się pracować długo nad jakimś plikiem i wszystko stracić przez brak zapisania zmian? Czy to aplikacja się zawiesiła, czy może komputer. Dzięki mojej niewielkiej aplikacji autosaver ten problem zniknie.
Druga z 3 części historii dotyczącej zastosowania w projekcie AutoMappera.
Sztuka programowania 1618 dni, 22 godziny, 14 minut temu 118 źrodło rozwiń
Pierwsza z 3 części historii dotyczącej zastosowania w projekcie AutoMappera.
Sztuka programowania 1616 dni, 22 godziny, 35 minut temu 177 źrodło rozwiń
Mobile development 1623 dni, 22 godziny, 18 minut temu 41 źrodło rozwiń
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?
Sztuka programowania 1632 dni, 15 godzin, 23 minuty temu 414 źrodło rozwiń
Let start right off the bat with quick overview what etcd is:distributed key/value store with failover mechanismheavily uses disk but also use in memory cacheAP regarding CAP theoremsequential consistency ( the strongest consistency guarantee availa...
Architektura 1633 dni, 14 godzin, 12 minut temu 49 źrodło rozwiń
Today I (again) focus on the attributes that will make your debugging less painfull :). This time my scribbles should appeal to the programmers who prefer keeping their code clean (and adhere to the principle: the less ‘spare’ code the better). So grab a mug of whatever you like and take a look at DebbugerBrowsable and DebuggerDisplay. The first one may be a good alternative to DebuggerTypeProxyI described in previous post and the second one is just ‘a must’ (really!) that makes life easier.
Mamy 2017 rok, Visual Studio 2017, .net core 2.0 i .net standard 2.0, jest więc to znakomity moment by przejść ze starego formatu plików cs/fsproj w naszych solucjach na nowy. Post opisuje plusy, minusy i problemy wynikające z takiej migracji. Zachęcam do lektury :)
Sztuka programowania 1651 dni, 21 godzin, 37 minut temu 167 źrodło rozwiń
Today I would like to introduce you to the world of attributes that helps you skip some parts of code while debugging. Most of the C# programmers probably know them well, but I realized that only a few can tell the differences between them. So, ladies and gentlemen, let me introduce you the DebuggerStepThrough and DebuggerHidden.
Zawsze przychodzi ten moment gdy trzeba rozwiązać buga na produkcji i jedyne co mamy to logi aplikacji. Okazuje się oczywiście, że nie ma wszystkich informacji w tych logach. Nie ma nawet całkiem podstawowych informacji...
Sztuka programowania 1657 dni, 22 godziny, 57 minut temu 142 ź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 1658 dni, 21 godzin, 52 minuty temu 270 źrodło rozwiń
W skrócie jak ustawić czas systemowy z poziomu .neta, a przy okazji jak wywołać funkcję z pewnej dllki.
[DebuggerTypeProxy] is very useful attribute when you have a class that inherits from another class and that one inherits from another one, and some of the classes contain collections of items and hundreds of properties that in fact are not important to you… Strictly speaking, when displaying class’ members while debugging makes you feel like quitting the job. [b]We decide how to display object while debugging[/b] Exactly! You can set a proxy that will inform debugger how you want a type to be displayed...
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 1673 dni, 22 godziny, 21 minut temu 290 źrodło rozwiń
Wpis o tym, jakie mamy modyfikatory dostępu i jak je olać ciepłym moczem;)
Sztuka programowania 1678 dni, 20 godzin, 54 minuty temu 254 źrodło rozwiń