Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8524725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:46:10+00:00 2026-06-11T07:46:10+00:00

I have in my MVC application a project called Storage. Inside of that I

  • 0

I have in my MVC application a project called Storage. Inside of that I have
the following three folders:

Helpers
Models
Services

I am considering making some static classes that look like this:

public static class TYPE
{
    public static string City = "07";
    public static string Street = "08";
}

These would provide reference look ups so as to avoid me using strings like “07” in
my code.

I would like to keep with convention so what folder name should I use for these
classes in my MVC directory structure.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:46:12+00:00Added an answer on June 11, 2026 at 7:46 am

    Outside of the folders Controllers, and Views the MVC framework doesn’t require other folder structure convention to work properly (and those mentioned can be configured). Even the default folder Models can be removed and renamed.

    That said, it is definitely a good idea to think about structure in a logical way. I’d suggest something like Constants or Helpers or Lookups or Infrastructure, depending on what else might live with this code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project consisting of three projects, WCF service Asp.net MVC 3 application
I have asp.net mvc 4 web application project on my server in IIS Directory.
I have an ASP.NET MVC application with a separate project added for tests. I
I have an mvc application that I allow businesses to log in using https://storea.mydomain.com
I have an MVC application that is using MEF for the controllers, all working
I have an MVC application view that is generating quite a large HTML table
I have a solution with a MVC Web Project, Infrastructure project, Services project and
I have an Asp.Net MVC Web Application that I am developing. I have TeamCity
I have an ASP.NET MVC 3 application that uses the Ninject.MVC3 extension to setup
I have an asp.net mvc project that uses some search methods in a seperate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.