WCF / ASMX :: Streaming Images From Server To Client
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
Similar Messages:
Sep 28, 2010
I want to Upload bulk images from client to server using web service...
I already create web service for uploading images but it does not support well.. i have used byte array for that..
View 2 Replies
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
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
May 20, 2010
Assume a simple aspx data entry page in which admin user can upload an image as well as some other data. They are stored in database and the next time admin visits that page to edit record, image data fetched and a preview generated and saved to disk (using GDI+) and the preview is shown in an image control.
This procedure works fine for the first time however if the image changes (a new one uploaded) the next time the page is surfed it shows previously uploaded image. I debugged the application and everything works correct. The new image data is in database and new preview is stored in Temp location however the page shows previous one. If I refresh the page it shows the new image preview. I should mention that preview is always saved to disk with one name (id of each record as the name).
I think that is because of IE and other browsers use client cache instead of loading images each time a page is surfed. I wonder if there is a way to force the client browser to refresh itself so the newly uploaded image is shown without user intervention.
View 2 Replies
Nov 8, 2010
A customer reported that our asmx web service is continually increasing in memory (mem usage as well as private bytes). We are able to reproduce the problem in our lab with Windows 2003 Server SP2 (fully patched) on some of the machines. The customer is using Windows 2008.
We created a Hello World web service targeting the 2.0 framework built under VS2005 SP1 and a test client that continues to call it. The memory increases steadily - approximately 40K per client request. If the test app is paused, the memory remains the same. When it is closed, the memory drops. Explicit calling of GC.Collect does not drop the memory.
We have run the memory profiler on the service and the leak is all native memory. We have uninstalled/re-installed the Framework on one of the machines but no difference. To our knowledge all of the security and IIS settings are not modified. We have compared app pool, default web site and virtual directory properties to machines that have no problem and they are identical.
View 11 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
May 24, 2012
What is Web services? What is Web services? How can I Transfer the data from server to client and client to server using XML. Need one simple Example program(C# web Application) ...
View 1 Replies
Apr 17, 2010
how to upload images to server(application/images folder) and retrive(display) from and on client PC for asp.net. its just for uplaoding logo directly to server folder and retriving from server to client. i am not getting server path on client pc for image.
View 5 Replies
May 23, 2010
I have a simple doubt... I have a button on my asp.net page. On the click of that button I want to show
an image stored in "C:Windows" folder( on client machine ) in an image control.
View 5 Replies
Dec 8, 2010
Images not showing up on login page. I am using forms authentication and SSL. On few of the IIS web servers (using multiple IIS servers for testing) imgaes are not showing up. It is also not downloading JS file to client side. This seems to be an access issue.
I have already given anonymous access in WEB.Config to Images and Scripts folder sop it works fine on few machines. What IIS settings are needed to make it work.
View 1 Replies
Mar 8, 2011
when client call my web service, i read owner cookie?
For example : When Guest browse www.abc.com, i write a cookie that its name BrowseTime.
www.xyz.com using web service on www.abc.com . Can I get abc.com's BrowseTime cookie when xyz.com call WebService? Or alternative solution like (third part cookie or any)
View 3 Replies
Mar 31, 2010
What is the use of XSD when providing web services to the client.?
How visual studio provieds XSD ?
What will be the situtation where we need to develop XSD mannually instead of use of Visualstudio.
Suppose I have created web services for Add method.
How the XSD will be.?
View 1 Replies
Mar 28, 2010
I am using ASP.NET (.asmx) web services with Silverlight. Since there is no way to find the client IP address in Silverlight, I had to log this on the service end.
These are some methods I have tried:
Request.ServerVariables("REMOTE_HOST")
HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
Request.UserHostAddress()
Request.UserHostName()
string strHostName = Dns.GetHostName();
string clientIPAddress = Dns.GetHostAddresses(strHostName).GetValue(0).ToString();
All the above methods work fine on my local system, but when I publish my service on a production server, it starts giving errors, Error: Object reference not set to an instance of an object. StackTrace:
at System.Web.Hosting.ISAPIWorkerRequestInProc.GetAdditionalServerVar(Int32 index)
at System.Web.Hosting.ISAPIWorkerRequestInProc.GetServerVariable(String name)
at System.Web.Hosting.ISAPIWorkerRequest.GetRemoteAddress()
at System.Web.HttpRequest.get_UserHostAddress()
View 2 Replies
Oct 15, 2010
I'm trying to receive a Client Certificate in a Web Service and having some problems.
Client
[Code]....
The certificate seems to be correclty loading and added to the client.
The client connects to the server with HTTPS.
Server:
[Code]....
cert.IsPresent is false and all certificate fields are empty.
IIS is configured to Accept Client Certificates.
Reproduced in two environments:
- Windows 7 x64, IIS 7, VS 2008, .NET 3.5
- XP x86, IIS 5, VS 2008, .NET 3.5
Always in the Web Service the Client Certificate is not proesent. I haven't been able to find any other configuration I should do.
View 1 Replies
Jul 20, 2010
I have just created my first WCF service and by default it has a datacontract named "Composite type" in it. I tried adding another one but i can't see it in the client application. I have already done update web reference on my client.
Code of the data contract is below.
<ServiceContract()> _
Public Interface IDocumentService
<OperationContract()> _
<FaultContract(GetType(FaultException))> _
[Code]....
View 1 Replies
Dec 15, 2010
I am having a strange issue in my C# Console Application:
Name Space: WcfConsoleApp
Main Class: Program.cs
Name Space: WcfConsoleApp.ServiceReference
this namespace contains the WCF service reference
After building the project, the Program.exe avaliable in Debug folder is executing fine as expected.But when i move the exe to Client, where i need to actually run this exe, it works fine up to the line where i am referencing the Service, the line is:
WcfConsoleApp.ServiceReference.ServiceClient service = new WcfConsoleApp.ServiceReference.ServiceClient();
the consoel app crashes on the client machine at this line. (i know this because before this line, i display some mesage on the console)the same .exe and works fine at my development machine.I am sure it has to do some thing with reference path, i think the program is not getting to the path where service reference is avaliable. I have copied the full project folder as it is to the client, but still its is not working.
View 4 Replies
Nov 22, 2010
I'm having trouble exposing a method to a silverlight client from a WCF service although I can expose properties.
My WCF service has a LoadDeal method which returns a Deal object
public Deal LoadDeal(int dealerId)
{
Deal d = new Deal();
d.LoadDeal(dealerId);
return d;
[Code]....
This works fine and the Refernce property can be accessed from the silverlight client.
But when I try to expose a method such as the CancelEdit method below, I can't find a way to expose this method to the silverlight client:
public void CancelEdit()
{
//Add logic to cancel changes here.
}
I've tried adding the DataMember annotation but the compiler complains. I've re-compiled without an annotation and then updated the service reference but nothing seems to be working.
View 1 Replies
Jul 20, 2010
why the class named "MyFaultException" is not available on my client code.Imports System.Runtime.Serialization
<ServiceContract()> _
Public Interface IDocumentService
<OperationContract()> _
[code]...
View 1 Replies
Aug 30, 2010
I have consumed an external webservice in my client application using WCF. And every thing works great in my Dev box(XP with IIS5.1)But when the same application is moved to Prod server(Win Server 2003 with IIS6.0) it fails. Below is the exception caught:
There was no endpoint listening at http://MyExternalWebServiceUrlWithSessionId could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.And the InnerException is: Unable to connect to the remote server.My Config file has the below settings:
[Code]....
View 1 Replies
Dec 12, 2010
If I have something like the following:
<asp:TextBox id="test" runat="sever"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ControlToValidate="test"
ErrorMessage="Required"></asp:RequiredFieldValidator>
<asp:Label runat="server" id="lblStatus"></asp:Label>
if in the code behind, I set the label to "You must enter a value if the textbox is empty" to validate it on the server side and this is fine, but if javascript is enabled, I don't want to show the client side validation and the server side label together. Is this something where I would just have to disable the client-side validators if javascript was enabled?
View 3 Replies
May 20, 2010
I am consuming the java web service in .net client, when i sent a request to that web service, i am getting one exception in response object.It says "Client found response content type of 'text/plain', but expected 'text/xml'", along with this message i am getting the response in that exception.
View 2 Replies
Mar 11, 2011
I've created a WCF Service that Performs Insert User, What it does is, it'l get user name, age,gender,address,phone no and inserts these values into SQL database.
Problem is :
These things are working fine, if i give all the values in the WCF Test Client, It's Not working when i din't enter value for Address and click "Invoke" Button, It's throwing an Exception Procedure or Function "Insert_User" Expects
ADDRESS' Which was not supplied. I've created the SQL table Which allow Null Values for Address.
I've did the same Operaion in WebService also, there it's working fine, if i din't enter any value for tha Allow Null Colums, it's accepting the Null value and inserting into Database.
Why this Problem comes in WCF Test client, Guide me to Get rid of this Problem.
View 1 Replies
Apr 30, 2010
I receive the following error, when trying to consume Wcf service:
"An existing connection was forcibly closed by the remote host". Consuming the service works fine when the host and the client are on the same machine. When I move the client to Hyper-V virtual machine (I didn't try it on a real computer) - it throws the error. Both firewalls are turned off Do you know what can cause such behaviour? Here are the details:
Both the client (hyper-v) and the service are on Windows server 2008 R2
Service url - http://wcftest/CalculatorService.svc (wcftest is the website and is mapped in the hosts file to localhost)
Service config:
[Code]....
Client config:
[Code]....
Are there any configuration settings which I'm missing?
View 1 Replies