home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
WebService and Mobile Access
TV4Home - WCF Webservice for MediaPortal TV Server
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mike Lowrey" data-source="post: 687549" data-attributes="member: 88236"><p>Hiho devs out there.</p><p></p><p>I'm happy to announce the first official (beta) release of our WCF Webservice.</p><p></p><p>The provided package installs the webservice as windows service.</p><p></p><p>For using it you have two possibilities:</p><p></p><p>The first one is to use service references within Visual Studio the needed adress is</p><p>[CODE]http://<servername>:4321/TV4Home.Server.CoreService/TVEInteractionService[/CODE]</p><p></p><p>Then you need to instanciate </p><p>[CODE]TVEInteractionClient tvWebClient;</p><p>string ServerName = localhost;</p><p> EndpointAddress address = new EndpointAddress(String.Format("http://{0}:4321/TV4Home.Server.CoreService/TVEInteractionService", ServerName));</p><p> </p><p> // Initialize Service Client</p><p> tvWebClient = new TVEInteractionClient(""BasicHttpBinding_ITVEInteraction"", address);</p><p>[/CODE]</p><p>(you need a reference to System.ServiceModel)</p><p></p><p>The other possibility is to use the TV4Home.Server.TVEInteractionLibrary.Interfaces.dll (can be found in C:\Program Files (x86)\TV4Home Core Service)</p><p></p><p>Then you can use it with the following code:</p><p></p><p>[CODE]ITVInteraction tvWebClient;</p><p></p><p> tvWebClient = ChannelFactory<ITVEInteraction>.CreateChannel(new BasicHttpBinding() { MaxReceivedMessageSize = 10000000 }, new EndpointAddress("https://localhost/TV4Home.Server.CoreService/TVEInteractionService"));</p><p>[/CODE]</p><p></p><p>I hope you like it and i appreciate all constructive feedback</p><p></p><p>I've updated the setup files on <a href="http://tv4home.codeplex.com" target="_blank">http://tv4home.codeplex.com</a> now there are beta setups for both 1.1.3 and 1.2 beta.</p><p></p><p><strong>Changes:</strong></p><p>update3:</p><p>Splitted WebProgram</p><p></p><p>update2:</p><p>- added multiuser support</p><p>- JSON interface</p><p>- fixed timeshifting bug</p><p><strong>Known Issues:</strong></p><p>-</p></blockquote><p></p>
[QUOTE="Mike Lowrey, post: 687549, member: 88236"] Hiho devs out there. I'm happy to announce the first official (beta) release of our WCF Webservice. The provided package installs the webservice as windows service. For using it you have two possibilities: The first one is to use service references within Visual Studio the needed adress is [CODE]http://<servername>:4321/TV4Home.Server.CoreService/TVEInteractionService[/CODE] Then you need to instanciate [CODE]TVEInteractionClient tvWebClient; string ServerName = localhost; EndpointAddress address = new EndpointAddress(String.Format("http://{0}:4321/TV4Home.Server.CoreService/TVEInteractionService", ServerName)); // Initialize Service Client tvWebClient = new TVEInteractionClient(""BasicHttpBinding_ITVEInteraction"", address); [/CODE] (you need a reference to System.ServiceModel) The other possibility is to use the TV4Home.Server.TVEInteractionLibrary.Interfaces.dll (can be found in C:\Program Files (x86)\TV4Home Core Service) Then you can use it with the following code: [CODE]ITVInteraction tvWebClient; tvWebClient = ChannelFactory<ITVEInteraction>.CreateChannel(new BasicHttpBinding() { MaxReceivedMessageSize = 10000000 }, new EndpointAddress("https://localhost/TV4Home.Server.CoreService/TVEInteractionService")); [/CODE] I hope you like it and i appreciate all constructive feedback I've updated the setup files on [url]http://tv4home.codeplex.com[/url] now there are beta setups for both 1.1.3 and 1.2 beta. [B]Changes:[/B] update3: Splitted WebProgram update2: - added multiuser support - JSON interface - fixed timeshifting bug [B]Known Issues:[/B] - [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
TV4Home - WCF Webservice for MediaPortal TV Server
Contact us
RSS
Top
Bottom