Experience with C# HttpListener + Ajax cross domain
1 .Connecting Plugin and Console App
2ndThe message and answer should preferably be in the json format or an alternative line that from both sides will be linked to a pair of keys = meaning.
ThreeThe console function is made so that it can be successfully transferred to the winform or wpf application, as a function that will be launched in a separate stream by pressing the start button and stopping when pressing the stop.
Requirements to the executor:
1 .I am looking for a good man who will lead the matter to the end.2ndHe knows what to do from a to me.ThreeTo verify the performance, he immediately sends the source code that I would be able to collect it as well as with me and it worked with me as well as you!I guarantee myself:
1 .What the transaction will be through the seafood with the payment of the commission on my side with the deposit at the moment you notify that you have a code and we will be able to check it immediately after the deposit on my side.2ndI guarantee timely payment as soon as it is verified that the code works accurately with the assigned task.ThreeI will provide the plugin, explain how it can be installed and where the JS is to be edited.4 .I will be in contact as much as possible.An example of the plugin feature on jQuery that sends the data and has to get a response:
The Function() {
jQuery.support.cors = true
by AJAX({
Type of “GET”,
URL: “http://localhost:5555/”,
DataType: “text”
success: function(data) {
The alert (data )
and the
error: function(jqXHR, textStatus, ex) {
alert(textStatus + "," + ex + "," + jqXHR.responseText);
The
and the
) ) ) )
Code of console application:
static async Task Main(string[] args)
by {
HttpListener listener = new HttpListener();
listener.Prefixes.Add("http://localhost:5555/");
to start();
Console.WriteLine (“Wait connect...”);
The True (true)
by {
HttpListenerContext context = await listener.GetContextAsync();
HttpListenerRequest request = context.Request;
HttpListenerResponse response = context.Response
response.ContentType = “application/json; charset=utf-8”;
response.AppendHeader(”Access-Control-Allow-Origin”, “*”);
Date of Post
StreamReader reader = new StreamReader (request.InputStream);
string s2 = reader.ReadToEnd();
Console.WriteLine("Data received:" + s2);
Data is GET
Console.WriteLine("Data received GET:" + context.Request.RawUrl);
context.Response.Headers.Add(”Content-Type”, “jsonp”);
String responseString = “Hello world!“;
byte[] buffer = System.Text.Encoding.UTF8.GetBytes(responseString);
response.ContentLength64 = buffer.Length
Stream output = response.outputStream
output.Write (buffer, 0, buffer.Length)
the output.Close();
The
The
I'm looking forward to your offers, dates and price.
Applications 1
Client's review of cooperation with freelancer
Experience with C# HttpListener + Ajax cross domainOh, it was good to work with Sergey, the project was delivered much earlier than the deadlines, as well as the moments that we missed at the beginning, already at the moment of delivery were corrected within 30-60 minutes. I have done my job at 5 to 5. I'm glad that with the new project, I addressed this executive, not that I had the last time, the final price was 1 in 1 as agreed. Thank you, I wish you success on the stock market.)
Freelancer's review of cooperation with Oleg Klochko
Experience with C# HttpListener + Ajax cross domainСпасибо за проект Олег, рад быть поработать вместе. Надеюсь на сотрудничество в будущем.
![]()
-
126 2 0 A good evening.
Add the c# code to a separate collection.
ready to begin in the near future.
In order to be honest with both sides, the deposit must be made before the start of the robot.
If you are interested in writing, freelance as a hobby will bring everything to the end.
Current freelance projects in the category C#
Creation of a plugin for integration with the POS system Syrve, C#Develop a plugin for the Syrve POS system (on-premise), which is installed on the establishment's server. The plugin must: (1) transmit data to our server in real-time — orders, table statuses, payments, receipts; (2) receive commands from Reservble — booking confirmations,… C#, Web Programming ∙ 2 days 19 hours back ∙ 11 proposals |
Creation or refinement of firmware and logic for three autonomous LoRa stations based on ESP32.
112 USD
Creation or refinement of firmware and logic for three autonomous LoRa stations based on ESP32. The devices must set up a Wi-Fi access point, serve a local site via a browser (HTTP), receive text and images within a radius of 5-10 km (plus or minus), store data (preferably on… C & C++, C# ∙ 3 days 2 hours back ∙ 3 proposals |
S1GG1LA person is needed who can take the initial code of the Minecraft launcher for the project, change the design at their discretion, but there are small style requirements for it to be in purple tones. Regarding payment, please suggest a price for the work. However, the budget is… C#, Gaming Apps ∙ 5 days 11 hours back ∙ 7 proposals |
Improvement in the existing version of 1C retail block for the distribution center (DC)In general, I will explain what kind of database we have - There is a main server where there is a retail database (where all receipts are recorded) - a UTP database - where all sales are transferred - it calculates the markup and stock balances - small databases of retail… C & C++, C# ∙ 10 days 11 hours back ∙ 6 proposals |
It is necessary to migrate the current working program from FoxPro to C#.Hello everyone! We have a program in FoxPro (it has several modules, it's an accounting program), we have the source code of the program, and if necessary, we can consult with people who support the current program. What needs to be done: 1. Analyze how everything works,… C#, Desktop Apps ∙ 13 days 2 hours back ∙ 19 proposals |