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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:57:32+00:00 2026-06-16T15:57:32+00:00

I have an MVC4 application with a Model (Entity) DLL project that is used

  • 0

I have an MVC4 application with a Model (Entity) DLL project that is used in the BusinessLogic and DataAccess layers. The MVC Controllers convert the ViewModels (bound to the Views) to the Models using some mapper extension methods and pass the Model objects to the BusinessLogic layer.

My question is: If I need some client-side features like KnockoutJS, is it good practice to create a further set of KnockoutJS ViewModels? I am concerned about maintainability and frequent changes in the ViewModels.

  • 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-16T15:57:34+00:00Added an answer on June 16, 2026 at 3:57 pm

    I would say no, knockoutJS is a client-side library and therefore shouldn’t really dictate how your server sends down data. As long as your view models contain all the relevant information required to render then that’s all you need. How the client then handles that is completely irrelevant to the server.

    By creating knockoutJS specific view models your essentially coupling your server responses to your client which is not a good idea – what if down the line you changed to a different client? What if you want to support multiple clients?

    I would recommend creating a client-side representation of your view model which is specific to KnockoutJS instead.

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

Sidebar

Related Questions

I have an MVC 4 application that uses Entity-Framework and SQL Express 2008 ,
Hi all i have a Entity model ProdcutTable in my MVC4 WebApi application which
I have a ASP.NET MVC 4 project - CodeFirst with Entity Framework - that
I have a problem with my MVC 4 Application. I have a Model with
I have asp.net mvc 4 web application project on my server in IIS Directory.
I have a simple MVC 4 (Beta) Application and just observed something that I
I have a layered web application that I built with ASP.NET MVC 4, WebAPI
I have an ASP.NET MVC 4 application that needs to use an existing API
I have an MVC4 application been developed in VS2012 that uses forms authentication. [authentication
I have an ASP.NET MVC 4 project with Entity Framework 5, .NET 4.5 and

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.