Introducing The .NET API Browser

Brief intro of Microsoft Dot Net API Browser

Microsoft has launched .NET API Browser as a part of its effort to provide a unified.NET reference experience on

It is a way to standardize how the developers can document, discover and navigate .NET APIs at Microsoft website.

.NET API Browser can be viewed here

You can have a first look below:

If you expand “All APIs” lookup, then you can see the list of all Microsoft APIs which you can select from:

At the bottom of the API Browser, there are some mainly used APIs already listed under Quick Filters. You can click any of them to quickly navigate to API’s documentation.


Once you select any APIs name from the drop-down, then you will see another drop-down with further selection for API version.


Once you select any API (click on the API name under name” column), you will be shown the documentation of that API with its definition, classes, structs and interfaces.


You can change the namespace and API version from the same page, using the drop-downs on the left top side.


 You can also change the language and theme from the top right side.


There are two theme selections available:


In the months to come, Microsoft is going to add more SDKs to this experience. I am missing Office 365 and Microsoft Graph APIs reference here and I hope, it will be added by Microsoft in near future.

Now go to .NET API Browser and explore some documentation.
Happy learning!!!

Note: This article was published by me at C# Corner here.

Host Your Website On Github Pages For Free

How you can host your website for free using Git Hub pages

This article assumes you already know what GitHub is, you know how to work with GitHub, and you have a repository in GitHub having some web front-end. If not, please go to GitHub and get your hands dirty!
In this article, I will quickly introduce you to GitHub Pages, using which you can freely host your websites, straight from your repositories on GitHub. Isn’t this fantastic?

This article is a brief introduction to setting up your website using GitHub Pages, but it does not cover each and every detail about GitHub Pages.

Ever wondered if it was possible to quickly setup a website and host it for free somewhere? Ever wondered if there was a way to just upload your code on a repository and directly show demos to your clients over the internet?

Think no more! With GitHub Pages (GH-Pages in short!), you can now host your website directly from your GitHub repository and that too for free!

Any of your repositories on GitHub which has a web front-end can be quickly converted to a running website in a matter of minutes using the feature called GitHub Pages brought to you by GitHub.

It has some following limitations too, but I don’t think it will stop you from using GitHub Pages for your next client demo.
  •  Limit of 1 GB for source code repositories.
  • 100 GB per month bandwidth limit
  • 10 builds per hour

You can browse your website on GitHub Pages using the following URL.

You need to replace your username and repository name before you fire a request in your browser. So, let’s now quickly see how you can set up a GH-Pages website from your repository.

First of all, you should have an index.html file in your repository. If not, then quickly create a new index.html file and commit it.

Second, you need to do settings in your repository that from which branch your website should be rendered. For doing that, select your repository in GitHub. On the top right, you will see a “settings” link (just below the repository name).

Once the settings page is loaded, scroll down to the “GitHub Pages” section under the “Source” label, select the branch of your repository from which you want the website to be rendered. The default selection will be “none” – meaning your repository is not currently enabled for GitHub Pages.

Let’s say you have selected “master” branch. After branch selection, a “Save” button will appear besides branch selection lookup. Click on “Save” to save your changes.

Once you click on “Save”, immidiately GitHub creates a website of your repository from selected branch and it is readily available. Note down the url given by GitHub – you will use it to visit your website.

Simple, isn’t it?

Now, go and browse your website at the URL given by GitHub!

Enjoy! Keep Learning!!!

Note: This article was published by me at C# Corner here.

Installation Of Visual Studio 2017, A Firsthand Explanation

This article tries to give a firsthand and quick introduction to installing Visual Studio 2017, highlighting some of its new features.

Today, Microsoft has launched Visual Studio 2017, the latest IDE for developing “mostly anything” in the Microsoft platform as well as developing apps and Websites, which target Android, iOS and Linux.

If you have already registered for the Microsoft Visual Studio 2017 launch event, then your mailbox may have an email from Microsoft regarding resources related to VS2017, else you can click here to get started with downloading VS2017.

