| |||||||
| Improvement Suggestions Got idea how the TV-Server can be improved? Post it here! |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jan 2007 Location: Tamworth, Staffs Age: 25
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Started on: 2007-01-25 last update: 2007-01-25 Summary: Instead of using a direct connection to the SQL server for information (EPG etc), why not use a series of remote methods (WebService) to access the functionality. Description: By using a webservice to comunicate, there doesnt have to be any configuration of SQL Server. Also, the TVengine can be updated functionality-wise - without requiring a newer TVclient plugin (assuming the same WS methods are intact) Examples: 1) Start Timeshifting -- StartTimeshift(Channel); returns stream details 2) Schedule a Recording -- RecordChannel(Channel,StartTime,EndTime) returns true/false depending on a clash etc 3) Getting the EPG -- GetEPG() returns a DataSet/XML data etc Obviously this adds the requirement of IIS to the TVserver - but since we have SQL Server anyway, I don't see this as an issue. ![]() |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Jan 2007 Location: Tamworth, Staffs Age: 25
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Good Point (I hadn't thought of XP Home, since I thought XP Pro was required for the TVengine) I think there is a way to expose a WebService directly from a .NET application (as opposed to using IIS) which I will look into. |
| | |
| | #4 (permalink) |
| Portal Member Join Date: Jan 2007 Location: Tamworth, Staffs Age: 25
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Having looked into it - I think it would be possible to use Remoting to do this. This would remove the IIS requirement, which means XP Home is back in the frame. ![]() |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Feb 2005 Location: Geelong, Australia Age: 27
Posts: 187
Thanks: 1
Thanked 0 Times in 0 Posts
Country: | Search for a thread called "New Web Interface" Some people were looking into hosting ASP.Net in mediaportal but there were some issues. Cassini webserver is an example of hosting a ASP.Net in a .Net application without the need for IIS. Remoting is already used to control the TVServer, however remoting is an MS only thing that can not be used from clients on other operating systems. |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Jan 2007 Location: Tamworth, Staffs Age: 25
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | hmmm, certainly worth a look. Maybe a simple "telnet" based interface would suit then. I just think exposing functionality over fixed methods is better than direct SQL server access. |
| | |
| | #7 (permalink) |
| MP Donator ![]() Join Date: Dec 2006 Age: 30
Posts: 139
Thanks: 12
Thanked 5 Times in 5 Posts
Country: | You can host Web Services directly in your app without IIS as long as you use Microsoft's web service enhancements which supports a Soap TCP interface, however the disadvantage is that both client and server both have to use WSE3. See here for more details. It's also possible to host the ASP.NET runtime in your app, hook into the HTTP stack and serve requests for a web service or webpages without the need for IIS. See here for an excellent example. However having played around with this with a process plugin for media portal there are problems as have been said which I believe is to do with AppDomains and process boundaries, but didn't look into it in any real detail. |
| | |
| | #8 (permalink) |
| Portal Member Join Date: May 2006
Posts: 65
Thanks: 2
Thanked 0 Times in 0 Posts
Country: | What about WCF (former Indigo)? It is included in the .NET Framework 3.0 and is based on Web Services. I am currently developing a big software system based in Indigo an it works very well. |
| | |
| | #9 (permalink) |
| Portal Member Join Date: Jan 2007 Location: Tamworth, Staffs Age: 25
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | I will research into this "Indigo" framework. It would be nice if we could stay standards complient (hopefully allowing multiplatform clients) but one step at a time hey. |
| | |
| | #10 (permalink) | |
| Portal Member Join Date: May 2006
Posts: 65
Thanks: 2
Thanked 0 Times in 0 Posts
Country: | Quote:
Hosting can be done in IIS or in a Executable. Christoph | |
| | |
![]() |
| Bookmarks |
| Tags |
| client, server, webservice |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TV Server crash when Recorded TV it’s opened from a client comp | ronilse | fixed TV-Server / Client Bugs | 8 | 2006-11-15 23:32 |
| Server working but client not connecting | allanp81 | Get Support | 4 | 2006-11-15 20:46 |
| TV will not turn off on my client and server PC. | ASiDiE | pre 1.0 RC1 | 0 | 2006-11-03 17:56 |
| NO TV on client Machine But OK on Server! | yogiman_uk | Get Support | 11 | 2006-10-28 21:22 |
| Question about client server model | sambuddy | General Support | 2 | 2006-06-24 09:43 |