﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Starting Crosslight Projects from Scratch</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Starting-Crosslight-Projects-from-Scratch/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Starting Crosslight Projects from Scratch</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Starting-Crosslight-Projects-from-Scratch/</link><pubDate>Thu, 20 Feb 2014 21:13:14 GMT</pubDate><dc:creator>jimmyps@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Domingo,&lt;/p&gt;&lt;p&gt;Welcome to Crosslight Community Forum!&lt;/p&gt;
&lt;p&gt;Crosslight is entirely built upon Dependency Delegation architecture which offers the utmost flexibility and extensibility support. Unlike other frameworks, Crosslight features powerful yet high-performance dependency injection which supports constructors injection, methods injection, nested child container, configurable container lifetime, and best of all, they are built with developer-friendly API.&lt;/p&gt;
&lt;p&gt;You can register a resolver with constructor injection using lambda function overload such as shown below.&lt;/p&gt;&lt;pre&gt;&lt;br /&gt;Container.Current.Register&amp;lt;IEntityContainer&amp;gt;("Default", (c) =&amp;gt; new EntityContainer()).WithLifetimeManager(new ContainerLifetime());&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;The above example also uses container life time, which means every Resolve will return the same instance, if it was created previously.&lt;/p&gt;
&lt;p&gt;You can register a resolver with nested constructor injection such as shown below.&lt;/p&gt;&lt;pre&gt;&lt;br /&gt;Container.Current.Register&amp;lt;IEntityContainer&amp;gt;("Default", (c) =&amp;gt; new EntityContainer(c.Resolve&amp;lt;IUserRepository&amp;gt;)).WithLifetimeManager(new ContainerLifetime());&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;Notice that you can resolve another instance from the container at runtime, just in-time when the parent/root container is being resolved.&lt;/p&gt;
&lt;p&gt;You can find more methods in the IDependencyResolver members, available in the Intersoft.Crosslight assembly.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;With regards to the documentation, we're preparing a major launch on a new developer center which features comprehensive API documentation. This will be launched on the same time with the much anticipated Crosslight 2.0 release. Expect a quality close to Apple's and Android's developer center soon.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;At the meantime, please feel free to ask any questions in the community forum here. We'll be pleased to assist.&lt;/p&gt;
&lt;p&gt;Best,&lt;br /&gt;Jimmy&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Starting Crosslight Projects from Scratch</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Starting-Crosslight-Projects-from-Scratch/</link><pubDate>Mon, 17 Feb 2014 05:52:32 GMT</pubDate><dc:creator>dsfugabanjr</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your response. File has been re-attached. &lt;/p&gt;</description></item><item><title>Starting Crosslight Projects from Scratch</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Starting-Crosslight-Projects-from-Scratch/</link><pubDate>Mon, 17 Feb 2014 04:30:55 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Can you re-attach or re-upload the sample with another links? The current one was corrupted.&lt;/p&gt;&lt;blockquote style="padding-left: 10px; margin: 0px 0px 0px 5px; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"&gt;&lt;span style="color: rgb(51, 51, 51); font-family: 'lucida grande', 'lucida sans unicode', helvetica, arial, verdana, sans-serif; line-height: 19.5px; background-color: rgb(255, 255, 255);"&gt;however, is there any guide wherein we can start projects from scratch? Are there any technical documentations for the setup class files like Infrastructure\AppService.cs? Or what is IApplicationInitializer? When can we use InitializeApplication, InitializeComponent, InitializeServices? Does it support dependency injection via constructors? Things like that...&lt;/span&gt;&lt;/blockquote&gt;
&lt;p&gt;Actually, We expect user only need to use our extension without need much configuration or do from the scratch. The wizard is only the tools to help user easily do the development. But if you want to do from the scratch, you can try to see more explanation in &lt;a href="http://intersoftpt.com/Support/Crosslight/Documentation/#_Toc366253981" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;blockquote style="padding-left: 10px; margin: 0px 0px 0px 5px; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"&gt;&lt;span style="color: rgb(51, 51, 51); font-family: 'lucida grande', 'lucida sans unicode', helvetica, arial, verdana, sans-serif; line-height: 19.5px; background-color: rgb(255, 255, 255);"&gt;Using crosslight is targetted for multiple platform (I get that), but we can't always focus on platform-specific (views) at the same time even with 90% shareable code. So we might skip other projects.&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'lucida grande', 'lucida sans unicode', helvetica, arial, verdana, sans-serif; -webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; border: 0px; outline-offset: 0px; color: rgb(51, 51, 51); font-size: 10pt; line-height: 19.5px; background-color: rgb(255, 255, 255); text-rendering: optimizelegibility !important;"&gt;Do you have plans on creating crosslight project templates individually?&lt;/span&gt;&lt;/blockquote&gt;
&lt;p&gt;Thank you for the feedback. Actually, you can uncheck which platform that you want to create with our wizard.&lt;/p&gt;&lt;blockquote style="padding-left: 10px; margin: 0px 0px 0px 5px; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 51); font-family: 'lucida grande', 'lucida sans unicode', helvetica, arial, verdana, sans-serif; line-height: 19.5px; background-color: rgb(255, 255, 255);"&gt;In addition, does crosslight support viewcontrolles created via code? If so, how do we create views and child controls in order for crosslight to bind the view and viewmodel properly? Here's a sample project in an attempt to start from small beginnings. The binding in this project don't work, so kindly review if you can.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Surely,it does support. In InitializeView, you can call this.RegisterViewIdentifier("AddButton", addButton);&lt;br /&gt;Which "AddButton" is the outlet of the view and "addButton" as the button view itself. This should be registerred in the Binding Provider. For more information, you can refer into this &lt;a href="http://intersoftpt.com/Support/Crosslight/Documentation/#_Toc366254044" target="_blank"&gt;link&lt;/a&gt;, under 'Registering a View Identifier at Runtime'.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Starting Crosslight Projects from Scratch</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Starting-Crosslight-Projects-from-Scratch/</link><pubDate>Thu, 13 Feb 2014 21:19:57 GMT</pubDate><dc:creator>dsfugabanjr</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I understand that there is a template used when creating crosslight projects. The wizard is also fascinating; however, is there any guide wherein we can start projects from scratch? Are there any technical documentations for the setup class files like Infrastructure\AppService.cs? Or what is IApplicationInitializer? When can we use InitializeApplication, InitializeComponent, InitializeServices? Does it support dependency injection via constructors? Things like that...&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Using crosslight is targetted for multiple platform (I get that), but we can't always focus on platform-specific (views) at the same time even with 90% shareable code. So we might skip other projects. &lt;span style="font-size: 10pt;"&gt;Do you have plans on creating crosslight project templates individually?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;In addition, does crosslight support viewcontrolles created via code? If so, how do we create views and child controls in order for crosslight to bind the view and viewmodel properly? Here's a sample project in an attempt to start from small beginnings. The binding in this project don't work, so kindly review if you can.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Many thanks!&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>