├── demo.xlsx ├── Microsoft Graph Excel REST ASPNET ├── Views │ ├── _ViewStart.cshtml │ ├── Home │ │ ├── About.cshtml │ │ └── Graph.cshtml │ ├── Shared │ │ ├── Error.cshtml │ │ ├── _LoginPartial.cshtml │ │ └── _Layout.cshtml │ └── Web.config ├── demo.xlsx ├── Global.asax ├── favicon.ico ├── Content │ ├── test.jpg │ ├── Site.css │ ├── bootstrap-theme.min.css │ └── bootstrap-theme.css ├── Scripts │ └── _references.js ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── App_Start │ ├── FilterConfig.cs │ ├── BundleConfig.cs │ ├── RouteConfig.cs │ └── Startup.Auth.cs ├── Helpers │ ├── IAuthProvider.cs │ └── SampleAuthProvider.cs ├── Models │ ├── GraphResources.cs │ └── GraphService.cs ├── Startup.cs ├── Controllers │ ├── ErrorController.cs │ ├── AccountController.cs │ └── HomeController.cs ├── Global.asax.cs ├── Web.Debug.config ├── Web.Release.config ├── Properties │ └── AssemblyInfo.cs ├── packages.config ├── TokenStorage │ └── SessionTokenCache.cs ├── Web.config ├── App_GlobalResources │ ├── Resource.Designer.cs │ └── Resource.resx └── Microsoft Graph Excel REST ASPNET.csproj ├── images ├── vs-project-url.jpg ├── add-application-id.jpg ├── add-implicit-grant.jpg ├── add-new-client-secret.jpg ├── add-register-an-app.jpg ├── add-copy-client-secret.jpg └── add-portal-app-registrations.jpg ├── Nuget.config ├── LICENSE ├── Microsoft Graph Excel REST ASPNET Sample.sln ├── README-localized ├── README-zh-cn.md ├── README-ja-jp.md ├── README-pt-br.md ├── README-ru-ru.md ├── README-es-es.md └── README-fr-fr.md ├── .gitignore ├── README.md └── CONTRIBUTING.md /demo.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/demo.xlsx -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /images/vs-project-url.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/images/vs-project-url.jpg -------------------------------------------------------------------------------- /images/add-application-id.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/images/add-application-id.jpg -------------------------------------------------------------------------------- /images/add-implicit-grant.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/images/add-implicit-grant.jpg -------------------------------------------------------------------------------- /images/add-new-client-secret.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/images/add-new-client-secret.jpg -------------------------------------------------------------------------------- /images/add-register-an-app.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/images/add-register-an-app.jpg -------------------------------------------------------------------------------- /images/add-copy-client-secret.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/images/add-copy-client-secret.jpg -------------------------------------------------------------------------------- /images/add-portal-app-registrations.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/images/add-portal-app-registrations.jpg -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/demo.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/Microsoft Graph Excel REST ASPNET/demo.xlsx -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="Microsoft_Graph_Excel_REST_ASPNET.MvcApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/Microsoft Graph Excel REST ASPNET/favicon.ico -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/Content/test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/Microsoft Graph Excel REST ASPNET/Content/test.jpg -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/Scripts/_references.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/Microsoft Graph Excel REST ASPNET/Scripts/_references.js -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/Microsoft Graph Excel REST ASPNET/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/Microsoft Graph Excel REST ASPNET/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/Microsoft Graph Excel REST ASPNET/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoftgraph/aspnet-excelstarter-sample/master/Microsoft Graph Excel REST ASPNET/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/Views/Home/About.cshtml: -------------------------------------------------------------------------------- 1 | 3 | 4 | @using Resources 5 | 6 | @{ 7 | ViewBag.Title = Resource.About; 8 | } 9 |
@Resource.About_Description
-------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/App_Start/FilterConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Web; 2 | using System.Web.Mvc; 3 | 4 | namespace Microsoft_Graph_Excel_REST_ASPNET 5 | { 6 | public class FilterConfig 7 | { 8 | public static void RegisterGlobalFilters(GlobalFilterCollection filters) 9 | { 10 | filters.Add(new HandleErrorAttribute()); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Microsoft Graph Excel REST ASPNET/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | 3 | 4 | @using Resources 5 | 6 | @{ 7 | ViewBag.Title = Resource.App_Name; 8 | } 9 | 10 |@Html.Raw(Resource.Graph_GetUserInfo_Instruction)
13 | @using (Html.BeginForm("GetMyUserInfo", "Home")) 14 | { 15 |24 | 25 |@ViewBag.Name
@ViewBag.Email
@Html.Raw(ViewBag.Message)
43 |