dotnetomaniak.pl - Artykuły z tagiem C#

SendGrid is one of the most popular services for delivering the email messages. It allows sending both, the regular, plain text email messages as well as the templated ones (called “transactional”). On top of that, it has also some other cool features such as marketing templates. In this post, I’m going to describe the way that the Warden project has been integrated with this service.

[EN]Integration with SendGrid | Piotr Gankiewicz

Daj się poznać 2016 2706 dni, 20 godzin, 4 minuty temu spetz 45 źrodło rozwiń

W poprzedniej części wątku WPFowego projektu MemoryVisualizer skupiłem się na przypomnieniu, czym jest i jak implementować komendę (interfejs ICommand) w C#. Dla przypomnienia, napisałem ogólne rozwiązanie, któremu podaje się odpowiednie metody, dzięki czemu jest ca...

Tagi: C#, F#
Źródło: blog.kokosa.net
Dziel się z innymi:
Blog Kokosa | F# vs C# - eventowa podróż przez mękę

Pagination is (should be) a well-known concept for most of the developers. Whether we want to execute an optimized query on a database that will fetch just a small subset of all available records or increase the web service throughput by returning less data than it’s needed – it all boils down to the efficient usage of the pagination. I’m going to present my approach to this mechanism, both for the MSSQL and MongoDB databases, yet it can be also used in any other scenario such as in memory pagination.

[EN] Pagination for MSSQL & MongoDB | Piotr Gankiewicz

Daj się poznać 2016 2711 dni, 21 godzin, 47 minut temu spetz 75 źrodło rozwiń

W C# 7.0 operator Is, a konkretniej dopasowywanie typów, zostało ulepszone. We wcześniejszych wersjach, byliśmy zmuszeni do pisania kodu. Jeśli zmienna jest danego typu, automatycznie zostanie zrzutowana. Innymi słowy, za pomocą jednego operatora wykonujemy 3 operacje: sprawdzenie typu, zrzutowanie oraz wykonanie instrukcji warunkowej. W poprzednich wersjach, możliwe było zrobienie czegoś podobnego, ale powstały kod zwykłe był mniej przejrzysty.

Tagi: .ney, 7.0, C#
Dziel się z innymi:
c# 7.0 – Operator “Is” | Piotr Zieliński

Architektura 2706 dni, 1 godzinę, 34 minuty temu rroszczyk 354 źrodło rozwiń

Opis projektu MemoryVisualizera toczy się w kilku wątkach. Jednym z nich jest moja przygoda z F# w kontekście WPF. Po pierwszej części, w której w ogólności opisywałem jak możemy “pożenić” WPF z F#, pora kolejne kroki. Ale wcześniej potrzebne nam będzie krótkie przypomnienie z WPF w C#.

Tagi: C#, MVVM, WPF
Źródło: blog.kokosa.net
Dziel się z innymi:
Blog Kokosa | MemoryVisualizer - WPF oraz ICommand

Daj się poznać 2016 2713 dni, 1 godzinę, 30 minut temu KonradKokosa 66 źrodło rozwiń

In my latest post, I’ve stated that one day I’d like to provide some kind of UI for the users, that would visualize what’s going on in their system that is being monitored by the Warden. As you may have noticed, this special day has come quite fast. In this post, I’ll present the first prototype of the web interface design (that took me just a couple of minutes to complete).

Warden Web Panel – UI prototype | Piotr Gankiewicz

Daj się poznać 2016 2713 dni, 1 godzinę, 30 minut temu spetz 75 źrodło rozwiń

Big changes related to the Warden project – it has been totally rewritten to the new .NET Core in order to support cross-platform capabilities (at least in a future). The functionality per se (including API) didn’t change, yet from now on you can use Warden with the new DNX runtime. If you’re interested in the migration process, a current status of this update (including the supported parts of the project) and what are the next goals – take a look at the whole post.

Dziel się z innymi:
[EN] Warden migration to .NET Core | Piotr Gankiewicz

Daj się poznać 2016 2713 dni, 20 godzin, 30 minut temu spetz 76 źrodło rozwiń

In today’s post, I’ll briefly describe one of the most recent watchers responsible for the Redis monitoring. Of course, it is a part of the Warden project, therefore, all of the features such as hooks and integrations are available. Let’s not waste anymore time and start with the code examples.

[EN] Redis monitoring with Warden | Piotr Gankiewicz

Daj się poznać 2016 2720 dni, 1 godzinę, 42 minuty temu spetz 50 źrodło rozwiń

Dzisiaj artykuł o wstrzykiwaniu zależności. Każda poważniejsza aplikacja w obiektowym języku programowania powinna implementować zasadę odwróconego sterowania (IoC), a jej poszczególne modułu powinny być luźno powiązane (loose coupling).

Źródło: www.arturnet.pl
Dziel się z innymi:
Wstrzykiwanie zależności - cz. 1 - www.Arturnet.pl

Sztuka programowania 2718 dni, 22 godziny, 59 minut temu art511 871 źrodło rozwiń

W dzisiejszym wpisie chciałbym przedstawić nowe narzędzie udostępnione w Visual Studio 2015 jakim jest okno C# Interactive. Jest ono dostępne od wydania Update 1. Jeśli kiedykolwiek zdarzało wam się irytować podczas tworzenia kolejnego projektu Console Application tylko po to aby wypróbować działanie kawałka kodu na pewno ucieszy was fakt że za pomocą C# Interactive już tego nie będziecie musieli robić Okno to dostarcza mechanizm REPL...

Dziel się z innymi:
C# Interactive – Siepacze Kodu

Narzędzia 2713 dni, 1 godzinę, 30 minut temu Zaba 415 źrodło rozwiń

