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 6723375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:33:41+00:00 2026-05-26T09:33:41+00:00

I have asked a few questions related to this, but from different angles. I

  • 0

I have asked a few questions related to this, but from different angles. I am trying yet again another approach.

The design in question relates to a system in which the client is able to create various entities in the system, and as needed build mathematical formulas to tether those entities together in some meaningful way. This is an important distinction because these entities do not exist at design time.

A client might then create a few entities. a, b, c, n, r and x.
So then, a client might say “I need a to equal [ b + c ]( n * r ) + [ x ]”.

a, b, c, n, r and x all make sense to the client. They have names and values in the context of what the client is viewing. But to the underlying system, they did not exist at design time – so this formula does not exist.

So then, is there any way to take this equation and serialize it in such a way that it can be deserialized and executed against a given list of variables? I am using C#, ASP.NET MVC, RavenDB, and JavaScript.

The equations will be defined by the administrator of the software, and are relative to each individual user. They need to be stored in the database so that they can be executed server side, and also client side.

  • 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-26T09:33:42+00:00Added an answer on May 26, 2026 at 9:33 am

    It sounds like you are looking for a formula parser for mathematical expressions.

    On server side, you can use NCalc, and although you can use JavaScripts eval() function on client side, in order to have an identical interpretation of input strings, you should consider using a webservice called from Javascript (or jquery) that simply parses a client formula on the server.

    BTW, NCalc can even parse customised expressions.

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

Sidebar

Related Questions

Ok, I have asked a few questions about different facets of trying to accomplish
I've asked a few questions which have touched around this issue, but I've been
This is another question related to a question I asked a few minutes ago.
There have been a few questions asked along this line stackoverflow such as What
I know this questions has been asked a few times here. But these seem
I know a few questions have been asked like this one before, such as
I have seen this question asked a few times on SO - but the
I know similar questions have been asked a few times, but I'm struggling to
I've seen a few questions similar to this one, but none of them have
I have a few questions. Yes this is homework and I am just trying

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.