CSharp Tutorial


Introduction

All Apache Thrift tutorials require that you have:

  1. The Apache Thrift Compiler and Libraries, see Download and Building from Source for more details.
  2. Generated the tutorial.thrift and shared.thrift files:

    thrift -r --gen csharp tutorial.thrift
    
  3. Followed all prerequisites listed below.

Prerequisites

Client

<input name="a" type="hidden" value="search" />
<input name="h" type="hidden" value="HEAD" />
<select name="st" >
<option selected="selected" value="commit">commit</option>
<option value="grep">grep</option>
<option value="author">author</option>
<option value="committer">committer</option>
<option value="pickaxe">pickaxe</option>
</select> <a href="/repos/asf?p=thrift.git;a=search_help" title="search help">?</a> search:
<input type="text" name="s"  />
<span title="Extended regular expression"><label><input type="checkbox" name="sr" value="1" />re</label></span></div>
</form>
<div class="page_body">
<br /><br />
404 - Cannot find file
<br />
</div>
<div class="page_footer">
<div class="page_footer_text">Apache Thrift</div>
<a class="rss_logo" href="/repos/asf?p=thrift.git;a=rss;f=tutorial/csharp/CsharpClient/CsharpClient.cs" title="history of tutorial/csharp/CsharpClient/CsharpClient.cs RSS feed">RSS</a>
<a class="rss_logo" href="/repos/asf?p=thrift.git;a=atom;f=tutorial/csharp/CsharpClient/CsharpClient.cs" title="history of tutorial/csharp/CsharpClient/CsharpClient.cs Atom feed">Atom</a>
</div>
<script type="text/javascript" src="/static/gitweb.js"></script>
<script type="text/javascript">
window.onload = function () {
    var tz_cookie = { name: 'gitweb_tz', expires: 14, path: '/' };
    onloadTZSetup('local', tz_cookie, 'datetime');
};
</script>
</body>
</html><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>

Server

<input name="a" type="hidden" value="search" />
<input name="h" type="hidden" value="HEAD" />
<select name="st" >
<option selected="selected" value="commit">commit</option>
<option value="grep">grep</option>
<option value="author">author</option>
<option value="committer">committer</option>
<option value="pickaxe">pickaxe</option>
</select> <a href="/repos/asf?p=thrift.git;a=search_help" title="search help">?</a> search:
<input type="text" name="s"  />
<span title="Extended regular expression"><label><input type="checkbox" name="sr" value="1" />re</label></span></div>
</form>
<div class="page_body">
<br /><br />
404 - Cannot find file
<br />
</div>
<div class="page_footer">
<div class="page_footer_text">Apache Thrift</div>
<a class="rss_logo" href="/repos/asf?p=thrift.git;a=rss;f=tutorial/csharp/CsharpServer/CsharpServer.cs" title="history of tutorial/csharp/CsharpServer/CsharpServer.cs RSS feed">RSS</a>
<a class="rss_logo" href="/repos/asf?p=thrift.git;a=atom;f=tutorial/csharp/CsharpServer/CsharpServer.cs" title="history of tutorial/csharp/CsharpServer/CsharpServer.cs Atom feed">Atom</a>
</div>
<script type="text/javascript" src="/static/gitweb.js"></script>
<script type="text/javascript">
window.onload = function () {
    var tz_cookie = { name: 'gitweb_tz', expires: 14, path: '/' };
    onloadTZSetup('local', tz_cookie, 'datetime');
};
</script>
</body>
</html><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>

Additional Information