Moreover, if you download VS2017 by March 14, you will get free 60-day access to Xamarin University, which will help you in a great way to enhance your Xamarin skills.

You can choose to install either community, professional or enterprise editions. This article explains the features of the enterprise edition. If you want to know what’s in the different editions, then you can read more here.

If you want to check the installation requirements, you can read more here.

Once you have clicked on your desired edition, the Browser should prompt you to save the installer file.

Visual Studio 2017

Click Save File button to save this installer file to your download folder.

Also, note that once download starts, your Browser will show a “thank you” page with this message related to “Xamarin University”.

Visual Studio 2017

In this article, we are not going to touch anything related to “Xamarin University” but will concentrate only on VS2017.

Meanwhile your installer file may have been downloaded, click on the file to run it. You will be prompted with the message given below.

Visual Studio 2017

Click Yes to continue. You will be prompted with yet another popup, as shown below.

Visual Studio 2017

Click again to Continue.

This release of Visual Studio will show you a new light weight installation approach, which is quite different from the past versions of IDE.

Clicking on “Continue” in the previous popup will show you the installation launch screen given below.

Visual Studio 2017

This is a new “modular” installation experience, where you can tailor VS to install only the components, as per your needs.

You can maximize the installation screen to see more details.

There are 3 tabs here: “Workloads”, “Individual Components” and “Language packs”.


It contains a choice for which type of development work you are going to do with VS2017 e.g. Universal Windows Platform development, Desktop development (with Win Forms, WPF), Web development, Mobile development, Office365 development etc.

If you wish to install a development Workload, you can choose it by clicking on the top right checkbox.

Visual Studio 2017

Individual components

This section contains choices to install some tools, which were previously being installed separately as some “packs”. You can see different versions of .NET Framework here like Azure Cloud Explorer and some other MS Azure related tools like Azure Storage Emulator, Azure Data Lake Tools etc. Some SDKs for Android, Windows 10, Typescript  etc. are also there, where you need to choose the ones in which you are interested in by clicking the checkbox in front of the item.

Visual Studio 2017

Language packs

This section offers some language choices for VS2017. English will be selected by default. Most of you may not need any other language.

Visual Studio 2017
Some more points to be noted here  are given below.

There is no “Select All” feature in this new installation, which I really miss. You must go and manually select the components.

Check the right side of the installation Window and it shows Summary as you go on selecting the features.

Visual Studio 2017

You can expand individual items to see what’s inside that and there are some more choices.

Visual Studio 2017

If you need support of some of these sub-features, you can select them by clicking on the check boxes.

You can change VS2017 location at the bottom of the Window.

Visual Studio 2017

At the bottom-right of the installation Window, you can see the approximate installation size (which changes as per feature selection).

Visual Studio 2017

Once you have explored all 3 tabs and sub-features from the “Summary” section and when you are ready to go, click Install button.

You will be shown the screen, which shows installation progress as VS2017 is getting installed.

Visual Studio 2017
Let the installer do its work. While VS2017 is being installed, go and grab a cup of coffee.

Once the installation finishes, you will be prompted to restart.

Visual Studio 2017
It’s a good idea to restart your PC now, as the installer may have changed many things on your PC. Save your important documents, which may be open, click Restart.

Once restarted, find VS2017 in start menu, or type “Visual Studio 2017” in run prompt. There will not be any shortcut on the desktop.

Once loaded, you will be shown a welcome screen.

Visual Studio 2017

Now, again a prompt is there to choose developer settings and theme.

Visual Studio 2017

Make a selection as per your liking and click Start Visual Studio.


You have installed Visual Studio 2017.

Visual Studio 2017

If you want to read the release notes for VS2017, click here.

Now, go and install the trial version of VS2017 by yourself, write some code, get your hands dirty!

Check for my next article on some new features in VS2017 here.

Note: This article was published by me on C# Corner website here.

Header Image credit: C# Corner

