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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:08:26+00:00 2026-05-20T05:08:26+00:00

This is a conceptual question but I think it does have an ‘answer’, hopefully

  • 0

This is a conceptual question but I think it does have an ‘answer’, hopefully it won’t be knocked on the head.

I develop in asp.net webforms (C#) using a lot of linq to sql (have used EF also but l2s is enough for most of my needs). I just completed an initial MVC tutorial, along with the ‘code first’ entity models. I can see some benefits particularly around ‘separation of concerns’, but I’d like your views on whether this would be suitable for me given the type of things I develop. The questions:

a) The whole MVC paradigm seems to assume defined ‘classes’ (eg the ‘movie’ class in the MVC tute I did). Must of what I do involves creating adhoc anonymous types from linq and binding them to grids or charts. To use MVC would I have to create defined classes every time in order to pass them from the controller to the view? This question (http://stackoverflow.com/questions/410073/linq-anonymous-types-mvc-views-help) seems to suggest it, or a dictionary as a workaround which would only work in limited cases.

b) I use quite a few third party controls (telerik, devexpress and so on). It seems none of those would work with MVC? Telerik have some free MVC extensions, but I’m figuring my investment in those other controlsets would be lost?

Sorry for the noobish questions 🙂

Mark

  • 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-20T05:08:26+00:00Added an answer on May 20, 2026 at 5:08 am

    a) Aside from this unusual trick, http://tomasp.net/blog/cannot-return-anonymous-type-from-method.aspx, anonymous types are for processing within a method, not intended for passing between contexts. The controller context and the view context are different; you should use a typed object to pass data between them. That’s exactly what ViewModel objects should be used for so don’t resist their usage.

    b) It is true, your webforms controls will not benefit you in MVC, but you’ll also find that the popular component shops have long ago brought MVC extension libraries to market as much as they can in anticipation of the move from webforms to MVC. Telerik is among them – http://www.telerik.com/products/aspnet-mvc.aspx

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

Sidebar

Related Questions

this was more a conceptual question, but I was wondering what the best C#
This might seem like a stupid question I admit. But I'm in a small
This is a difficult and open-ended question I know, but I thought I'd throw
I know this sort of question has been asked before , but I still
This is a best practice question, and I expect the answer to be it
This a conceptual question on how one would implement the following in Lisp (assuming
This might be a conceptually stupid question, but it also might not and since
Question title might be meaningless, but I tried. :) Here's my situation: I have
I'm having some conceptual trouble on figuring out how to best implement this... I
This is a bit of a long shot, but if anyone can figure it

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.