dotnetomaniak.pl

Strona głównaUżytkownik

Rafał Hryniewski | użytkownik

Rafał Hryniewski
Rafał Hryniewski
1 915,8
21 minut temu
29 marca, 2016
dotnetomaniak.pl

Since the beginning of march, I’m working on a pet project called Me 2.0 as a part of Get Noticed contest. Now I’m ready(ish) to release it’s the first version to the public, along with its companion app. TL;DR: Links for the app and messenger bot are at the end of this blog post.

Źródło: hryniewski.net
Dziel się z innymi:
Me 2.0 version 0.1 – released + mini-summary – Hryniewski.NET

While I can’t say casting is a way to go in C#, it’s a rather common operation. It’s good to know there is more than one way of doing that and the best way depends on current circumstances. Explicit Cast I’m assuming you know what casting is but just to be clear, I mean changing object type like casting an int to long or some kind of JSON to string. It’s common, it happens all the time and sometimes we just need to do that. Let’s start with the most basic case of explicit casting.

Tagi: C# 7.0, casting
Źródło: hryniewski.net
Dziel się z innymi:
Is, as, cast – what, when and why – Casting in C# 101 – Hryniewski.NET

In the previous post, I’ve briefly described part of a process of persisting state of our actor. I’ve told you about storing events and I’ve mentioned things called snapshots. This post is entirely about them.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #6: Persisting actors state – snapshots – Hryniewski.NET

Daj się poznać 2017 3 dni, 9 godzin, 28 minut temu Rafał Hryniewski 17 rozwiń

As I’ve mentioned in previous posts about Akka.NET, everything that actor knows is stored in memory. While we can skip any database or IO related bottlenecks because things in memory are generally speaking very fast, we must remember that memory is not a place where you can store your data for an extended period of time and keep it. So let’s talk about persisting it.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #5: Persisting actors state – events – Hryniewski.NET

In one of my posts about Akka.NET I’ve covered actor selections and paths. Sadly I’ve skipped one rather important part regarding allowed characters for actor paths and what to do if our name cannot be used for creating an actor. And recently I’ve received a question about why I’m creating actors using encoded string. This is the cause.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #3.5: Actor paths requirements and how to meet them – Hryniewski.NET

Daj się poznać 2017 14 dni, 12 godzin, 21 minut temu Rafał Hryniewski 25 rozwiń

Microsoft Flow is a service I’ve been working with for some time and poking it to discover some of its possibilities. Basically, it’s service that allows to create and manage workflows from ready to use blocks representing triggers and actions.

Źródło: hryniewski.net
Dziel się z innymi:
Microsoft Flow – Introduction – Hryniewski.NET

Daj się poznać 2017 14 dni, 12 godzin, 21 minut temu Rafał Hryniewski 86 rozwiń

How many times have you stored something in key/value collection? Most probably it was Dictionary or some kind of implementation of IEnumerable>. More than a few times I wanted to store more than one value under single key, most common solution for this situation is Dictionary with collection of some kind as value type, but do you remember about type that was designed just for that and is seen much less often in code?

Tagi: Linq, lookup
Źródło: hryniewski.net
Dziel się z innymi:
LookUp class in C# – have you ever tried it? – Hryniewski.NET

Daj się poznać 2017 26 dni, 6 godzin, 10 minut temu Rafał Hryniewski 157 rozwiń

We’ve recently released our newest application – Elastic Forms. While it’s easy to work with and powerful solution as a standalone application, you can expand its functionalities by order of magnitude using our API with other services. In this post, we’ll follow the example of using Elastic Forms with Microsoft Flow.

Dziel się z innymi:
Using Microsoft Flow for building basic business process

Cloud 29 dni, 22 minuty temu Rafał Hryniewski 130 rozwiń

Lately I’ve seen some posts about authentication made easy and simple with various packages and how it’s great we doesn’t haven’t to store logins and passwords in our databases anymore due to global availability of social identity providers. It’s true that making simple authentication with of of those providers is simple today. And in Azure App Services it’s even simpler, it really can be done in 5 minutes.

Źródło: hryniewski.net
Dziel się z innymi:
Azure App Services – Authentication with FB, Google and others in 5 minutes or so – Hryniewski.NET

Daj się poznać 2017 29 dni, 23 godziny, 34 minuty temu Rafał Hryniewski 34 rozwiń

As you’ve probably seen in previous posts about Akka.NET, actor model is no rocket science and is really easy and fun to start with. However entire actor model may seem like closed and hermetic ecosystem, today I’ll show you how to poke actors in way that’ll make them poke back.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #4: Connecting Actor Model with endpoints – Hryniewski.NET

Daj się poznać 2017 35 dni, 12 godzin, 43 minuty temu Rafał Hryniewski 18 rozwiń

Entity Framework (and other ORMs) are in general great pieces of software that makes developers lives so much easier by letting us thinking about objects when we’re working with data persisted in some underlying database. This makes development much easier than writing raw SQL queries. But some of us tend to get too comfy and forgetting about things that lies beneath our beautiful, object oriented code. After all we have Entity Framework, we shouldn’t wrap our heads around SQL stuff. But how about actual...

Źródło: hryniewski.net
Dziel się z innymi:
Entity Framework – how about giving a shit about databases? – Hryniewski.NET

