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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:52:50+00:00 2026-06-15T15:52:50+00:00

I’m developing a web application that has intranet and internet facing sites. Each app

  • 0

I’m developing a web application that has intranet and internet facing sites. Each app will exist on a physically different server. The different web apps will use lots of common code, so the big difference is really what functionality is available through the external site, which far less than what is on the internal version. However, the external one will obviously have a different web.config, sitemap, etc., as well as some pages that only appear on the external one.

I’m wondering if there as a standard approach in .NET as to how to lay this out in the solution, both from a code management point of view as well as for deployment. I could easily do something simple like deploy the same app and all code to both servers, just perhaps with a different login page, and then use role based security to limit what external users see. However, this really smells to me as I hate the idea of having all sorts of files on the external server that don’t need to be there.

I would think there should be some way to lay out the solution such that they can draw on common code (including common pages). Obviously DLLs built from other projects are not an issue to share, it is really how to share front-end pages, and to set up deployment differently for each one.

Perhaps I can just put it all in the same Visual Studio Project and tweak an MSBuild script to do the dirty work?

Thanks for anything you can offer!

  • 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-15T15:52:53+00:00Added an answer on June 15, 2026 at 3:52 pm

    Nobody seems to have any opinions on this, so I’ll let you know what I’m planning on doing in case it helps anybody else.

    I am going to lay out my Web project with External, Internal and Common folders.
    I am going to be using a Web setup project to help deploy my solution, I will have one setup project each for External and Internal, and I’m going to use file filters to exclude the pieces I don’t want from whichever portion I am building (exclude Internal pages for the External build, and vice versa, while both will get Common pages/code).

    This will allow me to bundle all of the web related code into the same VS project (and so easily leverage shared pages) while still only deploying the code that really needs to be on each server.

    I hope this makes sense!

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I've got a string that has curly quotes in it. I'd like to replace
I need a function that will clean a strings' special characters. I do NOT
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a small JavaScript validation script that validates inputs based on Regex. I
I have a French site that I want to parse, but am running into
I'm interested in microtypography issues on the web. I want a tool to fix:

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.