• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How on earth does this ASP stuff work???

Ns1

No Lifer
Please move if this is wrong forum

This technology baffles me. I had some aspx files, uploaded onto my webhost, and without any further work on my part that stuff worked right out of the box?!!?

So how do you actually code in ASP? I mean looking at sample ASP pages it just looks like HTML on crack (ie can be created in notepad), save as aspx file and then upload it to webhost?


And yes, I've already read the wiki
 
If you really want to learn more, here.

Overall though, all of these technologies work fundamentally the same way. This hasn't changed since the days of CGI, though the internals of how requests are processed are obviously very different:

HTTP GET/POST->Web Server maps the request to a processor->Processor does something with the request->Processor writes back a response

In the context of ASP.NET, it's something like this (assuming IIS):

HTTP GET/POST->IIS->Maps aspx to the appropriate .NET runtime based on the settings in IIS->compiles the ASPX if necessary->Executes the IL that resulted from the previous step->A response can be written.

That's a great simplification, but again, the fundamentals are all very simple. .NET itself is relatively complicated, with a lot of extensibility built into every aspect of processing an ASP.NET application.
 
ASP???? dude, you are like 1 decade behind...It's just visual basic running on the server before the output gets assembled by IIS as html...
 
Its pretty simple actually - the server reads those ASP tags (the html on crack as you put it), interprets it as code, and using that generates a plain ol' HTML/javascript page that your browser can read.
 
Originally posted by: sdifox
ASP???? dude, you are like 1 decade behind...It's just visual basic running on the server before the output gets assembled by IIS as html...

hey man, I'm just an accountant with an interest in computers, geez =P
 
Originally posted by: sdifox
ASP???? dude, you are like 1 decade behind...It's just visual basic running on the server before the output gets assembled by IIS as html...

ASP != Visual Basic. ASP == technology umbrella that utilizes a few scripting engines to process the tags. VBScript, JScript and a few others that hosted the scripting engine.

Also, he said aspx, so this is ASP.NET not ASP.
 
Originally posted by: Descartes
Originally posted by: sdifox
ASP???? dude, you are like 1 decade behind...It's just visual basic running on the server before the output gets assembled by IIS as html...

ASP != Visual Basic. ASP == technology umbrella that utilizes a few scripting engines to process the tags. VBScript, JScript and a few others that hosted the scripting engine.

Also, he said aspx, so this is ASP.NET not ASP.

my explanation is probably clearer than yours to an accountant 🙂 I was just razzing him for using asp as opposed to asp.net.
 
Originally posted by: Descartes
Originally posted by: sdifox
ASP???? dude, you are like 1 decade behind...It's just visual basic running on the server before the output gets assembled by IIS as html...

ASP != Visual Basic. ASP == technology umbrella that utilizes a few scripting engines to process the tags. VBScript, JScript and a few others that hosted the scripting engine.

Also, he said aspx, so this is ASP.NET not ASP.

....and commonly, the code behind for asp.net is visual basic, so what are you arguing again?
 
Originally posted by: Ns1
Originally posted by: sdifox
ASP???? dude, you are like 1 decade behind...It's just visual basic running on the server before the output gets assembled by IIS as html...

hey man, I'm just an accountant with an interest in computers, geez =P

lol, I am not sure I want beancounters to code... they'll spend all their time doing Return on Investment analysis as opposed to just doing it 🙂

<== married to an accountant.
 
ASP will process server side script and converts it to HTML before sending it to client. In the same way ASP.net depends on .NET framework runtime that is again converted to html. Browsers cannot read server side script as it very dangerous but a solution to this problem is JavaScript and Asynchronous data transfers (AJAX) which is popular these days. Ajax means Async JavaScript and XML that allows us to execute server side script without refreshing the entire page.
 
Originally posted by: Deeko
Originally posted by: Descartes
Originally posted by: sdifox
ASP???? dude, you are like 1 decade behind...It's just visual basic running on the server before the output gets assembled by IIS as html...

ASP != Visual Basic. ASP == technology umbrella that utilizes a few scripting engines to process the tags. VBScript, JScript and a few others that hosted the scripting engine.

Also, he said aspx, so this is ASP.NET not ASP.

....and commonly, the code behind for asp.net is visual basic, so what are you arguing again?

It wasn't an argument.

And you're completely wrong.

[edit]Saw you said "commonly", so you're not completely wrong, but details matter.[/edit]
 
Originally posted by: Descartes
Originally posted by: Deeko
Originally posted by: Descartes
Originally posted by: sdifox
ASP???? dude, you are like 1 decade behind...It's just visual basic running on the server before the output gets assembled by IIS as html...

ASP != Visual Basic. ASP == technology umbrella that utilizes a few scripting engines to process the tags. VBScript, JScript and a few others that hosted the scripting engine.

Also, he said aspx, so this is ASP.NET not ASP.

....and commonly, the code behind for asp.net is visual basic, so what are you arguing again?

It wasn't an argument.

And you're completely wrong.

[edit]Saw you said "commonly", so you're not completely wrong, but details matter.[/edit]

Yes, you can also do it in C# (which I certainly prefer), J#, and even C++, however, VB is common enough - I didn't say mostly.
 
Back
Top