dotnetomaniak.pl - Artykuły z tagiem C#

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.

Tagi: .Net, .net core, C#, kurs
Dziel się z innymi:
Becoming a software developer – course introduction | Piotr Gankiewicz

Inne 2645 dni, 15 godzin, 47 minut temu spetz 181 źrodło rozwiń

Tworzenie aplikacji na najświeższą platformę Windows (Universal Windows Platform) nie powinno sprawiać dużych problemów nawet początkującym osobom w tym temacie. Warto jednak już od pierwszych kroków wyposażyć się w ciekawy zbiór bibliotek od Microsoftu, który uprzyjemni pracę w UWP. Zróżnicowany zestaw pomocnych elementów znacznie usprawni programowanie na platformie Windows.

UWP Community Toolkit - niezbędnik dewelopera Universal Windows Platform

Narzędzia 2651 dni, 9 godzin, 3 minuty temu djfoxer 110 źrodło rozwiń

Nowadays, asynchronous programming isn’t something unusual. We all know that when it comes to do some I/O operations or HTTP request, we should do it async. Why? There’re several reasons but two most important  are:Efficiency. In many cases, the code might work faster. That’s because it’s not forced to wait for the result. Instead, it can work on some other stuff and then come back for the response when it’s ready. Simple is that.Comfort. Async improves the comfort of using our applications. We don’t blo...

Źródło: foreverframe.pl
Dziel się z innymi:
What lies beneath async/await in C# ? - Forever F[r]ame

Sztuka programowania 2651 dni, 9 godzin, 3 minuty temu dpawlukiewicz 330 źrodło rozwiń

Programowanie współbieżne – jeden z najbardziej zaawansowanych tematów programistycznych. Z jednej strony programowanie równoległe jest już standardem, z którym mają styczność (może w pewnym stopniu nieświadomie) nawet początkujący programiści. Z drugiej strony nadal tylko niewielu programistów potrafi pisać poprawny oraz efektywny kod współbieżny.

books#4 - "Programowanie równoległe i asynchroniczne w C# 5.0" - PoznajProgramowanie.pl

Sztuka programowania 2651 dni, 9 godzin, 3 minuty temu AdrianBystrek 268 źrodło rozwiń

It’s been a few months already since I’ve started working for good with distributed systems using (micro)services and asynchronous processing via service bus. Many issues and question raised and one of these was how to not lose the information about commands and events being processed and even more importantly, how to notify the user once the request has completed? I’ve had to come up with some solution that seems to be sufficient (at least for now) and I’d like to share it with you.

Dziel się z innymi:
Async HTTP API and service bus | Piotr Gankiewicz

Architektura 2652 dni, 13 godzin, 16 minut temu spetz 142 źrodło rozwiń

Reading time ~4 minutes This post is an analysis of a very interesting optimization proposed by Nicholas Frechette in the comments under the previous post. He proposed to use one of the oldest tricks in performance cookbook - divide and conquer. Well, it did not turn out as I expected.Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then optimizing. This thread grew to a few post. Here are all of them:How I calculate similariti...

Dziel się z innymi:
Dividing a bit in two for performance – IndexOutOfRange

Sztuka programowania 2661 dni, 8 godzin, 13 minut temu maklipsa 78 źrodło rozwiń

Kilka słów o tym, że nie zawsze idzie poprawnie wyszpiegować co siedzi w binarce. Czasami kod znacznie odbiega od rzeczywistości i to bez użycia obfuskacji.

Tagi: C#, Ilspy
Źródło: piatkosia.k4be.pl
Dziel się z innymi:
ILSPY – SZPIEGUJEMY SZPIEGA

Narzędzia 2673 dni, 15 godzin, 30 minut temu piatkosia 91 źrodło rozwiń

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).

Dziel się z innymi:
Warden vNext | Piotr Gankiewicz

Narzędzia 2675 dni, 17 godzin, 41 minut temu spetz 76 źrodło rozwiń

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.

Tagi: .Net, C#, WCF
Źródło: goo.gl
Dziel się z innymi:
Blog piwno-programistyczny: 70-487 Create a WCF Service part 3

Programowanie rozproszone 2681 dni, 12 godzin, 45 minut temu markone 68 źrodło rozwiń

Very often WCF is translated to ABC which corresponds to basic WCF concepts such as: Address, Binding, Contract.

Tagi: .Net, C#, WCF
Dziel się z innymi:
Blog piwno-programistyczny: 70-487 Create a WCF Service part 2

Programowanie rozproszone 2685 dni, 17 godzin, 58 minut temu markone 36 źrodło rozwiń

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...

Dziel się z innymi:
Independent code in performance optimizations – IndexOutOfRange

