What are the steps to create a trusted server application and then deploying it on the lync server? I am new to lync server application development.
Finally got thorught the problem,
This can be helpful.
But in simple terms,
Step 1 : Create an Applicationpool by using Powershell Cmd New-CsTrustedApplicationPool
<>Syntax: New-CsTrustedApplicationPool -Identity -Registrar -Site -ComputerFqdn -RequiresReplication
-Identity : this should be unique like MyApplicationPool.mycomputer.fqdn
-Registrar : can get it by using Powershell Cmd Get-CsService -Registrar
-Site : can get it by using Powershell Cmd Get-CsSite
-ComputerFqdn : fully qualified computer name
-RequiresReplication: this can either be $True or $False
Step 2: Run Cmd : Enable-CsTopology, this will enable your application pool, now you can verify it by running the command Get-CsTrustedApplicationPool.
Step 3: Create a trusted application by using the Cmd New-CsTrustedApplication
Syntax : New-CsTrustedApplication -ApplicationId - TrustedApplicationPoolFqdn - Port
-ApplicationId : Unique Application Id with Fqdn
-TrustedApplicationPoolFqdn : -Identity parameter which we gave while creating the trusted application pool
-Port : Unique to your application, can be used in manual provisioning, used as a method parameter
Now follow Step 2.
Step 4: Create a Trusted Application Endpoint if required by you, using Cmd New-CsTrustedApplicationEndpoint
Syntax : New-CsTrustedApplicationEndpoint -ApplicationId -TrustedApplicationPoolFqdn -SipAddress -DisplayName
-ApplicationId : -Identity parameter which we gave while creating the trusted application
-TrustedApplicationPoolFqdn : -Identity parameter which we gave while creating the trusted application pool
-SipAddress : sip:user@host which is unique for your application endpoint
-DisplayName : Display Name like "Help Desk Contact"
Now follow Step 2.
In this way, you have now Created a new trusted Applicationpool, trusted server application, trusted application endpoint