Free cookie consent management tool by TermsFeed Policy Generator

Changes between Version 8 and Version 9 of Documentation/DevelopmentCenter/Develop Services


Ignore:
Timestamp:
08/21/10 00:50:57 (14 years ago)
Author:
swagner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/DevelopmentCenter/Develop Services

    v8 v9  
    3131
    3232=== 3. Allow Read Access to the Certificate's Private Key ===
    33 Network services must have read access to the private key of the certificate created in the previous step. Therefore, you have to locate the private key file on your hard disk first and then you have to grant read access to it for the `Network Service` account of your machine:
     33Your Windows user must have read access to the private key of the certificate created in the previous step. Therefore, you have to locate the private key file on your hard disk first and then you have to grant read access to it for your user:
    3434 1. Start the Visual Studio Command Prompt again and run it with Administrator privileges (choose `Run as administrator` in the context menu).
    3535 2. Execute the following command (please note that the console application `findprivatekey.exe` is [attachment:FindPrivateKey.exe attached to this page], if you do not have it on your system):
     
    4545fef2c81190d59a105313d83fb ... eb8c6a
    4646}}}
    47  4. Allow read access to this file for the `Network Service` account of your machine (in the context menu of the file choose `Properties` -> `Security` -> `Edit` -> `Add`).
     47 4. Allow read access to this file for your user (in the context menu of the file choose `Properties` -> `Security` -> `Edit` -> `Add`).
    4848
    4949== Development ==
     
    5454 1. Open the `HeuristicLabServicesDemo.sln` solution file.
    5555 2. Update the service reference of the project `HeuristicLab.DemoClient`.
    56  3. Add the attribute `behaviorConfiguration="DefaultEndpointBehavior"` to the `endpoint` specification of the `client` section in the `app.config` file of the client project (please note that updating the service reference of the client overwrites the whole `client` section each time; therefore adding the behavior configuration has to be done everytime after updating the service reference). The `client` section should look like this:
    57 {{{#!xml
    58 <client>
    59   <endpoint address="http://localhost:34825/Service.svc" binding="wsHttpBinding" behaviorConfiguration="DefaultEndpointBehavior"
    60             bindingConfiguration="WSHttpBinding_IService" contract="Services.DemoService.IService"
    61             name="WSHttpBinding_IService">
    62     <identity>
    63       <certificate encodedValue="AwAAAAEAAAAUAAAA ... B+3eQE6Y8inFygk=" />
    64     </identity>
    65   </endpoint>
    66 </client>
    67 }}}
    6856
    6957=== 2. Create Users and Roles ===