0

I have to make a multiple copy of tables from one database to other with SqlBulkcopy from an ASP.NET MVC application.

The process takes more than 2 minutes, and I do not trust users.

Which is the best way to do the entire process, even if the user closes the window?

1 Answer 1

2

Don't do such processes in an ASP.NET application. Read this article to understand why. So do this task in a separate process than your application: a Windows service, a scheduled console application, ...

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks a lot, I have read It and looks like I am going to make it in a different way. Also I have found an answer made by you that matches to my actual question stackoverflow.com/questions/3637649/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.