GoPlay.Templates 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet new install GoPlay.Templates@1.0.1
                    
This package contains a .NET Template Package you can call from the shell/command line.

GoPlay Server Framework

NuGet

GoPlay originated from the demand for online game development. It is a simple, easy-to-use, low learning curve, and out-of-the-box RPC framework based on C#, but not limited to game usage. It can be used to solve any real-time network communication problems.

How To Use

Server

[Processor("echo")]
class EchoProcessor : ProcessorBase
{
    [Request("echo")]
    public PbString Echo(Header header, PbString str)
    {
        return new PbString
        {
            Value = $"Server reply: {str.Value}"
        };
    }

Client

//Echo_Echo is a function generated automatically by code.
var (status, resp) = await client.Echo_Echo(new PbString{
   Value = "Hello"
});
Assert.AreEqual(StatusCode.Success, status.Code);
Assert.AreEqual("Serv reply: Hello", resp.Value);

Concepts

Request

  • Client sends a request to the server and expects a response from the server.

Notify

  • Client sends a request to the server without requiring a response from the server.

Push

  • The server actively pushes data to the client.

Thanks

Thanks to JetBrains for providing an open source license for GoPlay.Net.

Thanks to JetBrains to provide opensource license for GoPlay.Net

The MIT License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.8 155 9/16/2026
1.0.7 205 8/11/2026
1.0.6 284 6/24/2026
1.0.5 295 5/23/2026
1.0.4 300 5/23/2026
1.0.3 337 4/24/2026
1.0.2 331 4/23/2026
1.0.1 328 4/22/2026
1.0.0 336 4/22/2026