C# Corner


Create Object Clones Through the Prototype Pattern in .NET

The Prototype Pattern involves cloning objects. Learn how to create both deep and shallow clones for instances in your program where creating a new object won't work.

The Decorator Pattern in .NET

The decorator pattern is a good way to add extensibility to an application, as it follows SOLID design principles. Learn how to use it by adding validation logic to a form.

Moving from Partial Views to AJAX Calls

Use AJAX and some JavaScript libraries to decouple your data and presentation logic.

Recording Media in a Windows Store App Part 3: Video Capture

Eric Vogel covers how to capture video in a Windows Store app by using the MediaCapture API.

Recording Media in a Windows Store App Part 2: Photo Capture

Eric Vogel covers how to capture a photo in a Windows Store App by using the MediaCapture API.

Recording Media in a Windows Store App, Part 1: Audio

Eric Vogel demonstrates how to use the Windows Runtime MediaCapture API to record audio.

The Windows Runtime Media API

Learn how to play multimedia files with the Windows Runtime media API.

Build Simple Web UIs with the Nancy Framework

Use the open source Nancy Web framework to expose a Web-based configuration UI for a Windows service.

Build a Windows Store App Using SQLite

No database for your Windows Store app? No problem -- SQLite to the rescue!

Managed Extensibility Framework Improvements in .NET 4.5

One of the most significant updates is the introduction of a convention-based extension model, in which you can configure a set of naming conventions to allow MEF parts to be easily picked up by your application.

Building a Chat Web App With Signal R, Part 2

Eric Vogel covers how to create a real-time Web data entry form with ASP.NET MVC, KnockOutJS and SignalR.

Building Web Apps with SignalR, Part 1

In the first installment of app-building with SignalR, learn how to build a real-time chat application.

.NET Framework 4.5 Multi-Threaded Globalization

Eric Vogel shows you how to use the CultureInfo API in .NET Framework 4.5 to simplify localization in a multi-threaded application.

Using MEF in a Windows Store App

Eric Vogel covers how to use the Managed Extensibility Framework (MEF) to extend a Windows Store application.

.NET 4.5 TypeInfo Reflection

The .NET 4.5 Framework includes some changes to the typical reflection use cases. Most importantly, the Type object has been split into two separate classes: Type and TypeInfo. Find out how and when to use each.

Subscribe on YouTube