Create a Service Account for WCF Service

Running ourWCF service with a specific identity, such as a service account, helps to isolate the service. It allows you to restrict service resources to your application's account, and allows you to use Windows auditing to track the application's activity separately from other applications or services.

Perform the following steps to create a service account to run your WCF service:

  1. Create a Windows account.
  2. Run the following aspnet_regiis.exe command to assign the relevant ASP.NET permissions to the account:
    aspnet_regiis.exe -ga machineName\userName 
  3.  aspnet_regiis.exe -ga machineName\shirsendun 
Ebook Download
View all
Learn
View all