AutoInitialize attribute in nRouteApplicationService

Apr 14, 2013 at 6:51 AM

I just started with nRoute, I was looking a way to do nonlinear navigation in wpf so I'm trying to get a simple example going. I used NuGet to get the framework into my project and the version on there is 0.5.. I'm following the sample source code from codeplex for nRoute5. In both samples you initialize the nroute service using AutoInitialize=true as an attribute in the resources and not the way is done in the docs using your Application class.

I can't compile because it complains that the service doesn't have that property and if I take it off it compiles but then complains that the service is not initialize.

What is the official way of initializing the service? And what will it be moving forward?