Daj się poznać 2017 39 dni, 11 godzin, 52 minuty temu Rafał Hryniewski 182 rozwiń

First of three months in Get Noticed contest just passed. Some code were written, and some posts have been too. Let’s wrap this month up quickly and see what I’ve got for the foreseeable future.

Źródło: hryniewski.net
Dziel się z innymi:
Me 2.0 – March Summary – Hryniewski.NET

Daj się poznać 2017 45 dni, 15 godzin, 35 minut temu Rafał Hryniewski 37 rozwiń

One of the concepts of actor model that could be hard to grasp at the begining is fact that we will not operate on direct reference to actor instance. This can be a bit confusing before you’ll get used to it but by not using any direct references you’re sure to achieve very good level of encapsulation.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #3: Actor selections, paths and references – where should you send your messages – Hryniewski.NET

Daj się poznać 2017 45 dni, 15 godzin, 35 minut temu Rafał Hryniewski 44 rozwiń

Yesterday I’ve writen about dynamic data masking in Azure SQL (works with SQL Server 2016 too). It is very interesting and simple feature. But can we use it with our beloved Entity Framework? Scenario Lets start with our scenario. We’ll have very simple console demo application (you can clone code from this repo) with one entity class and two DbContext derived classes using two different connection strings that will simulate two separate client applications fetching data from shared database.

Źródło: hryniewski.net
Dziel się z innymi:
Dynamic Data Masking And Entity Framework – Hryniewski.NET

Daj się poznać 2017 53 dni, 13 godzin, 13 minut temu Rafał Hryniewski 357 rozwiń

Along with Get Noticed contest I’m a bit preoccupied with other activities. One of them is preparing to take 70-473 Exam (cloud and data related stuff). Since I’m reading and using cert related stuff I could as well write about it – I’ll probably remember everything I’ll write about for rest of my life (writing about things works magic with memory) and maybe someone will have any use for that. Let’s start with simple things – dynamic data masking.

Źródło: hryniewski.net
Dziel się z innymi:
Azure SQL 101 – Dynamic Data Masking – Hryniewski.NET

Daj się poznać 2017 56 dni, 14 godzin, 17 minut temu Rafał Hryniewski 11 rozwiń

Let’s take a closer look at our actors, how their life looks like, what exactly they’ve been doing and what they can do. As they are basic building block of applications built on actor model it’s crucial to understand and being able to communicate with them.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #2: A day in the life of an Actor – Hryniewski.NET

Daj się poznać 2017 57 dni, 1 godzinę, 39 minut temu Rafał Hryniewski 31 rozwiń

In previous post I’ve explained briefly what actor model is and why it’s so fun. Today we’ll create our ActorSystem instance, learn what it is and send first messages to them. I hope it will be nice and easy start.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #1 – Creating Actor System and making first contact – Hryniewski.NET

Daj się poznać 2017 61 dni, 6 godzin, 57 minut temu Rafał Hryniewski 23 rozwiń

Actor model concept fascinated me since I’ve heard about it for the first time. It’s been on my todo list ever since and Get Noticed 2017 is great opportunity to give it a try. That’s why there is an actor responsible for almost anything in Me2.0. But, what is an actor, actor model and are benefits of using it in our projects? You’ll find out in a minute.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #0 – Actor Model Basics – Hryniewski.NET

Daj się poznać 2017 62 dni, 12 godzin, 50 minut temu Rafał Hryniewski 118 rozwiń

I've seen many posts about generics in C# lately. And while they cover basics pretty well, most of them doesn't contain information about constraints which are things that causing generics to be really fun.

Tagi: generic, generics
Źródło: hryniewski.net
Dziel się z innymi:
Working with generics and constraints in C# – Hryniewski.NET

Daj się poznać 2017 70 dni, 11 godzin, 9 minut temu Rafał Hryniewski 109 rozwiń

Until recently I was into ASP.NET MVC because of it’s possibility to extending, modifying and doing pretty much whatever you want with it. And while I’ve got rather proficient in plugging stuff in it’s pipeline and/or doing custom stuff like routing, binding or results, it never changed one fact about MVC – it’s big, really big. And the truth is, some times we don’t want so much. That’s why I wanted to give Nancy a go for some time, below you’ll find some of my first thoughts. And i must tell you now, it...

Tagi: nancy, nancyfx
Źródło: hryniewski.net
Dziel się z innymi:
One night with Nancy – Hryniewski.NET
1 2 3
Szkolenia SecurITum

maj

23.
CodeEurope
Wrocław
25.
CodeEurope
Warszawa
Zobacz wszystkie

Najaktywniejsi

1

macko (32 816,53)

2

http://pawlos.blo... (31 626,47)

3

pzielinski (27 178,29)

4

gordon_shumway (21 178,87)

5

paduda (20 336,33)

6

psz750 (13 018,14)

7

rroszczyk (10 385,98)

8

Damian (9 041,08)

9

danielplawgo (7 235,99)

10

arek (6 807,95)

11

burczu (6 214,22)

12

PaSkol (5 393,84)

13

lukaszgasior (4 097,38)

14

jj09 (3 578,06)

15

jedmac (3 318,39)

16

http://jakub-flor... (3 224,66)

17

CaMeL (2 954,87)

18

spetz (2 923,27)

19

mnikolajuk (2 596,93)

20

lkurzyniec (2 592,76)