Introduction
This ASP.NET code shows how to solve a mathematical expression entered on the page at run time. This small sample demonstrates a method that allows online creation of ASPX web pages. This type of code allows user input that can utilize full coding power - for example entering a formula to be calculated on run time. This code can be changed in order to run complex mathematical calculations like Newton Rafson (Solving equations) , Rashmor (Integration) algorithms etc.
Background
Most of the complied programming tools do not allow input of non-string / number inputs. However in many cases especially engineering and mathematical tasks this is required. The fact that new ASPX pages are compiled at run time allow us to use any code object as input.
Using the code
Put the files in any folder and open as a web page the Calc.aspx page. The Folder must have Read/Write permission for the ASP.NET user.
Points of Interest
The main idea behind this code is that one can create code by using code:
ObjWr.WriteLine("Response.Write(" & TextBox1.text & ")")
On every run the code creates a new random page. I did not delete those pages so you can take a look at them. In a real life application those pages should be deleted when the session ends.
History
This is an initial version that demonstrates CJA process. In the future I will add more complex mathematical algorithms that exploit this remarkable capability of ASP.NET.
My Name is Luz Erez. Most of the projects I run are complex business and technologies high volume initiatives. I develop and deploy backbone systems in a variety of locations and industries.
I have been a member in 2 ANSI committees:
·IXRetail – defines a standard for internal back office devices using XML
·T20 - defines a single air interface standard with multiple sub-components for Real time Location Systems (RTLS) for use in asset management.
Main expertise: Complex business analysis and development (Finance, Retail, logistics) and Industrial computing.
Technologies: Win 32 / COM / .NET, Large Database and DWH, Web application, CAD, GIS, RF technologies.