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 187375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:48:44+00:00 2026-05-11T15:48:44+00:00

I am learning ASP.NET MVC and I like it. However, I am very confused

  • 0

I am learning ASP.NET MVC and I like it. However, I am very confused about the right approach to namespacing my models.

While dissecting the NerdDinner sample app I noticed that everything in the Models folder belongs to the Models namespace. The data mapping classes, repositories, error rule management, etc., belong to the same namespacing level.

I understand that this folder was inspired by frameworks like Rails and friends, and that it is required to justify the M in the MVC title but; doesn’t an automatic Model namespace destroy any chances of writing business logic that is both detachable and portable across different systems and implementations?

Should I namespace my business logic below this Model namespace or should I ignore it completely and classify my classes in a more framework independent manner?

Are there any complex and good ASP.NET MVC sample apps out there that would demonstrate this?

  • 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. 2026-05-11T15:48:45+00:00Added an answer on May 11, 2026 at 3:48 pm

    I would classify your classes in the way that makes the most sense to you, I suspect they used that namespace in the Nerd Dinner sample app because from a learning stand-point it is nice for a developer to always see that they are in the Model portion of the application.

    Personally I don’t put anything in the Model folder and create separate projects for my entities (App.Domain) and for domain services (App.Services). I also create .Tests projects for both projects.

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

Sidebar

Related Questions

Started learning Wicket after ASP.NET MVC and feel a little bit confused about managing
I really like the MVC way and have actually enjoyed learning ASP.NET MVC (I
I am looking for learning materials (like blog posts and tutorials) for ASP.NET MVC
I been reading on asp.net mvc learning site about JavaScript injection and man it
I am learning ASP.NET MVC and many concepts of ASP.NET like authentication, authorization, session
i am just learning ASP.NET-MVC with Razor, it all works quite well, i like
I'm learning web development with ASP.NET MVC framework as I'd like to create os
While I was learning how to integrate Facebook Authentication into ASP.NET MVC application I
Im learning asp.net mvc and have been investigating jquery and the like. As yet
I'm learning ASP.NET MVC Framework, From some articles like this , it seems that

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.