Programowanie rozproszone 2685 dni, 17 godzin, 58 minut temu maklipsa 46 źrodło rozwiń

Reading time ~6 minutes Last time I’ve shown how I’ve gone from 34 hours to 11. This time we go faster. To go faster I have to do less. The current implementation of Similarity iterates over one vector and checks if that ingredient exists in the second one. Since those vectors are sparse the chance of a miss is big. This means that I am losing computational power on iterating and calling TryGetValue. How to iterate only over the mutually owned ones and do it fast? Saga Before I go furth...

Dziel się z innymi:
Using bit masks for high-performance calculations – IndexOutOfRange

Sztuka programowania 2682 dni, 17 godzin, 38 minut temu maklipsa 58 źrodło rozwiń

One thing that surprised me the most about the C# was the fact that it does not support multiple inheritances (which I knew from the C++). How can we deal with that? Of course, we use interfaces, since one class can implement more than one. But quickly we come to the very common problem...

Źródło: foreverframe.pl
Dziel się z innymi:
Using C# explicit interface implementation for hiding... - Forever F[r]ame

Sztuka programowania 2680 dni, 16 godzin, 23 minuty temu dpawlukiewicz 187 ź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?

Tagi: .Net, C#, WCF
Dziel się z innymi:
Blog piwno-programistyczny: 70-487 [WCF] Create a WCF Service part 1

Programowanie rozproszone 2686 dni, 7 godzin, 13 minut temu markone 150 źrodło rozwiń

Sometimes it happens that we use mechanisms/features of specific language without beeing aware of it. That’s fine, but if you’ll want to discuss your code in a future to the audience or coworkers, soon or later you’ll be forced to learn it and understand (or at least name it using technical nomenclature). Therefore, today I’m going to discuss two related „mechanisms” of C# which are covariance and contravariance.  Covariance Covariance is a type conversion from the specific type to the more general (ba...

Źródło: foreverframe.pl
Dziel się z innymi:
What are covariance and contravariance in C#? - Forever F[r]ame

Sztuka programowania 2686 dni, 7 godzin, 13 minut temu dpawlukiewicz 187 źrodło rozwiń

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.

Dziel się z innymi:
Lockbox | Piotr Gankiewicz

Narzędzia 2689 dni, 11 godzin, 9 minut temu spetz 119 źrodło rozwiń

Today I’ll show you a quite nice example of the Strategy pattern from a real project I was working on some time ago.

Strategy design pattern - real life example - PoznajProgramowanie.pl

Sztuka programowania 2690 dni, 13 godzin, 6 minut temu AdrianBystrek 196 źrodło rozwiń

There are times that you need to call native (C/C++) code from .NET environment. To do so, you have several options: use C++/CLI, use P/Invoke mechanism, use some sort of inter-process communication like pipes, memory mapped files etc persuade yourself that it's gonna be easy to port this cool C/C++ library to C#. Shoot yourself in the head when trying to do it. We will discuss option 2.

Tagi: .Net, C#, pinvoke
Dziel się z innymi:
[EN] Passing struct array in struct via P/Invoke

Inne 2696 dni, 16 godzin, 25 minut temu Krzysztof Zmorzyński 48 źrodło rozwiń

Not so long ago, I’ve eventually decided to dive into the world of microservices. I did look for an opportunity to make use of this architectural pattern for quite some time and finally was able to do so. After 3 months of trying out the new things and learning stuff mostly on my own (the hard way) I believe it’s a good time to share some of my experience. I have no doubts that at some point in the future when I look back at this post I might be like – “oh God, what was I thinking back then, it’s so wro...

Dziel się z innymi:
So I’ve been doing microservices | Piotr Gankiewicz

Programowanie rozproszone 2695 dni, 17 godzin, 53 minuty temu spetz 202 źrodło rozwiń

Przemysław Walkowski No w końcu znalazłem porządne i wygodne miejsce do codziennych ćwiczeń programistycznych – dostępne on-line i dość sensownie zrobione. Nie wielu programistów korzysta z takich rozwiązań. Nie wiem dlaczego. Jednak ja polecam codzienne ćwiczenia w pisaniu kodu i wymyślaniu algorytmów, bo tylko dzięki temu praktycznie zwiększymy szybkość pisania oraz będziemy elastycznie podchodzić do problemów. Jak to wygląda w praktyce napisze poniż...

Tagi: C#, Kata
Dziel się z innymi:
Praktyka czyni mistrza – katy dla C# | Blog Programisty.NET

Sztuka programowania 2695 dni, 17 godzin, 53 minuty temu przemekwa 623 źrodło rozwiń

1 2... 20 21 22 23 24 25... 72 73

Najaktywniejsi w tym miesiącu