0

I am working on a web application which has 2 types of users: provider and consumer. Almost everything is same on both except a few rules. I have hosted the same application to 2 different addresses like http://localhost/consumer and http://localhost/provider (working well till now). Now I have a situation. If I make any changes to the rules of provider, I want only http://localhost/provider to reflect that and not the consumer. Same for the consumer. Is it possible from visual studio? Please suggest.

Mahatma Aladdin
  • 2,027
  • 3
  • 17
  • 31
  • What does _" changes to the provider"_ mean? – CodeCaster Jan 06 '16 at 11:50
  • @CodeCaster 'changes to the rules of provider' – Mahatma Aladdin Jan 06 '16 at 11:54
  • Right. I mean what does that change entail? A code change? Then you can either detect what URL is being requested and base your logic in code on that, or simply deploy two variants of the same application. – CodeCaster Jan 06 '16 at 12:00
  • Yes. Its code changes. Actually I am using the same 2 variants of same application right now. I just wanted to know if its possible to work the same on a single one. That would make my work much simple and will help in integration too. – Mahatma Aladdin Jan 06 '16 at 12:06

1 Answers1

0

you can use source control systems like visual studio team foundation server for it and make separate branch for consumer and provider. for more details about Team foundation server and branching you can refer following links

Team Foundation Server Fundamentals

Branching and Merging Guidance for Team Foundation Server

You can find a fairly comprehensive list of other alternative for source control at this thread

List of Source Control Systems with Visual Studio Plugins

Community
  • 1
  • 1
paddy
  • 1
  • 1