home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / Readme_htm_57________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Extensible Markup Language  |  2003-03-28  |  4.4 KB  |  66 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8"?><root xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:d2="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"><?xml-stylesheet type="text/xsl" href="..\..\..\..\readme.xsl"?><HTML><HEAD><TITLE> Remoting Call Context Sample</TITLE><STYLE>
  2.     .Title{FONT-FAMILY: Verdana;FONT-SIZE: large;COLOR: #808080}
  3.     </STYLE><STYLE>
  4.     .Heading{FONT-FAMILY: Verdana;FONT-SIZE: large}
  5.     </STYLE><STYLE>
  6.     .SectionBreak{FONT-SIZE: small;MARGIN-BOTTOM: 2em}
  7.     </STYLE><STYLE>
  8.     .SmallBreak{FONT-SIZE: small;MARGIN-BOTTOM: 1.5em}
  9.     </STYLE><STYLE>
  10.     .Text{FONT-FAMILY: Verdana;FONT-SIZE: x-small}
  11.     </STYLE><STYLE>
  12.     .FixedHeading{FONT-FAMILY: Verdana;FONT-SIZE: x-small}
  13.     </STYLE><STYLE>
  14.     .FixedText{MARGIN-LEFT: 3ex;FONT-FAMILY: Lucida Console;FONT-SIZE: x-small;FONT-WEIGHT: Bold}
  15.     </STYLE><STYLE>
  16.     .ListSansBullets {list-style-type: none;FONT-FAMILY: Verdana;FONT-SIZE: x-small}
  17.     </STYLE></HEAD><BODY><table><tr><td><h2 class="Title"> Remoting Call Context Sample</h2></td><td valign="baseline" class="Text">
  18.             ┬á┬á┬á
  19.               
  20.                   (Console Application)
  21.                 </td></tr></table><p class="Text">
  22.     This document contains the release information for the .NET Framework Using Call Contexts with .NET remoting sample. You will find the following sections below: 
  23.     </p><ul class="Text"><li><a href="#_Sample_Overview">Overview</a></li><li><a HREF="#Hosting the service in a console application">Hosting the service in a console application</a></li><li><a href="#_Location_of_Sample">Location</a></li><li><a href="#_Building_the_Sample">Building the sample</a></li><li><a href="#_Running_the_Sample">Running the sample</a></li><li><a href="#_sdkvars">Notes</a></li></ul><p class="SectionBreak" /><h4 class="Heading"><a name="_Sample_Overview" />
  24.     Overview
  25.     </h4><p class="Text"> 
  26. This sample shows how to add and retrieve context data that will flow
  27. with a remote call.  A method called on a remote object retrieves the
  28. context data and echoes it back to the client.
  29. </p><p class="SectionBreak" /><p class="SectionBreak" /><h4 class="Heading"><a name="#Hosting the service in a console application"></a>Hosting the service in a console application</h4><span class="Text"><p class="Text">
  30. Run runme.bat from a console window. 
  31. </p></span><p class="SectionBreak" /><h4 class="Heading"><a name="_Location_of_Sample" />
  32.     Location
  33.     </h4><p class="Text">
  34.     This sample is located in the <a href="." title="Jump to Folder" target="_blank">Technologies\Remoting\Advanced\CallContext
  35. </a> subdirectory of the .NET Framework SDK samples directory.
  36.     </p><p class="FixedHeading">
  37.     For Example:
  38.       <p class="FixedText">
  39.       C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\Remoting\Advanced\CallContext
  40. </p></p><p class="SectionBreak" /><h4 class="Heading"><a name="_Building_the_Sample" />
  41.     Building the Sample
  42.     </h4><p class="Text">
  43.     In order to properly build and run this sample, the following steps need to be performed.
  44.     </p><p class="Text"> 
  45. Type <b>nmake -a all</b> from the command line.      
  46. <p class="FixedHeading">
  47.   For Example:
  48.   </p><p class="FixedText"> 
  49. C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\Remoting\Advanced\CallContext> nmake -a all
  50. </p></p><p class="SectionBreak" /><h4 class="Heading"><a name="_Running_the_Sample" />
  51.     Running the Sample
  52.     </h4><p class="Text">
  53.     In order to run this sample, follow the instructions listed below.
  54.     </p><span class="Text"><ul class="Text"><li>
  55. Ensure that the service is hosted as described above.
  56. </li></ul><ul class="Text"><li>
  57. Run FooClient.exe.
  58. </li></ul></span><p class="SectionBreak" /><h4 class="Heading"><a name="_sdkvars" />
  59.     Notes
  60.     </h4><p class="Text">
  61.     For the .Net Framework samples to function properly, your Path, Include, and Lib environment variables must be set correctly. 
  62.     In many cases, the SDK install program updates these environment variables for you. However, if you installed the .Net Framework SDK 
  63.     using Visual Studio .NET, or unselected "register environment variables" during setup, these environment variables will not be updated. 
  64.     You can set the Path, Include and Lib environment variables by running SDKVars.bat, located in the <i><SDKRoot>\Bin</i> directory. 
  65.     SDKVars.bat must be executed in every command shell.
  66.     </p></BODY></HTML></root>