Hi,
Could you please share sample code to retrieve data from database using dataserver as dll for .net core?
Also , we are using .net core 9 SDK while datacore server dll is build using .net 3.1, Is it compatible with .net 9?
Thanks,
Varun
Hello, Varun,
Thank you for your questions.
Regarding your question about retrieving the data from the database, you can use any standard database access method if you are talking about fetching the data separately (not for creating an index for connecting to Flexmonster). There is no need to involve Flexmonster Data Server for this task. If you meant retrieving the data to show it in Flexmonster, then you should create a database index in the FDS config file (appsettings.json
). Please refer to this page to see the list of all available properties: https://www.flexmonster.com/doc/dll-configurations-reference/
As for compatibility with .NET 9, the FDS DLL is fully compatible with this .NET version.
Feel free to contact us if more questions arise.
Best Regards,
Maksym