Website development and design blog, tutorials and inspiration

C#

C# Tutorials for people who wish to learn the Microsoft .Net Framework and C# language. We take you from the basic programming concepts all the way through to advanced object orientation techniques, scalable solutions and multi-tier applications.

 

8th March 2016C#
There are lots of changes introduced in MVC6, not least of which is a new view engine to replace Razor. This tutorial outlines the changes to MVC6 and explains why this is the best version yet.
7th March 2016C#
Microsoft's latest focus is on .NET Core as the future of its development platform. In this article we look at what .Net Core is and how it differs from Microsoft's .NET Framework.
3rd April 2013C#
A short ASP.NET caching snippet written in C# for ASP.Net or MVC which stores data in the cache reducing page generation times.
6th July 2012C#
It used to be that a RegEx was the best method for validate email addresses in C#, but with all the new Top Level Domains (TLD's) flying around and new ones being released, this is becoming an increasingly difficult task.
21st February 2012C#
.Net makes it very easy to bind its own data objects to data controls, but there are times when you may wish to bind a generic, or even custom data structure, to a data control. This tutorial will show you how to bind a generic data object and a custom class to data bound controls so that they behave exactly the same as the .Net native data structures.
28th November 2011C#
How to import methods from a non-managed Win32 API call using Platform Invocation Services (PInvoke). PInvoke allows managed code to call unmanaged methods that are implemented in a DLL.
19th October 2011C#
In this tutorial we will look at implementing the cryptography object in C# to encrypt and decrypt information, either passwords or connection strings and prevent unauthorised eyes from prying at your passwords.
6th July 2011C#
Using this snippet of code you can easily send data using HttpWebRequest Post. The data is sent via the HTTP POST method to a remote server from your code behind.