Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7575325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:39:36+00:00 2026-05-30T16:39:36+00:00

I am working on a C# project which requires some map task. What I

  • 0

I am working on a C# project which requires some map task.

What I am doing is writing a html file in C# and display it with a webview-like component.

And this is awkward.

Somebody came up with a more reasonable way? This can be a general problem since there are so many Javascript API.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:39:38+00:00Added an answer on May 30, 2026 at 4:39 pm

    You would need to have a Javascript engine running within your C program in order to interpret and execute Javascript code. This can be done though it’s seldom without issue since a lot of Javascript code assumes the existence of a browser (e.g. calling window.location or methods that add DOM elements).

    This is definitely going to be more trouble than it’s worth for your particular case – as well as being orders of magnitude less efficient than just writing the algorithm in C#. You should be looking for a C# library that simplifies the creation of HTML, rather than trying to embed an interpreted, weakly-typed language.

    (However it can be a valid approach for other situations where you have important business logic in Javascript, and need to replicate this in a performance-insensitive batch process. Or if you want to run automated tests on your JS code alongside C#/Java classes.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Iam working on a project which involves writing a Mork File (Mork is a
i am working on a project which requires some image processing, i also asked
I am working on a project which requires some pretty intricate JavaScript processing. This
I am currently working on a project which requires migration of content from different
I have started working on a project which requires Natural Language Processing. We have
I'm working on a project for my companies intranet which requires that multiple attached
I'm working in a project which needs to clean up some third party XSD
I'm working on a project which requires us developing our own intermediate SMTP relay
I'm working on a project that requires an interactive map. I want to use
I'm now working on a project that requires to print some labels. I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.