VintaSoft Imaging .NET SDK and Plug-ins Discussions
Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.
Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions
protected override IDataStorage CreateSessionDataStorage(string sessionId)
{
return new BlobDataStorage();
}
public class BlobDataStorage : IDataStorage
{
public object GetItemCopy(string key)
{
if (Contains(key))
{
var blobclient = new BlobClient("UseDevelopmentStorage=true", "service",key);
return blobclient.OpenRead();
}
else
throw new Exception(string.Format("Data storage does not have image with identifier \"{0}\".", key));
}
...
the method GetImageFileInfo() is taking almost 1 min to response for 1260 array of jpg . if is is just JSON response cannot we some how give response directly protected override IDataStorage CreateSessionDataStorage(string sessionId)
{
if (sessionId == null)
{
if (IsEmptySessionSupported)
sessionId = "";
else
throw new ArgumentNullException("sessionId");
}
string path = Path.Combine("C:\\Jwalit\\Sample Files\\JPEGNEW\\", sessionId);
if (!Directory.Exists(path))
Directory.CreateDirectory(path);
return new StreamDataStorage(path);
}
can you please suggest