VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.Web.Api2Controllers Namespace / VintasoftAnnotationCollectionApi2Controller Class
Members Object Syntax Remarks Hierarchy Requirements SeeAlso
In This Topic
    VintasoftAnnotationCollectionApi2Controller Class
    In This Topic
    A Web API 2 controller that handles HTTP requests from clients and allows to annotate images.
    Object Model
    AnnotationJsonFormatter VintasoftAnnotationCollectionApi2Controller
    Syntax
    'Declaration
    
    Public Class VintasoftAnnotationCollectionApi2Controller
       Inherits System.Web.Http.ApiController
    
    
    public class VintasoftAnnotationCollectionApi2Controller : System.Web.Http.ApiController
    
    
    public __gc class VintasoftAnnotationCollectionApi2Controller : public System.Web.Http.ApiController*
    
    
    public ref class VintasoftAnnotationCollectionApi2Controller : public System.Web.Http.ApiController^
    
    
    Remarks

    This Web API controller can be used in ASP.NET MVC 5.

    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_ResourcesDirectoryName" 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.
    • 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_CachedAnnotationPackagesDirectoryName" parameter defines name of directory where cached annotations 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.Annotation.Web.Api2Controllers.VintasoftAnnotationCollectionApi2Controller

    Requirements

    Target Platforms: .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also