Base solution for your next web application
Open Closed

Generating new entity in the different Asp.net MVC Area #12030


User avatar
0
ibrahim_fakeh created

I am working on ASP.NET MVC Core project. Latest version 13.2 I want to split my project to be more than one business module, to translate that I want to create for each business module to has an MVC Area for example HRArea, PayrollArea ect.. the issue is: when generation the entity using the power tool there is no field of the Area, there is only namespace (when changing the namespace it will effect the Application layer). how to place the controller file on the the new Area.


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ibrahim_fakeh

    You are right, this is not supported at the moment. Could you create an issue on github.com/aspnetzero/aspnet-zero-core/issues ? We can add this feature for the next Power Tools version.

  • User Avatar
    0
    indiominerals created

    Hi @ibrahim_fakeh

    You are right, this is not supported at the moment. Could you create an issue on github.com/aspnetzero/aspnet-zero-core/issues ? We can add this feature for the next Power Tools version.

    Can't this be accomplished by editing the ApplicationAreaName property in the AspNetZeroRadTool config.json file? ............... "ProjectType": "Mvc", "ProjectVersion": "v13.2.0", "ApplicationAreaName": "App",