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 1541 dni, 1 godzinę, 12 minut temu 36 ź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 1541 dni, 1 godzinę, 12 minut temu 46 źrodło rozwiń
Architektura 1537 dni, 13 godzin, 39 minut temu 203 ź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 1541 dni, 14 godzin, 27 minut temu 149 ź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 1541 dni, 14 godzin, 27 minut temu 412 ź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.
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.
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...
Programowanie rozproszone 1551 dni, 1 godzinę, 7 minut temu 202 źrodło rozwiń
I love T4MVC. It allows me to stop using those ugly magic strings while generating compile-time valid links or accessing resources from ASP.NET MVC views. It also has a very nice feature called IModelUnbinder. In short: it can translate action argument of any type into properly constructed link.
Czy możliwe jest skompilowanie kodu C# bez odpalania potężnego narzędzia jakim jest VS? Czy aby skompilować prościutką rzecz lepiej wpisać linię z palca czy jednak jest to przerost formy nad treścią? Rzuć okiem!
F# jest językiem głównie funkcyjnym, ale działa w oparciu o platformę .NET, która jest zorientowana obiektowo. Jeśli piszemy kod w F# do użycia w F# to nie potrzebujemy zbytnio klas i interfejsów, ale jeśli chcemy wykorzystać fsharpową bibliotekę w C# to musi ona udostępnić klasy. Więc powiemy dziś sobie o klasach...
Sztuka programowania 1556 dni, 1 godzinę, 5 minut temu 53 źrodło rozwiń
W tym roku postanowiłem zacząć spotkania Grupy .NET MIMUW od wprowadzenia do języka F#. Poniżej znajdziecie krótki wstęp, link do prezentacji oraz nagranie ze spotkania.
Sztuka programowania 1567 dni, 23 godziny, 50 minut temu 154 źrodło rozwiń
The best language for writing end-to-end tests and how to choose it wisely
Choosing a service bus that meets our demands is a crucial part when developing a distributed system. There are many services to choose from like MSMQ, Azure Service Bus or RabbitMQ and even more frameworks that you can use in your projects as an additional layer of abstraction that makes your coding much easier when it comes to dealing with the specific service bus implementation. In this article, I’d like to present how to use the RabbitMQ in .NET Core with the help of really nice RawRabbit library.
Programowanie rozproszone 1581 dni, 9 minut temu 354 źrodło rozwiń
2016 is about to finish in a few weeks, yet there are a few more things that I’ve planned to do before this year comes to an end. I’m really into the open source right now and about to publish some tutorials. If that sounds interesting to you, please take a look at the whole post.