Chat Support
Loupe - Log - Monitor - Resolve
Loupe / Getting Started / .NET Framework / Using Loupe with WinForms / Getting Started - Packager Dialog
Getting Started - Packager Dialog

The Packager Dialog provides a wizard-like user interface in front of the Packager Class for easy integration into your WinForms or WPF .NET application.  To work, the packager has to determine:

Most of these options can (and should) be specified in your Loupe configuration - either in your App.Config file or provided during Log Initialization.  This allows the wizard to operate in the most streamlined fashion possible for end users.  For more information on the configuration options, see Developer's Guide - Packager Configuration

Invoking the Packager Dialog

The Packager Dialog can be started in several ways:

What the Packager Dialog looks like

Depending on the configuration options specified, the packager wizard will display up to three screens:

 Session Selection

The user selects whether to send just unsent sessions for the specified application(s) or all information in the local sessions repository for the specified application(s).  The default value is to just send unsent information (This is the equivalent of the New Sessions and Active Sessions criteria)

Packager Wizard - Session Selection

Packager Wizard - Session Selection

Sessions are marked as having been sent upon the successful completion of the Packager wizard.  If the wizard is canceled or doesn't send the sessions successfully they will not be marked sent.
 Transmission Method

The user selects where the package should be written - to an email, to a fully specified file name and path, or to removable media. 

Packager - Transmission Method

Packager - Transmission Method

Individual options can be configured and disabled through the application configuration file.  If the configuration file specifies all of the necessary options then the user will not be presented with this screen. 

If a Server connection (used for Loupe Server) is configured, allowed, and accessible then it will be automatically used and the user will not be prompted with this screen.

If you leave the email option enabled, you should either specify email server information in your application configuration file or have high confidence that the .NET email server information will be specified in the machine.config file on each computer that will run the packager.  Otherwise, the packager will be unable to send email.  It's also recommended that the destination email address be specified.  For more information see Developer's Guide - Email Configuration.
 Finish and Send

Once the user has selected the transmission method and clicks Finish they will see a progress bar and status messages while all of the sessions are gathered, written to a package, stored in the final location, and sessions are marked as read. 

Packager - Finishing

Packager - Finishing

Because the stand-alone Packager utility (Gibraltar.Package.exe) is a simple wrapper for the Packager Dialog, it looks essentially the same as the Packager Dialog however there are some minor differences on the first screen because it can't package up the Active session.
See Also