├── global.json ├── src └── OneNoteCNApiSample │ ├── wwwroot │ ├── web.config │ ├── scripts │ │ ├── privatespace.js │ │ ├── app.js │ │ └── copycontents.js │ ├── css │ │ └── site.css │ └── index.html │ ├── project.json │ ├── Startup.cs │ └── OneNoteCNApiSample.xproj ├── LICENSE ├── OneNoteCNApiSample.sln ├── README.md └── .gitignore /global.json: -------------------------------------------------------------------------------- 1 | { 2 | "projects": [ "src", "test" ], 3 | "sdk": { 4 | "version": "1.0.0-rc1-update1" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/OneNoteCNApiSample/wwwroot/web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/OneNoteCNApiSample/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.0-*", 3 | "compilationOptions": { 4 | "emitEntryPoint": true 5 | }, 6 | 7 | "dependencies": { 8 | "Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final", 9 | "Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final", 10 | "Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final" 11 | }, 12 | 13 | "commands": { 14 | "web": "Microsoft.AspNet.Server.Kestrel" 15 | }, 16 | 17 | "frameworks": { 18 | "dnx451": { }, 19 | "dnxcore50": { } 20 | }, 21 | 22 | "exclude": [ 23 | "wwwroot", 24 | "node_modules" 25 | ], 26 | "publishExclude": [ 27 | "**.user", 28 | "**.vspscc" 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /src/OneNoteCNApiSample/Startup.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNet.Builder; 2 | using Microsoft.AspNet.Hosting; 3 | using Microsoft.Extensions.DependencyInjection; 4 | 5 | namespace OneNoteCNApiSample 6 | { 7 | public class Startup 8 | { 9 | // This method gets called by the runtime. Use this method to add services to the container. 10 | // For more information on how to configure your application, visit http://go.microsoft.com/fwlink/?LinkID=398940 11 | public void ConfigureServices(IServiceCollection services) 12 | { 13 | } 14 | 15 | // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. 16 | public void Configure(IApplicationBuilder app) 17 | { 18 | app.UseIISPlatformHandler(); 19 | 20 | app.UseDefaultFiles(); 21 | app.UseStaticFiles(); 22 | } 23 | 24 | // Entry point for the application. 25 | public static void Main(string[] args) => WebApplication.Run(args); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 OneNoteDev 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /src/OneNoteCNApiSample/wwwroot/scripts/privatespace.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | var authContext = new AuthenticationContext(config); 3 | 4 | var $message = $("#privateSpaceMessage"); 5 | var $privateSpaceButton = $("#privateSpaceButton"); 6 | 7 | function createPrivateSpace(authToken) { 8 | $.ajax({ 9 | type: "PATCH", 10 | url: "https://www.onenote.com/api/v1.0/me/notes/classNotebooks/" + $("#privateSpaceSelect").val(), 11 | dataType: "json", 12 | contentType: "application/json", 13 | headers: { 14 | "Authorization": "Bearer " + authToken 15 | }, 16 | data: JSON.stringify({ "hasTeacherOnlySectionGroup": "true" }) 17 | }).done(function () { 18 | $message.html("Teacher-only section group successfully created!"); 19 | }).fail(function () { 20 | $message.html("Error: could not create private space."); 21 | }); 22 | }; 23 | 24 | function clearMessage() { 25 | $message.empty(); 26 | } 27 | 28 | $privateSpaceButton.click(function () { 29 | clearMessage(); 30 | authContext.acquireToken("https://onenote.com/", function (error, authToken) { 31 | if (error || !authToken) { 32 | $message.html(error); 33 | } 34 | createPrivateSpace(authToken); 35 | }); 36 | }); 37 | }()); -------------------------------------------------------------------------------- /src/OneNoteCNApiSample/OneNoteCNApiSample.xproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14.0 5 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) 6 | 7 | 8 | 9 | 10 | 416400c6-27a3-4607-89b4-245299d76e36 11 | OneNoteCNApiSample 12 | ..\..\artifacts\obj\$(MSBuildProjectName) 13 | ..\..\artifacts\bin\$(MSBuildProjectName)\ 14 | 15 | 16 | 17 | 2.0 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /OneNoteCNApiSample.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25123.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{7F619BF4-8F72-4708-919A-9E670ED9DBBB}" 7 | EndProject 8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F9E188C1-2BE0-49B2-85FE-6BEC78FF9ED7}" 9 | ProjectSection(SolutionItems) = preProject 10 | global.json = global.json 11 | EndProjectSection 12 | EndProject 13 | Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "OneNoteCNApiSample", "src\OneNoteCNApiSample\OneNoteCNApiSample.xproj", "{416400C6-27A3-4607-89B4-245299D76E36}" 14 | EndProject 15 | Global 16 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 17 | Debug|Any CPU = Debug|Any CPU 18 | Release|Any CPU = Release|Any CPU 19 | EndGlobalSection 20 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 21 | {416400C6-27A3-4607-89B4-245299D76E36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 22 | {416400C6-27A3-4607-89B4-245299D76E36}.Debug|Any CPU.Build.0 = Debug|Any CPU 23 | {416400C6-27A3-4607-89B4-245299D76E36}.Release|Any CPU.ActiveCfg = Release|Any CPU 24 | {416400C6-27A3-4607-89B4-245299D76E36}.Release|Any CPU.Build.0 = Release|Any CPU 25 | EndGlobalSection 26 | GlobalSection(SolutionProperties) = preSolution 27 | HideSolutionNode = FALSE 28 | EndGlobalSection 29 | GlobalSection(NestedProjects) = preSolution 30 | {416400C6-27A3-4607-89B4-245299D76E36} = {7F619BF4-8F72-4708-919A-9E670ED9DBBB} 31 | EndGlobalSection 32 | EndGlobal 33 | -------------------------------------------------------------------------------- /src/OneNoteCNApiSample/wwwroot/css/site.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-size: 16px; 3 | line-height: 20px; 4 | font-family: 'Segoe UI','Segoe','Segoe WP','Helvetica Neue','Roboto','Helvetica','Arial','Tahoma','Verdana','sans-serif'; 5 | margin: 0; 6 | padding: 0; 7 | } 8 | 9 | #content { 10 | width: 50%; 11 | margin: auto; 12 | } 13 | 14 | #header { 15 | height: 120px; 16 | line-height: 120px; 17 | vertical-align: middle; 18 | text-align: center; 19 | color: #fff; 20 | background-color: #80397b; 21 | } 22 | 23 | p { 24 | margin: 30px; 25 | } 26 | 27 | p.description { 28 | margin-top: 15px; 29 | } 30 | 31 | h1 { 32 | font-family: 'Segoe UI Semilight','Segoe UI Light','Segoe WP Light','Segoe UI','Segoe','Segoe WP','Helvetica Neue','Roboto','Helvetica','Arial','Tahoma','Verdana','sans-serif'; 33 | font-weight: 300; 34 | font-size: 36px; 35 | margin: 0; 36 | } 37 | 38 | h2 { 39 | font-family: 'Segoe UI Semilight','Segoe UI Light','Segoe WP Light','Segoe UI','Segoe','Segoe WP','Helvetica Neue','Roboto','Helvetica','Arial','Tahoma','Verdana','sans-serif'; 40 | font-weight: 300; 41 | font-size: 24px; 42 | margin-bottom: 15px; 43 | margin-top: 25px; 44 | } 45 | 46 | .center { 47 | text-align: center; 48 | } 49 | 50 | .actionButton { 51 | color: #fff; 52 | text-decoration: none; 53 | font-size: 18px; 54 | background-color: #80397b; 55 | border: none; 56 | border-color: #80397b; 57 | padding: 5px 18px; 58 | text-align: center; 59 | margin-bottom: 10px; 60 | margin-right: 10px; 61 | line-height: 40px; 62 | font-weight: 300; 63 | cursor: pointer; 64 | } 65 | 66 | .actionButton:hover { 67 | background-color: #975D93; 68 | } -------------------------------------------------------------------------------- /src/OneNoteCNApiSample/wwwroot/scripts/app.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Authenticate user using the ADAL for JavaScript library. For more information see 3 | // https://github.com/AzureAD/azure-activedirectory-library-for-js 4 | window.config = { 5 | clientId: "[Enter your clientId here]", 6 | postLogoutRedirectUri: window.location.origin, 7 | cacheLocation: 'localStorage' 8 | }; 9 | var authContext = new AuthenticationContext(config); 10 | 11 | if (authContext.isCallback(window.location.hash)) { 12 | authContext.handleWindowCallback(); 13 | } 14 | 15 | // Get handles to UI elements 16 | var $loginButton = $("#loginButton"); 17 | var $logoutButton = $("#logoutButton"); 18 | var $errorMessage = $("#errorMessage"); 19 | 20 | // Register callbacks 21 | $loginButton.click(function() { 22 | authContext.login(); 23 | }); 24 | $logoutButton.click(function () { 25 | authContext.logOut(); 26 | }); 27 | 28 | var user = authContext.getCachedUser(); 29 | if (user) { 30 | $loginButton.hide(); 31 | $logoutButton.show(); 32 | $("#demoArea").show(); 33 | 34 | authContext.acquireToken("https://onenote.com/", function(error, token) { 35 | if (error || !token) { 36 | $errorMessage.html(error); 37 | } 38 | 39 | $.ajax({ 40 | type: "GET", 41 | url: "https://www.onenote.com/api/v1.0/me/notes/classNotebooks", 42 | dataType: "json", 43 | headers: { 44 | "Authorization": "Bearer " + token 45 | } 46 | }).done(function (response) { 47 | // Display class notebooks list 48 | var listElements = []; 49 | $.each(response.value, function(i, item) { 50 | listElements.push('
  • ' + item.name + '
  • '); 51 | }); 52 | $("#classNotebooksList").append(listElements.join('')); 53 | 54 | // Populate drop down menus 55 | var dropDownMenuElements = []; 56 | $.each(response.value, function (i, item) { 57 | dropDownMenuElements.push(''); 58 | }); 59 | $(".classNotebooksDropDown").append(dropDownMenuElements.join('')); 60 | 61 | $("#loading").hide(); 62 | $("#demos").show(); 63 | }).fail(function() { 64 | $errorMessage.html("Error when trying to access class notebooks"); 65 | }); 66 | }); 67 | } 68 | }()); -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | OneNote Class Notebook APIs Sample 2 | =================================== 3 | 4 | The OneNote Class Notebook APIs let you programmatically create and edit class notebooks. This sample 5 | demonstrates the basics on how you would call these APIs using JavaScript, jQuery and ADAL for authentication. 6 | To learn more about ADAL you can visit its 7 | [GitHub page](https://github.com/AzureAD/azure-activedirectory-library-for-js). For full documentation on 8 | the class notebook APIs take a look at our 9 | [article on MSDN](https://msdn.microsoft.com/office/office365/howto/onenote-classnotebook). 10 | 11 | Please keep in mind that this sample is meant to illustrate how you would reach our APIs in JavaScript 12 | and does not necessarily contain all the code you would want for a production-ready application. In a 13 | more complete web app you would probably use a framework like AngularJS, add more specific error handling, 14 | etc. 15 | 16 | If you would like to see a live version of this app we have an instance running on Azure that 17 | you can access [here](http://onenoteedusample.azurewebsites.net/). 18 | 19 | ## How To Run This Sample 20 | 21 | ### Step 1. You will need the following 22 | - An Azure subscription 23 | - An Office 365 subscription 24 | 25 | The Azure subscription should be associated with the Office 365 subscription. 26 | [Authenticate using Azure AD (enterprise apps)](https://msdn.microsoft.com/office/office365/howto/onenote-auth#aad-auth) 27 | has details on how to do just that. 28 | 29 | ### Step 2. Register your app in Azure and add permissions 30 | Again, follow the instructions under 31 | [Authenticate using Azure AD (enterprise apps)](https://msdn.microsoft.com/office/office365/howto/onenote-auth#aad-auth) 32 | to register your application in Azure. You will also need to give your app Notes.ReadWrite permissions. 33 | 34 | Since this web app uses OAuth 2's implicit grant flow, you should 35 | enable it in your app's manifest in Azure. 36 | [This article](https://azure.microsoft.com/en-us/documentation/articles/active-directory-authentication-scenarios/#single-page-application-spa) 37 | has details on the implicit grant flow and how to enable in Azure. In particular, you'll want to download 38 | your app's manifest in the Azure Management Portal, set the "oauth2AllowImplicitFlow" field to true, and 39 | upload the manifest to the portal. 40 | 41 | ### Step 3. Fill in your clientId in app.js 42 | You will need to specify the clientId for your app in app.js. You can get the clientId in the Azure Management 43 | Portal. 44 | 45 | ### Step 4. Run your application 46 | If you are using Visual Studio, build and run your application. To test your application locally you will 47 | also need to add the local URL as a reply URL in your app's page in the Azure Management Portal. The sample is 48 | set to run at localhost:55407. 49 | 50 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. 51 | -------------------------------------------------------------------------------- /src/OneNoteCNApiSample/wwwroot/scripts/copycontents.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var authContext = new AuthenticationContext(config); 3 | var user = authContext.getCachedUser(); 4 | var sectionSelectorTitle = ''; 5 | 6 | // Get copy contents-related UI elements 7 | var $message = $("#copyContentsMessage"); 8 | var $sourceSelector = $("#copyContentsSelectSource"); 9 | var $sectionSelector = $("#copyContentsSelectSection"); 10 | var $destinationSelector = $("#copyContentsSelectDestination"); 11 | var $copyContentsButton = $("#copyContentsButton"); 12 | 13 | $sourceSelector.change(function () { 14 | if (!user) { return; } 15 | 16 | // Load sections into second drop-down menu. Disable menu until contents are ready. 17 | $sectionSelector.prop("disabled", true); 18 | var notebookId = $sourceSelector.val(); 19 | 20 | // Don't attempt to load sections if user selected the drop-down title 21 | if (notebookId === "0") { 22 | $sectionSelector.html(sectionSelectorTitle); 23 | return; 24 | } 25 | 26 | authContext.acquireToken("https://onenote.com/", function (error, authToken) { 27 | if (error || !authToken) { 28 | $message.html(error); 29 | } 30 | getSections(notebookId, authToken); 31 | }); 32 | }); 33 | 34 | $copyContentsButton.click(function () { 35 | clearMessage(); 36 | if ($sectionSelector.val() === "0" || $destinationSelector.val() === "0") { 37 | $message.html("Please select a section to copy and a destination notebook"); 38 | return; 39 | } 40 | if ($sourceSelector.val() === $destinationSelector.val()) { 41 | $message.html("Please select a destination notebook that is different from the source notebook"); 42 | return; 43 | } 44 | 45 | authContext.acquireToken("https://onenote.com/", function (error, authToken) { 46 | if (error || !authToken) { 47 | $message.html(error); 48 | } 49 | copyContents($sectionSelector.val(), $destinationSelector.val(), authToken); 50 | }); 51 | }); 52 | 53 | function getSections(notebookId, authToken) { 54 | $.ajax({ 55 | type: "GET", 56 | url: "https://www.onenote.com/api/v1.0/me/notes/notebooks/" + notebookId + "/sections", 57 | dataType: "json", 58 | headers: { 59 | "Authorization": "Bearer " + authToken 60 | } 61 | }).done(function (response) { 62 | // Populate second drop-down menu with sections 63 | var dropDownMenuElements = [sectionSelectorTitle]; 64 | $.each(response.value, function (i, item) { 65 | dropDownMenuElements.push(''); 66 | }); 67 | $sectionSelector.html(dropDownMenuElements.join('')); 68 | $sectionSelector.prop("disabled", false); 69 | }).fail(function () { 70 | $message.html("Error: could not get the list of section groups for the selected notebook."); 71 | }); 72 | } 73 | 74 | function copyContents(sectionId, destinationNotebookId, authToken) { 75 | $.ajax({ 76 | type: "POST", 77 | url: "https://www.onenote.com/api/beta/me/notes/classNotebooks/" + destinationNotebookId + "/copySectionsToContentLibrary", 78 | contentType: "application/json", 79 | headers: { 80 | "Authorization": "Bearer " + authToken 81 | }, 82 | data: JSON.stringify({ "sectionIds": [sectionId] }) 83 | }).done(function () { 84 | $message.html("Section successfully copied to target notebook!"); 85 | }).fail(function () { 86 | $message.html("Error: could not copy sections to destination notebook."); 87 | }); 88 | } 89 | 90 | function clearMessage() { 91 | $message.empty(); 92 | } 93 | }()); -------------------------------------------------------------------------------- /src/OneNoteCNApiSample/wwwroot/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | OneNote Class Notebook API Sample 6 | 7 | 8 | 9 |
    10 | 11 |

    12 | The OneNote Class Notebook APIs let you programmatically create and edit class notebooks. 13 | This sample demonstrates the basics on how you would call these APIs using JavaScript, jQuery 14 | and ADAL for authentication. 15 | For full documentation on the class notebook APIs take a look at our article on MSDN. 16 | We are also making the source code for this app available on GitHub. 17 | To learn more about ADAL you can visit its GitHub page. 18 |

    19 |

    20 | To use this app please log in using your Office 365 account. 21 |

    22 | 23 |
    24 | 25 |
    26 | Log in 27 | 28 |
    29 | 30 | 83 |
    84 | 85 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # Azure publishing information 5 | # NOTE: Remove if you are planning to deploy to Azure 6 | src/OneNoteCNApiSample/Properties 7 | 8 | # User-specific files 9 | *.suo 10 | *.user 11 | *.userosscache 12 | *.sln.docstates 13 | 14 | # User-specific files (MonoDevelop/Xamarin Studio) 15 | *.userprefs 16 | 17 | # Build results 18 | [Dd]ebug/ 19 | [Dd]ebugPublic/ 20 | [Rr]elease/ 21 | [Rr]eleases/ 22 | x64/ 23 | x86/ 24 | bld/ 25 | [Bb]in/ 26 | [Oo]bj/ 27 | [Ll]og/ 28 | 29 | # Visual Studio 2015 cache/options directory 30 | .vs/ 31 | # Uncomment if you have tasks that create the project's static files in wwwroot 32 | #wwwroot/ 33 | 34 | # MSTest test Results 35 | [Tt]est[Rr]esult*/ 36 | [Bb]uild[Ll]og.* 37 | 38 | # NUNIT 39 | *.VisualState.xml 40 | TestResult.xml 41 | 42 | # Build Results of an ATL Project 43 | [Dd]ebugPS/ 44 | [Rr]eleasePS/ 45 | dlldata.c 46 | 47 | # DNX 48 | project.lock.json 49 | artifacts/ 50 | 51 | *_i.c 52 | *_p.c 53 | *_i.h 54 | *.ilk 55 | *.meta 56 | *.obj 57 | *.pch 58 | *.pdb 59 | *.pgc 60 | *.pgd 61 | *.rsp 62 | *.sbr 63 | *.tlb 64 | *.tli 65 | *.tlh 66 | *.tmp 67 | *.tmp_proj 68 | *.log 69 | *.vspscc 70 | *.vssscc 71 | .builds 72 | *.pidb 73 | *.svclog 74 | *.scc 75 | 76 | # Chutzpah Test files 77 | _Chutzpah* 78 | 79 | # Visual C++ cache files 80 | ipch/ 81 | *.aps 82 | *.ncb 83 | *.opendb 84 | *.opensdf 85 | *.sdf 86 | *.cachefile 87 | *.VC.db 88 | *.VC.VC.opendb 89 | 90 | # Visual Studio profiler 91 | *.psess 92 | *.vsp 93 | *.vspx 94 | *.sap 95 | 96 | # TFS 2012 Local Workspace 97 | $tf/ 98 | 99 | # Guidance Automation Toolkit 100 | *.gpState 101 | 102 | # ReSharper is a .NET coding add-in 103 | _ReSharper*/ 104 | *.[Rr]e[Ss]harper 105 | *.DotSettings.user 106 | 107 | # JustCode is a .NET coding add-in 108 | .JustCode 109 | 110 | # TeamCity is a build add-in 111 | _TeamCity* 112 | 113 | # DotCover is a Code Coverage Tool 114 | *.dotCover 115 | 116 | # NCrunch 117 | _NCrunch_* 118 | .*crunch*.local.xml 119 | nCrunchTemp_* 120 | 121 | # MightyMoose 122 | *.mm.* 123 | AutoTest.Net/ 124 | 125 | # Web workbench (sass) 126 | .sass-cache/ 127 | 128 | # Installshield output folder 129 | [Ee]xpress/ 130 | 131 | # DocProject is a documentation generator add-in 132 | DocProject/buildhelp/ 133 | DocProject/Help/*.HxT 134 | DocProject/Help/*.HxC 135 | DocProject/Help/*.hhc 136 | DocProject/Help/*.hhk 137 | DocProject/Help/*.hhp 138 | DocProject/Help/Html2 139 | DocProject/Help/html 140 | 141 | # Click-Once directory 142 | publish/ 143 | 144 | # Publish Web Output 145 | *.[Pp]ublish.xml 146 | *.azurePubxml 147 | # TODO: Comment the next line if you want to checkin your web deploy settings 148 | # but database connection strings (with potential passwords) will be unencrypted 149 | *.pubxml 150 | *.publishproj 151 | 152 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 153 | # checkin your Azure Web App publish settings, but sensitive information contained 154 | # in these scripts will be unencrypted 155 | PublishScripts/ 156 | 157 | # NuGet Packages 158 | *.nupkg 159 | # The packages folder can be ignored because of Package Restore 160 | **/packages/* 161 | # except build/, which is used as an MSBuild target. 162 | !**/packages/build/ 163 | # Uncomment if necessary however generally it will be regenerated when needed 164 | #!**/packages/repositories.config 165 | # NuGet v3's project.json files produces more ignoreable files 166 | *.nuget.props 167 | *.nuget.targets 168 | 169 | # Microsoft Azure Build Output 170 | csx/ 171 | *.build.csdef 172 | 173 | # Microsoft Azure Emulator 174 | ecf/ 175 | rcf/ 176 | 177 | # Windows Store app package directories and files 178 | AppPackages/ 179 | BundleArtifacts/ 180 | Package.StoreAssociation.xml 181 | _pkginfo.txt 182 | 183 | # Visual Studio cache files 184 | # files ending in .cache can be ignored 185 | *.[Cc]ache 186 | # but keep track of directories ending in .cache 187 | !*.[Cc]ache/ 188 | 189 | # Others 190 | ClientBin/ 191 | ~$* 192 | *~ 193 | *.dbmdl 194 | *.dbproj.schemaview 195 | *.pfx 196 | *.publishsettings 197 | node_modules/ 198 | orleans.codegen.cs 199 | 200 | # Since there are multiple workflows, uncomment next line to ignore bower_components 201 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 202 | #bower_components/ 203 | 204 | # RIA/Silverlight projects 205 | Generated_Code/ 206 | 207 | # Backup & report files from converting an old project file 208 | # to a newer Visual Studio version. Backup files are not needed, 209 | # because we have git ;-) 210 | _UpgradeReport_Files/ 211 | Backup*/ 212 | UpgradeLog*.XML 213 | UpgradeLog*.htm 214 | 215 | # SQL Server files 216 | *.mdf 217 | *.ldf 218 | 219 | # Business Intelligence projects 220 | *.rdl.data 221 | *.bim.layout 222 | *.bim_*.settings 223 | 224 | # Microsoft Fakes 225 | FakesAssemblies/ 226 | 227 | # GhostDoc plugin setting file 228 | *.GhostDoc.xml 229 | 230 | # Node.js Tools for Visual Studio 231 | .ntvs_analysis.dat 232 | 233 | # Visual Studio 6 build log 234 | *.plg 235 | 236 | # Visual Studio 6 workspace options file 237 | *.opt 238 | 239 | # Visual Studio LightSwitch build output 240 | **/*.HTMLClient/GeneratedArtifacts 241 | **/*.DesktopClient/GeneratedArtifacts 242 | **/*.DesktopClient/ModelManifest.xml 243 | **/*.Server/GeneratedArtifacts 244 | **/*.Server/ModelManifest.xml 245 | _Pvt_Extensions 246 | 247 | # Paket dependency manager 248 | .paket/paket.exe 249 | paket-files/ 250 | 251 | # FAKE - F# Make 252 | .fake/ 253 | 254 | # JetBrains Rider 255 | .idea/ 256 | *.sln.iml --------------------------------------------------------------------------------