Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic .NET (http://www.programmingforums.org/forum19.html)
-   -   Vb.net C# Asp.net (http://www.programmingforums.org/showthread.php?t=14951)

Swan Jan 16th, 2008 3:15 AM

Vb.net C# Asp.net
 
Till next month , i was of the opinion that ASP.NET and C# are two langauges.
But i was confused when one of my friends said, he was doing ASP.NET in C# . What does that mean ?

Ghost Jan 16th, 2008 4:48 AM

Re: Vb.net C# Asp.net
 
ASP.NET http://en.wikipedia.org/wiki/ASP.NET

VB.Net and C# can be used to program ASP.NET

Ooble Jan 16th, 2008 5:16 AM

Re: Vb.net C# Asp.net
 
That Wikipedia entry, as pointed out in its own discussion page, is written like an ad.

ASP.NET, at the most basic level, is a framework that allows you to implement .NET languages in a web page. Any .NET language can be used, including C# and VB (I think we've dropped the .NET suffix from VB .NET now).

Swan Jan 16th, 2008 8:49 AM

Re: Vb.net C# Asp.net
 
What is the significance of so called ASP.NET framework ??
Any programming language can be used to create a webpage ( at server side). Like C, C++ etc to o can be used. They don't need any framework...?

Ghost Jan 16th, 2008 2:20 PM

Re: Vb.net C# Asp.net
 
ASP is basically something that allows you to use VB and C# as scripts (not compiled code) to create web pages. It is Microsofts version of PHP.

Ooble Jan 16th, 2008 3:59 PM

Re: Vb.net C# Asp.net
 
The code is compiled, Ghost.

The benefit of the framework is the same as any web framework: it provides abstraction and a format for representing client-side and server-side code in a manageable bundle. Ruby on Rails works in much the same way.

Ghost Jan 16th, 2008 6:59 PM

Re: Vb.net C# Asp.net
 
My mistake, it is compiled. I was just unsure if he was reffering to ASP.NET or ASP where you program in VB or C#.

Jimbo Jan 16th, 2008 10:19 PM

Re: Vb.net C# Asp.net
 
Quote:

Originally Posted by Swan (Post 139718)
What is the significance of so called ASP.NET framework ??
Any programming language can be used to create a webpage ( at server side). Like C, C++ etc to o can be used. They don't need any framework...?

ASP.NET provides a framework to generate the elements on the page and to interact with them in what we call "code behind", or server side code. The idea is to keep the web site code relatively simple (e.g. HTML-ish) while allowing you to use the .NET framework for your actual work. It also tries to enforce separation between the logic and the presentation.


All times are GMT -5. The time now is 9:14 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC