Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Joseph 14 posts 93 karma points
    Sep 27, 2021 @ 15:12
    Joseph
    0

    Where is the code for the models stored?

    I have a document type to create a form for users to log in. I have two issues that I am trying to resolve:

    Where is the C# code stored? It looks like the model creates a class file somewhere but we cannot find it.

    Where is the HTML stored for the model? How can I see the view that Umbraco is using for the form?

  • Dennis 75 posts 397 karma points MVP 2x
    Sep 28, 2021 @ 13:07
    Dennis
    0

    Hi Joseph,

    Can you check in which mode you are using the models builder? Depending on the mode, your models are generated differently. Check out this article in the umbraco documentation about build modes.

    The html for your templates is stored in the /Views folder in the root of your project. You can also check out and edit your templates in the umbraco backoffice in the "Settings" area and below "Templates".

    I hope this helps! Let me know if you need more information!

  • Joseph 14 posts 93 karma points
    Sep 29, 2021 @ 18:20
    Joseph
    0

    Looks like it is set to Dll in Web.config

Please Sign in or register to post replies

Write your reply to:

Draft