Thread: Web use?
View Single Post
Old Mar 26th, 2008, 8:21 PM   #3
Jimbo
Expert Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 706
Rep Power: 3 Jimbo is on a distinguished road
Re: Web use?

Quote:
Originally Posted by big_k105 View Post
VB.NET can be used as the code behind language of the ASP.NET web application.
What he said.

A little more detail: ASP.NET 2.0 and newer splits the pages into two parts, markup and code-behind (ASP.NET 1.x had them in the same file so the following still applies). The markup is just basically HTML with a bunch of ASP tags thrown in that get interpreted server-side. The code-behind is C# or VB code to actually do the server side logic (think of how PHP is server-code embedded in an HTML document, except with ASP it's preferred to keep the code in a separate file). With recent versions of .NET, you can also use IronPython and IronRuby for the code-behind.

Silverlight and WPF are similar to this. The UI is actually defined in a XAML document (basically another XML file) and the actual code for each control is in a code-behind page. (other than that, they're not really the same at all, but I thought I'd throw in the repeated use of the code-separation pattern.)
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote