kevin tseng tw

20 Flips | 1 Magazine | 30 Likes | 14 Followers | @kevintsengtw | Keep up with kevin tseng tw 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 “kevin tseng tw”

Using enums with the ASP.NET 5 (MVC 6) Select TagHelper

IntroductionIn a previous blog post I demonstrated the support for option groups in the new Select TagHelper in MVC 6. Someone asked about using …

Using Option Groups with the Select TagHelper in MVC 6

IntroductionIn MVC 6 we are switching away from the use of the classical HTML Helpers in our Razor views to use TagHelpers instead. Various posts …

NuGet 3 - What and Why?

Since Visual Studio 2015 was released in July, developers have started using a new version of NuGet, NuGet 3 We decided to introduce a number of …

Custom middleware with dependency injection in ASP.NET Core

When a request comes into the application, the first middleware function is executed. Let’s say it contains some logging logic. It logs request …

Unit testing controllers in ASP.NET 5 (MVC 6)

IntroductionPart of my journey in working with ASP.NET is figuring out how to replace the way in which I did things before with a more appropriate …

Introduction to ASP.NET Core (formerly ASP.NET 5)

Sessions in ASP.NET Core

If you are new to ASP.NET, session state is a mechanism that enables you to store and retrieve user specific values temporarily. These values can be …

Step by Step implementing Onion architecture in ASP.NET MVC Application

Learn Creating N-Tier Applications in C#, Part 1 by Steve Smith here – I learnt lot from this course hence sharing<br>Recently I gave a talk on Onion …

A Complete Guide to the MVC 6 Tag Helpers

Tag Helpers are a new feature in MVC that you can use for generating HTML. The syntax looks like HTML (elements and attributes) but is processed by …

Resolve your DbContext as an interface using the ASP.NET 5 dependency injection framework

When developing ASP.NET applications, I prefer to have my database context implement an interface and then inject the interface, as this allows me to …

Attribute Routing With ASP.net MVC 5

Introduction<p>This Article shows how to use the Latest ASP.net MVC 5 <b>Attribute Routing</b> with your Application.<br>• This Article has 2 parts.First part of this …

ASP.NET MVC View Model: Entity Framework & JSON Serialization

Many times I came across an ASP.NET MVC application, where Entity Framework Model (or Database Model) is being used as view model as well. No this …

ASP.NET MVC: Drag & Drop File Upload with Fallback Browser Support with dropzone js

Recently I came across dropzone js library. It enables developer to add drag & drop file upload support in any web application very easily. So here …

Visual Studio 2013 : Getting Started with One ASP.NET Project

Day before yesterday Microsoft released Visual Studio 2013. Visual Studio 2013 is shipped with new version of ASP.NET which focuses on One ASP.NET …

Step by Step Guide: Create, Publish & Monitor a Windows Azure Website from Visual Studio 2013

With the release of Visual Studio 2013, now we can Create, Publish & Monitor Windows Azure websites from within Visual Studio itself without opening …