Visual Studio 2017 New Features

In this article, you will be acquainted with Visual Studio 2017 and its new features

Welcome to another article on VS2017. I’m sure that you have already read my article on installation of VS2017. If not, then read it here.

In this article, I will demonstrate some new features of Visual Studio 2017 IDE, which will help a lot in your day to day development.

Creating new project with VS2017

Open VS2017 and you will be shown a welcome page.

There are two ways to create a new project in VS2017.

You can write the type of project, which you want to create in the textbox below “New Project” header.

You will be shown the type of projects as and when you type in the textbox.

e.g. writing “console”:

When you write WPF:

There is also another way to create a new project. Click More project templates link just below the textbox. You will be shown a familiar dialog box to create new projects.

What’s new in Visual Studio IDE

Let’s start by creating a console Application. I will introduce some of the new features in VS2017.

Improved code navigation

After creating a console Application, go to Solution Explorer and right click on the project to add new class.

Let’s say that we are adding new Customer class given below.

Now, save the Customer.cs file and go to Program.cs.

Write Customer in the Main function, press either Ctrl + T (Control key followed by T key) or Ctrl + , (Control button followed by, key).

On the top right, you will be shown a pop-down dialog, which will help you quickly locate the referenced element. Notice that it will quickly launch the “Customer.cs” file too.

In this way, you can have a look at a referenced class and its properties quickly without the need to open the relevant file in IDE. You can simply press ESC key, the dialog, file and both will close.

“Fuzzy” matching

VS2017 introduces a new feature called “fuzzy matching”, which means when you type a name and even if you misspell it, VS2017 will show you the results, which are based on fuzzy match.

To experience it, let’s go to Program.cs -> Main method again.

Type “Cstomer” and see.

VS2017 will automatically suggest you “Customer” class and highlights it for you

Changes in References window

Write the line given below in Main method.


  1. Customer cust = new Customer();


Now, place the mouse cursor on “Custmer” word, press “Shift” + “F12” keys.

You will be shown a new “references” Window, which has been modified compared to “Find Symbol Results” Window in VS2015.

Notice in the “references” Window, there are many new things here like Filtering (on left side), Group by, Search, “Keep Results” button, Sorting and Colorization.

Let’s see each of them one by one.

Filtering references

In VS2015, when you find all the references on a class or property, you will be shown all the referenced results with no option to filter them. Now, in VS2017, you have filtering option in references Window.

See on the left side that there is a drop-down and by default Entire Solution is selected.

You can filter the references; based on which area you want to see and VS2017 will only show you the relevant references.


With the “Group By” feature, you can change how the references are being displayed. It provides you the options given below, which helps you in quickly navigating to the reference; you are looking for,

Let’s say you select “Definition, Project then Path” option and you will see the references group, as shown below.


On the top right section of “references” Window, you can search inside the “references” results.

Keep results

This is a new interesting feature. Remember in VS2015 when you are already looking at one references result and you want to find another class or property reference too. If you search in another class reference, your previous result will be overwritten. You can see only one reference result at a time.

If you press “Keep Results” button on the references Window and you search for another term, then your original result will be preserved and you will be shown references in a new Window.

Let’s say that you create a new “Order” class and reference it from Main method.

Press “Keep Results” button on the references Window of customer results, go to Order class and press Shift + F12. You will be shown references in another Window.

At the bottom of the Window, you will be able to find a tab for “Customer” references too.


You can now click on the results column headers like Code, File, Line, Col and Project to have your references result sorted by these columns, which were missing in VS2015.


Notice the references are displayed in different colors to help you in clear understanding of the references.

Structure Guide Lines

A dotted vertical line now runs between the curly braces to identify scope. If you mouse over the dotted line, then you will be shown the current scope.

Code Refactoring enhancements

VS2017 has improved refactoring a lot to make the code more readable.

Let’s consider some new improvements.

Object initialization

If you have written the code step by step to assign the values to an object’s property, VS2017 refactoring will now suggest you to use an object initialization.

