Find Jobs
Hire Freelancers

Convert a c# pricing calculation to typescript/javascript.

$30-250 USD

Cancelled
Posted over 7 years ago

$30-250 USD

Paid on delivery
When you are accepted, will send you the whole c#, but posted below is the calculation that I want converted. Included in this project is a simple html webpage with 2 text boxes, one that has the JSON input in it (where it can be edited) and a button to show the results in second text box. public static PricingResponse CalculatePricing(PricingRequest request) { PricingResponse r = new PricingResponse(); int productionServerCount = 1; int nonProductionServerCount = 0; if ([login to view URL] != null) { [login to view URL] = new PricingReturn(); [login to view URL](new PricingDetail() { Description = "User Pricing", LicenseCost = [login to view URL] * USER_SUBSCRIPTION}); [login to view URL](new PricingDetail() { Description = "Designer User Pricing", LicenseCost = [login to view URL] * DESIGNER_USER_SUBSCRIPTION }); if ([login to view URL]!= 0) [login to view URL](new PricingDetail() { Description = "API Endpoint/Scheduled Job", LicenseCost = [login to view URL] * API_INTERFACE__JOB }); if ([login to view URL] != 0) [login to view URL](new PricingDetail() { Description = "Non Production Servers", LicenseCost = [login to view URL] * NON_PRODUCTION_SERVER }); if ([login to view URL] != 0) [login to view URL](new PricingDetail() { Description = "Guest/Shared User", LicenseCost = [login to view URL] * GUEST_USER}); nonProductionServerCount = [login to view URL]; } if ([login to view URL] != null) { [login to view URL] = new PricingReturn(); [login to view URL](new PricingDetail() { Description = "Production Servers", LicenseCost = [login to view URL] * PRODUCTION_SERVER / SUBSCRIPTION_PAYBACK}); var nonProdCost = [login to view URL] * PRODUCTION_SERVER / SUBSCRIPTION_PAYBACK; [login to view URL](new PricingDetail() { Description = "Non Production Servers", LicenseCost = (nonProdCost > UNLIMITED_NON_PRODUCTION ? UNLIMITED_NON_PRODUCTION : nonProdCost)/ SUBSCRIPTION_PAYBACK }); if ([login to view URL]) { if ([login to view URL] > 2) { [login to view URL](new PricingDetail() { Description = "Disaster Recovery", LicenseCost = UNLIMITED_DISASTER_RECOVERY / SUBSCRIPTION_PAYBACK }); } else { [login to view URL](new PricingDetail() { Description = "Disaster Recovery", LicenseCost = [login to view URL] * NON_PRODUCTION_SERVER / SUBSCRIPTION_PAYBACK }); } } productionServerCount = [login to view URL]; nonProductionServerCount = [login to view URL]; } AddCommonPricing([login to view URL], [login to view URL], productionServerCount, nonProductionServerCount, [login to view URL], [login to view URL], [login to view URL], [login to view URL]); AddCommonPricing([login to view URL], [login to view URL], productionServerCount, nonProductionServerCount, [login to view URL], [login to view URL], [login to view URL], [login to view URL]); return r; }
Project ID: 12658467

About the project

13 proposals
Remote project
Active 7 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
Awarded to:
User Avatar
Hi, I am interested in your project. Please send full code of c#. I open this source. Is not full source code c# I can use C# and Javascript. I am a full time programmer with 20 year exp in Russia. I have hi degree in information system in economics.
$50 USD in 1 day
5.0 (7 reviews)
2.4
2.4
13 freelancers are bidding on average $157 USD for this job
User Avatar
i am a lead .Net software engineer and responsible for creating web and desktop applications using different languages and technologies if u r interested just send me a message thank you and good luck
$200 USD in 3 days
4.9 (80 reviews)
7.2
7.2
User Avatar
Dear there Thank you for posting this project. I could start immediately. I could finish within 2 days. Looking forward to hear from you Thanks & B/R
$200 USD in 2 days
5.0 (6 reviews)
5.3
5.3
User Avatar
Hello, Im interested to work on this. I have worked on similar jobs already Please have a look on my profile. Im more than 8 years experience in .NET and hands on both C# and JS. Thanks for your reply. Regards, Sheik
$138 USD in 2 days
5.0 (7 reviews)
4.4
4.4
User Avatar
it's my pleasure if you hire me for these project
$88 USD in 2 days
0.0 (0 reviews)
0.5
0.5
User Avatar
19 years' industry experience with substantial projects in both C# and Javascript. High quality code, including a redesign to make it easier to make modifications to your pricing calculation, and full documentation and tests. Native English speaker.
$80 USD in 3 days
0.0 (0 reviews)
2.4
2.4

About the client

Flag of UNITED STATES
Southern Shores, United States
5.0
10
Payment method verified
Member since Aug 12, 2015

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)
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.