Problem which needs to be fixed: Project has two main directories with a lot files. Some of files are almost the same. Some changes to those files should be transfered to other main directory.
Debugging ASP.NET Core apps in Visual Studio Code is not as simple as in „Windows version” but it’s still pretty easy to setup. So if you have ever had some troubles with that, here’s an explanation of the entire process. Adding configuration Before configuring VSC, you need to install C# extension if you don’t have it yet. I’d say, it’s a must-have for every .NET developer working with Code since it offers lots of features like IntelliSense, useful sni...
Microservices are still pretty popular in our industry since they imply lots of benefits. However working with that kind of architecture might be annoying when it comes to commit the changes using GIT. Why? Simply because in a common approach, each microservice should be put in a separate repository. Therefore, instead of doing your typical „GIT sequence” once, you end up with few terminals where you do pretty much the same job. Fortunately, you can avoid that with no big deal. ...
Już od jakiegoś czasu myślałam o zamianie OneNote na coś innego. Męczyło mnie przede wszystkim to, że jeśli mam otwarte okno aplikacji desktopowej i jednocześnie otwieram notkę w przeglądarce, on traktuje to często (w sumie nie wiem do czego to zależy) jako innego użytkownika. Do paranoi doszło, gdy kiedyś sobie notowałam coś na jednym komputerze, a na drugim, gdy weszłam na tą samą notatkę dzień później traktował mnie jak innego użytkownika i pokolorował mi tamten edytowany fragment jako napisany przez ...
.NET Core on Linux is still very fresh in 2017. First production deployments are just beginning to emerge. Consequently, development on this platform is only beginning to show up. There is a lack of knowledge and good practices related to virtually every aspect of the existence of this environment.
Let’s say we remove (by mistake) feature/Democratic branch with force (cause branch is not merged into master). git branch -D feature/Democratic1git branch-Dfeature/Democratic To revert that change we need to find SHA1 of last commit made on that branch. Where to look? If you use terminal look at branch deleting command.
Querying logs is a must have. But to create simple queries, logs must be readable also for humans. Sometimes using default serialisation is not a way to go, and because we are good developers we have to fix it.
Debugging production is bad. Even access to production is bad. But debugging production is evil. I even cannot describe how evil I think it is. But if you ask most developers (including myself), they will say that this can be useful. Up to last week, I thought it cannot be done in safety way, but a new feature in Application Insights called Snapshot collector.
Dalszy ciąg walki z długiem technologicznym. Usuwanie drobnych niedociągnięć i problemów w kodzie przy użyciu narzędzia NDepend i własnej wiedzy.
Usuwanie długu technolgicznego to żmudny i niewdzięczny proces. Ale można go spobie ułatwić stosując narzędzia typu NDepend. We wpisie pokazuje jak usunąć trochę naleciałości w kodzie kierując się wynikami tego narzędzia.
Let’s say you are one man-army, single developer who develops next-great-thing-on-desktop. You have only one client for whom you send each day latest build to test.
NDepend to narzędzie, które pozwala trzymać w ryzach projekt i dzięki któremu nasz dług technologiczny uda się utrzymać w ryzach. A dzięki metrykom poznasz słabe strony swojego kodu lepiej niż po 20h patrzenia się w suchy kod Zapraszam do lektury.
While looking for some efficient solution to mock (or autogenerate) some testing data I stumbled upon this funny-named library called Bogus. I tried and compared it with another well-known library called AutoFixture. They’re both powerful and can speed up tedious manual object initialization. I was looking for a solution that would work with Entity Framework and our database models which required that some selected properties were always not-null. Also, just for my own...
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...
Jak zbudować Continous Integration dla projektu ASP.NET Core przy pomocy dockera i Gitlab Pipelines
My short story with PowerApps - how I spent one day and got nothing.
Zastanawiałeś się nad tym, czy możesz nakazać Visual Studio, aby zrobiło coś przed zbudowaniem projektu? Otóż istnieje taki mechanizm - build events.
Ostatnimi czasy natknąłem się w internetach na model pracy z repozytorium GIT wykreowany przez Vincenta Driessena. Jego podejście sugeruje by trzymać się dwóch głównych gałęzi o nazwach master i jej podgałęzi rozwojowej develop. Gałąź master odzwierciedla docelowy kod programu jaki znajduje się na produkcji z niej...
O narzędziu CodeFormatter, służącym do formatowania projektów dotnetowych, działający z linii poleceń zarówno pod Windowsem jak i pod Linuxem pod Mono. Do tego napisałem skrypt instalujący go na Linuxie.
Czasami zdarza się sytuacja, że część zespołu projektuje API, a deweloper musi odwoływać się do niego w swojej aplikacji. W momencie, gdy dwa zespoły pracują równolegle może pojawić się problem – Twoje zadanie zostaje zablokowane do momentu ukończenia jakiejś części tego API. Można sobie z tym poradzić na kilka sposobów. W sieci znajdziemy mnóstwo narz...