Custom Formatter and Data Binding in MVC

Sourav Kayal. CodeProject. 2016-10-31.
The purpose of the article is to overcome such scenario where we want to handle custom data binding in MVC application. We know that data binding and Request/Response processing is one of the key extensible point of MVC Framework.

[Custom Formatter and Data Binding in MVC ]



Native and cross-platform MongoDB manager
Whatever platform you use today — Robomongo is available for you. Distributed as a native application, fast and snappy Robomongo uses very little of your machine resources.


Sharing Authorization Cookies between ASP.NET 4.x and ASP.NET Core 1.0

Scott Hanselman’s Blog. 2016-10-2.
ASP.NET Core 1.0 is out, as is .NET Core 1.0 and lots of folks are making great cross-platform web apps. These are Web Apps that are built on .NET Core 1.0 and run on Windows, Mac, or Linux.
However, some people don’t realize that ASP.NET Core 1.0 (that’s the web framework bit) runs on either .NET Core or .NET Framework 4.6 aka “Full Framework.”

[Sharing Authorization Cookies between ASP.NET 4.x and ASP.NET Core 1.0]

ASP.NET MVC Shopping Cart with C#, EF, SQL Server-Part1

Web Development Tutorial. 2016-11-21.
In this ASP.NET MVC Tutorial Series, we will follow a step by step approach to develop an Online Shopping Cart using ASP.NET MVC, C#, Entity Framework and SQL Server with database first approach. After reading this Web Development Tutorial, user must be able to understand that how to build an ASP.NET MVC Shopping Cart using above mentioned technologies very easily? The article explains the necessary details, screenshots of each step and finally the source code at the end of the series.
[ASP.NET MVC Shopping Cart with C#, EF, SQL Server-Part1]

Advanced Use Cases for the Repository Pattern in .NET

Jonathan Allen. InfoQueue. 2016-10-25.
In our previous article, Implementation Strategies for the Repository Pattern with Entity Framework, Dapper, and Chain, we looked at the basic patterns needed to implement a repository. In many cases these patterns were such a thin layer around the underlying data access technology they were essentially unnecessary. However, once you have a repository in place, many new opportunities become available.
When designing a repository, you should be thinking in terms of “what must happen”. For example, let us say you have a rule that whenever a record is updated, its “LastModifiedBy” column must be set to the current user. Rather than trying to remember to update the LastModifiedBy in application code before every save, you can bake that functionality right into the repository.
By treating your data access layer as a standalone library that manages all of the “must happen” details, you can dramatically reduce implementation errors. At the same time, you can simplify the code that is built on top of the repository, as it no longer needs to be concerned about bookkeeping tasks.
Note: where appropriate, this article will include code samples for Entity Framework, Dapper, and/or Tortuga Chain. However, you will find most repository features can be implemented in an ORM-agnostic fashion.
[Advanced Use Cases for the Repository Pattern in .NET]

Implementation Strategies for the Repository Pattern with Entity Framework, Dapper, and Chain

Jonathan Allen. InfoQueue. 2016-10-14.

In modern enterprise development it is common to use a multi-layered approach to building one’s data access layer (DAL). When using C#, the lowest layer of the DAL is almost always ADO.NET. However, that can be a clumsy library at times so it is common to layer upon it an ORM. Then to enable mocking and hide the ORM’s details, the whole DAL is wrapped inside a repository.
In this series we’ll be looking at techniques for building a repository using three different styles of ORM:
•Entity Framework: A tradition “full feature” or “OOP” style ORM
•Dapper: A lightweight micro-ORM that focuses primarily on result set mapping.
•Tortuga Chain: A fluent ORM based on functional programming concepts.
This article will focus on the basic functionality that one would find in a typical repository. In part two, we’ll look at advanced techniques that one would implement on a case by case basis.
[Implementation Strategies for the Repository Pattern with Entity Framework, Dapper, and Chain]

Versatile WebCam C# library

lepipele. CodeProject. 2015-02-23.
It was 2005 and time to start coding a project for Imagine Cup when I first stumbled upon the need to capture images from a webcam. Luckily, I was in a pretty good team and the teammate who took this task upon himself (Filip Popović) wrapped up a Visual Studio project after a couple days of scouring the web and reading a bunch of articles (including CodeProject ones of course ;).
[Versatile WebCam C# library]