Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: What is asp.net best suited for?
01-04-2011, 03:07 AM #1
- Join Date
- Sep 2009
- Thanked 1 Time in 1 Post
What is asp.net best suited for?
I was wondering where asp.net finds its best use.
C++ is very good for processor-intensive desktop applications
HTML is good for web content
CSS is good for styling the web page
assembler language is good for advanced control structures
So what kinds of applications/environments is asp.net a preferred coding platform compared to other stuff out there?
Last edited by code beginner; 01-04-2011 at 03:11 AM.
01-04-2011, 08:46 PM #2
- Join Date
- Dec 2007
- Thanked 21 Times in 21 Posts
ASP.NET is Microsoft's answer for making web applications.
You mentioned HTML and CSS is good for websites, but many sites these days often use server-side programming, like PHP, ASP.NET, Java Web Application frameworks, etc. These is especially needed uses some sort of persistant data storage like a database.
ASP.NET is not to be confused as a language. It's a framework to allow you to build web applications, a library to help build small to enterprise level sites quickly. You would use any of the Microsoft Dot NET languages to make an ASP.NET site, like C# or VB.NET. There is also support for Ruby and Python as IronRuby and IronPython, so you are not locked into one language, however I would suggest C# if starting to learn ASP.NET now.
Like Java web-based frameworks, ASP.NET is also well suited for making large complex enterprise level web applications. Other languages frameworks of course can work, too, but if there if a large scale website/web application is tied to other components like a desktop application, I'll often see Java or Dot NET used as you can code these other components in the same language.
It's better to think in terms of frameworks, rather than languages as almost all languages can be used to do anything. In the old days, even C/C++ was used for web applications.
ASP.NET, ASP.NET MVC 2, these are some of the available frameworks within the Microsoft Dot NET platform to make web applications.
Java, a language, has many web-based frameworks like Spring MVC, JSF, Struts, etc.
What confuses people is that often they learn PHP first and don't understand the concepts of frameworks. PHP, a scripting language was designed specifically for web development and comes with it's own library of tools used to make web sites. So in a sense, it is a framework and a language, however there have been 3rd party frameworks to build upon PHP, like CakePHP, Zend, Symfony, Yii and many others, to help speed further up development of making web application, reducing the need to code redundant tasks.
And of course there are the languages Ruby and Python, which are great general purpose languages but also have web-based frameworks like Ruby on Rails, Python/Django.
Hope that helps. So in short, use something like one of the above when making a web application, any website that will need some server-side logic/programming.