Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

RAD Code Generator templates documentation #8684


User avatar
0
enerjisauretim created

Hello there,

We almost edited all of your templates that are being used by RAD extension. However, there is no documentation about it. Is there a source code or any kind of documentation about the properties,conditions and everyting helpful that we can learn about the extension?


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

    Hi @enerjisauretim

    The related documentation is not much detailed, you cen check it here if you haven't yet https://docs.aspnetzero.com/en/common/latest/Rapid-Application-Development.

    If you have a specific goal to achive, we can try to help you.

  • User Avatar
    0
    enerjisauretim created

    Hello,

    I can list our needs:

    1. AppPermissions: related lines gets duplicated on each regeneration of the entity. It must be prevented and also, I want to change the generated code, however, its template is probably hidden in the application
    2. CustomDtoMapper: requirement is the same with the first line
    3. I want to prevent overriding some files when a regeneration occurs. for example, we created a validator template and within the templateinfo.txt file, i want to prevent duplicate generation/overriding if the specified already exists.

    These are the ones that I remember for the moment.

  • User Avatar
    0
    yekalkan created
    1. AppPermissions: related lines gets duplicated on each regeneration of the entity. It must be prevented and also, I want to change the generated code, however, its template is probably hidden in the application
    2. CustomDtoMapper: requirement is the same with the first line

    Code that are placed in an existing file are not allowed to edit. They are hardcoded in the rad tool. But they shouldn't have been duplicated anyway. You can create an issue at https://github.com/aspnetzero/aspnet-zero-core

    1. I want to prevent overriding some files when a regeneration occurs. for example, we created a validator template and within the templateinfo.txt file, i want to prevent duplicate generation/overriding if the specified already exists.

    You can create a issue (request) at https://github.com/aspnetzero/aspnet-zero-core