Giter VIP home page Giter VIP logo

dotnet-outlook-nosdk's Introduction

Outlook REST API SDK-less Sample

An example of calling the Outlook API without using the NuGet libraries. The NuGet libraries support the v2.0 API endpoint (and the older library supports the v1.0 endpoint) but you can't use the beta endpoint. By implementing the REST calls yourself, you can call whichever endpoint you want.

Running the sample

This sample was created in Visual Studio 2015 Update 1, using the ASP.NET Web Application template, with the following details:

  • Specific template: MVC under ASP.NET 4.5.2 Templates
  • Authentication: No Authentication

I have not tested this project with Visual Studio 2013.

  1. Download, clone, or fork this repository.

  2. Open the dotnet-outlook-nosdk.sln file in Visual Studio 2015.

  3. In Solution Explorer, right click the Solution 'dotnet-outlook-sdk' node and choose Restore NuGet Packages.

  4. Create an app registration for the sample at https://apps.dev.microsoft.com to get an app ID and secret. For instructions on doing this, see section 3 of this tutorial. The redirect URIs for running this sample on your development machine are:

     http://localhost:34301/Home/Authorize
     https://localhost:44300/Home/Authorize
    
  5. Open the Web.config file and locate the following lines:

     <add key="ida:ClientID" value="YOUR APP ID HERE" />
     <add key="ida:ClientSecret" value="YOUR APP SECRET HERE" />
    

Replace the values with the app ID and app secret generated in the previous step.

  1. Press F5 to run the sample.

Copyright

Copyright (c) Microsoft. All rights reserved.


Connect with me on Twitter @JasonJohMSFT

Follow the Outlook Dev Blog

dotnet-outlook-nosdk's People

Contributors

jasonjoh avatar venkatayyadevara-msft avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dotnet-outlook-nosdk's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.