Write the code given below in Main method.

Now, place your mouse cursor on Customer and press Cltr + . (Control key followed by .)

VS2017 will give you a message “Object initialization can be simplified”.

Click on the suggestion and your code will be modified, as shown below.

Also, there are some more such enhanced features, which you can try yourself:

Inline Out variable.

Simplify null checks.

Add missing case(s) to a Switch statement.

And much more

There are many more new features of VS2017 but for the scope of this article, I will restrict to above five only.

Go and install Visual Studio 2017 on your PC to find out more by yourself.

Happy coding!!!

Note: This article was published by me on C# Corner website here.

Header Image credit: C# Corner

Introduction To MS Graph Explorer

In this article, I will explain what is MS Graph Explorer and how can a developer use it.

Note: Microsoft has launched a new version of MS Graph Explorer some time after this article was published. For newer version of my article on the new MS Graph Explorer, please visit here.

In this article, I will explain you what is MS Graph Explorer and what you can do with it.

First, let’s start with a quick introduction of MS Graph.

What is MS Graph?

The official MS documentation defines MS Graph as,

“Microsoft Graph exposes multiple APIs from Office 365 and other Microsoft cloud services through a single endpoint, Microsoft Graph simplifies queries that would otherwise be more complex.”

So, in a nutshell, MS Graph gives you a single REST API endpoint which you can call to interact with “almost anything” in Office365. It delegates calls to different Office 365 cloud services via one single endpoint.

Now, let’s learn about MS Graph Explorer.

What MS Graph Explorer is

MS Graph Explorer is a fantastic tool if you want to work with MS Graph APIs or if you are learning to develop with Graph APIs. Consider it as a developer sandbox or a playground where a developer can have firsthand experience of MS Graph APIs.

What you need to work with MS Graph Explorer

MS Graph Explorer provides you default login – a demo tenant with which you can fire some GET calls using MS Graph APIs. But, if you want to explore more and want to also fire POST, PATCH and DELETE calls to MS Graph API, then you will need an Office365 account.


A word of caution here; never play with your live Office365 data or work account here with MS Graph APIs. You may accidentally update or delete some important information. It is advisable to use a test/demo account.

If you join the MS Office 365 developer program here, Microsoft will give you one year free Office 365 developer subscription for non-commercial use with 5 users. You can read more about it in my related article “Office 365 developer program”.

What you can do with MS Graph Explorer

A lot!

MS Graph Explorer gives you a test client to access whatever you can access with MS Graph REST APIs. Using MS Graph Explorer, you can,

  • Access/Modify data from Office 365 and other cloud services like SharePoint online, OneDrive, etc.
  • Navigate different Office 365 entities and traverse the relationships among them
  • Get intelligence and insights from the Microsoft cloud (limited to commercial users only)

In short, MS Graph Explorer is a one stop shop for everything you want to play with, in Graph APIs.

Why you should use MS Graph Explorer

MS Graph Explorer is a great tool to test how MS Graph APIs work. A developer can use MS Graph Explorer to:

  • Test Graph API calling logic beforehand dealing with any endpoint.
  • See what data Graph API gives you back.
  • See how the POST, PATCH and DELETE calls work.
  • See how an entity in Office 365 can be accessed, using which relationship path.

The first look of MS Graph Explorer

MS Graph

The screenshot of MS Graph Explorer with some annotations above is mostly self-explanatory. API version and Request type selections are covered in below sections. I would like to cover some parts which were not mentioned above.

The “History” button

MS Graph

It maintains the history of the API calls you made to the Graph API, and clicking on the history, you can easily go back to that call. Remember, as you make the Graph API calls, the browser URL does not change, so to get back to any of your previous calls, you need to click this button.

When you click on the “History” button, you will see a section as shown below. You can click on any URL request and it will be re-played.

MS Graph

“Request Header” and “Request Body” section

Along with the API endpoint and passing parameters in query string, sometimes you will also need to pass more data to the Graph API.

