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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:05:29+00:00 2026-05-15T17:05:29+00:00

Recently I’ve read, and implemented 80% of examples from Pro ASP.NET MVC Framework ,

  • 0

Recently I’ve read, and implemented 80% of examples from Pro ASP.NET MVC Framework, and it seems like the authors have only given the basics. After reading this I did become able to build web applications using ASP.NET MVC. But that’s just basic applications.

What I found most confusing is that at the beginning the authors emphasized on the model as the primary component of the MVC application, but later on completely forgot about that, focusing on views, helper methods, controllers, tests (I spent more time writing code for tests, than the application itself), web security, third party software for doing stuff better, but without proper explanation of a Model’s place in ASP.NET MVC. In the book, in the largest example, the code which I would categorized as a model, was placed completely in another project, and not one single file was created in the Models namespace.

Here are the things that I feel that are 100% necessary in building solid applications using MVC:

  • Proper validation, model-side. I’ve seen in many examples on the internet it is done using annotations. Where to find a comprehensive documentation on annotations used for data validation for ASP.NET MVC?
  • Best practices in code organization within the model. I may have many entities/classes that need defining. Should I create separate files? Are there any interfaces or helpful base classes in ASP.NET MVC framework that I should know about?
  • Should HTML field names be defined in the view using plain HTML, or in the model, using annotations? Where does the role of the model in ASP.NET MVC have to end?
  • What are the best practices of using ORM tools with models in ASP.NET MVC? How should updates take place if the DataContext is discontinued? Where should the updatable properties of the entity be set? In the controller before being passed to the model for update? Or in the model?
  • 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-05-15T17:05:29+00:00Added an answer on May 15, 2026 at 5:05 pm

    The model is your business logic and business objects. Many large applications have the “model” completely separate from the web app. If you have multiple front-ends (mobile, windows, web, etc) to your app, you should be able to utilize the same model in each.

    For example, in our app (~250 views), we have:

    Web App (strongly typed views, controllers)
    ---
    ServiceLayer       |-|
    RepositoryLayer    |-|These 3 projects compose the "model"
    DataAccess (ORM)   |-|
    ---
    Database
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently I have been investigating the possibilities of caching in ASP.NET. I rolled my
Recently, I've been dealing with an error with accessing MAPI via the .NET framework
Recently, I read an article entitled SATA vs. SCSI reliability . It mostly discusses
Recently Jeff has posted regarding his trouble with database deadlocks related to reading. Multiversion
Recently, I started changing some of our applications to support MS SQL Server as
Recently our site has been deluged with the resurgence of the Asprox botnet SQL
Recently I had to develop a SharePoint workflow, and I found the experience quite
Recently we got a new server at the office purely for testing purposes. It
Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's
Recently a friend and I were talking about securing stored procedure code in a

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.