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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:51:42+00:00 2026-06-08T18:51:42+00:00

I am responsible for the solution architecture of an ASP .NET MVC 3 web

  • 0

I am responsible for the solution architecture of an ASP .NET MVC 3 web application and want to ensure that I follow the best practices. I have worked with MVC 3 once before, but using a solution someone else put together.

My main concern is that the Web application will make use of a WCF service to retrieve and update data. I don’t think that calling the WCF service directly from my controller methods would be best practice, but I am not sure what a good alternative would be (perhaps a Repository pattern, would this be unusual to use in conjunction with WCF?). I just would like to know if there is a standard pattern/practice I could use.

Additionally, the WCF service is a wrapper for many other webservices and so it has it’s own classes for business objects. I am not sure if I should be creating another level of abstraction between the the WCF service classes and my model classes in the MVC application. So for example the WCF service has a Reservation class, do I need to create the same class in my Models for the Web Application?

Any assistance would be much appreciated.
Thanks!

  • 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-08T18:51:43+00:00Added an answer on June 8, 2026 at 6:51 pm

    My 2 cents

    … I don’t think that calling the WCF service directly from my controller
    methods would be best practice, but I am not sure what a good
    alternative would be (perhaps a Repository pattern […])

    No, don’t do a yet another abstraction. Use your services directly, inject a proxy instance into your controller and just call WCF methods directly from there. If you wish you may create a wrapper class to handle some WCF faults or errors.

    Will your application allow an easy switch between WCF and say a database (as a data source) in the nearest future? If not stay away from the Repository pattern – keep it simple, stupid!

    Additionally, the WCF service is a wrapper for many other webservices
    and so it has it’s own classes for business objects.

    Do not write a copy-paste code, because it is hard to maintain it. If you need to change one type in one of your services, you must do the same mirror change in other services.

    Instead separate all you common business objects into a separate project (a core library) and reuse this library in any other solutions.

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

Sidebar

Related Questions

The ASP.NET application that I am currently responsible for at my day job has
So, i have a central web service that is responsible for managing other services.
In my ASP.NET MVC 3 project I have a master layout with a section
I have a web application solution existing under Visual Studio 2010. Part of this
The .NET application for which I'm responsible uses a third-party control that is only
I have a service object that is responsible for some business logic validation. What
I have a web solution (in VS2010) with two sub-projects: Domain which holds the
In LiveId Web Auth scenario, when client application receive clearcookie request, it is responsible
I have a relatively large C#/WPF Visual Studio 2008 solution that I am trying
In my solution I have a DLL project, say Project1 , that owns a

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.