Provides services to Create/Upload, and Get Media
Inheritance Hierarchy
ApiController
RainWorx.FrameWorx.MVC.Areas.API.Controllers.BaseAuctionWorxAPIController
RainWorx.FrameWorx.MVC.Areas.API.ControllersMediaController
Namespace: RainWorx.FrameWorx.MVC.Areas.API.Controllers
Assembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public class MediaController : AuctionWorxAPIController
The MediaController type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | MediaController | Initializes a new instance of the MediaController class |
Methods
Name | Description | |
---|---|---|
![]() | GetByGuid |
Gets Media by GUID
|
![]() | GetByID |
Gets Media by ID
|
![]() | GetLoaderResultByGUID |
Gets the result of a Media Load operation by GUID and returns it.
|
![]() | GetLoaderResultByID |
Gets the result of a Media Load operation by ID and returns it.
|
![]() | Post |
Creates Media from Request Body.
Accepts MIME multipart content (multipart/form-data) of one or more file "parts", and a single "context" string part.
"context" must have a Content-Type of "text/plain", and it's Content-Disposition, "name," must be "context".
Media files must have a "filename" in their Content-Dispositions ("name" can be anything).
|
![]() | PostFile |
Creates non-image Media from Request Body.
Accepts MIME multipart content (multipart/form-data) of one or more file "parts", and a single "context" string part.
"context" must have a Content-Type of "text/plain", and it's Content-Disposition, "name," must be "context".
Media files must have a "filename" in their Content-Dispositions ("name" can be anything).
|
![]() | PostFromURI |
Creates Media by retrieving it from a provided URI.
|
![]() | PostString |
Creates Media from a provided string.
|
Extension Methods
Name | Description | |
---|---|---|
![]() | ToMvcHtmlString |
Returns the HTML version of the ToString() output method of the specified object
(Defined by HtmlHelpers.) |
See Also