thank you for your comment.
I wrote following code in async action.
public async Task<ContentResult> ReportTotalMonthlyValueAsync(TMVReportViewModel viewModel)
{
rs = new ReportingService("https://jsreport-cpro.azurewebsites.net/", "user", "password");
var report = await rs.RenderByNameAsync("TotalMonthlyValueReport", new
{
viewModel.TotalSubscriptionFee,
viewModel.TotalBillableFee,
viewModel.totalProcessingRevenueOnPremFee,
viewModel.TotalBillableUserCountFee,
viewModel.totalAllRevenue
});
string text;
using (StreamReader reader = new StreamReader(report.Content))
{
text = reader.ReadToEnd();
}
return Content(text);
}
when call rs.RenderByNameAsync function, this function does not return.
so i implemented it in console app and it does work.
it only does not work in mvc action.
could you help me?