Base solution for your next web application

Activities of "goldstar25"

I have to use AppService fix it.

I give up this way,I had to override the OnActionExecuting method inside the controller .

But,How to set it in AbpModuleā€˜s PreInitialize methond?

why UnitOfWorkManager is Null on OnActionExecuting? [attachment=0:1eqrfnov]null.png[/attachment:1eqrfnov]

Hi,How to add custom mvc filter in AbpModule by ASP.NET Core?There has no method look this:

private static void AddFilters(MvcOptions options)
        {
            options.Filters.AddService(typeof(AbpAuthorizationFilter));
            options.Filters.AddService(typeof(AbpAuditActionFilter));
            options.Filters.AddService(typeof(AbpValidationActionFilter));
            options.Filters.AddService(typeof(AbpUowActionFilter));
            options.Filters.AddService(typeof(AbpExceptionFilter));
            options.Filters.AddService(typeof(AbpResultFilter));
        }

I has order it in " _UserMenuItem.cshtml" and "Default.cshtml":

<ul class="sub-menu">
            @{var items = Model.MenuItem.Items.OrderBy(p => p.Order).ToList();}
            @for (var i = 0; i < items.Count; i++)
            {
                var childMenuItem = items[i];
                @Html.Partial("Components/AdminSideBar/_UserMenuItem", new UserMenuItemViewModel
                {
                    MenuItem = childMenuItem,
                    MenuItemIndex = i,
                    CurrentPageName = Model.CurrentPageName,
                    RootLevel = false
                })
            }
        </ul>

Mail has been sent.

Yes,it's ok!I wrote the connection string in the code...

As shown,the method "_userNavigationManager.GetMenuAsync" not sorted by Order,I think this method the default should be sorted by the "order" field.

So sure yes, I have tried. But still thank you. This bug fixes please let me know.

Showing 11 to 20 of 46 entries