1

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?

0

3 Answers 3

9

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.

5
  • Why -1 ? .. Please care to comment .. Jun 15, 2011 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, 2011 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, 2011 at 1:37
  • @Khepri : I see ... Anyway, I updated the answer. Jun 15, 2011 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 ;-) Jun 15, 2011 at 1:39
1

.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).

4
  • Asp.net is cool until you discover MVC :) Jun 15, 2011 at 17:22
  • @Nick Just for clarity, ASP.NET MVC is built on ASP.NET, as it's name implies...
    – Eric King
    Jun 15, 2011 at 21:45
  • @Eric, I'm sure you'll agree that Asp.net usually refers to webforms, not its MVC counterpart. Jun 15, 2011 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, 2011 at 4:34
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.