Find Jobs
Hire Freelancers

Convert a c# request into Javascript

$10-30 USD

Closed
Posted almost 4 years ago

$10-30 USD

Paid on delivery
I need to convert this c# into a JavaScript request that can send an audio file via xhr as a chunked file. <code> var request = (HttpWebRequest)[login to view URL](requestUri); [login to view URL] = true; [login to view URL] = @"application/json;text/xml"; [login to view URL] = "POST"; [login to view URL] = [login to view URL]; [login to view URL] = host; [login to view URL] = @"audio/wav; codecs=audio/pcm; samplerate=16000"; [login to view URL]["Ocp-Apim-Subscription-Key"] = "YOUR_SUBSCRIPTION_KEY"; [login to view URL] = false; using (var fs = new FileStream(audioFile, [login to view URL], [login to view URL])) { // Open a request stream and write 1024 byte chunks in the stream one at a time. byte[] buffer = null; int bytesRead = 0; using (var requestStream = [login to view URL]()) { // Read 1024 raw bytes from the input audio file. buffer = new Byte[checked((uint)[login to view URL](1024, (int)[login to view URL]))]; while ((bytesRead = [login to view URL](buffer, 0, [login to view URL])) != 0) { [login to view URL](buffer, 0, bytesRead); } [login to view URL](); } } </code>
Project ID: 26834126

About the project

5 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $32 USD for this job
User Avatar
Hello, Hope you are doing well, I can Migrate C# request to Javascript easily in a few hours time. I have checked your requirements and fully understood your goals, Also I have good skills in both C# and Javascript, Did thousands of jobs like this, So I am very confident. Please contact to me for the best work. Thank you.
$50 USD in 1 day
5.0 (8 reviews)
4.8
4.8
User Avatar
convert c# to javascript perfect for me I have high specialization and experience in the Development of Desktop, Web and Mobile Applications. Programming languages: C, C++, C#, Python, GO, Matlab, Java, VB, kotlin, JavaScript. Web Development: Front-End, Back-End and Mobile Applications: - PHP, Aspx NET CORE, asp, HTML5, JSON, XML. - Node.js, Angular, React, JavaScript, Jquery, Ajax, REST, SOAP - CSS3, Bootstrap, Less, Sass, Scss, Responsive, Material. I am a specialized expert. I have 10 years of experience. Please check my independent profile. I can also send samples of my work by chat. can i start right away Best regards
$50 USD in 1 day
4.9 (17 reviews)
4.8
4.8
User Avatar
Greetings! Thanks for reading the response! I have gone through your project requirements. I know you want a and I am 100% sure to do this for you. I am a professional and expert Senior Front-End(React, Angular) & WordPress Themes / Plugins / Woocommerce/ Shopify and PHP Developer with over 10 years of experience. I have an expert team of professional developers, designers, marketer and SEO experts who are here to give an excellent result to our clients within the time.
$20 USD in 7 days
5.0 (1 review)
1.4
1.4
User Avatar
I have knowledge of javascript es6, asp.net and c #. I will make the code as optimal as possible for the code.
$20 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Oakland, United States
5.0
4
Payment method verified
Member since Oct 5, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.