daniel vo

430 Flips | 21 Magazines | 39 Likes | 9 Following | 89 Followers | @danielvo1510 | Keep up with daniel vo on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “daniel vo”

Introduction to Claims based security in .NET4.5 with C# Part 4: authorisation with claims

At the end of the previous blog post on Claims transformation we ended up with a basic console application where we transformed the incoming Claims …

Performing Authorization In Class Libraries Without Coupling Security in ASP.NET Identity

Most of the time it makes sense to perform authorization at the Controller or Web API level in an ASP.NET MVC application using an <i>AuthorizeAttribute</i> …

When You Might See SQL Server Concurrency Problems

If locking isn’t used, and thus no isolation exists between transactions, the following four concurrency problems may appear:<p>Lost update<br>• Dirty reads …

Understanding SQL Server Lock Modes

Lock modes specify different kinds of locks. The choice of which lock mode to apply depends on the resource that needs to be locked. The following …

All about locking in SQL Server

Locking is essential to successful SQL Server transactions processing and it is designed to allow SQL Server to work seamlessly in a multi-user …

Registration Concepts — Autofac 4.0 documentation

Registration Concepts¶<p>You register components with Autofac by creating a ContainerBuilder and informing the builder which components expose which …

Instance Scope — Autofac 4.0 documentation

Instance Scope¶<p>Instance scope determines how an instance is shared between requests for the same service. Note that you should be familiar with the …

Controlling Scope and Lifetime — Autofac 4.0 documentation

Controlling Scope and Lifetime¶<p>A great place to start learning about Autofac scope and lifetime is in Nick Blumhardt’s Autofac lifetime primer. …

An Autofac Lifetime Primer

<i>Or, “Avoiding Memory Leaks in Managed Composition”</i><p>Understanding lifetime can be pretty tough when you’re new to IoC. Even long-time users express …

How to Use Telnet to Test SMTP Communication

Open a telnet session: From a command prompt, type <b>telnet</b>, and then press ENTER.<p>Type <b>set local_echo</b> on a computer running Microsoft Windows® 2000 …

Recovering SQL Server after tempdb drive failure

Dependency Injection in action filters in ASP.NET Core

It is quite common to decorate ASP.NET MVC controller actions with filter attributes to separate cross cutting concerns from the main concern of the …

Getting A Users Username in ASP.NET

When building an ASP.net application it’s important to understand the authentication solution that you are planning to implement and then ensure that …

Understanding Access Control List In nopCommerce

In this article we will cover the Access Control List (ACL) feature of nopCommerce that is an ASP.NET MVC based e-Commerce solution.

Don’t Do Role-Based Authorization Checks; Do Activity-Based Checks

24 May, 2011. It was a Tuesday.<p>I’ve built a few dozen security mechanisms in my career. Unfortunately, I kept getting it wrong, hence the need to …

Think twice about using MembershipProvider (and SimpleMembership)

I’ve been talking about this topic since ASP.NET 2.0 was released in 2005 and to be honest this is sort of old news. I never put together a post on …

Practical Permissions-Based Authorization in ASP.NET Core MVC

The New Identity framework<p>As anyone following ASP.NET’s development in the last two years knows, ASP.NET Core has been released and there are a lot …

Software Development

Designing activity (permission) based, instance (resource) aware authorization for your ASP.NET Mvc web applications: doing things the right way

Last Updated: Wednesday, 24th July, 2013<p>Author: Varun Khosla<p>In this paper<p>Introduction<p>In the context of this paper, activity is defined as an action …

ASP.NET MVC 5 Identity: Implementing Group-Based Permissions Management Part II

This is the second part of a two-part series in which we figure out how to implement a basic Group-based permissions management system using the …

ASP.NET MVC 5 Identity: Implementing Group-Based Permissions Management Part I

Over the course of several recent articles, we’re examined various ways and means of working with and extending the ASP.NET Identity System. We’ve …

Custom Roles Based Access Control (RBAC) in ASP.NET MVC Applications

An introduction to custom roles based access control in an ASP.NET MVC application using the Entity Framework.

Inversion of Control Containers and the Dependency Injection pattern

One of the entertaining things about the enterprise Java world is the huge amount of activity in building alternatives to the mainstream J2EE …

JavaScript

Castle Windsor: Avoid memory leaks by learning the underlying mechanics

Lifestyles<p>In am not going to explain all the different lifestyles Windsor has as you could read up on them on the Castle Wiki but for the sake of …

Exception Handling in MVC

<w:sdt docparttype="Table of Contents" docpartunique="t" id="-2057686482" sdtdocpart="t"><p>Contents<p>Introduction<p>In this article we will discuss about …