<?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 : EntityManager.DefaultManager</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : EntityManager.DefaultManager</description>
  <pubDate>Thu, 21 May 2026 08:41:53 -700</pubDate>
  <lastBuildDate>Mon, 18 Apr 2011 12:39:33 -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=2585</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>EntityManager.DefaultManager : Hi danjal;I looked at your solution...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10476#10476</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2585<br /><strong>Posted:</strong> 18-Apr-2011 at 12:39pm<br /><br />Hi danjal;<div><br></div><div>I looked at your solution and it seems that you're using IEntityLoginManager. You have to use&nbsp;AspAuthenticatingLoginManager instead since you're using ASP.NET.&nbsp;</div><div><br></div><div><a href="http://drc.ideablade.com/Api&#068;ocumentati&#111;n/webframe.html?IdeaBlade.EntityModel.Web~IdeaBlade.EntityModel.Web.AspAuthenticatingLoginManager.html" target="_blank">http://drc.ideablade.com/ApiDocumentation/webframe.html?IdeaBlade.EntityModel.Web~IdeaBlade.EntityModel.Web.AspAuthenticatingLoginManager.html</a></div>]]>
   </description>
   <pubDate>Mon, 18 Apr 2011 12:39:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10476#10476</guid>
  </item> 
  <item>
   <title>EntityManager.DefaultManager : Hi smi-mark,  Do I have to do...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10469#10469</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=946" rel="nofollow">danjal</a><br /><strong>Subject:</strong> 2585<br /><strong>Posted:</strong> 16-Apr-2011 at 3:22am<br /><br /><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Hi smi-mark,<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Do I have to do something special to use ASP.NET authentication with DevForce? A setting or something?<o:p></o:p></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Thanks for helping.<o:p></o:p></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 10pt; tab-stops: 171.5pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><SPAN style="mso-tab-count: 1"><FONT size=3 face=Calibri>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></SPAN><o:p></o:p></SPAN></P>]]>
   </description>
   <pubDate>Sat, 16 Apr 2011 03:22:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10469#10469</guid>
  </item> 
  <item>
   <title>EntityManager.DefaultManager : Are you using asp.net authentication...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10467#10467</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 2585<br /><strong>Posted:</strong> 15-Apr-2011 at 6:03pm<br /><br />Are you using asp.net authentication with DevForce? If so, the context sample should definitely work. I'll take a look at your sample project later, but it should work. <br>]]>
   </description>
   <pubDate>Fri, 15 Apr 2011 18:03:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10467#10467</guid>
  </item> 
  <item>
   <title>EntityManager.DefaultManager : uploads/946/PivotWithLoginManager.zip  Hi,  I...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10465#10465</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=946" rel="nofollow">danjal</a><br /><strong>Subject:</strong> 2585<br /><strong>Posted:</strong> 15-Apr-2011 at 4:20am<br /><br /><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri><a href="http://www.ideablade.com/forum/uploads/946/PivotWithLoginManager.zip" target="_blank">uploads/946/PivotWithLoginManager.zip</A></P><DIV>&nbsp;</DIV><DIV>Hi,<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></FONT></FONT></SPAN></DIV><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>I have made a little sample project where I try to get the logged in user thru the HttpContext – but it is empty .<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>I read the documentation from Ideablade on this issue, but I am missing something. Can someone look at the sample and help me?<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-add-space: auto; mso-list: l0 level1 lfo1" ="MsoListParagraph"><SPAN style="mso-ansi-: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin" lang=EN-US><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>1.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>The sample application takes a username and password. These are passed into the <B style="mso-bidi-font-weight: normal">LoginAsync</B> method of the entitymanager. (MainPage.xaml.cs)<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-add-space: auto; mso-list: l0 level1 lfo1" ="MsoListParagraphCxSpFirst"><SPAN style="mso-ansi-: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin" lang=EN-US><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>2.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>These are then transferred to the <B style="mso-bidi-font-weight: normal">Login</B> method of a loginmanager that implements the IEntityLoginManager. (LoginManager.cs)<O:P></O:P></FONT></FONT></SPAN></P><P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-add-space: auto; mso-list: l0 level1 lfo1" ="MsoListParagraphCxSpLast"><SPAN style="mso-ansi-: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin" lang=EN-US><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>3.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>The loginmanager validates the username and password against a database.<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-add-space: auto; mso-list: l0 level1 lfo1" ="MsoListParagraph"><SPAN style="mso-ansi-: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin" lang=EN-US><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>4.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>When this process is done and successful, the user can load a collection to the pivotviewer. (ViewImageLibrary.xaml.cs)<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-add-space: auto; mso-list: l0 level1 lfo1" ="MsoListParagraphCxSpFirst"><SPAN style="mso-ansi-: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin" lang=EN-US><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>5.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>When doing this a http request is sent to the server where some httphelpers handle the request. (CxmlHandler.ProcessRequest in HttpHandlers.cs)<O:P></O:P></FONT></FONT></SPAN></P><P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-add-space: auto; mso-list: l0 level1 lfo1" ="MsoListParagraphCxSpLast"><SPAN style="mso-ansi-: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin" lang=EN-US><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>6.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>The problem here is that the HttpContext.User is empty.<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-add-space: auto; mso-list: l0 level1 lfo1" ="MsoListParagraph"><SPAN style="mso-ansi-: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin" lang=EN-US><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>7.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Then the collection is created and sent back to the PivotViewer. (RNImageCollection.cs)<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>In my webconfig I have set these settings:<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>....<O:P></O:P></FONT></FONT></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>&lt;</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #a31515; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>serverSettings</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: red; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>loginManagerRequired</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>=</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue"> /&gt;<O:P></O:P></SPAN></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>....<O:P></O:P></FONT></FONT></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>&lt;</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #a31515; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>serverSettings</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: red; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>useAspNetSecurityServices</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>=</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue"> /&gt;<O:P></O:P></SPAN></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>....<O:P></O:P></FONT></FONT></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>&lt;</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #a31515; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>serviceHostingEnvironment</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: red; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>aspNetCompatibilityEnabled</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>=</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>"<SPAN style="COLOR: blue">true</SPAN>"<SPAN style="COLOR: blue"> /&gt;<O:P></O:P></SPAN></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>....<O:P></O:P></FONT></FONT></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>&lt;</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #a31515; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>authentication</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: red; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>mode</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>=</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>"<SPAN style="COLOR: blue">Forms</SPAN>"<SPAN style="COLOR: blue"> /&gt;<O:P></O:P></SPAN></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>....<O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><span style="font-size:10px"><br /><br />Edited by danjal - 15-Apr-2011 at 4:22am</span>]]>
   </description>
   <pubDate>Fri, 15 Apr 2011 04:20:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10465#10465</guid>
  </item> 
  <item>
   <title>EntityManager.DefaultManager : Hi danjal;I&amp;#039;ve read that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10316#10316</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2585<br /><strong>Posted:</strong> 29-Mar-2011 at 5:56pm<br /><br />Hi danjal;<div><br></div><div>I've read that previous thread and if I understand correctly, you want to handle a request that comes in using your custom HttpHandler.</div><div><br></div><div>Using smi-mark's sample, we can now do this inside the ProcessRequest method.</div><div><br></div><div><div>&nbsp;&nbsp; &nbsp;public void ProcessRequest(HttpContext context) {</div><div>&nbsp;&nbsp; &nbsp; &nbsp;context.Response.ContentType = "text/plain";</div><div>&nbsp;&nbsp; &nbsp; &nbsp;context.Response.Write("Logged in as: ");</div><div>&nbsp;&nbsp; &nbsp; &nbsp;context.Response.Write(context.User.Identity.Name);</div><div><br></div><div>&nbsp;&nbsp; &nbsp; if (!AuthenticateUser(context.User)) {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;throw new Exception("No access!");</div><div>&nbsp;&nbsp; &nbsp; }</div><div><br></div><div>&nbsp;&nbsp; &nbsp; //Else you can query</div><div>&nbsp;&nbsp; &nbsp; &nbsp;var mgr = new EntityManager();</div><div>&nbsp;&nbsp; &nbsp; &nbsp;var query = new EntityQuery&lt;Customer&gt;();</div><div>&nbsp;&nbsp; &nbsp; &nbsp;query.QueryStrategy = new QueryStrategy(FetchStrategy.DataSourceOnly, MergeStrategy.OverwriteChanges);</div><div>&nbsp;&nbsp; &nbsp; &nbsp;try {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;var images = mgr.ExecuteQuery&lt;Customer&gt;(query);</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;var count = images.Count();</div><div>&nbsp;&nbsp; &nbsp; &nbsp;} catch (Exception e) {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;var msg = e.Message;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;}</div><div>&nbsp;&nbsp; &nbsp;}</div></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 29 Mar 2011 17:56:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10316#10316</guid>
  </item> 
  <item>
   <title>EntityManager.DefaultManager : Because we use a login manager,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10307#10307</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=946" rel="nofollow">danjal</a><br /><strong>Subject:</strong> 2585<br /><strong>Posted:</strong> 29-Mar-2011 at 7:26am<br /><br /><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Because we use a login manager, and it does not allow us to run this code:<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="mso-ansi-: EN-US" lang=EN-US><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt">var</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt"> m_entityManager = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">C2NetDomainModelEntityManager</SPAN>();<O:P></O:P></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt"><O:P>&nbsp;</O:P></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt">var</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt"> query = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">EntityQuery</SPAN>&lt;<SPAN style="COLOR: #2b91af">EntImage</SPAN>&gt;();<O:P></O:P></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt">query.QueryStrategy = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">QueryStrategy</SPAN>(<SPAN style="COLOR: #2b91af">FetchStrategy</SPAN>.DataSourceOnly, <SPAN style="COLOR: #2b91af">MergeStrategy</SPAN>.OverwriteChanges);<O:P></O:P></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt"><O:P>&nbsp;</O:P></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt">var</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt"> images = m_entityManager.ExecuteQuery&lt;<SPAN style="COLOR: #2b91af">EntImage</SPAN>&gt;(query);<O:P></O:P></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><O:P><FONT size=3 face=Calibri>&nbsp;</FONT></O:P></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT size=3><FONT face=Calibri>It worked before the upgrade, with help from the the DefaultManager.<O:P></O:P></FONT></FONT></P><span style="font-size:10px"><br /><br />Edited by danjal - 29-Mar-2011 at 7:28am</span>]]>
   </description>
   <pubDate>Tue, 29 Mar 2011 07:26:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10307#10307</guid>
  </item> 
  <item>
   <title>EntityManager.DefaultManager : Hi danjal;Could you elaborate...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10298#10298</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2585<br /><strong>Posted:</strong> 28-Mar-2011 at 12:06pm<br /><br />Hi danjal;<div><br></div><div>Could you elaborate on why you need to pass the DefaultManager to create another EntityManager?</div>]]>
   </description>
   <pubDate>Mon, 28 Mar 2011 12:06:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10298#10298</guid>
  </item> 
  <item>
   <title>EntityManager.DefaultManager : Hi,  We upgraded our DevForce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10284#10284</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=946" rel="nofollow">danjal</a><br /><strong>Subject:</strong> 2585<br /><strong>Posted:</strong> 25-Mar-2011 at 3:04am<br /><br /><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>Hi,<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>We upgraded our DevForce to 6.0.9 Silverlight.<o:p></o:p></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>With the new version we encounter a show stopper – EntityManager.DefaultManger is going to be obsolete.<o:p></o:p></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>We use a PivotViewer control in our application that use a collection that is generated server-side by some HttpHelpers. We have been discussing this before on this thread:<o:p></o:p></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><a href="http://www.ideablade.com/forum/forum_posts.asp?TID=2525&amp;KW=defaultmanager&amp;PID=10054&amp;title=entitymanager-server-side#10054" target="_blank"><U><FONT color=#800080 size=3 face=Calibri>http://www.ideablade.com/forum/forum_posts.asp?TID=2525&amp;KW=defaultmanager&amp;PID=10054&amp;title=entitymanager-server-side#10054</FONT></U></A><o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>When querying for data we use this code to get an EntityManager:<o:p></o:p></FONT></FONT></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US>var</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; FONT-SIZE: 9.5pt; mso-ansi-: EN-US" lang=EN-US> m_entityManager = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">C2NetDomainModelEntityManager</SPAN>(<SPAN style="COLOR: #2b91af">EntityManager</SPAN>.DefaultManager);<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>But this code does not work anymore.<o:p></o:p></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><FONT size=3><FONT face=Calibri>What is the right way to use DevForce when working with a control like PivotViewer (dynamically generating a collection with HttpHelpers)?<o:p></o:p></FONT></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="mso-ansi-: EN-US" lang=EN-US><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>]]>
   </description>
   <pubDate>Fri, 25 Mar 2011 03:04:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2585&amp;PID=10284#10284</guid>
  </item> 
 </channel>
</rss>