| James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame] | 1 | # Apache Thrift netcore |
| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 2 | |
| 3 | Thrift client library ported to Microsoft .Net Core |
| 4 | |
| Jens Geyer | aa0c8b3 | 2019-01-28 23:27:45 +0100 | [diff] [blame] | 5 | # Deprecation notice |
| 6 | |
| 7 | Per [THRIFT-4723](https://issues.apache.org/jira/browse/THRIFT-4723), both CSharp and Netcore targets are deprecated |
| 8 | and will be removed with the next release. Migrate to the [NetStd language target](../netstd/README.md) instead. |
| 9 | |
| Volodymyr Gotra | b62247e | 2017-01-16 02:34:28 +0200 | [diff] [blame] | 10 | # Content |
| 11 | - Tests/Thrift.PublicInterfaces.Compile.Tests - project for checking public interfaces during adding changes to Thrift library |
| 12 | - Thrift - Thrift library |
| 13 | |
| 14 | # Reused components |
| James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame] | 15 | - .NET Standard 1.6 (SDK 2.0.0) |
| Volodymyr Gotra | b62247e | 2017-01-16 02:34:28 +0200 | [diff] [blame] | 16 | |
| James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame] | 17 | # How to build on Windows |
| Volodymyr Gotra | 5499329 | 2017-12-18 02:08:09 +0200 | [diff] [blame] | 18 | - Get Thrift IDL compiler executable, add to some folder and add path to this folder into PATH variable |
| James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame] | 19 | - Open the Thrift.sln project with Visual Studio and build. |
| Volodymyr Gotra | 5499329 | 2017-12-18 02:08:09 +0200 | [diff] [blame] | 20 | or |
| 21 | - Build with scripts |
| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 22 | |
| James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame] | 23 | # How to build on Unix |
| 24 | - Ensure you have .NET Core 2.0.0 SDK installed or use the Ubuntu Xenial docker image |
| 25 | - Follow common build practice for Thrift: bootstrap, configure, and make |
| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 26 | |
| James E. King, III | b628736 | 2017-09-28 11:57:42 +0000 | [diff] [blame] | 27 | # Known issues |
| Volodymyr Gotra | b62247e | 2017-01-16 02:34:28 +0200 | [diff] [blame] | 28 | - In trace logging mode you can see some not important internal exceptions |
| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 29 | |