Multi Post Parameter Binding of any data type IN ASP.NET WEB-API2 without queryString send any amount of data to webapi controller

2

(In order to Enlarge images Please Right Click and Open images in New Tab)

Note:

To install WebAPI CORS MULTI PARAMS MODELBINDER , run the following command in the Package Manager console

PM>Install-Package WebAPICORSMULTIPARAMSMODELBINDER

 

Let us see how to pass multiple parameters to web api controller action without creating entity

1)By Creating Entity

1

 

2

 

2)By without Creating Entity

2

 

1a

c1

 

3)Now do below change in global.asax.cs file

c2

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s