<?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 : Passing data from client to server</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Passing data from client to server</description>
  <pubDate>Sat, 11 Apr 2026 22:19:07 -700</pubDate>
  <lastBuildDate>Tue, 23 Dec 2008 12:54:47 -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=1030</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>Passing data from client to server : Thanks Kim, I already figured...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1030&amp;PID=3731#3731</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=399" rel="nofollow">LesleySastro</a><br /><strong>Subject:</strong> 1030<br /><strong>Posted:</strong> 23-Dec-2008 at 12:54pm<br /><br />Thanks Kim, I already figured those options out. So I'm using actually a combination of both those options, but I was hoping that there was a hidden feature or much simpler solution that I could use.<DIV>&nbsp;</DIV><DIV>BTW, I'm using&nbsp;a custom ILoginCredential to pass the data to the LoginManager, and then return the normal GenericPrincipal with a custom Identity. I store the data in the&nbsp;custom Identity for further use. Since the GenericPrincipal goes back and forward between the client and server I can always access the data.&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 23 Dec 2008 12:54:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1030&amp;PID=3731#3731</guid>
  </item> 
  <item>
   <title>Passing data from client to server : You&amp;#039;re exactly right that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1030&amp;PID=3727#3727</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1030<br /><strong>Posted:</strong> 22-Dec-2008 at 7:20pm<br /><br />You're exactly right that the EntityManager on the server side does not have any knowledge of the properties of the client EntityManager.&nbsp; The client EntityManager is not ever transmitted to the server - during a save only information&nbsp;concerning the added/modified/deleted entities is sent to the BOS.<DIV>&nbsp;</DIV><DIV>Some possible options -</DIV><DIV>&nbsp; - If you can, add these audit properties to your Entities, and maybe use an injected base type, a complex type, or other inheritance to provide a common means of working with these fields.</DIV><DIV>&nbsp;</DIV><DIV>- Create a custom IPrincipal implementation which includes the audit info.&nbsp; You'd probably also need a custom ILoginCredential to initially pass the fields to the LoginManager, which would return the custom IPrinicipal.&nbsp; This principal would then be available on both client and server.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 22 Dec 2008 19:20:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1030&amp;PID=3727#3727</guid>
  </item> 
  <item>
   <title>Passing data from client to server : What is the best way to send some...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1030&amp;PID=3726#3726</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=399" rel="nofollow">LesleySastro</a><br /><strong>Subject:</strong> 1030<br /><strong>Posted:</strong> 22-Dec-2008 at 7:28am<br /><br />What is the best way to send some specific data from the client to the server? Like f.e. for my audit trail feature I need to know from which client/workstation (name/ip-address) the changes has been done. So what I have been trying to do is to use the Tag property of the EntityManager object, and this is not working because I fill in the Tag property of the Client-Side entitymanager object with workstation name and ip-address, but on the server side this Tag property is still null. That makes sense because DevForce EF makes a new EntityManager for the server side (IEntityLoginManager and IEntityServerSaving), and does not have knowledge of the client entitymanager properties. So I still have a problem getting specific data from the client to the server. Does anyone know how to do this?]]>
   </description>
   <pubDate>Mon, 22 Dec 2008 07:28:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1030&amp;PID=3726#3726</guid>
  </item> 
 </channel>
</rss>