Strange installation #1243
-
I have created and installed a module to my site and noticed that two records where created in the Modules table. the database shows on the server only 6 files installed: is this correct? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
This is weird, seems the namespace is matter, hope to find time to validate this |
Beta Was this translation helpful? Give feedback.
-
This is by design. Modules must inherit from ModuleBase and be organized by namespace. You can either specify @namespace explicitly in your razor components... or Blazor will create a namespace for your components based on the folder structure and filename. Many different modules can exist in a single DLL. If you have razor components that you want to inherit from ModuleBase but not be treated as modules ( ie. shared components ) then you should use @Attribute [OqtaneIgnore] in your component. This is how all of the components in the /Controls folder are configured,. |
Beta Was this translation helpful? Give feedback.
-
Applied the |
Beta Was this translation helpful? Give feedback.
Applied the
@attribute [OqtaneIgnore]
to the razor files.