Skip to main content

Acumatica Build Process

  • August 24, 2025
  • 5 replies
  • 98 views

JSpikowski
Jr Varsity II
Forum|alt.badge.img

For those new to ASP.NET, (like me) this is a good explanation of the process and hopefully demystifies the delays.

 

Here is the step-by-step process:

1. The compilation of C# code into a DLL

An ASP.NET project's C# code, including the "code-behind" files (e.g., MyPage.aspx.cs), is compiled into a Dynamic-Link Library (.dll). This compilation typically happens during development or deployment in a "Web Application Project" model. 

  • The C# code contains the application's core logic, event handlers for page elements, and methods for interacting with data.
  • This .dll file is placed in the bin directory of the web application. 

2. The user's browser requests an .aspx page

When a user requests an .aspx page, such as http://www.example.com/MyPage.aspx, the web server's ASP.NET runtime intercepts the request. 

 

3. The ASP.NET runtime compiles the .aspx page

The ASP.NET runtime is a key component of this process. If it's the first time the page has been requested since the application was deployed or changed, the runtime performs the following steps:

  • It reads the .aspx file, which contains both static HTML markup and server-side elements like <asp:Label> or <% %> tags.
  • It dynamically generates a C# class that represents the entire page. This class is a "partial class" and is combined with the C# code from the .aspx.cs file.
  • This dynamically generated C# class, along with the code-behind class from the compiled .dll, is then compiled by the runtime into another temporary assembly (DLL).
  • This newly created .dll is stored in a temporary ASP.NET files folder on the server and is used for all subsequent requests to that page until the .aspx file is modified. 

4. The Page class and rendering

The generated .dll contains a class that inherits from the System.Web.UI.Page class. The ASP.NET framework creates an instance of this Page class and runs it through the page lifecycle. 

  • During this lifecycle, the Page object's properties and methods (which are defined in both the .aspx markup and the .aspx.cs code-behind) are executed.
  • The server-side code from your .dll is called to perform actions like populating data into controls or handling button clicks. 

5. HTML is rendered and sent to the client

Finally, as part of the page lifecycle, the Page class renders its output.

  • All server-side controls are processed and converted into standard HTML markup, JavaScript, and CSS.
  • This final, rendered HTML output is then sent back to the user's browser.
  • From the browser's perspective, it receives only standard HTML, not the original .aspx code or the C# source. This is why you lose all dynamic elements if you simply save the page source, because you are only saving the static output. 

 

5 replies

JSpikowski
Jr Varsity II
Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • August 24, 2025

A production version of Acumatica should be rendered code with aspx callbacks. The current version of Acumatica should be called the Acumatica Development Studio.


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • August 24, 2025

@JSpikowski while this is mostly correct in regards to standard ASP.NET, I think it’s somewhat misleading in regards to Acumatica specifically. 

Also, it does look like AI generated content. If it is the case, please mark it as such, since it’s a requirement on this forum.

See here: 

 


JSpikowski
Jr Varsity II
Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • August 24, 2025

What is misleading is Acumatica hides the final rendering progress. Most didn't know Bootstrap is the presentation layer.

Acumatica Developers are basically C# ASP.NET programmers with minimal HTML coding skills.

My exposure to ASP was with VB classic. I'm not a fan of IIS.

 

 


JSpikowski
Jr Varsity II
Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • August 25, 2025

The following is Google AI generated content and should only be used as a reference. The surprise for me was VBScript isn't in Windows 11.

Classic ASP (Active Server Pages) is a server-side scripting environment developed by Microsoft for creating dynamic web pages. It was first released in 1996 as part of Internet Information Services (IIS). 

Key characteristics of Classic ASP:

  • Server-side scripting: 

    Classic ASP code executes on the web server before the page is sent to the client's browser. This allows for dynamic content generation, database interaction, and other server-side operations.

  • VBScript as the primary language: 

    While JScript (Microsoft's version of JavaScript) could also be used, VBScript was the most commonly used scripting language within Classic ASP.

  • Embedding code in HTML: 

    Developers embed server-side scripts directly within HTML pages using special delimiters (<% and %>).

  • Reliance on IIS: 

    Classic ASP applications require Internet Information Services (IIS) to run, as it provides the necessary environment for processing ASP pages.

  • Use of COM objects: 

    Classic ASP applications often interact with COM (Component Object Model) objects to perform various tasks, such as database access (e.g., using ADO - ActiveX Data Objects).

Context of "VB Classic" in relation to Classic ASP:

"VB Classic" refers to Visual Basic 6.0, a programming language and integrated development environment (IDE) that predates the .NET framework. While not directly synonymous with Classic ASP, Visual Basic 6.0 is relevant because:

  • VBScript's origin: 

    VBScript, the primary scripting language for Classic ASP, is a subset of Visual Basic for Applications (VBA), which itself is closely related to Visual Basic 6.0. This means developers familiar with VB 6.0 found it relatively easy to learn and work with VBScript in Classic ASP.

  • COM component development: 

    Developers could use Visual Basic 6.0 to create COM components (DLLs) that could then be leveraged by Classic ASP applications to encapsulate business logic or interact with external systems.

Current status:

While Classic ASP is still supported on modern Windows Server versions (including Windows Server 2025 as an optional feature), it is considered a legacy technology. Microsoft has officially deprecated VBScript for Windows 11 and Windows Server 2025, signaling a move away from its use. Modern web development typically utilizes newer technologies like ASP.NET, Node.js, Python frameworks, or PHP.


JSpikowski
Jr Varsity II
Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • August 25, 2025

Is anyone running Acumatica local on their Windows 11 laptop?

I'm currently refusing to upgrade my Windows 10 Pro. I still do VB6 + VBCCR COM form DLLs.