Base solution for your next web application

Activities of "alukaszewski"

I see that this issue has been resolved in 1.7.0 - how do I know which code or files to replace to fix this issue in 1.6.1.0? Do I need to upgrade all files to 1.7.0 - if so, what about my customisations to PageNames.cs etc.

Andy

I have removed the mpa/bundles files and also modified the .vbproj file to remove the include entries for the .css files as per the commits in GitHub, but the issue remains. When I publish the Release version I am getting 404 for the "/Bundles/img/sidebar-toggle-light.png", but if I publish the debug version of the project the file url is coming from "/metronic/assets/admin/layout4/img/sidebar-toggle-light.png" and works OK.

Why is the Release version going for the /Bundles folder and not the /metronic folder?

Figured it out. I had to republish the site and enable the option to remove extra files. Release version on production server now looking great!

Hi, How can I update the bootstrap components within my ASPNETZero project to latest pre-release version? Do I just use "Install-Package bootstrap -Pre" or will that not work? I am finding that the standard col size classes are far too outdated and dashboard starts to look silly with large portlets on high resolution displays (Most people have 1920x1080p monitors and even Surface Pro has 2560 width!). 4K screens are now appearing on a few people desks, which have 3000+ resolution!

I tried adding the BootStrapXL.css and although I can reference the col-xl- classes in code, metronic/aspnetzero does not seem to create portlets that work, for instance in xl mode (>1600) each portlet was set to col-xl-2 but they still appear as col-lg-3.

Do you have advice or perhaps customisation for adding xl and xxl col size classes? (xl I think should be >1600 and xxl should be >2500).

Hi Hikalkan, although the code is good for rendering third level menu items - when you navigate to third level URL the parent and grand parent nav-menu <li> is not marked with class=active, so the menu is collapsed.

Question

Hi, where do I configure to have the Mpa application start with the /Account/Login page? If I tick the 'remember me' option, should it then also take me straight into dashboard or still present the login page? Also, I am using Mpa only, so what sections/folders within Visual Studio can I safely remove from my project?

Answer

OK, maybe I asked my question incorrectly.

When I access my published site in IIS, how do I have it start with the Login page instead of the default "Home page" page? My Startup.cs is already set with LoginPath = new PathString("/Account/Login").

So, basically, I want the project to start with the Account Controller and not the Home Controller? Does that make sense?

Answer

Aha! Found what I wanted. It was in the RoutConfig.cs, I changed:

        routes.MapRoute(
            name: "Default",
            url: "{controller}/{action}/{id}",
            defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional },
            namespaces: new[] { "Callisto.Web.Controllers" }
            );

to:

        routes.MapRoute(
            name: "Default",
            url: "{controller}/{action}/{id}",
            defaults: new { controller = "Account", action = "Login", id = UrlParameter.Optional },
            namespaces: new[] { "Callisto.Web.Controllers" }
            );

So many places to find things hidden away!

Andy

Hi,

When I publish Release to IIS, I am missing the jstree layout style/checkboxes when I view Roles/Permissions. OK when using local VS IISExpress debug. Is this another bundle config issue?

It's OK, I've figured out I had to remove the jstree.min.css from the .csproj file. I must have missed that one when I removed all the other .min.css files.

Andy

Showing 11 to 20 of 65 entries