The HTTP request headers can be specified in the “Request Header” area. Once you click on the “REQUEST HEADER” link, a text area will appear below it,

MS Graph

Similarly, the HTTP Request body can be specified in the area which appears once you click on the “REQUEST BODY” link as shown below. But remember you need to be logged in to enable the link, if you are using demo tenant then the link will be disabled,
MS Graph

Also, in the case of “POST” and “PATCH” verbs selection only, the request body link will be enabled, otherwise it will be disabled. Once you click on the enabled “REQUEST BODY” link, then a text area below it will appear,

MS Graph

Now, go to the service endpoint address bar and type the following URL:

You will see the MS Graph Explorer that will show you a link “INSERT USERS TEMPLATE”.

MS Graph

When you click on the “INSERT USERS TEMPLATE” link, MS Graph Explorer will insert JSON for creating a user.

MS Graph

Do you see now how much MS Graph Explorer makes it easier for you to play with the API calls?

You can change some data from the default text and then hit the “GO” button for the user to be created in your organization’s Office 365 account. Remember to use a test/demo account and not the live account.

If you really pressed the “GO” button, then the Graph Explorer will show you the result in the “RESPONSE” section.

How to fire actual API calls is covered in the section “Let’s try it out” below.

API versions supported by MS Graph Explorer

As of now, MS Graph APIs are only in two versions: V1.0 for general availability, and “beta” for preview. MS Graph Explorer supports both these versions.

You can see the supported API versions in MS Graph Explorer when you expand the “API Version” selection, as shown below.

MS Graph

HTTP request types/verbs/actions that are supported in MS Graph Explorer

MS Graph Explorer supports the following HTTP actions/HTTP verbs.

MS Graph

Let’s try it out

Below, I will explain how some calls to MS Graph API can be made using the Graph Explorer.

Calls with demo tenant

The following calls can be executed using the demo tenant.

Also notice, as you type in the address bar, the Graph Explorer will show you the possible endpoints (just like intelliSense).

MS Graph

Click on the “GO” button and you will see the result in the “RESPONSE” area.

MS Graph

  • Now, type in the address bar and press “GO” button. You will see the logged in user’s organization info.MS Graph
  • The following call will return the files stored in user’s OneDrive account.MS Graph

Try some more “GET” calls on your own using the Graph Explorer. The list of more such calls can be found here.

MS Graph

Calls with your Office 365 account

The following calls will require you to login with an Office 365 account. Remember to use demo/test account and not the live account, because it may result in some live data loss.

Click on the “SIGN IN” link and login with your Office 365 test account.

Click on the “INSERT USERS TEMPLATE” link inside “REQUEST BODY” area. Once MS Graph Explorer populates some default JSON data, change it as you like and click on the “GO” button.

MS Graph

Hopefully, a new user will be created in Office 365 and Graph API will respond with HTTP Status Code 201, meaning user is created.

MS Graph

Note the id of the user which can be used in subsequent calls to edit/delete the record.

  • Let’s now try to update the user’s value e.g. surname. Let’s update the value from current “Darrow” in above screenshot to “Sharp”.
  • Copy the JSON value from the response area (i.e. values inside and including the curly brackets).
  • Remove everything else but surname field, change the surname value to “Sharp”.
  • Change the request type to “PATCH”.
  • Change the API endpoint to include the above created user
  • Click on the “GO” button.MS Graph

Graph API will process the request and update the user’s last name to “Sharp”. It will respond with the HTTP Status Code 204.

Change the request type to “GET” and fire the same call again, you will see the last name is changed to “Sharp” now.

MS Graph

  • Now, let’s fire a delete call and delete the above generated user. Use caution here not to delete any of your live users!

Change the request type to “DELETE”, keep the API endpoint same as last call and click on “GO”

MS Graph

You will see that Graph API responds with HTTP Status Code 204 again. The user is deleted from Office 365.

