Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm trying to make a call for a php code on server from react native, and return a value and display it.
The idea that I have an image I want to process it on server save it then return results and the resulted image(I already have a php code on server that run a C# code and give back the results) then showing them on the mobile app . any idea?
Do you have a REST API to provide this image?
If you do I use Axios to make http requests.
If you don't, i think fetch has the ability to communicate with a server via TCP.
I suggest you create an API endpoint to provide your image.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
how can I create app with Ionic2-Angular2 front-end and ASP.NET core Back-end? in same server. Also I what about multi-platform application.
Yes, you can. In ASP.NET you'll create a web API, that will be consumed from angular code. Here is how you create a web API: https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api
Angular, more precisely the JavaScript which will be generated, does not "know" what kind of back end is used. There just will be an URL and the method how to access it. Your communication will probably embrace HTTP GETs and POSTs.
As long as the resource is accessible with one of the methods,
it does not matter if it is
a static file (post would not make sense in this case)
a PHP script
or ASP.NET Backend
or something else.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I created a http server using C# and I took the idea from here
It works with html pages. I tried to add aspx mime-type like this "text/aspx"
but it doesn't work, it's still opened like a text file!
Any ideas?
I assume that you have only implemented static resource handling for your web server. However, for ASP(X) (or any other dynamic content) to work as expected, you need a complex pipeline which loads the file, compiles it, runs the code in the right context, and returns the result (and that is a very simplified explanation).
In general, it's no a wise idea to implement your own server stack. You'll very likely end up with a vulnerable and badly performing piece of software. Just use an existing web server (or maybe even just Cassini if you really want to see the internals working).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I need to send a picture from one asp.net application to another. My receiver is an asp.net MVC application, but the sender can be a simple console application.
Senario
Application one has a link to an image and send/post this to application two by URL.
Application two receives/get the image and saves it to a folder on the server.
I have heard of REST, asp.net web api and web service but not found any tutorial how to do this.
Application #2, the receiver, has to have REST Web API which accepts a file (an appropriate mime type) and saves it, that's it.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm going on the process about network.
here is the phrase that occur frequently "System.Web.dll",
we all know the file "System.Web.dll" is very important to website,
but how does it exactly effect on the website,
can I continue to browser my web after I delete the file ?
what does it effect to my website ?
System.Web.Dll is old library responsible for whole http-protocol working. requests sending and creation.
You can not live without in either ASP.NET MVC or ASP.NET Web forms because it contains HttpContext - class which is responsible for client-server communications.
If you need to use not web, but networks like LAN you probably need System.Net.dll
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
i'll try to explain you my problem.
I have to call a .net webservice with my android device.
But, this webservice needs to add items on a queue on an another service who's running on my server.
Android ---> .net WebService ---> add items on queue on another Windows Form Application.
In brief I want my application to communicate with my Windows Form Application without using database
Do you think this is possible?
If it's possible have you any idea how do it ?
Use socket to communicate with your server application.
http://msdn.microsoft.com/fr-fr/library/system.net.sockets.socket(v=vs.110).aspx