eauge / OpenTok-DotNet

Sample app and SDK for .NET
0 stars 2 forks source link

Structure for SDK project #2

Open aoberoi opened 10 years ago

aoberoi commented 10 years ago

The current structure is one solution with a web application project. Inside that project is a set of classes related to OpenTok.

A better structure would be if the solution builds an assembly (.dll) and contains all the metadata of a package thats built to be distributed through NuGet. The solution can have additional projects for sample applications that simply depend on the assembly generated from the first project.

See the Java SDK for a namespacing template: https://github.com/aoberoi/Opentok-Java-SDK/tree/modernization/src/main/java/com/opentok

aoberoi commented 10 years ago

Note: making the build available as an assembly instead of source files will make the SDK accessible to not only users of C#, but other .NET languages (VB.NET, F#, etc).

aoberoi commented 10 years ago

probably want to change the name of the assembly from Sdk.dll to OpenTok_ServerSDK.dll or something like that.