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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:09:22+00:00 2026-05-23T12:09:22+00:00

How can I send complete IList from application to WCF? Then on the basis

  • 0

How can I send complete IList from application to WCF? Then on the basis of that IList, I want to Save data in Database. For Example:

I have below function in my app.

private IList<Users> UserList() {

}

Now in my WCF i have Below Function

public Void SaveUser(Users U) {

}

Now I want to send whole list of UserList Function from My Application to WCF, and call SaveUser @ WCF.

I can do the whole operation with Loop also by calling SaveUser of WCF withing Loop of my USerList in Application. But due to Performance reasons, I want to avoid this method.

  • 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-23T12:09:23+00:00Added an answer on May 23, 2026 at 12:09 pm

    I assume your WCF service currently defines that method as an OperationContract?

    [OperationContract]
    public Void SaveUser(Users U);
    

    You can just add another method that takes a List, or an Array:

    // added to the service interface
    [OperationContract]
    public Void SaveUsers(List<Users> users);
    
    // added to the implementation of the service
    public Void SaveUsers(List<Users> users) {
      foreach(var user in users)
      {
        SaveUser(user);
      }
    }
    

    This is of course assuming you have control over the WCF service and can add that to its contract.

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

Sidebar

Related Questions

How do the timeouts work in WCF? I know for example that you can
I am trying to send data from PHP to a bash script and then
I can send any windows application key strokes with PostMessage api. But I can't
how i can send key from my C# program to external program ? ex:
how i can send sms from asp.net?any idea about it?or any resource through which
Using cURL I can send a GET request with a body. Example: curl -i
I have a program that can send text to any other program for further
How can I send POST data to a URL in PHP (without a form)?
How can I have PHP 5.2 (running as apache mod_php) send a complete HTTP
How can I send and receive multiple inputs using Runtime.getRunTime.exec(). For example if I

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.