So all I want to stream images from my WebCam onto some local adress\port and be able to see them as MJPEG stream.
I want server (one that shares MJPEGS) and CLIENT (That sends MJPEGS) be in the same air app.
Can you give me
link to working opensource project
DETAILED STEP BY STEP instructions on what should I do\implement and where to find code examples
Hi,
I want to create a re-usable library. I was going to use extension methods however I run into some issues in some cases for the client to have to specify in the calling method the types.
QUESTION - If I use an abstract base class as the basis, can I specify an attribute/property in the class to be generic (e.g. the key property might be an 'int' in one case, or a 'string' in another)?
I'm trying to figure out if its possible for programmers to build an itunes client app for iphone or android where the user has the option to browse and listen to the song preview, something similar to this page: itunes link maker
I greatly appreciate any pointers or links in this direction
thanks
I'm writing a data driven WPF client. The client will typically pull data from a WCF service, which queries a SQL db, but I'd like the option to pull the data directly from SQL or other arbitrary data sources.
I've come up with this design and would like to hear your opinion on whether it is the best design.
First, we have some data object we'd like to extract from SQL.
// The Data Object with a single property
public class Customer
{
private string m_Name = string.Empty;
public string Name
{
get { return m_Name; }
set { m_Name = value;}
}
}
Then I plan on using an interface which all data access layers should implement. Suppose one could also use an abstract class. Thoughts?
// The interface with a single method
interface ICustomerFacade
{
List<Customer> GetAll();
}
One can create a SQL implementation.
// Sql Implementation
public class SqlCustomrFacade : ICustomerFacade
{
public List<Customer> GetAll()
{
// Query SQL db and return something useful
// ...
return new List<Customer>();
}
}
We can also create a WCF implementation. The problem with WCF is is that it doesn't use the same data object. It creates its own local version, so we would have to copy the details over somehow. I suppose one could use reflection to copy the values of similar fields across. Thoughts?
// Wcf Implementation
public class WcfCustomrFacade : ICustomerFacade
{
public List<Customer> GetAll()
{
// Get date from the Wcf Service (not defined here)
List<WcfService.Customer> wcfCustomers = wcfService.GetAllCustomers();
// The list we're going to return
List<Customer> customers = new List<Customer>();
// This is horrible
foreach(WcfService.Customer wcfCustomer in wcfCustomers)
{
Customer customer = new Customer();
customer.Name = wcfCustomer.Name;
customers.Add(customer);
}
return customers;
}
}
I also plan on using a factory to decide which facade to use.
// Factory pattern
public class FacadeFactory()
{
public static ICustomerFacade CreateCustomerFacade()
{
// Determine the facade to use
if (ConfigurationManager.AppSettings["DAL"] == "Sql")
return new SqlCustomrFacade();
else
return new WcfCustomrFacade();
}
}
This is how the DAL would typically be used.
// Test application
public class MyApp
{
public static void Main()
{
ICustomerFacade cf = FacadeFactory.CreateCustomerFacade();
cf.GetAll();
}
}
I appreciate your thoughts and time.
As I understand in the service books we have the entries for each messaging and transport service. The configuration for those services are stored there. In particular I see the Google talk, Yahoo client download and facebook as services.
Our small concern is entrusted with creating an Application on ASP.NET with client-server model. As we are almost done with the development we are creating a small team for Performance test. I have googled in the net about the topic but without much help. If anyone of you can share 'How, What and Why' about perf test, it would be great help.
I have made a build system for my web application that's rewriting all resource url's to include the file's revision number (to improve client caching). As of today I'm running this command for each file to get the revision number:
hg log --template '{rev}\n' path-to-file
Executing hg for each file is really time consuming. Is there a fast way to list all files in a repository with the latest revision number?
$.ajax({
type: 'GET',
url: "string.txt",
cache: false,
success: function(str){
alert("Data is: "+ str);
}
});
In this example, string.txt is still sent to the cache (\Temporary Internet Files)
How do I ensure that the file is not sent - read from the server only? Am I missing an option?
I set cache to false but that does not block it from being sent to client.
For example, ajax POST does not send a local copy.....
Thanks
A spawn off of an existing eclipse product is required for customization for a client. (hence parallel product development)
The intention was to use Eclipse Fragment, but "Fragments are additive, they cannot override content found in the host."
how can we maintain one set of codes in the svn, yet allow customization by overriding some classes?
I am trying to determine which assembly contains a particular class. I do NOT want to create an instance of a type in that assembly, but want something like this
namespace SomeAssembly
{
class SomeClass
{
}
}
..and In client code I want:
Assembly containingAssembly = GetContainingAssembly(SomeClass)
I have a job to develop a website. My client wants it so that there is a header, a menu and for the content a rectangle-like box in which you can scroll the text. So that header and menu don't move but the text in the box does.
It should look like this:
***********header image ***********
menu menu menu menu
--------------
| you ||
| can ||
| scroll in ||
| this box ||
|_____________
Is my only option to implement this an iframe?
Would it be bad practice to use an iframe for this?
Hi. Does anyone know a good C# tutorials (example) step by step?
It should be not a description of libraries, foundations and the OOP concept, and so forth, but the writing of any application step by step. For example, a mail client, telephone directory, a simple graphical editor, audio player.
Thanks!
I'm accessing a third party WCF service (I have no access to the service configuration) We're using SSL certificates for the authentication.
I'm getting this error when trying to access to any of the provided methods
The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The
authentication header received from the server was 'Negotiate,NTLM
I checked many google links and no luck so far- No idea what else to check on my side.
i want to learn the server side programing with json parser on the client side and php on the server side.
i want some ebook or link related to the same.
I know that this question is quite common, but its specifics are stumping me.
I have an "export" button which I want to take a load of data generated, create a CSV file, then pop up a Save File As dialog box, to save that file on their local machine.
The name of this file is dynamic, also.
I know how to make the CSV file, but how do I then pop up a box on the client side to let the user download it?
I am using JSP with Struts
I am developing a network based application. I need to retrieve data through internet. The scenario is like this - a client machine will send data through internet to the server machine and data size will be big enough. So should i use simple TCP/IP socket concept or else? Because i never did a socket program which will retrieve data through internet..... Any suggestion will be very helpful....... Thanks.
I need to deploy some Crystal Reports XI .dlls (craxdrt.dll, crviewer.dll) to client computers. Craxdrt.dll has many dependencies. I found out that the easiest way to go about this is to use the supplied merge modules. Having always relied on ClikOnce deployment I am at a total loss how to do this.
If it matters: the .exe is written in VB6, but I have visual studio 2010 to make setup projects.
Thanks!
Hi,
I am trying to use " gContact:billingInformation" and "gContact:nickname" .
But i am not getting "gContact" in c#.
I am using : (Google.GData.Contacts.dll : File version 1.4.0.2)
using Google.GData.Contacts;
using Google.GData.Client;
using Google.GData.Extensions;
using Google.Contacts;
How can use above features in my code? plz help
Regards,
Jene
Hello,
I would like to know if there is any posiibility that I can use Haskell with small database like sql server compact so that client wont have to install any server on his desktop.
Is there any api providing sql statements and so on ...
What is the best solution to achieve small database application using haskell.
thanks for help
Hi,
I am trying to make a FTP client in c#. I found a class that support basic FTP commands on http://msdn.microsoft.com/en-us/library/system.net.webrequestmethods.ftp_members.aspx.
on the list, PORT command is missing.
How do I use PORT command in c#?
hello, i have a table with some rows.
idClient, name, adress,country,...
i want to know how i can do an insert into this table with auto increment my idClient in my sql request..?
Thx.
edit: i want do a request like this
insert into Client values((select max(idClient),...)
Where to get the
list of dlls present in microsoft word 12.0 .
Can we download microsoft word 12.0 Component seperately and install it in the client system?
I have two tables - Parent table (Clients- ClntID,ClntName) And Child Table ( Orders- ClntID,OrderNumber,OrderDate) - Order Number column has a value equal to how many orders the Client has. It is not an autonumber
ClntID ClntName
1 Company A
2 Company B
ClntID OrderNumber OrderDate
1 1 11/1/2009
1 2 11/15/2009
2 1 2/12/2008
2 1 7/13/2009
If I have a dataset for these tables, how do I insert the data in the Orders table and increment the OrderNumber value correctly.
Is there a remote control software or a http-server available, which has a queue implemented, so that one after another client has the chance to control the screen on the host?
Thanks a lot