Questions tagged [asynccontroller]

51 questions
0
votes
1 answer

Inheritance of Action in AsyncController

I have a base AsyncController BaseController : AsyncController { [Authorize("Admin")] public virtual async Task SomeMethod() { //code } } How it is correct to inheritance and override…
Roman Kiyashev
  • 150
  • 1
  • 11
0
votes
2 answers

AsyncController used to run a console application

There's a few questions that address the async controller workings but none quite deal with what I needed. hopefully someone's already done this and can tell me if I'm doing something wrong. I've got a combination of a web application that deals…
0
votes
1 answer

Async action in MVC does not work

I'm trying to make an async action in my async controller. All I need to do is when I press the button in the view it give me an alert indicating that the work has been sent for getting done. and when the job get's done I can do something (For…
Pouyan
  • 2,849
  • 8
  • 33
  • 39
0
votes
1 answer

AsyncController in MVC2.0

This is something what im trying in MVC 2.0 public class SomeController : AsyncController { public void SampleAsync() { AsyncManager.OutstandingOperations.Increment(); for(int i=0; i=100000; i++) { // Some…
Sham
  • 691
  • 2
  • 13
  • 26
0
votes
1 answer

Why does this controller double the inserts when I try to archive the results of the Bing Search API?

I'm trying to archive my search results for a term by Using the Bing API in an async controller Inserting them into database using Entity Framework using the Bing API and insert them into a database using entity framework. For whatever reason it…
Steve French
  • 961
  • 3
  • 13
  • 38
0
votes
1 answer

mvc3 async controller

I have a view which has one textbox and one submit button. I want untill the user completes the textbox and presses the submit button to execute some queries somehow async. How can i achive this? with AsyncController? Thanks!
Alex
  • 87
  • 1
  • 3
  • 8
1 2 3
4