7633

Add Standalone ASP.Net Application Into Existing ASP.Net Website

I have a weird question for everyone. I am currently working on a project for a company that has an existing ASP.Net website that they have lost all source code for. I need to add some functionality to the site but they are not willing to pay for a site redesign right now.

Can I deploy my web application to a subdirectory of their website and have it function properly? I have to do this because I need to take advantage of the SSL certificate they have attached to the existing website (unfortunately it is not a wildcard cert).

They are running Windows Server 2008 SR2 with IIS 7.5. The current ASP.Net website uses forms authentication. My web app also uses forms authentication.

Is this doable? I have never ran into it and don't know the answer. Thanks in advance for your help.

Answer1:

You can create a sub-folder under the root of the website, then go into IIS Manager, select that folder, right click on it and then click Convert to application. This will allow you to create a separate application for that folder so that it will be treated separately by IIS. You can create a new application alias in the same application pool as the root website but you can also run it in a totally different / new application pool in case you want it to run under a different .NET version.

Answer2:

whilst you could deploy your new website it almost certainly will not work as it will most likely use a different version of the framework that the old one.

you could create a new site in iis and deploy your site there and configure iis to use the newer framework version, however you still have two issues: 1. the ssl cert, depending on the cert and your iis config it may not work 2. how do people navigate from the old site to the new one? if you cannot modify the source how will you add links?

Answer3:

You could use Reflector from RedGate to decompile it. That would give you all of the source-code back. It would be much safer.

Recommend

  • URL-rewriting in web.config not working for Slim PHP API in subdirectory
  • How to declare a project dependency in SBT 0.10?
  • Non-wildcard certificates with dynamic apache vhosts
  • How can I find the installation directory of a specific program?
  • WCF error “The X.509 certificate chain building failed” despite trusted root CA
  • Asking SslStream to accept ONLY a certificate signed by a particular public key
  • SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch
  • Mod_rewrite: Force SSL on specific pages. Add www on none-secure pages
  • How to detach subdirectory in Git but keep all branches
  • cURL for Windows can't make a secure connection to the Stack API
  • MySQL wildcard replace
  • How java deals with references to a generic type
  • SSLRead() return error -9806/15958)
  • manupulating a string to create directories in unix
  • 2-table interaction: insert, get result, insert
  • How to add System.Windows dll to Visual Studio 2010 express?
  • How to work with Master Page that is attached to the page via the page's basepage?
  • three.js WebVR example code works on threejs.org but not on my local server
  • Multiple versions of iTunesArtwork in one project?
  • Fire callback when selection was made with select2 4.0, and retrieve the value of last selection
  • Generic classes with Collection getter of other types
  • sudo easy_install for SimpleITK not that easy
  • GeoTrust SSL certificate on Android not trusted
  • Lua: Line breaks in strings
  • Command line installation of Code Signing certificates, .p12 files, and mobileprovisions
  • How to log in to an HTTPS website with Jsoup?
  • jQuery: add elements until a particular height is reached
  • Is there a way to save the selected text and highlight it again once the page is refreshed?
  • Bash if statement with multiple conditions
  • Copy to all folders batch file?
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • D3 nodes and links from JSON with nested arrays of children
  • ActionScript 2 vs ActionScript 3 performance
  • How can I estimate amount of memory left with calling System.gc()?
  • Apache 2.4 - remove | delete | uninstall
  • How to format a variable of double type
  • Binding checkboxes to object values in AngularJs
  • Net Present Value in Excel for Grouped Recurring CF
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize
  • How to load view controller without button in storyboard?