Nuget packages are a popular way to distribute .NET libraries both internally and externally. Creating a nuget package from a project source is easy. In the command window, navigate to the project directory nuget spec nuget pack <Project>.csproj or Nuget pack <Project>.vbproj That is quite straightforward and easy to script. However this process has two … Continue reading Nuget Package Create through Powershell
Category: .NET
C# Automatically Implemented Properties
Some time ago, we analysed how C# Properties are emitted by IL. In this article we will extend our view by investigating how C# 3 (and later) Automatically Implemented Properties (or Automatic Properties) works. But first, let’s see how these properties are used. In order to use Automatic Properties, one needs only to declare the … Continue reading C# Automatically Implemented Properties
C# Parameterless Properties – (Part II)
C# Parameterless Properties – An Example Few weeks ago we investigated how C# Properties are emitted by IL. We saw how the value implicit parameter is introduced and used. In this article we take a look how one can leverage Properties’ potential to build more robust code. The code is self-explanatory and comments are added … Continue reading C# Parameterless Properties – (Part II)
C# Parameterless Properties – (Part 1)
In this blog entry we will take a look at C# Properties. Properties in C# are used as fields. Their main purpose is to isolate the actual data by allowing the developer to perform some validation prior the client access the guarded member variable. Properties are meant to be simple and efficient. In Object Oriented … Continue reading C# Parameterless Properties – (Part 1)
Introduction to File System Monitoring
Microsoft Windows operating systems are made up of different subsystems. One of these subsystems handles and controls the file system. Any operation performed by the user that involves files is supervised and controlled by this subsystem. One of the many functions of the Windows File Subsystem is to notify third-party applications of any file activity … Continue reading Introduction to File System Monitoring