public static void ApplicationStart() { // Use Project's Web.config Connection Strings DevExpress.XtraReports.Web.ReportDesigner.DefaultReportDesignerContainer .RegisterDataSourceWizardConfigFileConnectionStringsProvider(); // Register inject assembilies InjectContainer.RegisterAssembiles(AppDomain.CurrentDomain.GetAssemblies() .Where(i => i.FullName.StartsWith("DReporting", StringComparison.InvariantCultureIgnoreCase))); }
public static void RegisterInject(IEnumerable <Assembly> assemblies) { InjectContainer.RegisterAssembiles(assemblies); }