Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to export data right?

$
0
0

I have a database with some data get by somewhere. 

Now i want to export the data to text files. But there can be many data. it can run many minutes.

  • I want to start export with one API call. In working state, no another call should can start another export. the export should mark each datarow (with subrows) after exporting
  • Another call should ask the export about his state
  • At finisch the export, the export should save an with state and notes in the database 

I have experimented and my actual code is not stable. Sometimes it break with no output or i get "New transaction is not allowed because there are other threads running in the session." Is there someway a tutorial how to build the scenario or any hints for me?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>