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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:27:45+00:00 2026-05-25T19:27:45+00:00

.NET newbie here. I have an MVC3 web application EF 4.1 Code First and

  • 0

.NET newbie here. I have an MVC3 web application EF 4.1 Code First and Data Entity Framework, works great. I am trying to create another WCF Service/Application that will run on a different IIS server than the MVC3 application. The objective is “Cross site communication”:

  1. MVC3 app saves data to local host database. “works”
  2. MVC3 app Sends data to another IIS that hosts the WCF.
  3. WCF service saves data to database that is identical to the one on the MVC3.
  4. WCF sends confirmation back to MVC if data has been saved or not.
  5. WCF does not have to be complex, simple will do, WCF REST / WCF Web etc.

I went through dozens of articles and video tutorials but its all about exposing the service within same project/site. i am trying to find an actual CODE SAMPLES to at least send the data from one server to another.

your help is greatly appreciated.

  • 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-25T19:27:45+00:00Added an answer on May 25, 2026 at 7:27 pm

    Once you have exposed your WCF service on some server all you have to do in your ASP.NET MVC 3 application is to add a Service Reference … and point to the WSDL of the remote WCF service which will generate a strongly typed proxy class and add a bunch of config sections in your web.conig. Then simply call the service:

    using (var client = new MyServiceClient())
    {
        var result = client.SomeMethod();
    }
    

    Here’s an article on MSDN which illustrates how WCF services could be hosted and consumed.

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

Sidebar

Related Questions

ASP.NET newbie here I have coded up an ASP.NET website and running on win'08
I'm an asp.net newbie. I have inherited a base of asp.net mvc code and
Newbie to .NET data apps here, coming from a Visual Foxpro background. I'm planning
I'm trying to prepare to build a database driven .net application and I have
.NET newbie here... I'd like to make a button in a Windows form that
Newbie here...can I write one program which incorporates .NET LINQ and also various Java
I'm a C#, ASP.NET newbie. Let's say I have an existing C# project (from
Newbie question: There are three types of Asp.Net controls : HTML server controls, Web
.NET/MVC3 newbie, so please bear with me! I've searched for this answer all over
Willing to admit I'm a complete .NET newbie, but I have extensive experience in

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.