VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Web.Api2Controllers Namespace / VintasoftFileApi2Controller Class
Members



In This Topic
    VintasoftFileApi2Controller Class
    In This Topic
    A Web API 2 controller that handles HTTP requests from clients and allows to manipulate files on a server.
    Object Model
    VintasoftFileApi2Controller Class
    Syntax
    'Declaration
     
    Public Class VintasoftFileApi2Controller 
       Inherits System.Web.Http.ApiController
    public class VintasoftFileApi2Controller : System.Web.Http.ApiController 
    public __gc class VintasoftFileApi2Controller : public System.Web.Http.ApiController 
    public ref class VintasoftFileApi2Controller : public System.Web.Http.ApiController 
    Remarks
    This Web API controller can be used in ASP.NET MVC 5.
    The Web API controller can work with cached 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 paramater has value "UploadedImageFiles" and uploaded files are stored in "/UploadedImageFiles" directory.
    • The "VintasoftWebImaging_CacheDirectoryName" parameter defines name of directory where cached data must be stored.
    • The "VintasoftWebImaging_CachedThumbnailsDirectoryName" parameter defines name of directory where cached thumbnails must be stored.
    • The "VintasoftWebImaging_CachedImageTilesDirectoryName" parameter defines name of directory where cached image tiles must be stored.
    • The "VintasoftWebImaging_CacheLifeTime" parameter defines a value that determines how long, in minutes, cached object will be stored on server.
    Inheritance Hierarchy

    System.Object
       System.Web.Http.ApiController
          Vintasoft.Imaging.Web.Api2Controllers.VintasoftFileApi2Controller

    Requirements

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

    See Also