C# Sample Code
Applications
Challenge App
A weight-loss challenge application sample that allows distributors to set their own weight-loss challenges, update their progress and share their challenge via a replicated site.
Backoffices
Admin Dashboard
A tablet-based backoffice designed for Exigo Admins to help monitor vital statistics about their company in real time.
MVC Backoffice (Bootstrap)
A kitchen sink MVC 5 backoffice with a Twitter Bootstrap design that demonstrates all of the most common features of a distributor backoffice.
Charts/Graphs
Commission Bonuses Pie Chart
A Google-powered pie chart that visually displays the breakdown of a customer's commission check by the bonuses they earned.
Volume Gauge
A Google-powered gauge that tracks a volume bucket using a speedometer-styled interface.
Dashboards
Commission Check Preview
A CSS-styled commission check that presents a customer's current commission amount and details on top of an image of a check.
Company News
A news feed managed by Exigo Admin for the backoffice. Displays a list of most recent news items, and allows detailed viewing via a press-release-styled article page.
Customer Wall
The customer wall displays customer's downline's events that have occurred based on custom commission engine triggers, such as someone's rank changing or a new enrollment.
Downline Viewers
Binary Grid Viewer
A visual tree manager that allows a user to navigate one pane at a time over his/her binary downline. This viewer includes a search and a breadcrumb trail feature to easily navigate through their tree.
Unilevel Tree Viewer
An experimental jQuery-powered unilevel tree viewer that allows for Google Map-styled navigation and custom viewing options. Able to render many nodes at once.
Unilevel Waiting Room
The unilevel waiting room allows distributors to move newly-enrolled distributors underneath another sponsor in their downline. This sample also employs a grace period restriction of thirty days.
Forms
Contact Form
A contact form demonstrating how to use the ASP.Net MailMessage object and the Exigo SMTP to send emails from your applications.
My Account
Address Book
An address book application that allows a distributor to add, edit, view and delete contacts from their presonal address book.
Billing Information
A simple form demonstrating how to set a customer's saved billing information, such as credit card information, using the web service.
Binary Placement Preferences
A simple form demonstrating how to set and update a customer's binary placement preferences using the web service.
Calendar
A calendar application that allows a distributor to save and view events, to-do items and birthdays, as well as view company-managed calendars.
Direct Deposit
A simple form demonstrating how to set a customer's saved direct deposit information using the web service.
Personal Information
A simple form demonstrating how to set and update a customer's main account information, such as their name, address and contact information, using the web service.
Personalized Website
A simple form demonstrating how to set and update a customer's personalized website information using the web service.
Photos
Photo Management via OData
A photo uploader that uses the ASP.Net FileUpload object to resize and upload photos using OData. Also demonstrates how to display uploaded photos.
Profile Image Uploader
A simple application that allows the user to store and resize a primary and secondary image to their profile using the ASP.Net FileUpload.
Replicated Sites
Orphan Capture
A simple application that informs the user they must have a referrer, and provides a search to find their enroller by either ID, first or last name.
Reports
Binary Organization
The binary organization report demonstrates using OData together with a standard ASP.Net grid. The report also demonstrates dynamic LINQ.
Commissions
A multi-page report that shows both current and prior commissions earned by a distributor.
Distributor GeoMap
A Google-powered flash map that uses OData to visually pinpoint where your distributors are located in the world. Allows for drilling into countries for region details.
jqGrid Report
A jQuery-powered gridview framework using the popular jqGrid plugin, jQuery ThemeRoller and a custom C# wrapper to deliver OData reports with style and ease.
Order History
The order history report demonstrates using OData together with a standard ASP.Net grid. The report also demonstrates dynamic LINQ.
Organization Details
A report that uses Ajax to list the customers in an organization tree and load a customer's various details on demand, such as a volume snapshot, recent orders, and current autoships.
Personally Enrolled Organization
The personally enrolled organization report demonstrates using OData together with a standard ASP.Net grid. The report also demonstrates dynamic LINQ.
Rank Advancement
A report-card-styled report that informs a customer what rank they are qualified for, and what it will take to advance to any other rank.
Retail Customers
The retail customer report demonstrates using OData together with a standard ASP.Net grid. The report also demonstrates dynamic LINQ.
Unilevel Organization
The unilevel organization report demonstrates using OData together with a standard ASP.Net grid. The report also demonstrates dynamic LINQ.
Volume History
The volume history report demonstrates using OData together with a standard ASP.Net grid. The report also demonstrates dynamic LINQ.
Shopping
Public Shopping Cart
A public shopping cart that allows product browsing, new and returning customers, credit card token processing and autoship creation.
Signing In
Backoffice Login
A simple login feature that uses the web service to sign a customer into a backoffice and retrieve a unique SessionID.
Forgotten Password
A forgotten password feature that sends an email confirmation providing a link to let them reset their password. Uses the Exigo SMTP mail settings and the ASP.Net MailMessage object to send the email.
Web Services
Vendor Web Service
A sample web service that demonstrates how you can write your own customized SOAP and REST web service calls for your vendors using the Exigo API for your data retrieval.