Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

What is the difference between .net and asp.net? Which role does PHP more closely fill?

If someone was developing a website using asp.net and C#, how would you communicate that idea to a colleague, i.e. what's the language you would use?

share|improve this question

migrated from stackoverflow.com Jun 15 '11 at 1:55

This question came from our site for professional and enthusiast programmers.

3 Answers 3

From the Wiki's,

The .NET Framework (pronounced dot net) is a software framework that runs primarily on Microsoft Windows. It includes a large library and supports several programming languages which allows language interoperability (each language can use code written in other languages). The .NET library is available to all the programming languages that .NET supports. Programs written for the .NET Framework execute in a software environment (as contrasted to hardware environment), known as the Common Language Runtime (CLR), an application virtual machine that provides important services such as security, memory management, and exception handling. The class library and the CLR together constitute the .NET Framework.

.NET is a way for many different programming languages to use the same classes, namespaces and other resources.

From the Wiki's,

ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language.

share|improve this answer
    
Why -1 ? .. Please care to comment .. –  99tm Jun 15 '11 at 1:31
    
While I wasn't the downvoter, your initial post was quite different where you referenced classic ASP where the poster was speaking to ASP.NET. Only thing I can think of. –  Khepri Jun 15 '11 at 1:37
    
That was my fault -- I thought you were done writing at ".NET is a framework........." which (while true) is uh, not exactly a useful answer to the question. I've changed my down vote to an up vote. –  Jeremy Jun 15 '11 at 1:37
    
@Khepri : I see ... Anyway, I updated the answer. –  99tm Jun 15 '11 at 1:38
    
@Jeremy : Ya ... I was writing the answer the full answer, so took time to complete it. Anyway, thanks for your change of vote ;-) –  99tm Jun 15 '11 at 1:39

.net is an entire framework and suite of interoperating languages, capable of doing everything from web applications to console apps, to rich client applications. ASP.net is more particularly a web programming framework, but many of the .net languages and most of the .net library is accessible to asp.net applications.

PHP, I suppose, is more like ASP.net.

If you're looking for suggestions, Asp.net all the way! (But it's all in what your team is comfortable with).

share|improve this answer
    
Asp.net is cool until you discover MVC :) –  The Muffin Man Jun 15 '11 at 17:22
    
@Nick Just for clarity, ASP.NET MVC is built on ASP.NET, as it's name implies... –  Eric King Jun 15 '11 at 21:45
    
@Eric, I'm sure you'll agree that Asp.net usually refers to webforms, not its MVC counterpart. –  The Muffin Man Jun 15 '11 at 23:49
    
@Nick No, I wouldn't say that at all. ASP.NET refers to way more than the view engine. Most of ASP.NET is used by both MVC and Web Forms. I think it's important not to conflate the terms, because you'll just end up confusing people more when they're trying to get their terminology straight. –  Eric King Jun 16 '11 at 4:34

C# IS the language (or VB.Net), ASP.Net is the set of tools that references the .Net framework, allowing developers to create dynamic websites that can run on web servers that support ASP.Net (Usually IIS). Visual Studio is the development environment most commonly used by developers to create ASP.Net websites.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.