Open this page in the API Guide

ResourceController Class

The REST API for performing resource tasks.
Inheritance Hierarchy
System.Object
  Microsoft.AspNetCore.Mvc.ControllerBase
    Dundas.BI.WebApi.Controllers.ApiControllerBase
      Dundas.BI.WebApi.Controllers.ResourceController

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public class ResourceController : ApiControllerBase

The ResourceController type exposes the following members.

Constructors
  NameDescription
Public methodResourceController
Initializes a new instance of the ResourceController class.
Top
Methods
  NameDescription
Public methodDeleteBuiltInResource
Deletes the contents of the specified built-in resource.
Public methodDeleteStaticResource
Deletes the contents of the specified static resource.
Protected methodEnsureCallerContext
If the current context is not already the specified context, creates a new caller context which is a clone of the specified context and sets it as the current one.
(Inherited from ApiControllerBase.)
Protected methodEnsureFormFileMultipartContent
Ensures when form files are access the content is MIME multi-part which we want.
(Inherited from ApiControllerBase.)
Public methodGetBuiltInResource
Gets the contents of the specified built-in resource.
Public methodGetBuiltInResourceFile
Gets the requested built-in resource as a file.
Public methodGetBuiltInResourceInfos
Gets all the created and available built-in resource infos.
Protected methodGetClientIdFromCookieOrProvided
Gets the client ID from cookie or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodGetData
Gets the requested resource data.
Public methodGetImageThumbnail
Gets the thumbnail for the specified image as a file.
Protected methodGetService<T>
Gets the requested service.
(Inherited from ApiControllerBase.)
Protected methodGetSessionIdFromCookieHeaderOrProvided
Gets the session ID from cookie, the authorization header or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodGetStaticResource
Gets the contents of the specified static resource.
Public methodGetStaticResourceFile
Gets the contents of the specified static resource as a file.
Public methodGetStaticResourceInfos
Gets all the created and available static resource infos.
Public methodGetStoredViewThumbnail
Gets the thumbnail for the specified view as a binary file.
Protected methodLoadSession
Creates a new caller context associated with the specified session ID. The session is not validated.
(Inherited from ApiControllerBase.)
Protected methodRequestFirstFormFile
Retrieves the first form file from the request.
(Inherited from ApiControllerBase.)
Protected methodRequestFormFiles
Retrieves the form files from the request.
(Inherited from ApiControllerBase.)
Protected methodReturnInvalidWindowsIdentityResponse
Returns the invalid windows identity response to challenge the browser.
(Inherited from ApiControllerBase.)
Public methodStoreBuiltInResource
Stores the contents of the specified built-in resource.
Public methodStoreBuiltInResourceFile
Stores the contents of the specified built-in resource when sent as a file. This API call expects form files inside the request body.
Public methodStoreData
Stores binary file data for different types of files. This API call expects form files inside the request body.
Public methodStoreStaticResourceFile
Stores the contents of the specified static resource when sent as a file. This API call expects form files inside the request body.
Top
See Also