Hi,
in DW9 it was possible to use this little piece of code that allowed to add custom api controllers to the exisdting DW project:
    [Subscribe(Standard.Application.AuthenticateRequest)]
    public class ApiEnabler : NotificationSubscriber
    {
        public const string RoutePrefix = "api/custom";
        public override void OnNotify(string notification, NotificationArgs args)
        {
            if (args is not Standard.Application.AuthenticateRequestArgs authenticateArgs) return;
            var requestPath = HttpContext.Current.Request.Path;
            var isApiRequest = requestPath.StartsWith($"/{RoutePrefix}");
            if (isApiRequest)
            {
                HttpContext.Current.SetSessionStateBehavior(System.Web.SessionState.SessionStateBehavior.Required);
                authenticateArgs.Handled = true;
                return;
            }
        }
    }
Apparently, that doesn't work anymore in DW10 and this notification subscriber is not even triggered anymore.
What is the approach to add an api controller to DW10 project now?
regards