Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Open both Client and Server solutions on VS 2015 #2284


User avatar
0
sampath created

Hi,

I have number of questions about the new structure of the application.Hope you'll give the feedback.

Q 1 : Can you tell me how to open the both Client and Server solutions on the same Visual studio 2015 (by using one VS instance) IDE ? I would like to have detailed description here.Such as Do I need to create a new folder on the Host project or etc...

Q 2 : What are the steps which we have to follow to publish the application ? Can I publish both client and server at once (using normal publish option on VS) ? Let's say I need to publish it into Azure environment.
Note : I assume both solutions are on the same VS 2015 instance here.


10 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @sampath,

    We are currently working on a document explaining this. It will be ready soon. Probably tomorrow.

  • User Avatar
    0
    sampath created

    Hi ismcagdas,

    Wow ...It is Great news.Thanks a lot.We're awaiting for that :)

  • User Avatar
    0
    alaamh created

    Excellent, please share the link :)

  • User Avatar
    0
    sampath created

    Hi alaamh,

    Haha..... You too in my boat :)
    I didn't do this yet due to too many other works.But I'll definitely do that within this weekend.So please go ahead and share you experience with us.Good Luck ! :)

    Here is the link :

    [https://www.aspnetzero.com/Documents/Merge-Angular-Client-Server])

  • User Avatar
    0
    alaamh created

    Hi sampath,

    Excellent work man, Also

    • Is it possible to group client in a folder (app folder e.x) rather than add it's content in the root?

    • If we keep two solutions (client & server) what is the easiest steps to publish to Azure?

    • Do you have any recommendations (deployment script & steps) for configure Azure continues integration.

    Thank you guys.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I can answer some of your questions, maybe sampath can help you with the last one because I don't have any experince on that.

    1. Actually client app is in src folder but if you want to group other folders related to client app (node_modules, nswag etc..), you can do, it will work probably without a problem but if you face any problem, we can try to help you.

    2. If you add the prepublish script I have provided in above document, you can directly publish your project form visual studio to azure. Just like you do it any other web application.

    I hope @sampath can help you with the last question.

  • User Avatar
    0
    sampath created

    Hi All,

    Excellent answer ismcagdas. It'll help a lot :)

    Actually me too don't have any experience with Azure continues integration.I just publish my app to production (Azure) using VS 2015.Please see the below article.Hope that will help to you @alaamh.

    <a class="postlink" href="https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-continuous-delivery-use-vso">https://docs.microsoft.com/en-us/azure/ ... ry-use-vso</a>

  • User Avatar
    0
    sampath created

    Hi ismcagdas,

    Can we separate it again after merging ? B'cos my client asked this from me. He likes separated projects (server and client) when project will have more developers.But now I'm the only developer and I would like to have a single solution. Is that possible. Thanks.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Seperating this merged project can be easy, you can copy same files to a new project and it should work. But, while developing your project in a single solution, you should cosnider this case and try not to do any change which will make this seperation hard in the future.

  • User Avatar
    0
    sampath created

    Hi ismcagdas,

    OK sure.Thanks a lot for the info :)