{{quizService.qns[quizService.qnProgress].Qn}}
12 |{{qn.Qn}}
31 |14 | @Html.ActionLink("Help Page Home", "Index") 15 |
16 |@controllerDocumentation
18 | } 19 |API | Description |
---|---|
@api.HttpMethod.Method @api.RelativePath | 28 |
29 | @if (api.Documentation != null)
30 | {
31 | @api.Documentation 32 | } 33 | else 34 | { 35 |No documentation available. 36 | } 37 | |
38 |
@description.Documentation
16 | } 17 | else 18 | { 19 |No documentation available.
20 | } 21 | 22 | @if (hasParameters || hasRequestSamples) 23 | { 24 |@description.ResponseDescription.Documentation
43 | } 44 | else 45 | { 46 |No documentation available.
47 | } 48 |Sample not available.
13 | } -------------------------------------------------------------------------------- /WebAPI/WebAPI/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Collections.ObjectModel 2 | @using System.Web.Http.Description 3 | @using System.Threading 4 | @model CollectionName | Description | Additional information |
---|---|---|
@parameter.Name | 24 |@parameterDocumentation |
25 |
26 | @switch (parameter.Source)
27 | {
28 | case ApiParameterSource.FromBody:
29 | Define this parameter in the request body. 30 | break; 31 | case ApiParameterSource.FromUri: 32 |Define this parameter in the request URI. 33 | break; 34 | case ApiParameterSource.Unknown: 35 | default: 36 |None. 37 | break; 38 | } 39 | |
40 |
Sample not available.
22 | } 23 | else 24 | { 25 | @Html.DisplayFor(s => sample); 26 | } 27 | } 28 |5 | @Model.Text 6 |-------------------------------------------------------------------------------- /WebAPI/WebAPI/Areas/HelpPage/Views/Help/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using System.Web.Http.Controllers 3 | @using System.Web.Http.Description 4 | @using System.Collections.ObjectModel 5 | @using WebAPI.Areas.HelpPage.Models 6 | @model Collection
27 | Provide a general description of your APIs here. 28 |
29 |ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.
4 | 5 |ASP.NET Web API is a framework that makes it easy to build HTTP services that reach 10 | a broad range of clients, including browsers and mobile devices. ASP.NET Web API 11 | is an ideal platform for building RESTful applications on the .NET Framework.
12 | 13 |NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
17 | 18 |You can easily find a web hosting company that offers the right mix of features and price for your applications.
22 | 23 |14 | @Html.ActionLink("Help Page Home", "Index") 15 |
16 |@controllerDocumentation
18 | } 19 |API | Description |
---|---|
@api.HttpMethod.Method @api.RelativePath | 28 |
29 | @if (api.Documentation != null)
30 | {
31 | @api.Documentation 32 | } 33 | else 34 | { 35 |No documentation available. 36 | } 37 | |
38 |
@description.Documentation
16 | } 17 | else 18 | { 19 |No documentation available.
20 | } 21 | 22 | @if (hasParameters || hasRequestSamples) 23 | { 24 |@description.ResponseDescription.Documentation
43 | } 44 | else 45 | { 46 |No documentation available.
47 | } 48 |Sample not available.
13 | } -------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.HelpPage.5.0.0/content/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml.pp: -------------------------------------------------------------------------------- 1 | @using System.Collections.ObjectModel 2 | @using System.Web.Http.Description 3 | @using System.Threading 4 | @model CollectionName | Description | Additional information |
---|---|---|
@parameter.Name | 24 |@parameterDocumentation |
25 |
26 | @switch (parameter.Source)
27 | {
28 | case ApiParameterSource.FromBody:
29 | Define this parameter in the request body. 30 | break; 31 | case ApiParameterSource.FromUri: 32 |Define this parameter in the request URI. 33 | break; 34 | case ApiParameterSource.Unknown: 35 | default: 36 |None. 37 | break; 38 | } 39 | |
40 |
Sample not available.
22 | } 23 | else 24 | { 25 | @Html.DisplayFor(s => sample); 26 | } 27 | } 28 |5 | @Model.Text 6 |-------------------------------------------------------------------------------- /WebAPI/packages/Microsoft.AspNet.WebApi.HelpPage.5.0.0/content/Areas/HelpPage/Views/Help/Index.cshtml.pp: -------------------------------------------------------------------------------- 1 | @using System.Web.Http 2 | @using System.Web.Http.Controllers 3 | @using System.Web.Http.Description 4 | @using System.Collections.ObjectModel 5 | @using $rootnamespace$.Areas.HelpPage.Models 6 | @model Collection
27 | Provide a general description of your APIs here. 28 |
29 |