Base solution for your next web application

Activities of "trendline"

Is there a scheduled date to release abp version 1.1.0 to compatible asp.net core 1.1?

Is there some walkthrough codes to demo how to append parameters to listAction for Abp.jTable? It seems abp wrapped the jTable, it cannot append parameters after the service url, then How to post or append parameters to the service url?

Is there some walkthrough codes to demo how to append parameters to listAction for Abp.jTable? It seems abp wrapped the jTable, it cannot append parameters after the service url, then How to post or append parameters to the service url?

Could you write some walkthrough code?

If more than one DbContext under the *.EntityFramework.project, and other DbContexts also inherit from AbpZeroDbContext, that will cause the DbSets in AbpZeroDbContext be instanced more than once?

As we know, if we create a new solution then come with below projects(asp.net core version) MyCompany.ApbZeroTemplate.Application MyCompany.ApbZeroTemplate.Core MyCompany.ApbZeroTemplate.EntityFramework MyCompany.ApbZeroTemplate.Migrator MyCompany.ApbZeroTemplate.Web

If I add a new module A with modular structure like below MyCompany.ApbZeroTemplate.Application MyCompany.ApbZeroTemplate.Core MyCompany.ModuleA.Application MyCompany.ModuleA.Core MyCompany.ApbZeroTemplate.EntityFramework MyCompany.ApbZeroTemplate.Migrator MyCompany.ApbZeroTemplate.Web

Is there an approach I can add a separated ModuleA.EntityFramework project to manage DbSets for ModuleA? If so, how to do database migration? If not, is there an approach that I can manage the DbSets of ModuleA in a separated place? Not all under MyCompany.ApbZeroTemplate.EntityFramework?

<cite>ismcagdas: </cite> Hi,

Actually changing solution name after project creatin is not suggested but I understand there might be such a need after some time of development.

We didn't share our project renaming code because of licensing issues, see <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/200">https://github.com/aspnetzero/aspnet-zero/issues/200</a>.

In your case I think you need to change project names in WebContentDirectoryFinder.cs. But if you even solve this problem, there might be some other issues.

Where I can find WebContentDirectoryFinder.cs file?

<cite>ismcagdas: </cite> Hi,

The current template renders only menu with name "App", you can check [*SideBarViewComponent.cs] and Default.cshtml under "Views/Shared/[*SideBar]/".

In your other modules you can create different menus but in that case you need to change SideBarViewComponent to render all menus instead of menu with name App.

In order to embed xml files in your module, you can check the project.json in *.Core project.

Thanks, localization issues fixed follow up your suggestion. Regarding to the navigation menu, I append the module navigation menu to the menu with name "App", is there a way that I could insert the new module menu in a specified position in the "App" name?

Yes, just like you said, a strange problem. I changed the name of the solution to the old one, it works fine.

<cite>hikalkan: </cite> Hi,

Have you marked your XML file as embedded resource?

For modularity; It's your design decision. But beside ABP and AspNet Zero, modularity is hard itself. For example, you have 2 modules A and B isolated from each other and independent from the main app. What if you need to use some class of A from B? Will you create an abstraction into a common module? So, it may be hard. But if you are OK with these, it has obvious advantages like re-usability and maintainability.

Have a nice day.

I also encountered this issue, and there is no way to make the XML file as embedded resource in .net core project.

<cite>ismcagdas: </cite> Hi,

Can you share your module's navigationProvider class ?

I defined the Module A navigation provider in the module, if I configured it in the pre-initial method in Module A, it can't work.

But if I configured it in the top level module, such as the web module, then it works.

public const string MenuName = "App";
        
        public override void SetNavigation(INavigationProviderContext context)
        {
            //var menu = context.Manager.Menus[MenuName] = new MenuDefinition(MenuName, new FixedLocalizableString("PM Menu"));
            var menu = context.Manager.Menus[MenuName];

Furthermore, must define the menu name same as the top level module defined, such as "App", then it could append after it, is there other approach to append the navigation module from a module and don't need to define with the same menu name?

Showing 141 to 150 of 154 entries