You can make sure the user is deleted by firing a GET on all users,

MS Graph

Check the response JSON, above user will not be in the response.

What’s next

After reading this introduction to MS Graph Explorer, I think you must be interested to know more about MS Graph API. Wait for my next article on MS Graph API, and until it is published you can go to internet and,

  • Create an Office365 developer account here.
  • Learn more about MS Graph API here.
  • Try MS Graph Explorer here.
  • Learn more about Office 365 development here.

See you in the next article, until then – Happy Learning!

Note: This article was published by me on C# Corner website here.

Image courtesy: Microsoft

Introduction to Microsoft Office 365 Developer Program

In this article, I will introduce you to MS Office 365 Developer program.


The user base of MS Office 365 is increasing day by day by leaps and bounds. Microsoft needs to prepare more and more developers who work with Office 365. For this reason, Microsoft has designed the MS Office 365 Developer Program for the developers who build Office 365 solutions across desktop, web, and mobile platforms.

The MS Office 365 Developer Program can be accessed via the link

MS Office 365

You can start registering for the developer program by clicking on “Join Now” button.

What are the benefits of MS Office 365 developer program?

The program offers many benefits. The most interesting one is one year free Office 365 developer subscription.

MS Office 365

You can also access some free online training on Office 365 too.

If you register now and till next few days, you will also get a chance to participate in a draw to win MS Ignite 2017 event.

MS Office 365

Why you should register

If you want to start with Office 365 development which is very much in demand now, then you will need a demo or test account for your programming. You may have access to Office 365 via your employer organization but that is the live organization data. You may not want to play with live data while you are in  the testing and training phase of some new programming.

Once you get the developer account, you can use it for various Office 365 related programming works, like:

  • MS Graph API
  • Office 365 API
  • Office 365 Add-ins

Microsoft is giving you a free one year subscription which you should not miss.

What you will get

Among other things described in one of the screenshots above, you will get “Office 365 Enterprise E3 Developer Trial” subscription with 5 users and US $10.40 user/month credit.

MS Office 365

Note: Shown above is a screenshot of my developer trial subscription from Office 365 Admin portal.

How to register

You can either click on “Join Now” button as shown in first screen or scroll down on the dev program home page and click on the “Join Developer Program >” button.

MS Office 365

Once you click on the “Join” button, you will be shown a registration page.

MS Office 365

Fill in your details and continue. Once you have completed the registration, you will get an email from Office Developer account.

MS Office 365

This email has a link to redeem your free Office 365 developer account. Click on the “Redeem today” link in the email to continue.

You will be shown the following screen.

MS Office 365

Fill in your details and continue.

You will see the following confirmation page.

MS Office 365

Please keep note of your user id which ends with “” which you will use to login to Office 365.

Office 365 Portal & Admin Portal

Once you have everything setup, you can visit the Office365 portal to access your account here.

MS Office 365

Note: The above shown image is my office 365 portal landing page. You can start using the Office 365 products right away.

You can visit the Office 365 admin portal here.

MS Office 365

You can manage users, groups, etc. from the Office 365 admin portal.

Finally, go to the billing section and check your subscription. It will show you how many number of days are left.

MS Office 365

Go now and create an Office 365 developer account, create some test data, and start programming with Office 365.

What’s stopping you?


Note: This article was published by me on C# Corner website here.

Header Image Credit: C# Corner

Office 365 Development With Visual Studio 2017

In this article, I will explain how one can develop for Office 365 using Visual Studio 2017.

Microsoft launched Visual Studio 2017 earlier in March this year, which is the latest IDE to develop apps and Websites and mostly anything on the Microsoft platform. I had written a complete article on how to do installation of VS2017 here and an article about its new features here. If you are new to VS2017 and haven’t tried it yet, then I suggest you  read both of my articles too.

In this article, I will write about Office 365 development with Visual Studio 2017. For brevity, I will not touch VS2017 installation in much detail, which I did in my other article. The core of this article is Office 365 development and how you can utilize powerful tools in VS2017 for all the types of Office development.

