Php - Communication Of Two Apps On The Same Machine?

Oct 15, 2010

I have an ASP.NET app running on a webserver. A third party is created another app in PHP which needs to send data to my app for processing. Initially it was assumed that the PHP app would be deployed elsewhere so we agreed that the communication would occur over the internet via HTTP (over SSL). My app would simply use a generic handler (ashx) file to recieve the data and send confirmation back.

Now it seems that the PHP app might be deployed on the same machine as my app. I like the fact that using HTTP (as opposed to say direct database access), the PHP app needs to know nothing at all about how my app works. But using the public internet seems silly for communication between two apps on the same machine. If the PHP app simply used a localhost address, would this ensure that all the data stays within the machine? Is there a better way to do this?

View 4 Replies


Similar Messages:

Sharing Cache Between Apps On The Same Physical Machine

Aug 15, 2010

We have several virtual applications inside one main (root) application. How to share Cache between this virtual application and main application if they are located (and always will be) on the same physical machine? By Cache i assuming System.Runtime.Caching or System.Web.Caching. Hope that i do not need to setup AppFabric Caching for this...

View 3 Replies

Configuration :: Apps Automatically Using Machine.config

Oct 31, 2010

I have connection strings info in web.config. I thought that if this were the case, machine.config would be ignored. But, everytime the connection string in web.con is different than the connection string in maching.con, I get error. The connection name 'aspnetdbConnectionString' was not found in the applications configuration or the connection string is empty. Is there something I can check or change to get the app to ignore the machine.config when web.config connection string is listed.

View 4 Replies

Web Forms :: Copy File From Local Machine To Device Connected To This Machine

Mar 24, 2010

1. ASP.Net WEB server.

2. I have PC, on which file to copy to device is located, with Active Sync installed and IE running which has a page in that IE has rendered by server #1.

3. I have a DEVICE connected to desktop #2 via AS.

I would like to copy file from a local machine to the device which is connected to this machine. My application is located in a webserver.

View 5 Replies

Date And Time Format Different On Local Machine Compared To Production Machine?

Sep 22, 2010

On one of my pages I display a datetime (from a database) and it is formatted correctly as a UK date time (dd-mm-yyyy) on my local machine. However when I deploy it to a server it reverts to American format (mm-dd-yyyy). Does anyone have any idea of when this might be happening?This might be outside the scope of stackoverflow

View 3 Replies

USB Communication From WEB

Jan 6, 2010

Currently I am functioning on a project (Winfroms). Where I can able to communicate with the USB device and send/read data from it using the WINUSB custom driver. This will work only in windows. Now currently the client want this in web whereas independent of OS (Linux, Mac, Windows). Accessing a driver from a client side to send/read data that too for different OS.

View 2 Replies

C# - Can Transfer File From Local Machine To Another Machine

Mar 17, 2010

I basically want to transfer a file from the client to the file storage server without actual login to the server so that the client cannot access the storage location on the server directly. I can do this only if i manually login to the storage server through windows login. I dont want to do that. This is a Web-Based Application.

