Resposta Proposta Can be run .CSPKG file in Devfabric

  • 1 ตุลาคม 2553 5:50
     
     

    Hi,

    can we use dev fabric as a testing server and how to run service package file on dev fabric or how to execute .CSPKG file in Dev febric.

     

    Please let me know  how to do it.

     

    Thanks in advance

     

     

     

    • แก้ไขโดย C.P.Singh 1 ตุลาคม 2553 5:51 -
    •  

ตอบทั้งหมด

  • 1 ตุลาคม 2553 7:19
    ผู้ดูแล
     
     คำตอบที่เสนอ

    Hello, you can simply run the application from Visual Studio. If you don't have Visual Studio, you can also use the CSRun.exe tool shipped with the Windows Azure SDK. Please refer to http://msdn.microsoft.com/en-us/library/dd179412.aspx for more information.


    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    • เสนอเป็นคำตอบโดย EinarScott 1 กุมภาพันธ์ 2554 4:59
    •  
  • 1 ตุลาคม 2553 7:40
     
     

    Hi Luo,

    Thanks for reply but still i am not able to get solution,please check my requirment in brief...

    suppose I have Cloudservice1.CSPKG  and ServiceConfiguration.cscfg file that means what we get when we do publish the project .now I want to test the application using these two files in my local fabric only....

    then how to test the application using two files only.. I dont want to use Azure account to test my application.

    in other way suppose I have shared my application "publish" folder with client and client  wants to  test in local fabric before publishing in azure account..so is there any way to test cloud aplication using .CSPKG and .cscfg file. 

     Hope now you are getting my requirment

     

     

  • 7 ตุลาคม 2553 9:48
    ผู้ดูแล
     
     
    Yes, you can use CSRun.exe as described in the above link. Have you tried it?
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
  • 18 มกราคม 2554 14:57
     
     

    This is done in two steps:

    1. first prepare the package for the Dev Fabric by using the copyonly option of cspack
      cspack [projectfolder]\ServiceDefinition.csdef /role:[WebRoleName];[WebRoleName] /copyonly /out:test
    2. run the package with csrun. be sure to supply a configuration file yourself, as the cspack line above doesn't give you one
      csrun /run:test;test/Service.cscfg
  • 9 มีนาคม 2555 2:35
     
     
    I tried this out.If we provide "/role:[WebRoleName];[WebRoleName]" in cspack and generate the csx file.When we us this csx file in any other machine , it is unable to find role entry point for the dll(The code doesn't reach OnStart() method) , so the webrole(from csx file) is working on only the same machine in which it is build and csx file does not work on other machines.
  • 27 ธันวาคม 2555 17:44
     
     

    Hi there,

    It seems that I might be facing the same problem. Have you found anything more on that?


    Stavros Menegos