Open source Jetstream reference project called "Launchpad", started by Terso and licensed under Apache 2.0, that demonstrates basic .NET Jetstream SDK functionality.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
JetstreamLaunchpad Reduce Complexity Apr 20, 2017
JetstreamLaunchpadService
LICENSE.txt
README.md

README.md

Terso Solutions Logo

Jetstream Launchpad

Jetstream Launchpad is a C# MVC application that showcases common interactions with the Jetstream API, serving as a base level for customization. It demonstrates basic .NET Jetstream SDK functionality. This project was started by Terso and licensed under Apache 2.0. This repository contains two projects: the website and its data service and the local service that pulls events regularly from Jetstream.

Jetstream Documentation - https://jetstreamrfid.com/documentation/applicationapi/1.5

Jetstream Tools - https://jetstreamrfid.com/tools

Before following any of the directions below, if you do not have an access key for Jetstream, sign-up for a Jetstream account. You will receive a login and an access key. You also need to setup an instance of MySQL Server and run the database setup script.

How to Build and Deploy the Website

  1. In the Web.config in JetstreamLaunchpadMain:
    • Enter your access key into the appSetting for ApplicationAccessKey.
    • Enter your email information to the mailSettings configuration.
  2. Enter your database connection information to the connectionString in the Web.config for JetstreamLaunchpad.Service configuration.
  3. Publish JetstreamLaunchpadMain to the desired location.
  4. Add this site to IIS.
  5. Import the registry keys in the DAL > Setup folder for EventLog error capture

How to Build and Run the Local Service

  1. In the App.config in the service solution:
    • Enter your access key into the appSetting for ApplicationAccessKey.
    • Enter your database connection information to the connectionString configuration.
  2. Build the solution in release configuration.
  3. Copy the build output and move to the desired location.
  4. Use sc.exe or other method to install the service

Initial Login

Included in the database setup script, the default username is admin@tersosolutions.com and the default password for this account is Admin.

Change History

  • 4/29/2016 - Initial upload of Jetstream Launchpad
  • 5/23/2016 - Fixed location relationship issue, and added "SensorTimeWindow" app setting for associating AggregateEvents with SensorReadingEvents
  • 5/24/2016 - Fixed location display issue
  • 4/20/2017 - Updated code to use latest supporting libraries; removed WCF service layer for simpler usage; changed service to use the Jetstream Service Base

License

Copyright 2017 Terso Solutions, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.