Integrating 2 web apps

  • Thread starter Thread starter Eric Sabine
  • Start date Start date
E

Eric Sabine

OK I have a web site that was built by someone else who is paid to maintain
it. They used VS2003 / VB.NET. I have written a few pages for it that work
with a back end database. My pages were written in C#. Our web.config
files differ WRT authentication mode; they = Forms, me = Windows.

Their web site is like this
www.domain.com
www.domain.com/pages
www.domain.com/pages/product1
www.domain.com/pages/product2
etc.

my pages needs to be at
www.domain.com/pages/myCsharpPages

it looks to me like I need to create a solution with 2 projects in it, a
VB.NET project and a C# project. That doesn't seem hard but what about my
page seemlingly having to exist underneath their structure. is that going
to be a problem?

Eric
 
it looks to me like I need to create a solution with 2 projects in it,
a VB.NET project and a C# project. That doesn't seem hard but what
about my page seemlingly having to exist underneath their structure.
is that going to be a problem?

No, this isn't going to be a problem, but why don't you all just
standardize on a language?
 
What you need to do is to set up myCSharpPages as an application directory.
In Win2000, use the IIS manager, select the folder, view properties, and
then click on Create Application. The web.config in myCSHarpPages will only
apply to that folder, while the web.config in the root direcotry of
www.domain.com will apply to every other page and directory.

Miguel
 
Thanks, that makes sense.

Miguel said:
What you need to do is to set up myCSharpPages as an application
directory. In Win2000, use the IIS manager, select the folder, view
properties, and then click on Create Application. The web.config in
myCSHarpPages will only apply to that folder, while the web.config in
the root direcotry of www.domain.com will apply to every other page
and directory.

Miguel
 
Honestly I wrote the app in C# because I want to stay sharp in both
languages (VB.NET & C#). There was no business case for it and your
question is totally accurate. The people who wrote the web site are from an
outside contracting web firm. The web site up until now was just javascript
and html but I got suprised today when I saw their updates and they've
turned it into a VS2003 VB.NET project. Not a big deal to me or anyone
else.

I just like to write C# and VB.NET. I'm goofy that way. For windows apps
it's no big deal because I'm dealing with dlls.

Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top