Visual Studio Code posiada możliwość zmiany ustawień kolorystycznych w edytorze korzystając z File->Preferences->Color Theme lub poprzez Ctrl–Shift–P i wpisać Color Theme. Zostanie nam zaprezentowana lista kilku styli kolorystycznych, niektóre z nich możesz zobaczyć w tym poście .
Sztuka programowania 2433 dni, 23 godziny, 6 minut temu 254 źrodło rozwiń
Quick list of 6 things to know before diving deep into F#
Misleading documentation - Exchange meeting requests Hello Exchange! A few weeks ago I had the opportunity to work with on-premise Exchange Server 2013. Microsoft provides a powerful interface to manage Exchange mailboxes called EWS (Exchange Web Services). Unfortunately, communication between EWS and Exchange Server is based on heavy-weight SOAP messages. Instead of creating requests and parsing responses manually, I decided to use EWS Managed API. This is an open-source library, which wraps SOAP comm...
Quick glance at a great library for functional testing in F# - canopy
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...
Większość aplikacji pisanych w .NET, korzysta z funkcji udostępnianych przez ten framework od wersji 4.0, lub starszej. Dlaczego? Zapewne dlatego, że wersja ta zawiera właściwie 90% rzeczy, które są nam do szczęścia potrzebne. Dodatkowym atutem pisania aplikacji w wersji 4.0 tego frameworka, jest fakt, że to ostatnia wersja dostępna dla Windowsa XP. Jednak co w przypadku, kiedy zdecydujemy się porzucić starego XP’ka i skorzystać z nowych funkcji, jakie wnosi .NET 4.5? Okazuje się, że napotkamy na mały p...
Jak działają moduły w Angular2, jak podzielić aplikację, jak utworzyć modół współdzielony
Istnieje mnóstwo blogów, artykułów, filmów instruktarzowych, ale nie zawsze jesteśmy w stanie znaleźć czas, aby usiąść i poczytać. Już dłuższy czas temu zacząłem słuchać podcastów o tematyce informatycznej i uważam, że jest to świetne źródło wiedzy i rozrywki.
Twoim workspace jest katalog w którym uruchomisz Visual Studio Code, za pomocą konsoli, pisząc code . Taki workspace może mieć własny plik konfiguracyjny, możesz go utworzyć przez File->Preferences->Workspace settings. w poście znajdują się ustawienia, które mogą zależeć od rodzaju projektu na którym pracujesz.
It’s been quite a while since I’ve started gathering some knowledge about the microservices architectural pattern that’s been on a hype recently. After reading many articles, some books like Microservices in .NET Core and talking with smart guys in the Devs PL Slack channel, I’ve eventually decided that the time has to come to try to make the microservices happen in the real world project. That’s the beginning of my journey into the distributed programming and architecture, so please keep that in mind wh...
Architektura 2438 dni, 21 godzin, 55 minut temu 250 źrodło rozwiń
Postanowiłem stworzyć nowe zwierzątko - albo jak kto woli z angielskiego Pet Project (czym jest to zwierzę można przeczytać tu u Procenta). Jeśli uda się oprócz nauki paru rzeczy zrobić coś wartościowego to kod opublikuję na githubie. Na warsztat biorę pisanie API w .NET Core z wykorzystaniem Nancy oraz kawałkiem frontu napisanym w Aurelia i to wszystko hostowane w Azure. Żeby bardziej utrudnić sobie życie i sprawdzić co Microsoft wypracował w kontekście multiplatformowości nowego .NET całe pisanie kod...
Reading time ~2 minutes I’m taking a short break from Hangfire series, but I will get back to it. This time - Where did my memory go ? Or to be more exact: Why is this using so much memory? The story starts with one IIS application pool using around 6 Gigabytes of memory on one of our test environments. It was several times above the values that we expected it to use, so we decided to investigate. Without much thinking we fired up Visual Studio installed on the test server, and attached to the proce...
Architektura 2438 dni, 21 godzin, 55 minut temu 64 źrodło rozwiń
Using power of F# (type providers, pattern matching and charting) and ice drilling data to prove global warming
Obfuscating windows batch files using undefined environmental variables
Problems, SharePoint, Solution, SPS When I installed SharePoint 2013 Foundation on Windows 2012 R2 I found a few problems. The Wizard for SharePoint does not help with everything and to install it, I needed to do a lot of manual work. So below I collected all of the problems with the solution that I found during installation. Problem: Microsoft SharePoint 2013 Preparation Tool taking too long. You wait hours, days when this tool will configure for you Application Server Role or Web Server IIS Role...
No i żeby tradycja nie umarła, kolejny odcinek Tydzień z Azure się pojawia 🙂 W tym tygodniu krótko i na temat – 5 nowości + 2 zaproszenia na wydarzenia. Nowości:Azure SQL Database Advisor – nowości w mechanizmie poprawijącym wydajność naszej bazy – https://azure.microsoft.com/en-us/blog/improved-automated-tuning-sql-database-advisor/Nowy region UK – https://azure.microsoft.com/en-us/blog/microsoft-azure-now-available-from-uk-datacenters/Nowy region Niemcy – https://azure.microsoft.com/pl-pl/blog/micros...
Did you ever wondered what it would be like if you are not limited to static Main(string[] args) as your entrypoint? Did you ever wanted more freedom over where your app starts? Actually you can have that.But in order to do it – you need to go one level lower. Into an IL level.
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...
Architektura 2441 dni, 10 godzin, 20 minut temu 279 źrodło rozwiń
Everyone knows how to enhance Visual Studio’s debugging experience by applying DebuggerDisplay attribute (in polish). If not – read Piotr’s post here. That’s debugging 101. Here’s how to improve your experience even more. DebuggerDisplay attribute is ok if you control the code and you can apply it to the type you want to expose in the debugger. What if you can’t do that? What if you want to attribute a build-in type? Is all hope gone? No. There’s a way. There’s a hidden* .cs file and a dll that you can...