protected void Button1_Click(object sender, EventArgs e)
{
filePath = FileUpload1.FileName;
try
{
WebClient client = new WebClient();
NetworkCredential nc = new NetworkCredential(uName, password);
Uri addy = new Uri("\\192.168.1.3\upload\");
[code]...

View 2 Replies

ASP 2.0 And COM Port Communication?

Feb 20, 2010

ASP.NET 2.0 and COM Port Communication

I have a managed DLL which communicates with the devices attached on COM/Serial ports. The desktop Winforms application sends requests on ports and receives/stores data in memory. In Winforms app I have added a reference to DLL and I am using the methods. This works well. Now, there is a situation where I need to show this data from serial/com port on a web-page. And also users should be able to send requests to the ports using this DLL. I have made a web app in ASP.NET (2.0). Added a reference to the DLL. I am able to use this DLL, the DLL communicates on the COM upon button click on web-page and also the response is shown on web page. However I am not happy with the approach and strongly feel that this is a bad approach. Also the development server crashes after 3 -4 requests. What is the best approach in this scenario. If I use a windows service then how would my ASP.net app will communicate with the Weindows service.Or can this be easily done using WCF. I have not used WCF any time nor any of .net remoting technique.

View 1 Replies

Window Application Communication With Web?

Oct 26, 2010

Is it possible to build a windows application to send articles to a blog I have developed?

View 1 Replies

MVC :: Communication Between HTTPHandler & Controller

Jan 15, 2011

So I am working on a project in ASP.NET MVC 2 with C#.I have a View with a file upload but this is a flash component (.swf).The result of the file upload (the storing of the file and processing of data in the database) is done in a HTTPHandler.I would like the HTTPHandler to send information to my active controller.

Is there a way to get the controller that was used to load the view? I'm having problems finding information about it online.

View 1 Replies

How To Log Communication Of A WebService Running On IIS 6.0

Apr 13, 2010

I'm running an ASP.NET WebService on IIS 6.0 that shows a lot of HTTP 500 (probably just exceptions from the WebService) inside the log at %systemroot%System32LogFilesW3SVC1 on a customers site.

Is it possible to log the content of those HTTP responses and there requests without modifying the WebService using IIS or a plug-in for IIS?

I thought of using Wireshark or Fiddler to sniff on the HTTP traffic but I would prefer to just turn on an option inside IIS to make him log the communication (this should not be to hard since it is logging the requested URLs anyway)

View 2 Replies

Web Forms :: Two Way Web Part Communication?

Jan 20, 2010

I have two web parts WebPart1 has a tree control1)WebPart2 gets displayed when a node in a tree is clicked.2)User can enter a text in web part 2 and click ok button then Web part1 has to be refreshed and the new node should get displayed In step 1 WebPart1 is Provider and WebPart2 is consumer.In Step2 its vice versa. Is it possible to swap this using the provider consumer?

View 1 Replies

IPhone Communication With Windows C# App?

Oct 28, 2010

I am create an iPhone app that needs to talk to a Windows C# app. The app will run as either a Service or Form Application.

What would be the best way to accomplish this? Ideally exposing a service-type architecture would be best as I don't need a stateful connection (stateless is fine in this case).

Can a WCF service hosted by my app using a form of TCP binding be consumed by my iPhone? Or can an app host using httpBinding without the aid of IIS or some other web server?

View 3 Replies

Communication Between Aspnet_isapi.dll And Aspnet_wp.exe?

Sep 21, 2010

To guarantee optimal performance, aspnet_isapi uses asynchronous named pipes to forward requests to the worker process and to get responses. On the other hand, the worker process exploits synchronous pipes when it needs to query for information about the IIS environment (that is, server variables).

Does the worker process always uses "synchronous" named pipes? (Response to aspnet_isapi.dll would be asynchronous too, right?) Can the worker process talk directly to IIS or does it have to send a synchronous request to aspnet_isapi.dll to inquire about IIS environment etc.?

View 1 Replies

Add Text Communication To Web Application Using Vb.net?

Dec 7, 2010

i built a web based task manager / scheduler using vb.net

i need to add a small communication part to it to allow users to send messages to each other.

below is my concept design. the question is: is this the correct way of building a simple communicator or do you have better ideas?

View 2 Replies

Architecture :: Socket Communication Between C And C#?

Mar 22, 2011

I've a project in C which acts as a server and accepts socket communication. The server project has multiple C files is an exe which accepts messages from the client program and responds accordingly. I've to write a Client program in C# which should open a socket communication and send a series of messages depending on the result of previous message sent.

Is it possible to send a message in such a way that it will call a function in one of the C file in the server project?

View 1 Replies

VS 2005 - Serial Communication Between PLC And C#

Feb 4, 2012

I am working on a project where I have to design a front end(on C#) and have to display the data coming from PLC.

1. What name space I have to used.
2. What function I have to used for Serial communication.
3. What .dll file I have to add in my project.

View 10 Replies

Communication Between Client And Server Is HTTPS?

Nov 24, 2010

I have a web service with several web methods, each web method requires client machine to send their MAC Address and the server will validate this client base on this information (if not valid then return error) before proceeding to further operations. The communication between client and server is HTTPS. I only have about 20 clients or so. The question is is my way of doing this right/secure or not? If not then is there any simple way to do this?

View 3 Replies

What Is The Best Way To Establish Communication Between Silverlight Controls

Aug 6, 2010

I thought I ask the more exprienced Silverlight users about what they think is the best way to embed Silverlight user controls into an ASP.NET page - in special regards to stablish an easy way of communication between the conrols.

I have heard about services, query strings, etc. but I'd like to find out what has worked for you the best so far...

View 2 Replies

Legitamate Cross Site Communication?

Jul 7, 2010

I am building a website, within a large intranet, that wraps and adds functionality to another site within the same intranet. I do not have access to the other site's source and they do not provide any api's for the functionality they provide. I need to, somehow, have my server-side code go to that site, fill in some forms, then press a submit button. Is this possible? If so, how can I accomplish this?

Note: I am working in asp.NET if that matters at all.

View 4 Replies

C# - Asp/php Communication To Local Service/application?

Sep 29, 2010

I have a local application which parses data. What i need is to develop a web interface to query statistics and set configurations for the application thats running at all times. Since I am the developer of both applications I have full access to both source.

My main goals here are:

- have a service or app running at all times on the webserver doing most of the work

- have a webUI which will connect to this app and display stats and make configurations

- service/app will be writen in C#

- WebUI will be written in asp or php

- the WebUI must be accessable through the web domain ie: http://server/TestApp on default port 80 were there are other web apps running already.

I know there are ways to do this using a specific port to communicate to eachother, but i would like to avoid this. What is the best way to communicate between these apps?

View 1 Replies

SAML: Communication Between Service Providers?

Oct 25, 2010

I've been tasked with writing a SP (Service Provider) for SAML v2.0 in ASP.NET, and I wonder the following;If a user logs in on the main SP for a service (where my SP becomes accessible for a user as an anchor/link, unless previously bookmarked), and then requests access to my SP, how should I handle their login?

They will have logged in and become authorized by the IdP on the main SP, but how will that SP tell my SP that the user is logged in? Will I have to send a new authorization request to the IdP to determine whether the user is logged in or should it be passed on as post data/redirect with a query string from the SP? I've read the technical overview as well as the basics, but they don't cover this part. I will contact the main SP and ask how to proceed, but I wanted to cover my bases first and see if there's a standard way on how to deal with this situation.

View 3 Replies

Web Forms :: Main Page Communication With Its User Control?

Jun 22, 2010

I have a default.aspx page and a usercontrol.acsx. i have plugin this user control into default.aspx. I clicked a button in the usercontrol.aspx but i hope can fire event at default.aspx. The means that i hope when i click a button at usercontrol page and call an event at default.aspx. Can i do like that?

View 5 Replies

SQL Server :: Communication With The Underlying Transaction Manager Has Failed?

Dec 23, 2010

I using System.Transactions on webservices hosted on different domains.Transaction on same domain works fine.But problem is with the distributed/different domains.

I ve tested with the dtctester and the output is as follows...

Initializing DTC
Beginning DTC Transaction
Enlisting Connection in Transaction
Error:
SQLSTATE=25S12,Native error=-2147168242,msg='[Microsoft][ODBC SQL Server Driver]
Distributed transaction error'
Error:
SQLSTATE=24000,Native error=0,msg=[Microsoft][ODBC SQL Server Driver]Invalid cur
sor state
Typical Errors in DTC Output When
a. Firewall Has Ports Closed
-OR-
b. Bad WINS/DNS entries
-OR-
c. Misconfigured network
-OR-
d. Misconfigured SQL Server machine that has multiple netcards.
Aborting DTC Transaction
Releasing DTC Interface Pointers
Successfully Released pTransaction Pointer.

View 1 Replies

WCF / ASMX :: The Caller Was Not Authenticated By The Service While Using Duplex Communication In Wcf?

Jul 11, 2010

I am having a simple WCF service hosted in my website. I am using a console client to send and receive messages from the service. It works fine when I run the WCF web host in my local computer, but fails badly with the SecurityNegotiation exception "The caller was not authenticated by the service". It works fine if I use basicHttpBinding, but fails for wsDualHttpBinding which is required for duplex communication.All the source code for both (console) client & (web) server can be downloaded at:http://www.supernovaservices.com/downloads/WfcEventService.zipI have searched a lot and could not get a proper answer

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved