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

  • Home
  • SEARCH
  • 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 8963159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:17:53+00:00 2026-06-15T16:17:53+00:00

In ASP.NET MVC 2 (yes, TWO, I’m using MONO for this), I would like

  • 0

In ASP.NET MVC 2 (yes, TWO, I’m using MONO for this), I would like to know if it is at all possible to bind multiple Request parameters into an Action method parameter.

Let me give an illustration.

I’m passing 2 parameters (using whatever method I like, GET, POST, etc.):

  • Name
  • Guid

Is there a way to bind those parameters to this:

public JsonResult MyMethod(NameClass identifier)

Instead of this:

public JsonResult MyMethod(string name, string guid)

Using this?

public class NameClass
{
    public string Guid { get; set; }
    public string Name { get; set; }
}
  • 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-15T16:17:54+00:00Added an answer on June 15, 2026 at 4:17 pm

    Absolutely. You simply have to name your fields using dot notation as if you were going to access the property from inside the method. This means that the Guid field is named identifier.Guid and the Name field identifier.Name. It is too bad that you can’t take advantage of strongly-typed user controls however ;).

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

Sidebar

Related Questions

I am using ASP.Net MVC with C# language. I would like to edit a
ASP.NET MVC 2 will support validation based on DataAnnotation attributes like this: public class
I am using Uploadify/asp.net mvc 3 to upload images. Is it possible to display
I'm writing a web service (using ASP.NET MVC) and for support purposes we'd like
Lets consider default ASP.NET MVC application folder structure, so it's looks like this: -App_data
If the answer is yes then how would ASP.NET MVC find out that which
I'd like to execute an exe from an ASP.NET MVC application. Yes I understand
I am doing some plugin kind of work using asp.net mvc. I have two
Is this possible to install and use Telerik Extension for ASP.NET MVC in Umbraco
Yes, I know that in ASP.NET MVC you have to use ViewModels. But I'm

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.