asp.net - Asynchronous processing .NET SQL Server? -


After programming for many years, I need to do something for the first time asynchronously (because it takes many minutes and the web.)

Click on a "Save" by using LINQ on an ASP.NET web page, m. Put a record in a SQL Server table. After that it inspires an SSIS package to record in many other databases across the country.

So .. ..

  1. How can I (hopefully just) do this asynchronous so that the user can get along with other things?

  2. Should it be set on the net or on the SQL side?

  3. Is there any way (minutes later) that the user can know that the process is completed and successfully? Maybe an email?

    About this, I read some threads on this site, but since 2009 they were not so sure that the footage is very different with the Studio 2012 / .NET Framework 4.5 (We're still using SQL Server 2008 R2).

    This is usually a bad idea to do long-running tasks in ASP.net For one thing, if the application pool is recycled before the completion of the work, it will be lost.

    I would like to write a request for a database table, and use a different Windows service to run for long. It can update a status column in the database table, which can be checked later to see if the work has been completed, and if an error has occurred.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -