Copied to clipboard

Flag this post as spam?

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


  • Dan White 206 posts 510 karma points c-trib
    Dec 05, 2012 @ 09:11
    Dan White
    0

    (newb) Where do custom controllers/models go in 4.11

    Sorry for the newb question, but where do custom controllers(surfaceControllers) and models go in 4.11? 

    I've seen that in the standardMVC package they are in App_code. Is that best? Won't it get kind of ugly storing both controllers and models in the same location?

    Will it work and is it a better practice to create a separete project and just import the binaries?

  • Kevin Lawrence 183 posts 349 karma points
    Dec 05, 2012 @ 15:27
    Kevin Lawrence
    0

    You can store the controllers in a sub-folder in App_Code, in fact it probably doesn't matter where they are stored as long as they are compiled.  Your models can also go into a Model folder under App_Code, but again it probably won't matter if you are compiling in VS.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies