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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:26:31+00:00 2026-05-11T22:26:31+00:00

I am currently investigating MVC for a new project we are starting. So far

  • 0

I am currently investigating MVC for a new project we are starting. So far I like it, but I’m wondering about something.

The actual views that we will be displaying will not be known at design time, we will be specifying in a config file somewhere how to build these views. Is this pattern supported by MVC or do we need to know at design time exactly what data we will be viewing?

If not, can someone give me some pointers on what I should be looking at as most of the info I have assumes that you have a model/view that is defined during your design.

Regards,

Alex..

  • 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-11T22:26:31+00:00Added an answer on May 11, 2026 at 10:26 pm

    You can have your views weakly-typed… Your initial page directive on the view will look like:

    <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
    

    … and then you can refer to data from your Controllers like this:

    <%= ViewData["MyData"] %>
    

    Is there some common interface that you are intending to pass to your view? If so, you can benefit from a using the generic ViewPage<> :

    <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IamTheInterface>" %>
    

    Then, you can use your interface to refer to your Model:

    <%= Model.MyProperty %>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently investigating matlab and especially the matlab coder. My understanding is that
Currently I'm starting a new Activity and calling finish on a current one. Is
I am new to tinyMCE and currently investigating the preferred way of adding custom
I currently would like to expand my knowledge on Spring MVC so I am
I'm currently investigating ASP.NET MVC 2 and LINQ to SQL. It all looks pretty
I am currently working on a project that will involve credit card swipes for
I'm currently investigating a bug that causes a windows to freeze up. After the
I'm currently developing a tour application that will be storing and displaying information about
I am currently investigating the possibility to incorporate MVC into our existing WebForms framework.
I'm currently investigating building a User Control in a Silverlight Project in Expression Blend

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.