C# 6.0 New Features

The following features require the C# 6.0 compiler which is included in Visual Studio 2015.  Remarkably however C# 6 new features does not require and updated version of Microsoft .NET Framework (i.e.…

Read this article

.NET ‘Roslyn’ Compiler Platform

Roslyn – is a recently released .NET Compiler Platform for .NET 4.6+   There is plenty of information on the web that describes this platform and where it can be utilized..NET Compiler Platform,…

Read this article

.NET Releases & Versions in 2015

In 2015 we will have new releases of .NET Framework, ASP.NET versions, Web Forms, MVC versions.  That is quite a bit to keep track of.  This should make it a little easier. .NET Framework Full Version…

Read this article

Intellisense and JavaScript in Visual Studio 2012

In short use _references.js file with your web projects. What is _references.js? With the latest Visual Studio a new file _references.js is found in the scripts directory. As you probably know, the `// <reference path=”…” />` syntax was introduced in Visual Studio long time ago to make you able to have intellisense in any JavaScript file to include everything defined in the JavaScript located at this path. Read more.…

Read this article

Pattern: Singleton c#

In software engineering, the singleton pattern is a design pattern that restricts the instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system. The concept is sometimes generalized to systems that operate more efficiently when only one object exists, or that restrict the instantiation to a certain number of objects. Implementation of a singleton pattern must satisfy the single instance and global access principles.…

Read this article

Iterate Over Object Properties and Property Attributes w/Reflection

Attributes give you the ability to store additional information with your application or assembly metadata, which can be queried at runtime by using the .NET Frameworks Reflection capabilities. For example, attributes could be used to indicate whether a class is serializable, or which field in a database a particular property should be written to.…

Read this article

Design Guidelines–Classes vs. Interfaces

This is 2nd in a series of articles on .NET design practices. This article concentrates on classes and interfaces and how they differ and how/when to implement. An interface defines the signatures for a set of members that implementers must provide. Interfaces cannot provide implementation details for the members. Interfaces provide definitions for events, indexers, methods and/or properties. When to use interfaces? How to use inconjuntion with classes? Let's discuss.…

Read this article

Design Guidelines– Classes vs. Structures

My goal is to cover some .NET 4 Platform features through a series of ‘guideline’ type entries demonstrating some new and existing functionality. In this first entry, I have seen both classes and structures used throughout applications. The following is meant to describe and explain good design considerations.…

Read this article