Solved

What is ASP.Net used for?

Posted on 2011-09-04
5
384 Views
Last Modified: 2012-05-12
I know a little bit about PHP and how it's used for things like shopping carts and CMSs, but I have no idea what ASP.Net is about.

I've started reading a book on it and the beginning chapters are about the IDE. My first impression of it is that it allows you to create a quick design but the resulting code is bloated and ugly. Web designers must hate it.

What is ASP.Net used for and is my first impression of it wrong?
0
Comment
Question by:Eindoofus
  • 3
5 Comments
 
LVL 16

Expert Comment

by:disrupt
ID: 36481288
0
 
LVL 7

Accepted Solution

by:
Gewgala earned 500 total points
ID: 36481337
asp.net is more geared towards web applications I'd say, and smaller web applications at that, rather than websites or large commercial enterprise-level applications.  It does come with many powerful tools that can prove to be very useful in that type of scenario.  For bigger scale projects or regular websites, I would say that the .net MVC framework is much better because it is not bloated, does not rely on viewstate, and as a result is very light weight.  In all honesty, I find that the .net MVC framework is very similar to the concept of PHP when you utilize the Razor syntax.  Of course, the big difference still is that things are compiled and strongly typed whereas PHP is not that way.

As far as advantages of asp.net web form development, the below bullet list is an excerpt taken from http://www.asp.net/mvc/tutorials/asp-net-mvc-overview-cs (which actually is an asp.net MVC overview, comparing MVC and traditional ASP.NET.  If I were you I'd read the article in its entirety, because you may find that asp.net MVC is more practical for your needs):

"Advantages of ASP.NET

It supports an event model that preserves state over HTTP, which benefits line-of-business Web application development. The Web Forms-based application provides dozens of events that are supported in hundreds of server controls.
It uses a Page Controller pattern that adds functionality to individual pages. For more information, see Page Controller on the MSDN Web site.
It uses view state or server-based forms, which can make managing state information easier.
It works well for small teams of Web developers and designers who want to take advantage of the large number of components available for rapid application development.
In general, it is less complex for application development, because the components (the Page class, controls, and so on) are tightly integrated and usually require less code than the MVC model.
"
0
 

Author Comment

by:Eindoofus
ID: 36481509
@Gewgala, what language would you say is used for enterprise-level applications?
0
 
LVL 7

Expert Comment

by:Gewgala
ID: 36481533
From my experience, it's C#.  Because it's syntax is C-based, it has the most in common with lots of other languages out there.  As a result, transitions to it are not as difficult as say going from a C-based language over to VB.

All of the enterprise level applications I have ever worked on have been in C#, or translating old VB code to C#.
0
 
LVL 7

Expert Comment

by:Gewgala
ID: 36481549
Hmmm I suppose I jumped the gun a little bit.  Are you meaning in the .net world?  Or any language, like making something like Facebook or something that is outside the .net world like php?

Either way, I personally prefer strongly typed, compiled languages that can give you reliable intellisense and can catch compile-time errors that would otherwise be run-time errors in a scripting language like PHP.  That means for a serious web application, I'd go with .net (asp.net web forms or asp.net MVC depending on the need), and more specifically C# as far as which specific language.

I'm not saying that scripting languages like PHP don't have their place, because they certainly do.  That's just my personal preference.

If you're talking about VB vs. C#, both have their advantages and many people use both.  From my personal experience, C# is the more widely used / widely growing language.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now