- Developer Resources
- Create an Eleflex.WebClient Application
Create an Eleflex.WebClient Application
Follow the steps below to create a new Eleflex.WebClient application.
Open Microsoft Visual Studio 2015 and create a new ASP.NET Web Application (Empty Template)
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”
Update the web.config file for the system.servicemodel/client/endpoint address. Change the "localhost:16185" to be your Eleflex.WebServer’s port number.
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.
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.