dotnetomaniak.pl - Artykuły z tagiem dajsiepoznac

A few days ago I’ve gave it a shot and posted a link to my project on the reddit. Amongst some positive comments, there was this one: "I would never use a library that is not documented at all". Although it was the very first version of the Sentry, a typical preview & work in progress thingy (which I did forget to mention in my post), I’ve realized that it’s high time to provide some form of documentation, otherwise why would anyone use that library, even if it was making a miracles? I thought that...

Open source tabula rasa | Piotr Gankiewicz

Inne 2949 dni, 14 godzin, 16 minut temu spetz 87 źrodło rozwiń

Kontynuacja pracy nad tworzeniem dynamicznego proxy w MiSeCo. Niestety zakonczona porażką.

Źródło: devblog.dymel.pl
Dziel się z innymi:
MiSeCo #4: Create interface methods dynamically – #fail – Michał Dymel – DevBlog

Daj się poznać 2016 2949 dni, 14 godzin, 16 minut temu Michal Dymel 45 źrodło rozwiń

Recently I’ve had this idea that came into my mind while working on the Sentry – let the users of my library (if there will be any) to configure not only the set of rules, connection strings, urls etc. but also the underlying providers that do all of the heavy lifting (e.g. the HttpClient responsible for communicating with the API). It means that as long as you’re not satisfied with the default solution, please feel free to provide your own engine that will for example talk to the database and perform a ...

[EN] Mocking the “unmockable” | Piotr Gankiewicz

Sztuka programowania 2950 dni, 5 godzin, 17 minut temu spetz 83 źrodło rozwiń

How to do REST with Web API 2.0 KISS way? Here you have only required things. Nothing more, nothing less. Ohhh... have I told you that it's done on Ubuntu? Take a look.

Źródło: michalogluszka.pl
Dziel się z innymi:
[EN] KISS REST Service with Web API 2.0

Web 2952 dni, 5 godzin, 28 minut temu michalogluszka 92 źrodło rozwiń

This is third post in a series about MiSeCo – a project I am working on for the “Daj się poznać challenge” (in Polish). In the last post, I wrote about the structure of a MiSeCo project and how I am going to implement the base functionality. Today I would like to show you how I managed to create my first interface implementation dynamically in runtime. Just to remind you, I need them to be able to proxy the calls between microservices through some (to be defined) protocol – probably over HTTP co...

Tagi: .Net, C#, dajsiepoznac
Źródło: devblog.dymel.pl
Dziel się z innymi:
[EN] MiSeCo #3: Create types dynamically in C# .NET – Michał Dymel – DevBlog

Daj się poznać 2016 2955 dni, 3 godziny, 32 minuty temu Michal Dymel 93 źrodło rozwiń

Whats the difference between Vulkan and OpenGL? Is Vulkan worth learning?

Źródło: slavgamebrew.com
Dziel się z innymi:
[EN] Why Vulkan is (not) for you

Daj się poznać 2016 2955 dni, 3 godziny, 32 minuty temu jbentkowski 71 źrodło rozwiń

In the third post about XGain I would like to say something about the heart of server. TcpListener is a great class to build server. It has a normal and async methods, you can choose between Socket and TcpClient. Unfortunately writing this same logic for new project might be boring.

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] XGain #02 - Heart of the TCP/IP server - Lukasz Pyrzyk

Architektura 2955 dni, 3 godziny, 32 minuty temu kapral18 40 źrodło rozwiń

Co to jest kontener IoC? IoC czyli Inversion of Control lub też odwrócenie zależności, brzmi bardzo ogólnie, ale co się pod tym kryje? Możemy tutaj zaliczyć wzorzec fabryki, service locatora (lub też antywzorzec), czy też dependency injection i na tym ostatnim się skupimy. Wzorzec ten może zostać zaimplementowany np. poprzez: constructor injection, property injection, jednak najbardziej sensowny jest ten pierwszy sposób. Polega on na wstrzyknięciu zależności poprzez konstruktor. Kontener IoC ma nam...

Jak dodać kontener IoC? - Jakub Skoczeń

Daj się poznać 2016 2950 dni, 5 godzin, 17 minut temu qbasko 225 ź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 2955 dni, 16 godzin, 37 minut temu spetz 64 źrodło rozwiń

Udało mi się w ostatnim czasie dodać kilka nowych funkcjonalności do aplikacji Shopping Advisor. A zatem co nowego udało się zrobić:włączyć autouzupełnianie w formularzu dodawania nowego zakupu tak, aby użytkownik wybierał już istniejący z listy – wówczas tylko dodajemy nowy rekord z nową datą do tabeli z historią zakupówprzenieść poniewierające się gdzieniegdzie luźne napisy na przyciskach czy inne tytuły do pliku strings.xml, gdzie ich miejsceopanować sprawę „Floating Action Button” czyli tego fajnego ...