This article is a part of multiple articles series, which I plan to write on Office 365 development. Some more articles will be published here in the future.

Following are the objectives of this article,

  • How to get started with Visual Studio 2017.
  • Office 365 options while installing VS2017.
  • Introduction to Office 365 tools in VS2017.

Thus, let’s start with the installation of Visual Studio 2017.

To download VS2017, go to the Website under Download Visual Studio link, choose Professional 2017, as shown below.

Visual Studio
Image source: Microsoft

Once you click on the link “Professional 2017”, it will ask you to save the installer file, click “Save”, as shown below.

Visual Studio

You will be shown a confirmation dialog. Click Yes, as shown below.

Visual Studio

Once again, the installer will ask for your confirmation. Click Continue, as shown below.

Visual Studio

Allow the installer some time to configure. After a minute or so, it will show you the screen given below, which is the new improved modularized Visual Studio 2017 installer screen.

Visual Studio

Our focus here is the Office development section, so scroll down and you will notice a checkbox area named Office/SharePoint development. Select the checkbox and you will be shown the description on right side, as shown below.

Visual Studio

This will install Office Developer Tools for Visual Studio as a default choice.

Remember that Visual Studio Tools for Office (VSTO) is optional, so don’t forget to select the checkbox for it (in Summary section on right side of Installation Window), as shown below.

Visual Studio

Alternatively, the same options can be found in Individual Components tab of Installation Window under Development activities section, as shown below.

Visual Studio

Click Install on bottom right side to continue the installation. The installer will show the progress of the installation as and when its being made.

Relax and have a cup of coffee and let the installer do the work.

Let’s also see what is the difference between Visual Studio Tools for Office (VSTO) and Office Developer Tools for Visual Studio.

Visual Studio Tools for Office (VSTO)

It was launched earlier as bridge between Office and the Studio (as claimed by Microsoft) around the start of the year 2004, targeting Office 2003 development at that time.

Visual Studio

image credit: internet source

Originally, it was launched as a replacement for VBA (Visual Basic for Applications) for working with Excel and Word, but later numerous advances and enhancements were added to it in the later versions. VSTO provides developers the tools to build on top of Office as a platform, using which you can develop add-ins for Word, Excel etc. in C#/VB.NET.

Office Developer Tools for Visual Studio

These tools were launched to provide Microsoft developers; the latest Office development features in Visual Studio. You can use Office developer tools for the following.

  • Create Office add-ins (these add-ins have a small footprint compared to VSTO add-ins).
  • Integrate Office 365 APIs into your projects.
  • Create SharePoint add-ins.

Back to VS2017 now

Check Visual Studio installer now. It may have finished the installation, which you can know from its success message. If the installation is done, you can directly open VS2017 from the installer Window or go to run prompt and type Visual Studio 2017.

Once VS2017 opens, click Create new project link to create a new project.

Visual Studio

Once the New Project Window opens inside VS2017, click Office/SharePoint node, as shown below.

Visual Studio

It gives you 3 types of new project templates, as described below.

  • If you click on Add-ins link, you will be shown the options given below.Visual Studio

You can create Word, Excel, Outlook, PowerPoint and SharePoint add-ins with this selection.

  • If you click VSTO Add-ins link, you will be shown the options given belowVisual Studio

In addition to Word, Excel, Outlook, PowerPoint add-ins, with VSTO; you can also create add-ins for Visio, Project and InfoPath. Please note that SharePoint add-ins cannot be created, using VSTO.

  • If you click SharePoint Solutions link, you will be shown the options given below.Visual Studio

You can create different types of SharePoint solutions for SP2016 and SP2013.

For the scope of this article, I covered till New Project Window in VS2017 only. What happens when you create new projects of any of these types as well as how to do the actual coding for Office development will be covered in my future posts.

Happy learning!!!


Note: This article was published by me on C# Corner website here.

Header Image Source: C# Corner