Strona głównaUżytkownik

http://mkarczewski.wordpress.com/ | użytkownik

http://mkarczewski.wordpress.com/
http://mkarczewski.wordpress.com/
315,03
4034 dni, 5 godzin, 33 minuty temu
14 stycznia, 2013
dotnetomaniak.pl

Leave a comment There are some materials on the Web concerning the fact that role-based authentication is probably not the best option while implementing system security infrastructure. I find this blog post quite exhaustive: http://lostechies.com/derickbailey/2011/05/24/dont-do-role-based-authorization-checks-do-activity-based-checks/. So basically you need a component which determines whether user X is authorized to perform action Y. But that is the simplest case scenario. Probably, in practice you n...

[EN] Activity-based authorization in modular systems

Do you find yourself repeating the same code fragments in your application layer over and over again? Get request, authorize user, validate request , maybe push to audit log, perform some operations, catch exceptions, log them, then commit/rollback transaction – all of these repeated in 90% of your application layer methods? Anyway, it is a case for me. Repeating such things is basically waste of time, money, energy and it is error/mistake prone, especially if performed by many developer...

[EN] Fluent API – coding monotony remedy? | WellDesignedSoftwareException

Architektura 4171 dni, 20 godzin, 57 minut temu http://mkarczewski.wordpres... 138 źrodło rozwiń

In almost every enterprise scale system there are some tree structures to be held in the database. It could be a system menu structure, an enterprise organisation structure or a user hierarchy. Lets assume that we need to model insurance agents hierarchy for insurance policies processing system. Thinking about agents as children and parents and creating such structures seems to be natural: Agents tableColumnTypeIDInt, not nullParentIDInt, nullRole/RangeSome example attribute Structure...

Tagi: .Net, T-SQL
Dziel się z innymi:
[EN] Efficient tree structures modeling in T-SQL « WellDesignedSoftwareException

Here is code which shows how to extend Spring.NET’s AdoTemplate to enable Dapper micro ORM support. It is based on code & configuration presented in THIS post.publicdelegate T DataContextDelegate

[EN] Spring.NET- Dapper micro ORM support « WellDesignedSoftwareException

As .NET developer I’m about to face the problem of using it in a quite complex system. I took some up front effort to prepare some concept of handling nested DB operations and transactions management. I’m not an Entity Framework specialist (nor enthusiast)  but the potential of this technology (the result of factors like MS marketing or community activity) shouldn’t be overlooked. Though I have faced a problem of EF which won’t appear in HelloWorld scenarios but will get very hard to ove...

[EN] Entity Framework – transactions, multiple contexts and mixing with ADO.NET « WellDesignedSoftwareException

Architektura 4309 dni, 1 godzinę, 41 minut temu http://mkarczewski.wordpres... 81 źrodło rozwiń