Źródło: programistka.net
Dziel się z innymi:
Shopping Advisor - Nowe funkcjonalności #dajsiepoznać | Programistka .NET/C# - Iwona Lalik

Daj się poznać 2016 2957 dni, 33 minuty temu Maga 141 źrodło rozwiń

Programowanie jest powtarzalne. Nic z tym nie da się zrobić. Można jednak to nieco uprościć i zrzucić część rzeczy na dostępne na rynku biblioteki.

Biblioteki na każdą okazję – Wildpost

Network layer is really hard to test and debug. XGain works on the Socket class level and this class doesn’t have an interface. That means testing of any component references to this type is really hard, but everything is possible.

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] XGain #01 - abstraction over Socket - Lukasz Pyrzyk

Daj się poznać 2016 2958 dni, 21 godzin, 38 minut temu kapral18 44 ź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 2958 dni, 21 godzin, 38 minut temu spetz 64 źrodło rozwiń

Problem chyba tak stary jak stare są aplikacje liczące pieniądze – jak reprezentować kasę w kodzie aplikacji? W świecie .NET jedną z częściej pojawiających się odpowiedzi jest po prostu decimal jednak tak naprawdę jest to tylko połowa odpowiedzi. W każdym razie jeśli chcielibyśmy to zrobić w duchu OOP i OOD.

Źródło: codestorm.pl
Dziel się z innymi:
Jak reprezentować kwoty pieniędzy w kodzie aplikacji? - Codestorm

Daj się poznać 2016 2957 dni, 33 minuty temu Gveir 268 źrodło rozwiń

Korzystając z Entity Frameworka warto zwracać uwagę na sposób pobierania danych. W przypadku, gdy nie będziemy ich modyfikować, a chcemy jedynie pobrać dane tylko do odczytu, przydatna okaże się metoda AsNoTracking(). Wywołanie metody skutkuje brakiem śledzenia danych przez kontekst. Dzięki temu nie marnujemy niepotrzebnie zasobów. Przyjrzyjmy się poniższemu przykładowi, w którym porównamy pobieranie danych z i bez metody AsNoTracking(). Na początek pobieramy dane standardowo. W tym celu modyfikujemy...

Do czego służy metoda AsNoTracking()?

Daj się poznać 2016 2957 dni, 33 minuty temu qbasko 266 źrodło rozwiń

Kolejny wpis o MiSeCo. Tym razem opisuje strukturę projektu oraz wstępne założenia implementacji.

Źródło: devblog.dymel.pl
Dziel się z innymi:
MiSeCo – project structure – Michał Dymel – DevBlog

Daj się poznać 2016 2961 dni, 1 godzinę, 12 minut temu Michal Dymel 60 źrodło rozwiń

Wstrzykiwanie zależności. Porównanie kontenerów IoC i wybór najlepszego do projektu WebAPI.

Źródło: kduszynski.pl
Dziel się z innymi:
Proste wstrzykiwanie zależności? – Wildpost

Daj się poznać 2016 2958 dni, 21 godzin, 38 minut temu wildcat89 313 źrodło rozwiń

In today’s post, I’ll describe what kind of interfaces have been defined in the Sentry project, and how you can take advantage of this knowledge, e.g. in order to create the custom metrics. I’ve tried to keep these interfaces as simple as possible, yet some of them require an explanation, mostly due to the fact, that even though the library itself is rather simple to use (I want to believe that it’s also what you think), it does not mean that the main methods when being executed, will return for example,...

Dziel się z innymi:
[EN] Sentry – how to make use of the interfaces | Piotr Gankiewicz

Daj się poznać 2016 2963 dni, 4 godziny, 27 minut temu spetz 86 źrodło rozwiń

.NET framework has a Socket class to deal with low-level networking. Standalone synchronous server based on Socket is not so difficult, here is an example:. Microsoft has provided two ways of creating high performance TCP/IP server. The most cool is SocketAsyncEventArgs with event-based system

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] XGain #00 - TCP/IP server written in C# - Lukasz Pyrzyk

Daj się poznać 2016 2962 dni, 19 godzin, 33 minuty temu kapral18 96 źrodło rozwiń

Wstęp do MiSeCo: MicroServices framework based on ASP.NET Core. Mój projekt na #dajsiepoznac

Źródło: devblog.dymel.pl
Dziel się z innymi:
[EN] Introduction to MiSeCo – Michał Dymel – DevBlog

Daj się poznać 2016 2964 dni, 6 godzin, 22 minuty temu Michal Dymel 48 źrodło rozwiń

1 2 3 4 5 6

Najaktywniejsi w tym miesiącu