Dawid Sibiński 0 comments .NET, C# Hello again 🙂 Visibly this is going to be my first technical post here. I hope you’ll find it useful.Windows Services Recently I came up with a need to create an application, which executes some tasks in the background based on file system’s events. “That’s easy”, one would say. “Build Windows Service app”, he would add. Sure, that was also my first idea. I think that’s very common that we want to create an application without any GUI, which pur...
Welcome to the first episode of my course “Becoming a software developer”, which is a starting point for your journey into the software development world. It also begins a first part (there will be 4 parts in total containing 4 episodes each) which is dedicated to the core concepts of object-oriented programming using the C# language.
A few days ago when I posted the information about creating a course Becoming a software developer amongst many positive comments I had received at least a few question why would I do something like this for free. In the video below (English subtitles are available) I do present my answer. And I would also like to write a few additional remarks about it.
Ostatnio zacząłem pisać aplikację webową w F# i Suave, w której korzystam z bazy danych. Poniżej opiszę dwie metody, za pomocą których można się odwołać do danych z bazy. - SQLTypeProvider oraz Dapper
Bazy danych i XML 2886 dni, 22 godziny, 6 minut temu 68 źrodło rozwiń
Welcome to the first, or actually, the episode number 0 of my first online course ever named “Becoming a software developer”. o what is it all about? The goal is simple – I’ll be acting as a mentor to a friend of mine Patryk Huzarski, who would like to become a software developer.
Najpopularniejszym frameworkiem webowym dla aplikacji .NET jest ASP.NET MVC. Pracując w C# sprawdza się on się świetnie, ale bazuje na obiektowym paradygmacie programowania, co nie do końca współgra z funkcyjnym podejściem F#. Na szczęście jest Suave, który pozwala na proste i funkcyjne pisanie aplikacji w F#.
Application Insights is a performance monitoring service, created by Microsoft and available on Azure. It gives you space to store the performance metrics and logs of your application (200MB for free!), as well as functionalities to search and manage them. In this post I am not going to present you the whole platform – Microsoft already did it in the Azure documentation, but rather focus on an element of the log collection, named dependency calls tracking. I did some ...
It’s been quite a while since I posted the latest update of the Warden project designed for monitoring the resources in general. After a lot of back-end coding and refactoring, the time has come to finally focus on the new web interface implementation. And this is where the things start to become interesting (I promise).
Visual studio simplifies creating of WCF service by providing project templates. First way to create WCF service is to use the New Web Site option and then choose WCF Service. It will create a new web site with a sample WCF service implementation linked to a .svc file, with related configuration in the web.config file. In this approach Visual Studio does not just create the core WCF project and add the needed assembly references, but it also builds the host application.
Programowanie rozproszone 2923 dni, 17 godzin, 35 minut temu 73 źrodło 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.
Sztuka programowania 2917 dni, 22 godziny, 31 minut temu 212 źrodło rozwiń
Wczoraj opisałem pusty projekt, który dostajemy w Visual Studio, tworząc projekt F# > Android. Dziś czas na zbudowanie krok po kroku naszej pierwszej aplikacji - prostej listy zadań.
Very often WCF is translated to ABC which corresponds to basic WCF concepts such as: Address, Binding, Contract.
Programowanie rozproszone 2927 dni, 22 godziny, 48 minut temu 40 źrodło rozwiń
Dziesiejszym rynkiem rządzą aplikacje mobilne. Zazwyczaj tanie (względnie), ale przy dużej ilości użytkowników twórcy zarabiają miliony. Dlatego warto umieć tworzyć aplikacje mobilne. A najlepiej tworzyć je na platformie, którą się zna i lubi - .NET
Reading time ~1 minute This will be a fast errata to the previous one. This time I will expand the oldest performance mantra: The fastest code is the one that doesn’t execute. Second to that is the one that executes once Last time I’ve forgot to mention one very important optimization. It was one of two steps that allowed me to go from 1530 to 484 seconds in the sample run.Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then...
Programowanie rozproszone 2927 dni, 22 godziny, 48 minut temu 49 źrodło rozwiń
Architektura 2924 dni, 11 godzin, 15 minut temu 206 źrodło rozwiń
The first problem raised on the exam from WCF technology is Creating a WCF Service. Here are the subtasks for the problem: Create contracts (service, data, message callback, and fault);Implement message inspectors;Implement asynchronous operations in the service; First let's start from question what WCF is?
Programowanie rozproszone 2928 dni, 12 godzin, 3 minuty temu 154 źrodło rozwiń
Życie jest pełne wyborów, ale czasem trzeba dodać “why not both?”. Uwielbiam .NET, jest prosty do opanowania, pozwala na szybkie tworzenie aplikacji i ma bogatą bibliotekę standardową. Jednocześnie lubię pracować na Linuxie, ponieważ mogę instalować aplikacje i biblioteki jednym poleceniem w terminalu, mam szeroki wybór powłok graficznych, jest często szybszy i zajmuje mniej miejsca na dysku niż Windows. Czy jestem w stanie pogodzić .NET i Linux? Tak!
W źródłach .NET poszukujemy zastosowań wzorców projektowych. Mało tekstu, zero UML, dużo kodu.
Architektura 2928 dni, 12 godzin, 3 minuty temu 414 źrodło rozwiń
Attribute routing (RouteAttribute) is a quite handy feature of ASP.NET MVC. It allows you to have nice looking URLs that everybody has already accustomed to and your client surely loves it. Plus it hides your true controller/action structure which sometimes might be desirable. But there's one catch. As your web app gets bigger and bigger, attribute routing might have a negative performance impact on your WHOLE website.
Necessity is the mother of invention – that’s basically why I did create a new open source project called Lockbox. Its main purpose is to provide a centralized and secured storage for the application settings that can be easily fetched via HTTP request. Sounds interesting? Then let me guide you through the most important concepts of the Lockbox.