搜尋此網誌

顯示具有 MVC 標籤的文章。 顯示所有文章
顯示具有 MVC 標籤的文章。 顯示所有文章

2018-03-03

ASP.NET Identity

0 意見
ASP.NET Core Identity

ASP.NET Identity : The Official Microsoft ASP.NET Site

ASP.NET Identity


ASP NET MVC 5 新功能探索之《ASP.NET Identity》
Customizing ASP.NET Authentication with Identity MVA Channel 9
Sample Code

Account Confirmation and Password Recovery with ASP.NET Identity (C#)




ASP.NET 标识初探
使用 ASP.NET 标识进行外部身份验证
在 ASP.NET 标识中存储用户数据

领先技术 - ASP.NET Core 中的 Cookie、声明和身份验证
领先技术 - ASP.NET Core 中基于策略的授权




Stuntman




Bearer Token Authentication in ASP.NET Core

Implement Security using ASP.NET Core Identity in 10 Easy Steps

Introducing IdentityServer4 for authentication and access control in ASP.NET Core




New Tutorial Published on Migrating to ASP.NET Identity
New tutorial for migrating applications with membership and User Profile information from Universal Providers to ASP.NET Identity
Authentication and Authorization with ASP.net Webforms

Building a simple ToDo application with ASP.NET Identity and associating Users with ToDoes
ASP.NET Identity Database

Understanding, Using and Customizing ASP.NET Identity System for Authentication and Authorization

How to add ASP.NET MVC5 Identity Authentication to existing database

Getting Entity Framework 6 and ASP.NET Identity 2 to play ball with MySQL




Announcing RTM of ASP.NET Identity 2.0.0*****




ASP.NET MVC and Identity 2.0: Understanding the Basics ******
ASP.NET Identity 2.0: Setting Up Account Validation and Two-Factor Authorization
ASP.NET Identity 2.0: Customizing Users and Roles
ASP.NET Identity 2.0 Extending Identity Models and Using Integer Keys Instead of Strings
ASP.NET Identity 2.0: Extensible Template Projects
ASP.NET Identity 2.0: Implementing Group-Based Permissions Management

ASP.NET Identity 2.0: Introduction to Working with Identity 2.0 and Web API 2.2
ASP.NET Web Api and Identity 2.0 – Customizing Identity Models and Implementing Role-Based Authorization
ASP.NET Identity 2.1 with ASP.NET Web API 2.2 (Accounts Management) – Part 1




ASP.NET: Understanding OWIN, Katana, and the Middleware Pipeline
ASP.NET Web Api 2.2: Create a Self-Hosted OWIN-Based Web Api from Scratch
ASP.NET Web Api: Understanding OWIN/Katana Authentication/Authorization Part I: Concepts
ASP.NET Web Api: Understanding OWIN/Katana Authentication/Authorization Part II: Models and Persistence
ASP.NET Web API: Understanding OWIN/Katana Authentication/Authorization Part III: Adding Identity




ASP.NET Identity 2.0: Introduction to Working with Identity 2.0 and Web API 2.2 ***
ASP.NET Identity 2.0: Introduction to Working with Identity 2.0 and Web API 2.2
ASP.NET Web Api and Identity 2.0 – Customizing Identity Models and Implementing Role-Based Authorization

ASP.NET Identity 2.1 with ASP.NET Web API 2.2 ***

Announcing preview of Microsoft.AspNet.Identity 2.0.0-alpha1
Updating ASP.NET applications from ASP.NET Identity 1.0 to 2.0.0-alpha1
ASP.NET Identity 2.1.0-alpha1

Customizing profile information in ASP.NET Identity in VS 2013 templates

SignalR and user identity (authentication and authorization)

ASP.NET Core Identity ***
ASP.NET Identity with the Entity Framework
Customization Options With ASP.NET Identity
Implementing ASP.NET Identity

ASP.NET Forms Authentication in 4 Easy Steps

Implementing custom password policy using ASP.NET Identity
Announcing preview of Microsoft.AspNet.Identity 2.0.0-beta1
Per request lifetime management for UserManager class in ASP.NET Identity
Adding two-factor authentication to an application using ASP.NET Identity


Adding Two-Factor authentication to an ASP.NET application

External Authentication with ASP.NET Identity





Some notes on using Organizational Auth with ASP.NET
Implementing Ajax Login in ASP.NET MVC
ASP:NET MVC 5 Confirm Registration Email
Social Login in ASP.NET MVC




从Membership 到 .NET4.5 之 ASP.NET Identity

ASP.NET Identity
[ASP.NET MVC] ASP.NET Identity登入技術剖析
[ASP.NET MVC] ASP.NET Identity登入技術應用

[ASP.NET] Visual Studio 2013 的 Form 驗證
ASP.NET Identity簡介
打造現代網站應用: (3) ASP.NET Identity
ASP NET MVC 5 新功能探索之《ASP.NET Identity》

康廷數位購物網 8 -認識 ASP.NET Identity 驗證授權機制
康廷數位購物網 9 -安裝 ASP.NET Identity
康廷數位購物網 10 -開始導入ASP.NET Identity

如何利用 ASP.NET Identity 實作 GitHub OAuth2 登入驗證
ASP.NET Identity 如何取得 Facebook 登入的 Access Token

淺談 oAuth 2.0
[ASP.NET] 使用 OAuth 2.0 整合 Google、Facebok、WindowsLive、Xuite 登入
筆記:使用Google帳號登入ASP.NET MVC網站
筆記:使用Facebook帳號登入ASP.NET MVC網站

使用 ASP.NET Identity




在MVC5中自定 ASP.NET Identity
在ASP.NET MVC5中建置以角色為基礎的授權機制
ASP.NET Identity Example - ToDo
建置一個支援google、Facebook帳號可登錄的MVC5應用程式
修改 ASP.NET Identity 預設的 Table Name

AspNet Identity 玩弄手札 第一彈 Code First 自訂 profile data
AspNet Identity 玩弄手札 第二彈 Social Login Facebook 登入

Asp.net Identity 2.0 將索引變成 int 值, 並且新增預設最高使用者帳密
[ASP.NET Identity 2.0]如何將 ASP.NET Identity 的資料表 PK 欄位的資料型別由 NVARCAHR(128) 改為 INT

[ASP.NET Identity] Identity 起手式




MVC5 - ASP.NET Identity登录原理 - Claims-based认证和OWIN
Asp.NET MVC5 efficiently check role claim

Authentication Protocols, Web UX and Web API

Two Factor Authentication In ASP NET MVC

Thinktecture.IdentityManager as a replacement for the ASP.NET WebSite Administration tool

Custom authorization in WPF




ASP.NET CORE IDENTITY WITHOUT ENTITY FRAMEWORK

EXORCISING ENTITY FRAMEWORK FROM ASP.NET IDENTITY




[ASP.NET WebAPI] WebAPI的使用者驗證及授權
[WebAPI] 權限管理:檢查使用者權限
[WebAPI] 權限管理:透過AuthorizationFilterAttribute來客製化權限管理

2018-02-23

JWT Authentication

0 意見
JWT Authentication for Microservices in .NET *****

以 JSON Web Token 替代傳統 Token
OAuth 2和JWT - 如何设计安全的API?



JSON Web Token (JWT) with Web API
Securing Webapi using Json Web Token (JWT) in C#

How to secure an ASP.NET Web API ***
JWT Authentication for Asp.Net Web Api ***

[ASP.NET MVC][OWIN]Web API使用JWT(Json Web Token)進行驗證授權
User Authentication in ASP.NET WEB API 2 with RSA-signed JWT Tokens (part 1)
Create a RESTful API with authentication using Web API and Jwt *****
JSON Web Token in ASP.NET Web API 2 using Owin
ASP.NET Web API Claims Authorization with ASP.NET Identity 2.1 – Part 5
[實作]驗證機制(Authentication)Moderm Token-Based(ASP.NET Web API v2 JWT)
JWT Validation and Authorization in ASP.NET Core



[ASP.NET Core]使用JWT(Json Web Token)進行驗證授權

使用者驗證與授權 - Token Based Authentication:發行 JSON Web Token
使用者驗證與授權 - Token Based Authentication:驗證 JSON Web Token
Asp.net Core WebApi 项目使用Jwt进行授权管理和权限验证
详解ASP.NET Core Token认证,asp.net token



Manually validating a JWT using .NET



Customizing Token Based Authentication (OAuth) in ASP.NET Web API with Existing User Database

Claims based security

0 意見
Security and cryptography

2018-02-21

ASP.NET Web API 參考

0 意見
API 設計
API 實作 *****
ASP.NET Web API

The Web API Checklist

Microsoft REST API Guidelines
非RESTful的微软REST API指南




Designing Evolvable Web APIs with ASP.NET ***
Source for the book

Over 100 ASP.NET Web API samples

List of ASP.NET Web API and HttpClient Samples

簡明RESTful API設計要點
HTTP狀態碼
Returning Server-Side Errors from AJAX Calls ***

使用Asp.Net MVC打造Web Api
ASP.NET MVC4 - Web API 開發系列 [從無到有,建立 CRUD 的應用程式]
ASP.NET MVC 4 Web API 開發 (全攻略) [上]
twMVC#8 - ASP.NET Web API課後補充資料與專案範例檔
ASP.NET WebAPI: Getting Started with MVC4 and WebAPI
ASP.NET Web API 參數繫結
Mapping UrlEncoded POST Values in ASP.NET Web API

Swagger
10 個原因我喜歡用 [Swagger](http://swagger.io/) spec 來定義新開發的 RESTful APIs.
twMVC#21以實例說明ASP.NET Web API 服務的開發與測試過程
在 Azure App Service 中開始使用 API Apps、ASP.NET 和 Swagger
使用 Swagger UI 与 Swashbuckle 创建 RESTful Web API 帮助文件
Add Swagger to your .NET Core Web API
Swashbuckle Swagger Integration In WebApi 2
MOTC Transport API V2 公車動態

RESTful API如何一次完成多個相依請求

如何在現有 ASP.NET MVC 5 專案上加入 ASP.NET Web API

[ASP.NET Web API]Versioning Web API by SDammann.WebApi.Versioning


Web APIs and the n+1 Problem ***
8 ways to improve ASP.NET Web API performance

微小的开心功能第2部分-Visual Studio 2012 中的ASP.NET Web API
Working with SSL in Web API
ASP.NET Web API: Using Namespaces to Version Web APIs
跨域资源共享 CORS 详解
浏览器同源政策及其规避方法

ASP.NET CORS 样例
Enabling Cross-Origin Requests in ASP.NET Web API 2
ASP.NET Web API CORS預覽功能完整剖析
ASP.NET Web API and CORS Support
ASP.NET Web API: CORS支持和基于属性的路由改进
進擊的 ASP.NET Web API 2 巨人 – 打造支援各種裝置及平台的服務
CORS support for ASP.NET Web API
[ASP.NET MVC] 使用 ASP.NET MVC Web API CORS 以達到AJAX跨網域請求 (Beta Preview)
ASP.NET Web API v2 Cross-origin resource sharing made easy

Accessing Session Using ASP.NET Web API
ASP.NET Web API session or something?
Web API how to acces session?


[ASP.NET] Web API in Web Form
[ASP.NET] WebAPI Get 使用複雜型別
[Web API][筆記]在WebForm裡面建立Web API程式
[Web API][筆記] POST 總是 Nothing 或 null
ASP.NET Web API 參數繫結
Passing multiple simple POST Values to ASP.NET Web API
Using jQuery to POST [FromBody] parameters to Web API
【SQL Server | Asp.net MVC】使用WebAPI存取FileTable



使用json web token
Bearer Token

Securing ASP.NET Web APIs
Securing ASP.NET Web API ***
Protect your Web API from CSRF attacks with ANTI FORGERY TOKENS


如何在 ASP.NET Web API 2 專案中啟用表單驗證 (Forms Authentication)

Two Factor Authentication in ASP.NET Web API & AngularJS using Google Authenticator
How To Get GeoLocation Address By Using Google GeoLocation API In ASP.NET Web API

[ASP.NET]Web API bearer token 驗證
[ASP.NET]Web API 加入 Refresh Token
[ASP.NET]使用透過 AngularJS 來存取 Token Base Web API
JSON Web Token in ASP.NET Web API 2 using Owin

How Do You Call a Web API Endpoint Without Using JavaScript?
How Do You Post to a Web API Controller from an MVC Controller?
How Do You Display WebAPI Model Errors in MVC?
How Can You Use Web API to Authenticate Users of Your MVC Application?



[Web API]如何針對 Message Handler 進行單元測試
Using Dependency Injection with ASP.NET Web API Hosted on Katana
Using dependency injection with WebAPI in the RAW stack


Consuming a Web API Asynchronously in ASP.NET MVC or WPF




Top 10 ASP.NET Web API Interview Questions Introduction to ASP.NET Web API
Adding Queryable Support to ASP.NET Web API Controller Action Methods

Migrating ASP.NET Web Forms to the MVC Pattern with the ASP.NET Web API

ASP.NET Web API: Using Namespaces to Version Web APIs
Media Formatters


Passing Multiple Parameters to ASP.NET Web API With jQuery

ASP.Net Web API: Create, Deploy to Azure and Manage Using Azure API Management






ODataLib
OData v4 Client Code Generator

Media Resource Support for OData in Web API

A Message Flow in ASP.NET Web API OData
Getting started with ASP.NET Web API OData in 3 simple steps
Introducing batch support in Web API and Web API OData
OData Scaffolding

Getting started with OData v4 in ASP.NET Web API
Getting started with ASP.NET Web API 2.2 for OData v4.0

Introducing batch support in Web API and Web API OData
OData Web API Batching with Actions
ASP.NET Web API Pagination using OData operators

Visualize Streaming Data the Easy Way with OData






Test-Driven Development with Content Negotiation in the Web API

RestSharp Simple REST and HTTP API Client for .NET *****
How To Consume a WebAPI with RestSharp

WebApiContrib
WebAPIContrib is a collection of open source projects to help improve your work with ASP.NET Web API.

ASP.NET Web API: CORS support and Attribute Based Routing Improvements






A WebAPI Basic Authentication MessageHandler
A WebAPI Basic Authentication Authorization Filter

Introducing ASP.NET Web API Throttling handler

Building ASP.Net Web API RESTful Service ***
Creating a REST service using ASP.NET Web API






HTTP Header 入門详解

HTTP API Design Guide

RESTful API Design ***

架构风格与基于网络的软件架构设计
架构风格与基于网络应用软件的架构设计(中文修订版)
RESTful Web Services Cookbook中文版

RESTful API 设计指南

深入探索REST
虚拟研讨会:如何设计好的RESTful API?
理解本真的REST架构风格
理解本真的REST架构风格
InfoQ eMag: REST
如何设计一个优秀的API
Web API设计方法论
系列文章——Web API从开始到结束

Accepting Raw Request Body Content with ASP.NET Web API
Introducing ASP.NET Web API Throttling handler
Head First into ASP.NET Web API – A Time Card Service using Media Formatters and KnockoutJs
Per request tracing in ASP.NET Web API






進擊的 ASP.NET Web API 2 巨人 – 打造支援各種裝置及平台的服務
What is new in ASP.NET Web API 2
Announcing the Release of ASP.NET MVC 5.1, ASP.NET Web API 2.1 and ASP.NET Web Pages 3.1 *****
What’s New in ASP.NET MVC 5 that make your MVC web sites shine
ASP.NET MVC5, Web API2 and Knockoutjs Web Application Development
Editable HTML Table with CRUD operations using KnockoutJS and ASP.NET WEB API

Looking at ASP.NET MVC 5.1 and Web API 2.1 - Part 1 - Overview and Enums ***
Looking at ASP.NET MVC 5.1 and Web API 2.1 - Part 2 - Attribute Routing with Custom Constraints
Looking at ASP.NET MVC 5.1 and Web API 2.1 - Part 3 - Bootstrap and JavaScript enhancements
Looking at ASP.NET MVC 5.1 and Web API 2.1 - Part 4 - Web API Help Pages, BSON, and Global Error Handling
ASP.NET Web API exception logging with Raygun.io

Handling Errors in Web API Using Exception Filters and Exception Handlers ***
Exception Handling in ASP.NET Web API - A Guided Tour ***
ASP.NET Web API 2: ExceptionLogger and Exception Handler ***

Working With Attribute Routing In Web API 2

Ignoring routes in ASP.NET Web API

.NET WebAPI 用ExceptionFilterAttribute实现错误(异常)日志的记录(log4net做写库操作)
.NET WebAPI 用ActionFilterAttribute实现token令牌验证与对Action的权限控制
.NET WebAPI 实现图片上传(包括附带参数上传图片)





Creating Help Pages for ASP.NET Web API

Web API(RESTFul)協同文件與測試工作之道-Postman Team訂閱!
如何在 ASP.NET MVC 4 專案加上 Web API 與 API 說明頁面
[ASP.NET WebAPI] 如何在 ASP.NET MVC 專案加上 Web API 說明文件
Introducing the ASP.NET Web API Help Page (Preview)
ASP.NET Web API Help Page Part 1: Basic Help Page customizations
ASP.NET Web API Help Page Part 2: Providing custom samples on the Help Page
ASP.NET Web API Help Page Part 3: Advanced Help Page customizations

Adding a simple Test Client to ASP.NET Web API Help Page
Using ApiExplorer to export API information to PostMan, a Chrome extension for testing Web APIs
Making ASP.NET Web API Help Page work on self-hosted services
ASP.NET Web API: Generating a Web API help page using ApiExplorer
Design-time generation of help page (or client) for ASP.NET Web API

Postman Using interceptor to read and write cookies

Self-Hosting an ASP.NET Web API






Contact Manager Web API
ASP.NET Web API samples






ASP.NET4.5Web API及非同步程序开发系列(1)

使用ASP.Net WebAPI构建REST服务(一)——简单的示例

Calling a RESTful Service like ASP.NET WebApi using WebApiClient






開發工具:
I'm Only Resting A feature-rich WinForms-based HTTP client

2016-11-10

Asp.net MVC / Core with Angular 2 and WebPack

0 意見
完美整合前後端框架:不可思議的 DotNet Core 與 Angular 2 開發體驗

如何將 Angular 2 含有路由機制的 SPA 網頁應用程式部署到 IIS 網站伺服器
如何在 Angular CLI 建立的 Angular 2 開發環境呼叫遠端 RESTful APIs

ASP.NET Core: Getting Started With AngularJS 2
ASP.NET Core And Angular 2 Code Venture - Part One

Starting Angular 2 in ASP.NET Core with TypeScript using Visual Studio 2015 ***
Building ASP.NET Core MVC as SPA using Angular 2 and TypeScript
CRUD in ASP.NETCore MVC with Angular 2 and Web API

How to set up Angular 2 and Webpack in Visual Studio with ASP.NET Core

AngularJS2, TypeScript with ASP.NET Core 1.0

Cross-platform Single Page Applications with ASP.NET Core 1.0, Angular 2 & TypeScript

ASP.NET Core with Angular2 - tutorial
How to upload a file (image) from angular2 to asp.net core




使用 Vs 2015 快速上手 Angular2

Single Page Application (SPA) for Enterprise App (Angular2 & WebApi) - Part 1 - Overview

Angular2 in ASP.NET MVC & Web API - Part 1 ***
Angular 2 with Mvc Application

Angular 2: Getting Started with a Visual Studio 2015 ASP.NET 4.x Project

ASP.NET MVC 5 – Using Angular 2 with TypeScript in Visual Studio

Prepare ASP.NET MVC / ASP.NET Core Projects to use Angular 2 in 10 Easy Steps
DEMO: MVC 5和Angular2 共存




WebPack Task Runner How-To: Integrate Webpack into Visual Studio 2015 WebPack For Visual Studio Developers ASP.NET Core, Angular2 with Webpack and Visual Studio

2016-10-07

HttpWebRequest WebClient HttpClient

0 意見
HttpWebRequest
WebClient
HttpClient

WebClient vs HttpClient vs HttpWebRequest

.NET HttpClient的缺陷和文档错误让开发人员倍感沮丧

逐步解說:使用 Async 和 Await 存取 Web (C# 和 Visual Basic)

Code Listings Chapter 16: Networking

[C#.NET][Web API] 調用 Server 功能
ASP.NET MVC 使用政府公開資料 Part.1

Calling a Web API From a .NET Client in ASP.NET Web API 2 (C#)
The new System.Net.Http classes: message content
Calling MVC4 WebAPI methods from C# Metro UI Client using PostAsync, HttpClient & Json




CODE-使用C#程式從網站下載檔案
利用 WebClient 類別模擬 HTTP POST 表單送出的注意事項

WebClient versus HttpClient to consume HTTP requests
ASP.NET MVC Web API 学习笔记----HttpClient简介

Windows Phone 7 – 使用WebClient與HttpWebRequest的差異
WebClient與HttpWebRequest
改用 HttpClient 的理由

[ASP.NET] 使用 HttpWebRequest POST/GET 方法 (解決錯誤417,Server重新導向)


Using .NET HttpClient to capture partial Responses




ASP.NET MVC Web API 学习笔记----HttpClient简介
Designing Evolvable Web APIs with ASP.NET Chapter 14. HttpClient

Visual Studio samples
Introduction to HttpClient
Using JSON.NET with ASP.NET Web API
Restful Application
ASP.NET Web API - with NUnit test project

HttpClient: Downloading to a Local File
C# HttpClient examples
How to use System.Net.HttpClient to post a complex type?
Using HttpClient to Consume ASP.NET Web API REST Services ***

Making a request synchronously

Async call with await in HttpClient never returns ***
HttpClient.GetAsync(…) never returns when using await/async ***




Get file size before downloading using webclient
How to retrieve file size from a remote URL (using #CSharp)
Using .NET HttpClient to capture partial Responses

2015-06-17

TDD

0 意見
[30天快速上手TDD]目錄與附錄
從無到有 ATDD + TDD 建立網站的 lab 教材終於完成了 ******


The Anatomy of Robust Unit Testing (With Examples in C#)

【單元測試】改變了我程式設計的思維方式
【單元測試】的四面向
程式設計師升級必練內功:TDD Kata
软件测试思维导图

测试的道理

30 Days of TDD: The Complete Journey

Clean Tests ***

Visual Studio Unit Testing Examples

TestCop - reporting for duty

程式碼品質分析的好用工具 - SonarQube 基本介紹 (1)
程式碼品質分析的好用工具 - SonarQube 安裝及設定 (2)




ATDD实战

ALM 開發人員的一日生活 : 從使用者劇本 (User Story) 撰寫新程式碼
ALM 開發人員的一日生活 : 暫停工作、修復 Bug 和進行程式碼檢閱 (Code Review)
快速展示需求及UI 設計 - PowerPoint 將想法轉為分鏡腳本 (Storyboard)
設定 CI (Continuous Integration, 持續整合) - 在 VS Online 及 TFS 上

使用VS2015建立單元測試專案
初探Visual Studio 2015 IntelliTest

使用單元測試驗證程式碼
使用 UI 自動化驗證程式碼

在單元測試中使用 Microsoft.VisualStudio.TestTools.UnitTesting 成員
Microsoft.VisualStudio.TestTools.UnitTesting 命名空間
使用 Assert 類別

VS2010
使用單元測試驗證程式碼
單元測試的結構
使用單元測試驗證資料庫程式碼

Visual Studio Test Tooling Guides
Visual Studio TV – 中文(繁體)





.NET TDD (Test Driven Development) by example - Part 1

ASP.NET MVC 應用程式中的單元測試

Attain Code Management Nirvana via Test-Driven Development, Part 1
Oh, CRUD … It's Test-Driven Development for ASP.NET MVC, Part 2
TDD for ASP.NET MVC, Part 3: Contact Service Class
TDD for ASP.NET MVC Part 4: Unit Testing View Model Validation
TDD for ASP.NET MVC, Part 5: Client-Side JavaScript

如何在實務上使用 TDD 來開發 - twMVC#12 *****
Test Automation for Web Applications
Run your Coded UI tests against Chrome using the Selenium cross-browser plugin
Web UI 測試的好幫手 - Selenium
ASP.NET MVC + Selenium + IISExpress
Black-Box Testing ASP.Net: IIS Express and Selenium WebDriver
Using Selenium with Cloud-based Load Testing
[Tool][Selenium IDE]Export to C#/WebDriver/MSTest

PageObjects ***

Design Patterns in Automation Testing

Selenium Builder
徹底比較!Selenium Builder vs Selenium IDE

Fundamentals of unit testing series ***

How To Unit Test – Interacting with the Database

FluentAutomation *****
[Web Testing][Tool]FluentAutomation (More Behavior-Driven)
自動測試與 TDD 實務開發 - 上課心得 (中)
MY TESTED ASP.NET ***

網站自動化測試
Why do we need backend testing

[心得文] 自動測試與TDD實務開發 Day1

[專案心得]測試記錄單CheckList

ASP.NET MVC Web API - 利用jQuery進行CRUD! (一) Model篇

Unit Testing Asynchronous Code






讓單元測試代碼更好寫、好讀:Fluent Assertions
[C#.NET] 使用 Fluent Assertions 驗証例外
[Web Testing][Tool]FluentAutomation (More Behavior-Driven)
編寫單元測試時的好用輔助套件 - Fluent Assertions

Library:
Fluent Assertions ****
Shouldly ***
Should Should Assertion Library
impromptu-interface Static interface to dynamic implementation






[30天快速上手TDD][Day 7]Unit Test - Stub, Mock, Fake 簡介

Stub: 驗證目標的回傳值,物件狀態改變
Mock: 驗證目標物件與外部相依介面的互動方式
Fake: 驗證目標物件的靜態方法、.Net Framework的物件、直接相依的物件

C# Test Legacy Code(1)Isolated by Inheritance and Override *****
C# Test Legacy Code(2)Static Setter Injection

How to refactor and make static class code testable?






ApprovalTests
Using ApprovalTests in .Net

Fluent Assertions






[C#.NET] 單元測試 Mock Framework - NSubstitute ***

Mocking Comparison – Part 1: The Basics

Black-Box Testing ASP.Net Series

Testing DateTime

tSQLt – The Database Unit Testing Framework for SQL Server

CI Server 30 - Jenkins總回顧

蘑菇街支付金融Android单元测试实践

2015-05-27

Kendo UI

0 意見
Telerik Blog Kendo UI
Telerik helper Kendo UI

Introduction to Kendo UI
KendoUI & ASP.NET MVC系列文章

Document:
Data Attributes Explained
Initialize a Kendo UI Widget From Markup
Call Widget Methods and Bind to Widget Events
Kendo MVVM Overview

kendo.Observable
kendo.data.ObservableObject
kendo.data.Model




Mastering Kendo UI

MVVM / Declarative Initialization And HTML5 Data Attributes
Using Kendo UI With MVC4, WebAPI, OData And EF
The Facts On Using Kendo UI With ASP.NET WebAPI
[Screencast] Debugging Kendo UI Applications
Breeze.js And The Kendo UI DataSource
How To Load And Save A Single Record In A Kendo UI DataSource
Diving Into ASP.NET MVC Templates
4 Ways To Make HTML Forms Enjoyable
What the Kendo UI MVC Server Wrappers Are and Why You Should Be Using Them - Part 1
Getting Started with Kendo UI and MVVM

Working with Kendo Data Model
Working with Kendo Data ObservableArray
JavaScript Objects and Inheritance using Kendo UI

Exporting Data with Ease Using Kendo UI Grid
Exporting the Kendo UI Grid Data to Excel
Simple Export to Excel from your Data Grid using Kendo UI
Simple Export to PDF from your Data Grid using Kendo UI

I Downloaded UI for ASP.NET MVC. Now What?
Understanding the Options for a New Telerik ASP.NET MVC Project
Kendo UI Open Sources Dynamic LINQ Helpers

Functional GUI Testing and Kendo UI
Why Should Developers Help With User Interface Tests?

一些進階用法:
Introduction to Kendo MVVM
Kendo UI for ASP.NET MVC : Building a Forum Browser
Kendo UI Web and ASP.NET MVC : Building a Task Manager
Dependent Methods (calculated fields) – a hidden goody in Kendo UI
call toJSON of the nested objects

Kendo UI Scheduler with ASP.NET MVC and Peta Poco Complete Example

Create a Photo Gallery with Kendo UI and ASP.NET MVC




Using Kendo MVVM frameowrk and MVC Server Wrappers
How does Kendo UI for ASP.NET MVC and MVVM fit together
Good structure for ASP.NET MVC 4 / MVVM / Web API?

MVVM using Kendo UI in three simple steps

ASP.NET MVC 5 - 单页应用程序的 .NET 开发人员入门 下篇為原英文版
Harness the Power of ASP.NET MVC, Web Api, OData, Kendo UI & RequireJS to Build an Easy & Maintainable SPA (for the .NET Developer) – Published
MSDN: Building Web Apps on the MEAN Stack with OData in Microsoft Azure

Modern Web Application Layered High Level Architecture with SPA, MVC, Web API, EF, Kendo UI, OData *****
Telerik’s HTML5 Kendo UI Grid with Server Side Paging, Sorting & Filtering with MVC3, EF4 & Dynamic LINQ

Binding to a Web ApiController





Using ReactJS and KendoUI Together

2014-08-16

AutoMapper

0 意見
Getting Started Guide
AutoMapperSamples

MRKT AutoMapper

Can Automapper be used in a console application?

Using AutoMapper: Getting Started
Using AutoMapper: Creating Mappings
Using AutoMapper: Mapping Instances

Conditional mapping
Custom value resolvers
Null substitution

Translating Objects of One Type to Another with AutoMapper ***** 整理的很詳細
Automapper: Mapping objects

Conditionally overwrite destination if no destination object is used
AutoMapper settings properties to null on destination object

AutoMapper 兩個物件對映到一個類別
Automapper convert from multiple sources
automapper multi objects to one object
How to configure automapper to map from two source objects to a destination object?
(若用在List上可能沒效)

使用AutoMapper做物件複製,注意仍需要做CreateMap,不然會取到Source物件的參考。
Copy object to object (with Automapper ?)

Mapper.Map()是全域的,若要動態建立規則,要使用ConfigurationStore
Different mapping rules for same entity types in AutoMapper
Using the instance version of CreateMap and Map with a WCF service?

opt.UseValue(value)是靜態方法,會使用相同的值。
AutoMapper Tip: DateTime and UseValue don’t mix
AutoMapper: UseValue vs ResolveUsing vs MapFrom
AutoMapper使用简单总结

AutoMapper: “Ignore the rest”?

AutoMapper registration in Unity DI




automapper update existing entity
Updating Entities from DTOs with AutoMapper
How to update an existing Entity from ViewModel using Automapper and EF4 DbContext with Lazy Loading enabled
Using Automapper to update an existing Entity POCO
Why mapping DTOs to Entities using AutoMapper and EntityFramework is horrible




Using AutoMapper to prevent SELECT N+1 problems
Using AutoMapper to perform LINQ aggregations
Projecting computed properties with LINQ and AutoMapper


Using AutoMapper to copy Metadata from Entities to ViewModels

CRUD Opearations using AutoMapper in an MVC Application




AutoMapper 3加入了对开放式泛型以及回调的支持
AutoMapper以及创建跨平台的程序集