Base solution for your next web application
Open Closed

Source code structure #10779


User avatar
0
Loizos created

What is your product version: 11.0.0 What is your product type (Angular or MVC): Angular What is product framework type (.net framework or .net core) .NET 6.0

Hi,

I would like to ask if I will be facing any kind of issues in future (..during updates/upgrates of ASP.NET Zero ?) if I change the structure of the root folders. For example I would like to have the angular folder in a different github repository (e.g. myapplication-angular/angular) while the aspnet-core folder in another respository (e.g. myapplication-core/aspnet-core).

Also, the same question goes for the mobile app source code, is it possible to take it out in its own root folder without having any troubles in future updates?

Thank you in advance,

Loizos


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

    Hi @Loizos

    If you keep Angular app, mobile app and server side app in different repositories, it is not a problem. But, if you change their internel structure, it will hard for you to merge our changes into your project.

    Thanks,

  • User Avatar
    0
    Loizos created

    Hi @ismcagdas

    Thanks for your answer, that's for sure, no intention to change the internal structure.

    However, to do so I have to move the 3 projects for the mobile app from the existing path and place them in a root folder before add them in a new repository. Also I have to fix their dependencies (references) to the other (aspnet core) projects. Are these changes acceptable?

    Also a quick clarification regarding the ui-tests folder in the root structure. This one refers to the angular app isn't it? Can this be packed under the angular app repository only?

    Thanks, Loizos

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    However, to do so I have to move the 3 projects for the mobile app from the existing path and place them in a root folder before add them in a new repository. Also I have to fix their dependencies (references) to the other (aspnet core) projects. Are these changes acceptable?

    Yes, this will not cause much problems for you.

    Also a quick clarification regarding the ui-tests folder in the root structure. This one refers to the angular app isn't it? Can this be packed under the angular app repository only?

    These are actaully UI related tests. If you are using Angular version, yes, they are related to Angular project. You can move this folder to angular folder if you prefer.

  • User Avatar
    0
    Loizos created

    Hi,

    Thanks for your answer.

    I think the power tools doesn't work though. Perchaps angular & aspnet-core folders have to coexist on the same level?

    Loizos

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    For angular project you can change "AngularSrcPath" in "aspnet-core\AspNetZeroRadTool\config.json" file but for ui-tests, as I can see, there is no such config. So, changing the UI tests folder might break the Power Tools.

  • User Avatar
    0
    Loizos created

    Thank you @ismcagdas