Dac-Toan Ho

145 Flips | 26 Magazines | 19 Followers | @ToanHoDac | Keep up with Dac-Toan Ho 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 “Dac-Toan Ho”

Cannot Inject Dependencies into ASP.NET Web API Controller using Unity

Has anyone had any success running using an IoC container to inject dependencies into ASP.NET WebAPI controllers? I cannot seem to get it to …

Tutorial: Server Broadcast with SignalR 2

This tutorial shows how to create a web application that uses ASP.NET SignalR 2 to provide server broadcast functionality. Server broadcast means …

Code First Migrations and Deployment with the Entity Framework in an ASP.NET MVC Application

The Contoso University sample web application demonstrates how to create ASP.NET MVC 5 applications using the Entity Framework 6 Code First and …

Dealing With Optimistic Concurrency in Entity Framework

When you update a database record with the entity values, the database values are overwritten by the entity values (default behavior). In a real …

Inheritance Strategy in EF 6 Code-First

Inheritance Strategy in Entity Framework 6:<p>We have seen in the Code-First Conventions section that EF creates database tables for each concrete …

ASP.NET Web API Compression

<b>The latest code for this article can be found on Github.</b><p>When building systems on top of web APIs, performance is critical. Compression is an easy and …

Entity Framework Generic Repository Pattern

<b>Thought 1</b><p>with the above approach I will go like Repository and then have a Repository with the implementation of methods written above.<p>I think this …

Principal IT

Business value insights<p>You have a great idea for a new software product? Or you want to improve the "Return on investment" of your existing …

Automatic INotifyPropertyChanged using Dynamic Proxy

As a WPF or Silverlight developer chances are you have implemented the INotifyPropertyChanged-interface more than once. The interface is simple …

Re: How to intercept any property that has a specific attribute using dynamic proxy 2? - Krzysztof Koźmic - com.googlegroups.castle-project-users

Hello, I am reading Krzysztof Koźmic's tutorial about Dynamic Proxy and I can't figure out how to intercept all properties that have some custom …

Implement InotifyPropertyChanged with Castle.DynamicProxy – Alkampfer's Place

In previous post, I simply show how to dynamically generate a class that inherits from a given class, and implement INotifyPropertyChanged for all …

Expression Tree Visualizer

Some of you may remember a rather handy ExpressionTree debugger visualizer that allowed the visualization of expressions. Basically it was extremely …

LINQ Farm Seed: Using the Expression Tree Visualizer

The Visual Studio 2008 CSharp samples include several valuable tools that LINQ developers can use to help expedite the development process. One of …

Developer code samples

Microsoft Office Developer Documentation Team MSFT<p>Microsoft Office Developer Documentation Team samples are developed and tested by the Office …

Taking the Magic out of Expression - Simple Thread

Now that we have defined our length delegate we can call it just like any delegate:<p>But we can wrap our “Func<string,int>” in an Expression<T> like …

C# 7.0 in a Nutshell - LINQKit

Crude Oil Price | Crude Oil Futures - Investing.com

<i>0</i><p>Recent Alerts<p>Sign up to create alerts for Instruments, Economic Events and content by followed authors<p>Free Sign Up<p>Already have an account? Sign …

LINQ: Func<T> vs. Expression<Func<T>>

LINQ: Func<T> vs. Expression<Func<T>><p>Continuing the previous post about differences between IEnumerable<T> and IQueryable<T> I would like to describe …

Relationship in Entity Framework Using Code First Approach With Fluent API

Introduction<p>A relationship, in the context of databases, is a situation that exists between two relational database tables when one table has a …