Skip to main content

Create an Eleflex.WebClient Application

Follow the steps below to create a new Eleflex.WebClient application.

  1. Open Microsoft Visual Studio 2015 and create a new ASP.NET Web Application (Empty Template)
  2. Right click your web application in the solution explorer and select "Manage NuGet Packages for Solution", search for "Eleflex.WebClient" and install the package.
    • When prompted to overwrite any files, select “Yes to All”
  3. Update the web.config file for the system.servicemodel/client/endpoint address. Change the "localhost:16185" to be your Eleflex.WebServer’s port number.
  4. Make sure that the web.config appSettings key for “EleflexImpersonateSystemToken” is the same as your Eleflex.WebServer’s app setting for the same key.
    • This allows system admin impersonation over services. This key should be changed before publishing your application.
  5. Rebuild your web application and run it. This web client application will run the same as the web server application, except that all calls for data will be sent to the web server application using WCF services.