<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : NEW: Cocktail Async Pack for Visual Studio 2012</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : NEW: Cocktail Async Pack for Visual Studio 2012</description>
  <pubDate>Tue, 12 May 2026 23:35:34 -700</pubDate>
  <lastBuildDate>Tue, 21 Aug 2012 21:36:28 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3473</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 :   If you use the Package Manager...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14252#14252</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 21-Aug-2012 at 9:36pm<br /><br />If you use the Package Manager Console and you have multiple projects in your solution you should specify the project when installing a package. If you don't then it installs it to the default project selected in the drop down. The following are all the command line options.<div> </div><div><font size="1" face="C&#111;nsolas"><font size="1" face="C&#111;nsolas"><p>Install-Package &#091;-Id&#093; &lt;string&gt; &#091;-IgnoreDependencies&#093; &#091;-ProjectName &lt;string&gt;&#093; &#091;&#091;-Version&#093; &lt;string&gt;&#093; &#091;&#091;-Source&#093; &lt;string&gt;&#093; &#091;-IncludePrerelease&#093; &#091;&lt;CommonParameters&gt;&#093;</p></font></font></div><div> </div><div>Alternatively, you can right-click on the solution or an individual project and select "Manage NuGet Packages..." to do it through the GUI. If you right-click on the solution you'll be able to install a package to multiple projects at once.</div><span style="font-size:10px"><br /><br />Edited by mgood - 21-Aug-2012 at 9:41pm</span>]]>
   </description>
   <pubDate>Tue, 21 Aug 2012 21:36:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14252#14252</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 : I had never paid any attention...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14251#14251</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1503" rel="nofollow">stage</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 21-Aug-2012 at 7:18pm<br /><br />I had never paid any attention to this previously but there is a Default Project dropdown in the Package Manager Console. Changing it to one of the Silverlight projects before running the Silverlight install resolved this. Thanks for your help.]]>
   </description>
   <pubDate>Tue, 21 Aug 2012 19:18:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14251#14251</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 :   If you have a shared solution...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14250#14250</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 21-Aug-2012 at 7:05pm<br /><br />If you have a shared solution you need to apply the right package to each of the projects. You can't apply the .NET package to all the projects and vice versa. You have to apply the right package to the right project type. You only get this error message if you are trying to apply a package to the wrong project type.<div> </div><div>So, to a .NET 4 project you need to add "Cocktail Async Pack for VS 2012 (.NET 4)" and to a Silverlight project you need to add "Cocktail Async Pack for VS 2012 (Silverlight)". Are you saying that doesn't work?</div>]]>
   </description>
   <pubDate>Tue, 21 Aug 2012 19:05:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14250#14250</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 : I have no issues with Windows...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14249#14249</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1503" rel="nofollow">stage</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 21-Aug-2012 at 6:51pm<br /><br />I have no issues with Windows 8 RTM and standalone VS2012. However, in a shared code WPF / Silverlight project, you can not use NuGet to load the Cocktail Silverlight package and have to add the references manually.<br /><br />The exception is:<br /><br />Install-Package : Could not install package 'Cocktail.Silverlight 1.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package does not contain <br />any assembly references that are compatible with that framework.]]>
   </description>
   <pubDate>Tue, 21 Aug 2012 18:51:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14249#14249</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 :   Visual Studio 2012 will be...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14219#14219</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 17-Aug-2012 at 4:07pm<br /><br />Visual Studio 2012 will be fully supported in DevForce 2012 and Cocktail v2. You are looking at a September/October timeframe.]]>
   </description>
   <pubDate>Fri, 17 Aug 2012 16:07:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14219#14219</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 :  In the release version of visual...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14215#14215</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1400" rel="nofollow">Thomas</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 17-Aug-2012 at 1:55pm<br /><br />In the release version of visual studio 2012 there is still the same problem. Is there a timeline for when to expect a fix? This is also not a Cocktail error but a general DevForce problem.<br><span style="font-size:10px"><br /><br />Edited by Thomas - 17-Aug-2012 at 1:55pm</span>]]>
   </description>
   <pubDate>Fri, 17 Aug 2012 13:55:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=14215#14215</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 :   OK, indeed i did not install...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13765#13765</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=881" rel="nofollow">jkattestaart</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 06-Jun-2012 at 11:40am<br /><br />OK, indeed i did not install VS2010 in windows 8.<div>Thanks i will check this out.</div>]]>
   </description>
   <pubDate>Wed, 06 Jun 2012 11:40:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13765#13765</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 : DevForce does not currently appear...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13762#13762</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 06-Jun-2012 at 11:01am<br /><br /><P>DevForce does not currently appear to work in a standalone installation of Visual Studio 2012. We are currently investigating if Microsoft changed something from Beta to RC, or if there's something else going on. We do know that parts of Visual Studio 2012 RC currently require a side-by-side installation with VS 2010. This should all be resolved by the time RTM hits according to Microsoft. So far things seem to work as long as you have a side-by-side installation of VS2012 and VS2010.</P>]]>
   </description>
   <pubDate>Wed, 06 Jun 2012 11:01:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13762#13762</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 :   Hi, that looks promising.Did...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13760#13760</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=881" rel="nofollow">jkattestaart</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 06-Jun-2012 at 10:31am<br /><br /><p>Hi, that looks promising.</p><p>Did you use Windows 8 RC, because in de Windows 8 i get the following error. The dll is there, but the build fails.</p><p>Error&nbsp;1&nbsp;The "EntityModelMetadataDeploy" task failed unexpectedly.<br>System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.<br>File name: 'Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'</p><p>Server stack trace: <br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.DTE.ServiceProviderHelper.GetServiceProvider(DTE2 dte)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.DTE.ServiceProviderHelper.GetProjects(DTE2 dte)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.DTE.DTEHelper.GetProjectByFileName(String pFileName)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.Execute()<br>&nbsp;&nbsp; at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object&#091;&#093; args, Object server, Object&#091;&#093;&amp; outArgs)<br>&nbsp;&nbsp; at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)</p><p>Exception rethrown at &#091;0&#093;: <br>&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)<br>&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)<br>&nbsp;&nbsp; at Microsoft.Build.Framework.ITask.Execute()<br>&nbsp;&nbsp; at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()<br>&nbsp;&nbsp; at Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__20.MoveNext()</p><p>WRN: Assembly binding logging is turned OFF.<br>To enable assembly bind failure logging, set the registry value &#091;HKLM\Software\Microsoft\Fusion!EnableLog&#093; (DWORD) to 1.<br>Note: There is some performance penalty associated with assembly bind failure logging.<br>To turn this feature off, remove the registry value &#091;HKLM\Software\Microsoft\Fusion!EnableLog&#093;.<br>&nbsp;DomainModel (DomainModel\DomainModel)<br></p>]]>
   </description>
   <pubDate>Wed, 06 Jun 2012 10:31:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13760#13760</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 : As an example, I&amp;#039;ve converted...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13750#13750</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 05-Jun-2012 at 6:40pm<br /><br />As an example, I've converted TempHire over to take full advantage of the new features in the "Cocktail Async Pack". The Silverlight version of TempHire has been converted to Silverlight 5 for this sample. Looks like Microsoft still has a few build kinks to work out. If the build fails, build again. It should successfully build the second time around.<div><br></div><div>Download the sources from github to see it:&nbsp;<a href="https://github.com/IdeaBlade/Cocktail.AsyncPack" target="_blank">https://github.com/IdeaBlade/Cocktail.AsyncPack</a></div>]]>
   </description>
   <pubDate>Tue, 05 Jun 2012 18:40:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13750#13750</guid>
  </item> 
  <item>
   <title>NEW: Cocktail Async Pack for Visual Studio 2012 :    UPDATE: Version 1 has been...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13724#13724</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3473<br /><strong>Posted:</strong> 03-Jun-2012 at 11:47pm<br /><br /><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><font size="3"><font face="Calibri"><b>UPDATE: Version 1 has been officially released. There are separate NuGet packages for .NET and Silverlight. See updated link below.</b></font></font></p><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><font size="3"><font face="Calibri"><br></font></font></p><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><font size="3"><font face="Calibri">For those of you eager to try the new async language features in C# 5 and Visual Basic 11, I’ve created just the thing for you. Announcing the “Cocktail Async Pack for Visual Studio 2012”.<!--?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /--><o:p></o:p></font></font></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><o:p><font size="3" face="Calibri">&nbsp;</font></o:p></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><font size="3"><font face="Calibri">The "Cocktail Async Pack for Visual Studio 2012" enables Cocktail/DevForce projects targeting .NET Framework 4.0 or Silverlight 5 to use the Async language feature in C# 5 and Visual Basic 11. This pack requires Visual Studio 2012 and will not work with Visual Studio 2010.<o:p></o:p></font></font></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><o:p><font size="3" face="Calibri">&nbsp;</font></o:p></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><font size="3"><font face="Calibri">The Pack is available via NuGet and the source code is hosted on github. The NuGet package <strike>assumes that you are already using Cocktail, so it doesn’t bring the Cocktail package down with it, but it </strike>brings down the “Microsoft Async Targeting Pack for Visual Studio 2012”, which is required in order to use the new language features in .NET 4.0 and Silverlight 5. <o:p></o:p></font></font></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><o:p><font size="3" face="Calibri">&nbsp;</font></o:p></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><strike><font size="3" face="Calibri">NuGet: </font><font size="3" face="Calibri"><a href="http://www.nuget.org/packages/Cocktail.AsyncPack" target="_blank">http://www.nuget.org/packages/Cocktail.AsyncPack</a></font></strike><o:p></o:p></p><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"="">NuGet:&nbsp;<a href="http://nuget.org/packages?q=Cocktail" target="_blank">http://nuget.org/packages?q=Cocktail</a></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><font size="3" face="Calibri">Github:&nbsp;</font><o:p></o:p><a href="https://github.com/IdeaBlade/Cocktail.AsyncPack" target="_blank">http://github.com/IdeaBlade/Cocktail.AsyncPack</a></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><o:p><font size="3" face="Calibri">&nbsp;</font></o:p></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><font size="3"><font face="Calibri">With the “Cocktail Async Pack” added to a project, all Cocktail and DevForce asynchronous operations become awaitable as in the following example. Check it out, play around with it and let me know what you think.<o:p></o:p></font></font></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><o:p><font size="3" face="Calibri">&nbsp;</font></o:p></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp; &#091;</span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">Export</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&#093;<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">public</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">class</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> </span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">MainPageViewModel</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> : </span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">Screen</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "><o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE">private</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE"> </span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE">IDialogManager</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE"> _dialogManager;<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE">private</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE"> </span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE">NorthwindIBEntities</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE"> _manager;<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE"><o:p>&nbsp;</o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; mso-ansi-: DE; white: " lang="DE">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&#091;</span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">ImportingConstructor</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&#093;<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">public</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> MainPageViewModel(</span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">IDialogManager</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> dialogManager)<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _dialogManager = dialogManager;<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _manager = </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">new</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> </span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">NorthwindIBEntities</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">();<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "><o:p>&nbsp;</o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">public</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">async</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">void</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> SampleAction()<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">var</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> customers = </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">await</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> _manager.Customers.Where(c =&gt; c.Country == </span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">"UK"</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">).ExecuteAsync();<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "><o:p>&nbsp;</o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">await</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> _dialogManager.ShowMessageAsync(</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">string</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">.Format(</span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">"Found {0} customers."</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">, customers.Count()), </span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">DialogButtons</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">.Ok);<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "><o:p>&nbsp;</o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">var</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> employees = </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">await</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> _manager.Employees.ExecuteAsync();<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "><o:p>&nbsp;</o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">await</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: "> _dialogManager.ShowMessageAsync(</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">string</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">.Format(</span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">"Found {0} employees."</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">, employees.Count()), </span><span style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">DialogButtons</span><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">.Ok);<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><span style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9.5pt; mso-highlight: white; white: ">&nbsp;&nbsp;&nbsp; }</span><o:p></o:p></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><o:p><font size="3" face="Calibri">&nbsp;</font></o:p></p><font size="3" face="Times New Roman"></font><p style="MARGIN: 0in 0in 0pt" ="ms&#111;normal"=""><o:p><font size="3" face="Calibri">&nbsp;</font></o:p></p><font size="3" face="Times New Roman"></font><span style="font-size:10px"><br /><br />Edited by mgood - 16-Aug-2012 at 4:26pm</span>]]>
   </description>
   <pubDate>Sun, 03 Jun 2012 23:47:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3473&amp;PID=13724#13724</guid>
  </item> 
 </channel>
</rss>