Quite recently I’ve started working on new features for the Warden project and published the first prelease version to the NuGet (along with other packages that are meant to be additional plugins). In this post, I will discuss the available extensions that are basically responsible for making the fluent API even more fluent and the integrations that are a totally new thing, implemented as separate plugins (similarly to the watchers), which provide a quick access to the external services that can be part...

[EN] Warden – extensions, integrations, NuGet | Piotr Gankiewicz

Daj się poznać 2016 2721 dni, 15 godzin, 29 minut temu spetz 38 źrodło rozwiń

W tym odcinku pierwsze słyszalne efekty działającego vocodera. Jeszcze bez ostatniego filtra górnoprzepustowego ale efekt już działa :)

Tagi: audio, C#, DSP, vocoder, VST, VST.NET
Dziel się z innymi:
Negative Programmer: Synteza dźwięku cz2 - prawdziwy efekt vocodera

Daj się poznać 2016 2721 dni, 23 godziny, 50 minut temu sikor02 23 źrodło rozwiń

Jak wiemy delegaty w języku C# zawierają referencje do metod o określonych wcześniej parametrach oraz typie jaki dana metoda zwraca.

Tagi: .Net, C#, delegate
Dziel się z innymi:
Delegate – GetInvocationList – Siepacze Kodu

Sztuka programowania 2721 dni, 1 godzinę, 40 minut temu Zaba 138 źrodło rozwiń

W tym odcinku piszemy testy do generatora fali trójkątnej oraz generujemy wykresy tej fali do excela. Generator powinien tworzyć bufor jak najmniejszej długości tak aby tworzył ciągłą falę trójkątną 20kHz dla zadanej częstotliwości próbkowania.

Tagi: C#, DSP, Excel, VST
Dziel się z innymi:
Negative Programmer: Generator fali trójkątnej - testy

Daj się poznać 2016 2724 dni, 17 godzin, 7 minut temu sikor02 36 źrodło rozwiń

Any Kronos client will be available to use three basic commandsInsertGetDelete In future I want to add few more, like Count and GetKeys. Each of requests to the server serialized to binary form is preceded by few bytes of meta-data, including RequestType. In code its represented as a Request class, which in addition to type has two generic methods. At the beginning they might look difficult, but they are quite simple. First of them is responsible for sending any request to the server via special connec...

Źródło: www.pyrzyk.net
Dziel się z innymi:
[EN] Kronos - Creating a base request - Lukasz Pyrzyk

Architektura 2726 dni, 44 minuty temu kapral18 41 źrodło rozwiń

Immutability is a quite old concept that is mostly related to the functional programming, however, it’s also (maybe not so widely) used in the object oriented programming. An immutable variable/object can not be mutated, which means that once it’s been initialized it will never change it’s original value/reference (unless it’s deallocated). This approach results in some great benefits such as out of the box thread safety, yet in the OOP world, it does seem to be quite often abused or even not used at al...

[EN] A word about immutability | Piotr Gankiewicz

Sztuka programowania 2726 dni, 44 minuty temu spetz 68 źrodło rozwiń

Nie raz i nie dwa zdarzało mi się mieć potrzebę posiadania więcej niż jednego guzika na formie. Zawsze ale to zawsze miałem problem z tym jak to dobrze rozegrać. Aż wreszcie trafiłem na dobrą odpowiedź na SO.Model i Forma Załóżmy taki model danych, jakiś prosty viewmodel dla użytkownika.: Następnie aby go przesłać z powrotem do kontrolera zdefiniowałem taki model: Typ pola action jest także zdefiniowany. Teraz gdzieś na widoku tworzę formę, która umożliwi mi wpisanie ...

Tagi: .Net, buttons, C#, mvc
Dziel się z innymi:
Jedna forma dwa guziczki

Web 2727 dni, 1 godzinę, 16 minut temu rroszczyk 168 źrodło rozwiń

Programując w ASP .NET MVC często mamy potrzebę zmapować jeden obiekt na inny, może to być np. encja pobrana z bazy danych, którą trzeba pozbawić niektórych właściwości i przekazać do dalszych warstw naszej aplikacji, lub – w prostszy ujęciu – konwersja modelu na View Model, którym napełnimy widok naszej aplikacji.

Źródło: www.arturnet.pl
Dziel się z innymi:
[www.Arturnet.pl] AutoMapper – mapowanie jednej klasy na drugą – wydajność i możliwości

Sztuka programowania 2721 dni, 15 godzin, 29 minut temu art511 220 źrodło rozwiń

Do obecności w sieci Bitcoina wystarczy dowolny klient implementujący jego protokół oraz połączenie Internetem. A jakby tak nauczyć się jego języka i pogaworzyć przy użyciu własnej aplikacji? Zobaczymy o czym gada Bitcoin :)

Tagi: .Net, Bitcoin, C#
Źródło: www.mikoleusz.pl
Dziel się z innymi:
Protokół Bitcoina od środka: Łączymy się z siecią – Mikoleusz Blog

Architektura 2729 dni, 1 godzinę, 25 minut temu Mikoleusz 57 źrodło rozwiń

If you’re looking for a simple service for monitoring your MongoDB (things like opening a connection to the database or executing a query and processing the results), then you might find interesting a new type of the watcher added to the Sentry. The MongoDB watcher uses the C# MongoDB Driver under the hood but it’s been implemented in a way, that it’s possible to provide any driver that you’d like. In this post I’ll present how to use it and why it’s been implemented this way instead of another one.

[EN] Sentry – the MongoDB watcher | Piotr Gankiewicz

Daj się poznać 2016 2729 dni, 1 godzinę, 25 minut temu spetz 31 źrodło rozwiń

1 2... 26 27 28 29 30 31... 72 73

Najaktywniejsi w tym miesiącu