Posted 15 January 2023, 9:52 am EST
Hi,
We are using DataEngine Web API to develop web api and works fine. But in some server security reason we don’t want the dataengine save any further files (Indexs or results) after generating datafiles in the first time.
We also found the data engine workspace property can be set to KeepFileType.None in the previous version.
workspace.KeepFiles = KeepFileType.None;
But in the latest version, we only can set the workspace path.
(for example.
app.UseDataEngineProviders().AddDataEngine(“dataset100”, () => ProductData.GetData(50000).ToList(), DATAPATH);
)
Is there any way to modify the workspace setting in Web API DataEngine v2020 and later ?
Thanks for anyone’s help!!
We also found online tutorial in previous version.
https://www.grapecity.com/blogs/getting-started-with-dataengine-web-api