Visual Studio Extensibility (Day 3): Visual Studio extension in Visual Studio Isolated Shell

In this article, I’ll explain how one can customize the basic VisualStudio Isolated shell application and add a custom extension to the shellapplication.


Introduction

This article is in continuation of “Creating your first visual studio VSIX package” article of the series Visual Studio Extensibility. The first part focused on creating a Visual Studio Extension to locate a file or folder in Windows Explorer, the second part was more about deploying the Visual Studio extension to staging server via continuous integration. This article will illustrate how to add or embed the visual studio extension or visual studio package into a Visual Studio Isolated Shell application. Visual Studio provides the flexibility to create our own IDE or a Visual Studio kind of product altogether having custom extensions or some pre-defined functionalities of visual studio. Therefore one can get their custom Visual Studio as a product which could be sold in the market.

Continue reading “Visual Studio Extensibility (Day 3): Visual Studio extension in Visual Studio Isolated Shell”

Visual Studio Extensibility (Day 2): – Deploying The VSIX Package On Staging Server And Git Via Continuous Integration


Introduction

This article is the continuation of “Creating your first visual studio VSIX package” article of the series Visual Studio Extensibility. The first part focused on creating a Visual Studio extension to locate a file or folder in Windows Explorer. This article will illustrate how to make your Visual Studio extension deployment ready, i.e. how to deploy the extension to Staging Server via GIT and publish the extension on Visual Studio market place to make it available to the public.

Continue reading “Visual Studio Extensibility (Day 2): – Deploying The VSIX Package On Staging Server And Git Via Continuous Integration”

Visual Studio Extensibility (Day 1): Creating your first Visual Studio VSIX package

In this three article series of Visual Studio Extensibility we’ll learn how to create a new Visual Studio package, deploy that on staging server and GIT via continuous integration setup and at the end create a Visual Studio isolated Shell application with that embedded package. Although this is very rare topic and you could not find enough study material on this topic over the web that explains how to work with it step by step. MSDN contains good content but very generic, and to the point. In my article I’ll try to explain each and every small part step by step, so that one can learn while coding.


 

Introduction

Visual Studio Extensibility features are not new in .NET. It’s just that they are not very commonly used which to me is a surprise because Visual Studio extensibility features are so powerful they give a new definition to customization. Customization of your IDE, customization of the desired features that every developer would love to have and even customizations on the IDE that could eventually result in a whole new product altogether (for example, a custom Visual Studio with one’s own extensions and features).

Continue reading “Visual Studio Extensibility (Day 1): Creating your first Visual Studio VSIX package”

Learning C# (Day 11) – Events In C# (A Practical Approach)


Introduction

This article of the “Diving into OOP” series will explain all about events in C#. The article focuses more on practical implementations and less on theory.

Events (The definition)

Let’s start with the definition taken from MSDN.

“Events enable a class or object to notify other classes or objects when something of interest occurs. The class that sends (or raises) the event is called the publisher and the classes that receive (or handle) the event are called subscribers.”

Continue reading “Learning C# (Day 11) – Events In C# (A Practical Approach)”

Learning C# (Day 10): Delegates in C# (A Practical Approach)

This article of the series “Diving into OOP” will explain all about delegates in C#. The article focuses more on practical implementations and less on theory. The article explains the concept in-depth.


Introduction

This article of the series “Diving into OOP” will explain all about delegates in C#. The article focuses more on practical implementations and less on theory. The article explains the concept in-depth.

Delegates (The definition)

Let’s start with the definition taken from MSDN

“A delegate declaration defines a reference type that can be used to encapsulate a method with a specific signature. A delegate instance encapsulates a static or an instance method. Delegates are roughly similar to function pointers in C++; however, delegates are type-safe and secure.”

Continue reading “Learning C# (Day 10): Delegates in C# (A Practical Approach)”

Learning Custom Directives In AngularJS – A Practical Approach


AngularJS Introduction

Introduction

In my previous article of AngularJS, I tried to explain the basics of AngularJS to get you started. In this article, I will explain the core concept of AngularJSl  i.e., directives. First, we will see what directives are and then I will try to explain how to build the custom directives, using some examples, which I have prepared. Moreover, in this article, I will be focusing more on the practical examples and the code rather than confusing you by writing tough definitions and heavy terms.

Continue reading “Learning Custom Directives In AngularJS – A Practical Approach”

Aggregation in MongoDB


mongodb-logo-5c3a7405a85675366beb3a5ec4c032348c390b3f142f5e6dddf1d78e2df5cb5c

Introduction

Aggregation operations are very important in any type of database whether it is SQL or NoSQL. To perform aggregations operations, MongoDB group values from multiple documents together and then perform a variety of operations on grouped data to return a single result. SQL uses aggregate functions to return a single value calculated from values in columns.

MongoDB has three ways to perform aggregation: the aggregation pipeline, the map-reduce function, and the single purpose aggregation methods.

In this article, we will focus on aggregation pipeline. I’ll try to cover each major section of it using simple examples. We will be writing mongo shell commands to perform aggregation. Continue reading “Aggregation in MongoDB”