├── AttachmentExampleService
├── Views
│ ├── _ViewStart.cshtml
│ ├── Shared
│ │ ├── Error.cshtml
│ │ └── _Layout.cshtml
│ └── Home
│ │ └── Index.cshtml
├── Global.asax
├── favicon.ico
├── Images
│ ├── accent.png
│ ├── bullet.png
│ ├── heroAccent.png
│ ├── orderedList0.png
│ ├── orderedList1.png
│ ├── orderedList2.png
│ ├── orderedList3.png
│ ├── orderedList4.png
│ ├── orderedList5.png
│ ├── orderedList6.png
│ ├── orderedList7.png
│ ├── orderedList8.png
│ └── orderedList9.png
├── Scripts
│ └── _references.js
├── Areas
│ └── HelpPage
│ │ ├── Views
│ │ ├── Help
│ │ │ ├── DisplayTemplates
│ │ │ │ ├── ImageSample.cshtml
│ │ │ │ ├── TextSample.cshtml
│ │ │ │ ├── InvalidSample.cshtml
│ │ │ │ ├── ApiGroup.cshtml
│ │ │ │ ├── Samples.cshtml
│ │ │ │ ├── HelpPageApiModel.cshtml
│ │ │ │ └── Parameters.cshtml
│ │ │ ├── Api.cshtml
│ │ │ └── Index.cshtml
│ │ ├── _ViewStart.cshtml
│ │ └── Shared
│ │ │ └── _Layout.cshtml
│ │ ├── SampleGeneration
│ │ ├── SampleDirection.cs
│ │ ├── TextSample.cs
│ │ ├── InvalidSample.cs
│ │ └── ImageSample.cs
│ │ ├── HelpPageAreaRegistration.cs
│ │ └── Controllers
│ │ └── HelpController.cs
├── Content
│ └── themes
│ │ └── base
│ │ ├── images
│ │ ├── ui-icons_222222_256x240.png
│ │ ├── ui-icons_2e83ff_256x240.png
│ │ ├── ui-icons_454545_256x240.png
│ │ ├── ui-icons_888888_256x240.png
│ │ ├── ui-icons_cd0a0a_256x240.png
│ │ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ │ ├── ui-bg_flat_75_ffffff_40x100.png
│ │ ├── ui-bg_glass_55_fbf9ee_1x400.png
│ │ ├── ui-bg_glass_65_ffffff_1x400.png
│ │ ├── ui-bg_glass_75_dadada_1x400.png
│ │ ├── ui-bg_glass_75_e6e6e6_1x400.png
│ │ ├── ui-bg_glass_95_fef1ec_1x400.png
│ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png
│ │ ├── minified
│ │ ├── images
│ │ │ ├── ui-icons_222222_256x240.png
│ │ │ ├── ui-icons_2e83ff_256x240.png
│ │ │ ├── ui-icons_454545_256x240.png
│ │ │ ├── ui-icons_888888_256x240.png
│ │ │ ├── ui-icons_cd0a0a_256x240.png
│ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ │ │ ├── ui-bg_flat_75_ffffff_40x100.png
│ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png
│ │ │ ├── ui-bg_glass_65_ffffff_1x400.png
│ │ │ ├── ui-bg_glass_75_dadada_1x400.png
│ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png
│ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png
│ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png
│ │ ├── jquery.ui.selectable.min.css
│ │ ├── jquery.ui.progressbar.min.css
│ │ ├── jquery.ui.autocomplete.min.css
│ │ ├── jquery.ui.core.min.css
│ │ ├── jquery.ui.accordion.min.css
│ │ ├── jquery.ui.tabs.min.css
│ │ ├── jquery.ui.resizable.min.css
│ │ ├── jquery.ui.slider.min.css
│ │ ├── jquery.ui.dialog.min.css
│ │ └── jquery.ui.button.min.css
│ │ ├── jquery.ui.all.css
│ │ ├── jquery.ui.selectable.css
│ │ ├── jquery.ui.progressbar.css
│ │ ├── jquery.ui.base.css
│ │ ├── jquery.ui.accordion.css
│ │ ├── jquery.ui.resizable.css
│ │ ├── jquery.ui.slider.css
│ │ ├── jquery.ui.autocomplete.css
│ │ ├── jquery.ui.dialog.css
│ │ ├── jquery.ui.tabs.css
│ │ ├── jquery.ui.core.css
│ │ └── jquery.ui.button.css
├── Global.asax.cs
├── Web.Debug.config
├── Web.Release.config
├── Properties
│ └── AssemblyInfo.cs
├── Models
│ ├── Attachment.cs
│ ├── ServiceRequest.cs
│ ├── ServiceResponse.cs
│ └── AttachmentDetails.cs
├── App_Start
│ ├── FilterConfig.cs
│ ├── RouteConfig.cs
│ └── WebApiConfig.cs
├── Controllers
│ ├── HomeController.cs
│ └── ValuesController.cs
└── packages.config
├── AttachmentExampleWeb
├── Images
│ └── Close.png
├── packages.config
├── Web.config
├── Scripts
│ ├── _references.js
│ ├── _officeintellisense.js
│ └── Office
│ │ └── 1.1
│ │ ├── zh-cn
│ │ ├── outlook_strings.js
│ │ └── outlook_strings.debug.js
│ │ ├── zh-tw
│ │ ├── outlook_strings.js
│ │ └── outlook_strings.debug.js
│ │ ├── ko-kr
│ │ ├── outlook_strings.js
│ │ └── outlook_strings.debug.js
│ │ ├── ja-jp
│ │ ├── outlook_strings.js
│ │ └── outlook_strings.debug.js
│ │ ├── tr-tr
│ │ ├── outlook_strings.js
│ │ └── outlook_strings.debug.js
│ │ ├── ar-sa
│ │ ├── outlook_strings.js
│ │ └── outlook_strings.debug.js
│ │ ├── he-il
│ │ └── outlook_strings.js
│ │ ├── et-ee
│ │ └── outlook_strings.js
│ │ ├── lt-lt
│ │ └── outlook_strings.js
│ │ ├── cs-cz
│ │ └── outlook_strings.js
│ │ ├── sr-latn-cs
│ │ └── outlook_strings.js
│ │ ├── sr-latn-rs
│ │ └── outlook_strings.js
│ │ ├── sr-cyrl-rs
│ │ └── outlook_strings.js
│ │ ├── th-th
│ │ └── outlook_strings.js
│ │ ├── sk-sk
│ │ └── outlook_strings.js
│ │ ├── fi-fi
│ │ └── outlook_strings.js
│ │ ├── lv-lv
│ │ └── outlook_strings.js
│ │ ├── kk-kz
│ │ └── outlook_strings.js
│ │ ├── nb-no
│ │ └── outlook_strings.js
│ │ ├── hr-hr
│ │ └── outlook_strings.js
│ │ ├── sl-si
│ │ └── outlook_strings.js
│ │ ├── hi-in
│ │ └── outlook_strings.js
│ │ ├── vi-vn
│ │ └── outlook_strings.js
│ │ ├── ms-my
│ │ └── outlook_strings.js
│ │ ├── uk-ua
│ │ └── outlook_strings.js
│ │ ├── en-us
│ │ └── outlook_strings.js
│ │ ├── hu-hu
│ │ └── outlook_strings.js
│ │ ├── id-id
│ │ └── outlook_strings.js
│ │ ├── sr-cyrl-cs
│ │ └── outlook_strings.js
│ │ └── eu-es
│ │ └── outlook_strings.js
├── Web.Debug.config
├── Web.Release.config
├── Properties
│ └── AssemblyInfo.cs
└── AppRead
│ ├── Home
│ └── Home.css
│ ├── App.js
│ └── App.css
├── Outlook-Add-in-JavaScript-GetAttachments.yml
├── AttachmentExample
└── AttachmentExampleManifest
│ └── SharePointProjectItem.spdata
├── LICENSE
├── AttachmentExample.sln
└── SECURITY.md
/AttachmentExampleService/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "~/Views/Shared/_Layout.cshtml";
3 | }
--------------------------------------------------------------------------------
/AttachmentExampleService/Global.asax:
--------------------------------------------------------------------------------
1 | <%@ Application Codebehind="Global.asax.cs" Inherits="AttachmentExampleService.WebApiApplication" Language="C#" %>
2 |
--------------------------------------------------------------------------------
/AttachmentExampleService/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/favicon.ico
--------------------------------------------------------------------------------
/AttachmentExampleWeb/Images/Close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleWeb/Images/Close.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/accent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/accent.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/bullet.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/heroAccent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/heroAccent.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList0.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList1.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList2.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList3.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList4.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList5.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList6.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList7.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList8.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Images/orderedList9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Images/orderedList9.png
--------------------------------------------------------------------------------
/AttachmentExampleService/Scripts/_references.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Scripts/_references.js
--------------------------------------------------------------------------------
/AttachmentExampleService/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml:
--------------------------------------------------------------------------------
1 | @using AttachmentExampleService.Areas.HelpPage
2 | @model ImageSample
3 |
4 |
--------------------------------------------------------------------------------
/AttachmentExampleService/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml:
--------------------------------------------------------------------------------
1 | @using AttachmentExampleService.Areas.HelpPage
2 | @model TextSample
3 |
4 |
5 | @Model.Text 6 |-------------------------------------------------------------------------------- /AttachmentExampleService/Areas/HelpPage/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | // Change the Layout path below to blend the look and feel of the help page with your existing web pages. 3 | Layout = "~/Views/Shared/_Layout.cshtml"; 4 | } 5 | -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/minified/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/minified/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/minified/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/minified/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/minified/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/minified/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/minified/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/minified/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleService/Content/themes/base/minified/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OfficeDev/Outlook-Add-in-JavaScript-GetAttachments/HEAD/AttachmentExampleService/Content/themes/base/minified/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /AttachmentExampleWeb/packages.config: -------------------------------------------------------------------------------- 1 | 2 |
Sample not available.
13 | } -------------------------------------------------------------------------------- /AttachmentExampleService/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = null; 3 | } 4 | 5 | 6 | 7 | 8 | 9 |14 | @Html.ActionLink("Help Page Home", "Index") 15 |
16 || API | Description |
|---|---|
| @api.HttpMethod.Method @api.RelativePath | 17 |
18 | @if (api.Documentation != null)
19 | {
20 | @api.Documentation 21 | } 22 | else 23 | { 24 |No documentation available. 25 | } 26 | |
27 |
Sample not available.
22 | } 23 | else 24 | { 25 | @Html.DisplayFor(s => sample); 26 | } 27 | } 28 |15 | ASP.NET Web API
16 |26 | Provide a general description of your APIs here. 27 |
28 |@description.Documentation
16 | } 17 | else 18 | { 19 |No documentation available.
20 | } 21 | 22 | @if (hasParameters || hasRequestSamples) 23 | { 24 || Name | Description | Additional information |
|---|---|---|
| @parameter.Name | 22 |@parameterDocumentation |
23 |
24 | @switch (parameter.Source)
25 | {
26 | case ApiParameterSource.FromBody:
27 | Define this parameter in the request body. 28 | break; 29 | case ApiParameterSource.FromUri: 30 |Define this parameter in the request URI. 31 | break; 32 | case ApiParameterSource.Unknown: 33 | default: 34 |None. 35 | break; 36 | } 37 | |
38 |
9 | ASP.NET Web API allows you to expose your applications, data and services to the 10 | web directly over HTTP. 11 |
12 |13 | To learn more about ASP.NET Web API visit the 14 | ASP.NET Web API Website. 15 | The page features videos, tutorials, and samples to help you get the most from ASP.NET Web API. 16 | If you have any questions about ASP.NET Web API, visit 17 | our forums. 18 |
19 |