Strona głównaUżytkownik

Rafał Hryniewski | użytkownik

Rafał Hryniewski
Rafał Hryniewski
2 318,05
1983 dni, 12 godzin, 17 minut temu
29 marca, 2016
dotnetomaniak.pl

We have many solutions for versioning data through time. One of the cleanest, most transparent and pretty effortless in my opinion are Temporal Tables which are available in MS SQL 2016+. What’s really great about that approach is that unless you need to retrieve state from the certain point in time or browse through changes in a specified time range, you can query against a versioned table in an exactly same way that you would do with any other one.

Źródło: hryniewski.net
Dziel się z innymi:
Versioning data with MS SQL Temporal Tables – Hryniewski.NET

Bazy danych i XML 2189 dni, 19 godzin, 59 minut temu Rafał Hryniewski 75 źrodło rozwiń

My last blog post was about a feature in SQL Server called Row Level Security Policy. It’s quite simple and known feature for people who’re working directly with databases. But most .NET developers are using ORM of some kind to work with DB, and some of them tend to be blind to stuff that is not available through object model in an easy way. And since Entity Framework is most popular ORM in C# environment and my ORM of choice in most cases, I’ll show you how to use RLS in it.

Źródło: hryniewski.net
Dziel się z innymi:
Using MS SQL’s Row Level Security Policy in Entity Framework – Hryniewski.NET

Bazy danych i XML 2244 dni, 9 godzin, 46 minut temu Rafał Hryniewski 103 źrodło rozwiń

In some scenarios, like single-database multi-tenant or soft delete ones, you could want to restrict access to your rows based on a value stored in one or more values stored in your columns in example IsDeleted flag or some kind of TenantId column. Since SQL Server 2016 we have a wonderful tool for that called Row Level Security Policy.

Tagi: MS SQL, SQL, T-SQL
Źródło: hryniewski.net
Dziel się z innymi:
Row Level Security in MS SQL – Hryniewski.NET

Bazy danych i XML 2259 dni, 19 godzin, 7 minut temu Rafał Hryniewski 112 źrodło rozwiń

When I’ve started working with Azure SQL there were some differences to SQL Server that I’ve needed to get used to. One of the first was that you just can’t query other databases that you’re already in, querying for [OtherDB].[dbo].[SomeTable] just wasn’t possible anymore. It appears that it may not be possible, but you actually can query for data in other databases.

Źródło: hryniewski.net
Dziel się z innymi:
Querying external databases in Azure SQL – Hryniewski.NET

Cloud 2273 dni, 20 godzin, 50 minut temu Rafał Hryniewski 37 źrodło rozwiń

I’m working with Azure for quite a while now. Almost every single one of my projects lands there eventually and even if I don’t deploy it there, I’m using one of it’s databases. Recently I’ve started using Visual Studio Team Services for storing code and managing my every pet or demo project that I want to keep private for now. But there is one service available on Azure that I’m using for a very long time with great success and I really like to have it in my project – it’s Application Insights combined ...

Structured logs with Serilog and Application Insights – Hryniewski.NET

Cloud 2320 dni, 21 godzin, 32 minuty temu Rafał Hryniewski 107 źrodło rozwiń

Storing data in multitenant environments always required some consideration. With Cosmos DB we have 2 options that are really worthy of our attention so let’s weight some pros and cons.

Źródło: hryniewski.net
Dziel się z innymi:
Multitenancy in Cosmos DB – Hryniewski.NET

Bazy danych i XML 2379 dni, 21 godzin, 50 minut temu Rafał Hryniewski 77 źrodło rozwiń

A while ago I wrote about creating Actor System and top-level actors. Sadly it was stored in a static field. And keyword static is … let’s say it’s not one of my favourites. Today I’ll show you how I’m doing the exact same thing but in Dependency Injection container.

Źródło: hryniewski.net
Dziel się z innymi:
Akka.NET #7: Creating and accessing Actor System with Dependency Injection Container – Hryniewski.NET

Sztuka programowania 2387 dni, 22 godziny, 1 minutę temu Rafał Hryniewski 84 źrodło rozwiń

For the last 3 months I’ve been participating in Get Noticed contest, just like a year ago. I’ve persevered to end of the contest just like almost 200 people out of almost 1000 that started it. In the last week we as contestants was supposed to vote for other projects to choose 25 finalists from ourselves.

Źródło: hryniewski.net
Dziel się z innymi:
Get Noticed 2017 – I’m in the finals! – Hryniewski.NET

Daj się poznać 2017 2504 dni, 6 godzin, 24 minuty temu Rafał Hryniewski 35 źrodło rozwiń

When I’m writing this there are still 2 and a half hour to the end of “Get Noticed 2017 contest. Let’s wrap everything up. The basic goal was to develop open source project and blog about this at least 2 times a week. I did a post about my project when I’ve released first alpha/beta version of it, you can read it here.

Źródło: hryniewski.net
Dziel się z innymi:
Get noticed 2017 – summary – Hryniewski.NET

Daj się poznać 2017 2514 dni, 23 godziny, 32 minuty temu Rafał Hryniewski 12 źrodło rozwiń

Working with Azure means you can use on of databases it provides in SaaS model. It means you don’t have to install and configure i.e. SQL Server on some kind of (virtual or not) machine. Databases in SaaS model have a lot of other virtues but let’s not go there in this post, today I want to write about choices you can make during choosing which database to use.

Źródło: hryniewski.net
Dziel się z innymi:
PaaS databases available on Azure – Hryniewski.NET

Daj się poznać 2017 2515 dni, 12 godzin, 24 minuty temu Rafał Hryniewski 45 źrodło rozwiń

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

Daj się poznać 2017 2525 dni, 12 godzin, 6 minut temu Rafał Hryniewski 22 źrodło rozwiń

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

Daj się poznać 2017 2528 dni, 10 godzin, 35 minut temu Rafał Hryniewski 82 źrodło rozwiń

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 2531 dni, 17 godzin, 11 minut temu Rafał Hryniewski 24 źrodło 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

Daj się poznać 2017 2536 dni, 7 godzin, 44 minuty temu Rafał Hryniewski 45 źrodło rozwiń

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 2542 dni, 20 godzin, 4 minuty temu Rafał Hryniewski 28 źrodło 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 2542 dni, 20 godzin, 4 minuty temu Rafał Hryniewski 90 źrodło 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 2554 dni, 13 godzin, 54 minuty temu Rafał Hryniewski 169 źrodło 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 2557 dni, 8 godzin, 6 minut temu Rafał Hryniewski 135 źrodło 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 2558 dni, 7 godzin, 18 minut temu Rafał Hryniewski 39 źrodło 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 2563 dni, 20 godzin, 26 minut temu Rafał Hryniewski 23 źrodło rozwiń

1 2 3 4

Najaktywniejsi w tym miesiącu