WCF / ASMX :: Accessing Streaming Photos Server Side?
Jan 4, 2011
The more I think about it, the more confused I get. Is this even an ASP.NET question? Maybe it's a Silverlight question, or maybe it's an IIS question. Maybe it's a C/C++ question?!
I rent a server from a server farm. I also subscribe to a security service that streams, over the Internet, once every three seconds, via https, a series of JPG photos from four outdoor security cameras at a certain location.
I want to collect these photos on my rented server (server side). Keep in mind these are photos, not video, though after two weeks of streaming you can get around 50 GB of photos I am told, so I'll have to track storage consumed and delete the old ones, but that's a minor issue.
I researched how to capture streaming photos in ASP.NET and found nothing. I researched it in Silverlight and found a number of links for client side video chatting (a new feature supported by Silverlight 4) both multi-user and single-user, assuming they have web-cams attached to their client side PC. Not quite the same problem as what I have, since I don't care to attach any process to the four security cameras (the security company already wrote the software to do that, and is streaming it live). I just want to know how I can capture and store the streamed photos on my server.
View 1 Replies
Similar Messages:
Feb 14, 2011
On the server side i have a folder which contains 2gb of images , i have to implement image streaming to fetch all the images in the folder on the client side using WCF streaming.
View 2 Replies
Jul 19, 2010
I am trying to set a hidden type value to x on Server Side and then access it with Javascript. I have tried multiple ways to accomplish this.
At the basic level this is what I am trying to do.
Aspx page
<asp:HiddenField ID="HidRowNumber" runat="server" />
CS Page
In IsPostBack
HidRowNumber.Value = EFileRowNumber.Text;
Javscript
var status = document.getElementById("<%= HidRowNumber.ClientID %>").value;
When I am debugin it say it HidRowNumber's Value has changed to x but when I access the value with JS it always returns ''.
View 23 Replies
Feb 23, 2010
The idea is that a pure html table will be generated on the client side. (using jQuery to add dynamic new rows to the table when the user clicks a button). These rows contain textboxes, dropdownlists, checkboxes and other input controls. When the user clicks a button, a PostBack is triggered in which I need to access this data from the table on server side, validate it and perform other actions on it.
I'm able to perform the client side and access the table data on server side by adding runat="server" to the table tag. However, I only see the initial table rows (not the ones added through JavaScript) and I have troubles retrieving the different inputs from the rows. put me in the right direction?? Or someone offering a better solution to the problem?
View 2 Replies
May 15, 2010
1. what is streaming how we download File through Streaming.
2. what is service Behaviour and operation Behaviour In servic Contracts . plz Explain Me In brief
View 2 Replies
Feb 27, 2010
Following code is an example, I just want to know if this can be done. I have an test.aspx file with this server side include tag;
<!--#include file="listOfCountries.htm" -->
Within listOfCountries.htm, I have:
<html>
<div>
<select id="countryList" runat="server">
<option></option>
...
</select>
</div>
</html>
Now, Is there a way to access "countryList" in test.aspx.cs file? On another note, say I didn't have the #include "Countries.htm" in test.aspx, is it possible to access the controls within Countries.htm from test.aspx.cs ? (i.e. accessing an external html file controls in cs)
View 1 Replies
Sep 30, 2010
i have a <div> named 'mydiv' on a web page and have set it's runat property as <server> so it is visible within
my vb.net server side code.
i can see the mydiv within the server side code.
my question:
how do i adjust the height/style of the <div> withion the vb.net code so that whe the page is posted back the new height/style settings apply. how do i get to the style properties server side?
View 3 Replies
Jul 23, 2010
I have a table that the user can add rows to through javascript by clicking on a "add rows button". In each row there are two columns one with a dropdown list and the other a text box. The dropdown list is populated with data through a sub on server side code.I need to be able to insert the data from each row into a table but I'm unable to do this. I clicked on my "add rows button" to add several rows and then did a test to see how many rows the table was returning on the server side and it did not include the five rows I added .. only the header row.If there is a better way to allow users to dynamically add rows to a table and then access the dynamically created table on the server then I'm all ears!
View 3 Replies
Jan 4, 2010
I am using the <input type="file" /> tag to upload a file to the server. How do I access the file at the server side and store it at the server? (The file is an image file)The client side code is :
<form id="form1" action="PhotoStore.aspx" enctype="multipart/form-data">
<div>
<input type="file" id="file" onchange="preview(this)" />
[code]...
View 5 Replies
Jan 10, 2011
I created a aesthetic control that creates two lists in seperate div tags organized with a table for each. The control always the user to click on the img tag associated with each item to move it between the two lists. I am doing all the movement between the lists via javascript and want to have a good method for obtaining the values and storing them in two lists upon Postback. I thought of doing something like storing the indexes/classes in hidden values and them reading them to find the items but that seems messy. Also, thought there might be a clever way of traversing the DOM via FindControl() but not sure. Any input would be great.
One other thing is that this is not a composite control. All the tags are being rendered in the RenderContents() method. So I don't know if there is a way to even tack on a runat="server" attribute to an elem like I normally would if I wanted code behind access to an html element.
Here is the HTML that is generated. I don't think there is need to post the server side code since it does nothing more than generate the html at this point.
<div class="DualListPanel" id="test1">
<div key="test1_Unassigned">
<table class="DLPTable">
<tr>
<td>Item 1</td>
<td><img src="..." onclick="Move(this)" /></td>
</tr>
<tr>
<td>Item 2</td>
<td><img src="..." onclick="Move(this)" /></td>
</tr>
</table>
</div>
<div key="test1_Assigned">
<table class="DLPTable">
</table
</div>
</div>
View 2 Replies
Sep 2, 2010
writing a web Service and one of its web method, I want it to download a png file in form
of buffer from remote server. And My consume application will write that buffer retured by Web service in to file on User's Computer.
However, I am able to do this using Local Web Service but when I published that service on my web server, I always get null retuned
And even in one of my test code while copying file from that server , I always get Access Denied.
Following things I have done for above issue.
1] I even tried making the Anonymous user for the web service the system administrator (with the correct password), to no avail.
2] I also tried sharing out the folder I'm pulling files from to allow access from Everyone.
[Previously same service was working fine on another remote server with IIS 7.0, we checked server IIS Settings but in vain.]
if you know where we are mistaken guide me to resolve this issue as its very urgent.
View 2 Replies
Oct 22, 2010
Hoping someone can point me to a solution, haven't been able to find one yet.
I'm using the standard way for send HttpWebRequest
[Code]....
As you can see from Fiddler/SOAPUI it does return the SOAP fault, however using HttpWebRequest i can't capture the response.
Returning 500 triggers my exception handling and Capturing the WebException doesn't expose the response.
Does anyone know how to capture this response xml in the case of 500 Internal Server Errors.
View 1 Replies
Oct 13, 2010
On the client I want to instantiate an instance of an entity (that has a datacontract on the server side), send it to the server, let the server modify it in some way, and send it back. I'm talking about using standard-issue, ordinary WCF objects with DataContract/DataMember attributes.
The only way I could figure out to accomplish the above is to pass the object by reference. Is there another way?
In researching this, I found the links below, one of which says it is not possible to pass by ref (yes I realize we are passing a copy, but it is the result I'm interested in. Perhaps that is what the author is alluding to??).
Sorry for having to ask this but I'm confused (again).
http://stackoverflow.com/questions/1956039/by-ref-arguments-in-wcf-bad-or-good
http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/8d7c424d-af31-442d-94d3-119f371300e5
http://msdn.microsoft.com/en-us/library/ms733070.aspx
Server code:
[Code]....
Client code:
[Code]....
View 2 Replies
Jul 14, 2010
I'm evaluating two options of accessing a server side data on client side. Little bit confused about the efficiency or may be you can call it as finding best approach to do it.
I need to access a server side data may be an integer value in javascript on client side. I know about two options to do it.Create a public variable or property on server side and set it to javascript variable on client side as below:
var value = eval(<% =value %>);
Create a asp hidden variable and set value in this hidden variable from server side and access it through javascript using document.getElementById().
Which is the best approach and what are the pros and cons?
View 1 Replies
Dec 7, 2010
I want to create an sql table with photos, and i want to use filestream data.
View 3 Replies
May 4, 2010
Is it possible to display thumbnails for the photos when uploading them to the server? Say, when user selects a photo on the local drive, a thumbnail is displayed on the page for preview and when user clicks on the "Upload" button, the photo will be sent to server.
View 2 Replies
Apr 23, 2010
We are storing the WAV file into a database table as VARBINARY(MAX). We want to play the WAV file directly in a web page. We want to use PLAY, PAUSE and STOP for these WAV files.
We want the user to have a Control on the page to play the WAV file.
Here we DO NOT want to store the FILE in the Web Server's file structure. It is againt the SECURITY policy.
We tried different ways. Nothing is working. We used SoundPlayer class. Using this, we can only PLAY and STOP but can not PAUSE the WAV file.
View 2 Replies
Mar 8, 2011
Is there a way, without using a streaming media server, to stream semi-live audio from an asp.net web app? We want to have a microphone located at a remote site, and stream the data to the client machine for listning. Maybe somehow dynamically build the wav data, or somehow implement this using playlists?
View 1 Replies
Aug 3, 2010
I m retrieving a pdf file from another application using Web service. After retrieving that file, make some validations and after that I want to delete that file. I want to delete that file in another application database. how can I delete that file ? I m unable to code that one. Can anyone give some startup.
View 6 Replies
Jun 4, 2010
We have a big portal with a lot of code written in classic asp + asp.net 2.0 + JavaScript. We are planning to slowly migrate to .net 3.5 framework with WCF Services. Currently the ASP.Net code is using some business layer to access the database. But most of the Classic ASP is using the old ADO code and directly accessing the data in the page itself. Now, we decided to add a WCF layer between the UI and Business which will be easier to implement with ASP.Net + 3.5, compared to Classic ASP. And we can't invest a lot of Man Hours in converting the Classic ASP pages to asp.net just yet. So we decided to Add a COM layer between Classic ASP and WCF services. So it will be like
Classic ASP -> COM -> CCW (COM Callable Wrapper - Interop) -> WCF -> Business for now.
Later on when we slowly convert the Classic asp pages to asp.net, the COM layer will be removed by default. But for now we are atleast pulling the Business code from Classic Asp pages. We are following this approach because we are not sure how to go about accessing the WCF Service directly from the Classic ASP code.
View 2 Replies
Feb 9, 2011
I've created a webservice that returns and xml document:
[Code]....
Once I've got the xml loaded as a document, I can start looping through the content and do things with it but I'm really confused at the moment.
View 2 Replies
Dec 31, 2010
I have a web service which is in a folder within my application. This folder is only accesible to certain roles. I use this service in a page on root of the application but I block creation of the javascript or the service definition in the aspx page if the user is not in the role.
The problem is that when anonymous users try to access the page in the root of the application they are prompted for a user name and password. I hope I am clear. The code below is what I have set up in the ASPX page:
[Code]....
View 3 Replies
Mar 6, 2011
make a relative path in my webservice>
the connection looks as follow :
[Code]....
View 1 Replies
Sep 2, 2010
I have an Asp.net web service that I created using Visual Studio 2005. I can acess the web service in my test environment, call methods and return data as expected. If this web service is published to the outside world (Outside of the company firewall), it will return a null why this might be happening? The same code is being used,against the same database. The only difference is that the published website is giving back the null reference exception. If I type in the URL for the web service "https://secure.theSiteGeist.com/wsIndigo.asmx" a list of methods for the web service is displayed in my browser. Yet if I try and call any methods on the web service I get back the null reference exception. Note that the URL I posted above is not the real name of my web service, but is just used for reference sake.
View 3 Replies
Apr 8, 2010
The code for the asp.net page is:
<div class="facebox_content">
<% if (CurrentUser.Role == "Free")
{
%>
<table cellpadding="0" cellspacing="0" style="border-collapse:collapse;width:380px;">
<tr>
<td>
User Name :
</td>
<td>
Membership Cost :
</td>
</tr>
<tr>
<td style="width:190px;">
<asp:TextBox ID="txtUserName" Enabled="false" runat="server" Text="<%= CurrentUser.Name %>"/>
</td>
<td style="width:190px;">
<asp:TextBox ID="txtCost" Enabled="false" runat="server" Text="2000"/>
</td>.........
View 1 Replies