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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:55:56+00:00 2026-06-16T06:55:56+00:00

I have developed an MVC4 Code First application which is on a secure server

  • 0

I have developed an MVC4 Code First application which is on a secure server environment, it takes information from forms and processes them.

A new requirement has come along to have some ‘public/external’ forms submit to this and I’m looking for the best approach.

The Form Models are quite complicated and deep, with plenty of inheritance.

It has been stated that the security of the information in the existing internal side is paramount.

So to get data into it I was looking at creating a WCF web service to submit the public forms directly into the internal side, it can only submit. That way we aren’t aren’t risking exposing existing internal data via the public web server. I need to use the Object Models from the internal side, as some are the same, albeit slightly expanded. Eg. My MasterForm model, from which all other forms inherit. And the master person type, from which the different types of people referenced in the forms are inherited from.

Is that a good approach or is there a better way?

This is where I’m currently at…. and not getting far. (Apologies if icons etc aren’t what you’d usually expect, but hopefully you get the idea; I have no Visio!)
Current idea

In taking this approach so far I’ve ran into difficulties with the inherited models when serialising/de serialising it is unable to determine. I tried a WCF Data Service hosted along side the WebService to submit a form, but it would not let me use the models from the Data Service to submit over the WCF Form submissions WebService.

  • 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-16T06:55:58+00:00Added an answer on June 16, 2026 at 6:55 am

    SOA is definitely the way to go here, and WCF would be the sensible approach in the .Net world.

    However, this raises a question surrounding your model design. Exposing / sharing “views” (which is essentially what your form objects are here) across application domains could be seen as bad design.

    In this type of scenario, I usually expose fairly rudimentary business objects in my service layer, and create views for each application domain, mapping the relevant data in to each view model. i.e. My WCF service acts as a business layer, allowing your applications to query business specific data.

    Also, make sure that you use HTTPS / SSL when passing data to your WCF Service. This requires an SSL certificate, but you can generate a self signed one, and just ignore the cert errors. If you’re using .Net 4.5, you can use the new BasicHttpsBinding.

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

Sidebar

Related Questions

I have an MVC4 application been developed in VS2012 that uses forms authentication. [authentication
I have developed a Java server using Eclipse that accepts TCP socket connection from
Have developed a small Windows application using SQL Server as its database. I need
Have developed an MVC3 application which monitors when users access static content on the
I have developed a server control inherited from WebControl that wraps any number of
I have developed android application named VMS.I have to get messages from the webservice.The
I have developed a project using MVC3 and Code first Entity Framework 4.0 as
I have developed web application which uses JasperReports for reporting purpose. In that I
I have developed a silverlight 3 application using Sockets connecting to a socket server
I have developed my first facebook application, and I have uploaded the thumbnails and

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.