Creating a Template in Visual Studio

In this post, we will go through creating a project template in Visual Studio. First, open Visual Studio, and create a new project. I will base my project off the Console application, so I will select Console App: You will see: Add some packages, for example, NewtonSoft.Json and EntityFramework. Let’s add a lower version than the current version for one of the packages so we can also demonstrate what happens … Continue reading Creating a Template in Visual Studio

Intro to Object Relational Mapping (ORM)

Object-Relational Mapping, or ORM, is a way of allowing you to access data in your database in the form of objects in your code. It is essentially a piece of code that sits alongside your code, and from there you can access database objects such as tables in the form of code objects. As it says, you can essentially break it down to mapping of objects to a relational database. … Continue reading Intro to Object Relational Mapping (ORM)

Visual Studio – Change and Install Color Theme

Visual Studio comes with different color themes. When opening Visual Studio for the first time, you may see a theme something like below: To change this theme, go to Tools->Options: From Environment, select General: Here we can see the color theme is set to “Blue”. Select a different color theme from the list: Here we have selected the Dark theme: You can also install new themes. To install a new … Continue reading Visual Studio – Change and Install Color Theme

Visual Studio Code Introduction

Visual Studio Code is a lightweight tool from Microsoft used for software development. It is fast, cross-platform and supports intellisense and debugging. You can follow Visual Studio Code at: https://twitter.com/code To install it, go to https://code.visualstudio.com/ and select Download: Select the download link for your operating system. We will select Windows and run the executable: Click Next: Click Next: Click Next: Click Next: Click Next: Click Install: Click Finish: Visual Studio Code will … Continue reading Visual Studio Code Introduction

Adding a Visual Studio Website Solution to Visual Studio Team Services

In this post we will add an existing website project to Visual Studio Team Services. First, create a project in VSTS. Log into https://visualstudio.microsoft.com/team-services/: Select New Project: Enter the project details, and select the version control type: Git Team Foundation Version Control Select the Work Item Process: Agile CMMI Scrum Click Create. Now, open the project you created earlier in Visual Studio. We have a project that is a website: … Continue reading Adding a Visual Studio Website Solution to Visual Studio Team Services

SSDT Analysis Services and Reporting Services Projects in Visual Studio 2017

If you try to open old Analysis Services smproj or Reporting Services projects in Visual Studio 2017 you may run into an unsupported error. To install the required templates, go to: https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftAnalysisServicesModelingProjects Select the Download link: Then for Reporting Services go to: https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftReportProjectsforVisualStudio Select Download: You will now be able to create and load analysis services and reporting services projects in Visual Studio:  

Visual Studio 2017 Install

Go to https://www.visualstudio.com/downloads/ and download the version you require. Run the download. I will install Professional. Select the components you would like to install and note the additional components in the Summary when you select a workload: Select Individual Components to install additional software: And Language Packs if required: Select Install on the bottom right: Once completed: Visual Studio will open:  

NuGet

Nuget is a package manager for the Microsoft platform. It runs within Visual Studio. To use it, open Visual Studio and go to Tools->NuGet Package Manager: Select Manage NuGet Packages for Solution and you will be able to see what is already installed and if there are any updates available. You can also install new packages. To update, select Updates, select the package to update and click Update: You can also use … Continue reading NuGet

Installing and Using ILSpy

ILSpy is an assembly browser and decompiler. Here we will go through installing and using ILSpy. First, download the binaries from the ILSpy website: This will download a ZIP file. Extract the file: Run the ISpy.exe: Click to open a file: Here I have selected an exe compiled from code I previously wrote. You can see we can now see the decompiled code within ILSpy:  

Installing Visual Studio Web Essentials

Visual Studio Web Essentials is a VS extension by Mads Kristensen that assists with the development of CSS, HTML, JavaScript, TypeScript and CoffeeScript. To install Visual Studio Web Essentials, go to http://vswebessentials.com/ and select Download. We will install on Visual Studio 2015: Select the version to install:   This will download a VSIX file. Open it: Click to install: You will see: Once installed, open Visual Studio: Go to Tools->Options: Select Web Essentials. … Continue reading Installing Visual Studio Web Essentials