I am developing a web page with .NET
I have a method to send emails which I want to do asynchronously. So far everything has been done correctly, but in the design of the .aspx views I have the following problem.
I have a MasterPage structure - > Page where the Page can be declared as asynchronous but on the other hand the Master is not. I declare this as follows.
<%@ Page Title="" Language="C#" MasterPageFile="~/Administration/Administration.Master" AutoEventWireup="true" CodeBehind="GestionUsuarios.aspx.cs" Inherits="Administration.GestionUsuarios" Async="true"%>
In Administration.Master, however, it is not possible to declare it as asynchronous. So the method continues to run as synchronous.
I can not find a solution to this.
Thank you.