You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just make a console application in your visual studio:
usingSignalGo.Server.ServiceManager;usingSignalGo.Shared.DataTypes;usingSystem;usingSystem.Collections.Generic;usingSystem.Diagnostics;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;namespaceSignalgoTest{classProgram{staticvoidMain(string[]args){//create instance of your providerServerProviderserverProvider=newServerProvider();//register your service classserverProvider.RegisterServerService<HelloWorldService>();//start your server serviceserverProvider.Start("http://localhost:6428/SignalGo");//open url in your browserProcess.Start("http://localhost:6428/HelloWorld/HelloSignalGo?name=yourName");Console.WriteLine("server started now call");Console.ReadKey();}}[ServiceContract("HelloWorld",ServiceType.HttpService,InstanceType.SingleInstance)]publicclassHelloWorldService{publicstringHelloSignalGo(stringname){return"Hello "+name;}}}