Installing a WIF Runtime for hosting a .NET application in Windows Azure

前端 未结 3 1207
萌比男神i
萌比男神i 2021-01-23 08:32

I developed a Custom application that is able to consume the CRM Web services and perform Windows Live Id authentication, create, read and update operation in the CRM from the c

3条回答
  •  心在旅途
    2021-01-23 09:18

    Well,

    You can use what Sandrino suggests, but you can also use this powershell script. I use it in couple of project and it works fine. It also auto-recognizes Windows Version (because for Azure Guest OS Family 1.xx you have to use the Windows6.0-xxxxx, and for Guest OS Family 2.xx you have to use Windows6.1-xxx version of the KB update).

    You can execute that powershell script in a very simple startup task. Create one setup.cmd file, that you have the following content:

    @echo off
    powershell -command "Set-ExecutionPolicy Unrestricted" 2>> err.out
    powershell .\Install-WIF-OnAzure.ps1 2>> err.out
    

    And run it as simple startup task:

     
        
          
        
       ...
     
    

    Hope this also helps ;)

提交回复
热议问题