VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Web.ApiControllers Namespace / VintasoftImageApiController Class
Members



In This Topic
    VintasoftImageApiController Class
    In This Topic
    A Web API controller that handles HTTP requests from clients and allows to get information about image or render image thumbnail/tile.
    Object Model
    VintasoftImageApiController Class
    Syntax
    'Declaration
     
    Public Class VintasoftImageApiController 
       Inherits System.Web.Http.ApiController
    public class VintasoftImageApiController : System.Web.Http.ApiController 
    public __gc class VintasoftImageApiController : public System.Web.Http.ApiController 
    public ref class VintasoftImageApiController : public System.Web.Http.ApiController 
    Remarks
    This Web API controller can be used in ASP.NET MVC 4.

    The Web API controller can cache data on server side. Cache parameters can be changed in the Web site's application settings (web.config file):
    • The "VintasoftWebImaging_UploadDirectoryName" parameter defines name of directory where uploaded files must be stored. By default parameter has value "UploadedImageFiles" and uploaded files are stored in "/UploadedImageFiles" directory.
    • The "VintasoftWebImaging_ResourceDirectoryName" parameter defines name of directory where global resources must be stored. By default parameter has value "Resources" and global resources are stored in "/Resources" directory.
    • The "VintasoftWebImaging_CacheDirectoryName" parameter defines name of directory where cached data must be stored. By default parameter has value "VintasoftCache" and cached data are stored in "/VintasoftCache" directory.
    • The "VintasoftWebImaging_CachedThumbnailsDirectoryName" parameter defines name of directory where cached thumbnails must be stored. By default parameter has value "Thumbnails" and cached data are stored in "/VintasoftCache/Thumbnails" directory.
    • The "VintasoftWebImaging_CachedImageTilesDirectoryName" parameter defines name of directory where cached image tiles must be stored. By default parameter has value "Tiles" and cached data are stored in "/VintasoftCache/Tiles" directory.
    • The "VintasoftWebImaging_CacheLifeTime" parameter defines a value that determines how long, in minutes, cached object will be stored on server. By default parameter has value 60.
    Inheritance Hierarchy

    System.Object
       System.Web.Http.ApiController
          Vintasoft.Imaging.Web.ApiControllers.VintasoftImageApiController

    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also