Quick Start - Xray
this is a quick overview to use Xray with your .NET project.
Open the Xray Viewer
- Run the Xray Viewer (under administrator, it hosts WCF which requires elevated permissions)
Reference the Dlls
- Reference the Xray.Common in your project
- Reference the Xray.ContainerName (for example Xray.Windsor)
Add the Container to Xray
- Set up your container and its components
- now you will need to register the container with Xray
XrayClient xray = new XrayWindsor(container);
- call this to update the viewer (this can be called multiple times, to update the viewer with any new information)
xray.Update();
Run your application
when your application runs, each time the xray.Update is called the latest information about the IoC container will be sent to the Viewer
Click on the drop down to change the layout.
-