Forum Moderators: open

Message Too Old, No Replies

Is ASP. NET worth learning?

         

tenerifejim

3:32 pm on Jun 23, 2005 (gmt 0)

10+ Year Member



I know asp inside out. I also know Java pretty well. The question is:

Should I bother to learn ASP.NET and c#?

All feedback welcome.

richlowe

3:57 pm on Jun 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes. Our show uses ASP.NET very heavily and it's use is growing.

Richard

MrSpeed

4:20 pm on Jun 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you believe the Microsoft hype the answer is yes. They currently support classic ASP bit it will be phased out. Some say it will take 8 years to phase it out.

Since you know Java and C# it's not a huge leap to C#.
Were you writing any COM components before?

There are some very noticiable speed differences in ASP.net over class ASP. It can render a page almost as fast as a straight .html document and IIS 6 has some pretty cool caching features.

What I still like about classic asp is that I can use just about any editor to write pages. Personally I have found that VisualStudio works best for ASP.net and C#, which can be pricey.

txbakers

6:37 pm on Jun 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is a good debate that was started a month or so ago. I asked for information about "why asp.net" for the average person. (How to explain to Mrs. txbakers that I need to re-write everything to a new language)

After working with it as a beginner (not to the language, just to the web controls and technology) I'm still not convinced it's absolutely needed for what I'm doing, and I'm doing some really intensive web stuff.

ASP.NET in my opinion is a copy/rip-off of JSP. JSP is great for major, major program intensive websites such as travel reservations, etc.

If classic ASP if indeed phased out, I might switch to PhP then. I don't need all the features of .NET, most everything I can do with classic. I don't use web services or XML so I don't need that.

Most of the "regular" features, when compared .NET to ASP are faster coding for me in ASP, and cleaner to deal with.

So, for me, I'm not 100% sold on using .NET. It's way too complicated to do what I want to do.

But, I don't know it well enough to really make an official judgement.

qlipoth

9:01 pm on Jun 23, 2005 (gmt 0)

10+ Year Member



Put simply: Yes.

Every language that you know adds to what you're able to do. There are things that you can do in DotNet easily that are very difficult to do in other platforms (And vice-versa)

So should you learn them? Yes.

Should you rush out and convert everything you have to .Net? Well if you're a workaholic who likes replacing perfectly functional code with newly written code that may be buggy, just to have the newest-bestest thing....

Some logic should apply. We have a big enterprise system in ASP that has never really worked right. (Not my fault, I'm new here) So we're converting. Every situation is differant, but if you don't learn it, you don't have the option.

steve

9:40 am on Jun 24, 2005 (gmt 0)

10+ Year Member



I use ASP, which is reasonably compact and easy to learn, and I can use just about any text editor.

I recently decided to learn .net just for fun, if I end up using it then thats a bonus.

My thoughts so far:

1)The .net framework is huge. There seems to be a class for just about everything you could ever want to do. This makes it a little overwhelming!

2)You need a proper development environment, either the free Webmatrix, or very expensive VisualStudio. A text editor just won't cut it!

3)I'm uncomfortable using visual tools to build code, but hey it's the future!

4)ASP is interpreted line by line as it runs, net is a compiled, so its faster.

5)Net takes 3X more code to do anything, and its 5X more complicated.

IN summary, ASP is free, and easy to pick up, and use. Net is much faster, more powerful and complex, but it can't be learnt in a day!

I haven't converted any of my code yet. For much of what I do Net is overkill, but as I learn more, I keep thinking 'hey thats cool - I could use that'

Eventually I'll make the switch, but for now I've a pile of books to work through!

acac

10:11 am on Jun 24, 2005 (gmt 0)

10+ Year Member



Not worth it. In fact php may be a better choice for a new language for you.

tomasz

5:20 pm on Jun 24, 2005 (gmt 0)

10+ Year Member



Yes it is, start with ASP.Net 2.0, do not waist your time on 1.x
2.0 is completely rewritten and has a lot of new features,

Ocean10000

6:08 pm on Jun 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I know I personally prefer working in asp.net.
I am not going to get in for a tit for tat my language is better, but will bring up some other things that may come into play when deciding if it's worth it to learn.

Reasons I can see for learning it are.
1. In your job market will it help you find work easier with it on your resume.
2. The scale of the applications that are being developed would they benefit from what asp.net has to offer.
3. The applications (server side) you are going to building need to work on Microsoft Platforms.
4. Separation of Display from Logic layers are a requirement.
5. Securing the source code of the website. And distribute a working install without the source code.

Those are the things that come to mind

txbakers

10:47 pm on Jun 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Isn't 2.0 still in beta? When is the real release? And now I have to buy a new Murach book - ugh!

mattglet

1:37 am on Jun 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Without looking it up, I think November is the release date for SQL Server 2005 and .NET 2.0.

Easy_Coder

2:50 am on Jun 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I also know Java pretty well

dude then you're going to hit the ground in full stride with c#; in fact you'll think your coding java. Go for it, you have nothing to lose other then having another language in your bucket o knowledge.

Easy_Coder

2:54 am on Jun 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm not 100% sold on using .NET. It's way too complicated to do what I want to do.

txbakers, I believe that microsoft made it more complicated by design.

incrediBILL

3:33 am on Jun 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I believe that microsoft made it more complicated by design.

Microsoft adds "corporate sludge" to their products on purpose to make them so large and bloated so that anyone that masters one has a some level of job security. Not to mention the fact that the more bloated it gets means bigger and faster CPUs so Intel gets some benefit to boot.

It's not like back in the 80s when any armchair programmer boss with a casual knowledge of MS Basic could be mildly dangerous, the new tools separate the programmers from the wannabe's as you have to know what your classes are and what they do or you're dead in the water.

I suggest to anyone to be casually familiar with anything you can get your hands on, be it Perl, PHP, ASP, ASP.NET, Java, C#, whatever. Programming is programming and all the rest is just trying to figure out where what you need has been shuffled around in the current language paradigm and what they call "print" this week.

txbakers

3:34 pm on Jun 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Programming is programming

I totally agree.

I always tell people that programming is all about the logic involved:

IF it's raining, bring an umbrella.

JSP, C#, VB, etc. are all different syntax platforms to implement logic. Without the logic, it doesn't matter what platform you choose.

pageoneresults

3:41 pm on Jun 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Unfortunately for those of us who have been using classic asp for years, asp.net is a whole new ballgame. At least with classic asp, I, as an html programmer can modify the pages on the fly and make minor revisions to asp code when necessary. Not with asp.net. I have to get my programmer involved anytime changes need to be made to the asp.net part of the page. It's been a real pain in the arse too! I'm not ready to learn asp.net and I sure don't want to have to purchase Visual Studio either (around $800.00).

And, with Microsoft's proprietary tagging practices like using attributes that don't exist in the specification, html validation is next to impossible!

tomasz

1:20 pm on Jun 27, 2005 (gmt 0)

10+ Year Member



I went to Visual Studio 2005 event and I have admit I am very impressed with new product. ASP.Net 2.0 brings new controls and makes my job much easier. Do not have to write so much code any more, They are saying that they reduced code by 60% but I think for me as a developer new features are more important as master pages, themes, personalizations will make your job much much easier.
The target day for launch is November. Also new SQL server looks good too
You can get free beta including SQL 2005 and wefly247 app at [microsoft.com...] for Europe and Asia
USA Canada (will have to pay $6 for shipping)
[msdn.microsoft.com...]

sc18

1:19 pm on Jul 1, 2005 (gmt 0)

10+ Year Member



Hi Introduction to ASP.Net by Dino Esposito ,Microsoft Press is very nice
thank u

docluv

2:19 am on Jul 9, 2005 (gmt 0)

10+ Year Member



Go ahead and go to ASP.NET. I remember when I first put my toes in the water. I had just finished a pretty complicated grid/table routine for a site that took about 2 weeks (and 2000 lines of logic) of debugging to get the logic to work just right for the client.

SO for kicks I had a three day weekend, I thought I would see if I could recreate it in ASP.NET. two days later I had about 100 lines of code and an exact replica that was much easier to manage and inherit for more functionality.

I have been doing nothing but ASP.NET since the summer of 2001 and look at ASP code as real legacy at this point. You can do SO much more and it is much easier to accomplish.

As far as the cost of Visual studio, the ISV program is $375 and you get a Universal subscription to MSDN, how is that expensive.

mattglet

2:21 am on Jul 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ISV requirements aren't for everyone though.

TheNige

2:29 am on Jul 9, 2005 (gmt 0)

10+ Year Member



Write the expense off on your taxes for Visual Studio.

dutch_dude

2:40 am on Jul 15, 2005 (gmt 0)

10+ Year Member



Not to mention the fact that the more bloated it gets means bigger and faster CPUs so Intel gets some benefit to boot.

I wouldn't call asp.net bloated, except for most default webcontrols maybe and notably the braindead "adaptive rendering", which is pure evil. Also viewstate can become enormous. (but i don't use it)

Besides those issues asp.net is a very clean and fast executing platform. It gives a lot of power but it is to be used well.

If I would call a web development platform bloated it is php, with it's unreadable spaghetti code and gazillion functions. Also php makes it very hard to code securely, asp.net gives me confidence in that I can code very secure.

I can recommend to anyone switching from asp to asp.net to do all code in code behind instead of inline. It will take some effort to getting used to it but the benefits are enormous. Also look at custom controls they are great :)

txbakers

3:32 am on Jul 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here's a thought. A lot of people like the obvious benefit to compiled code, and code behind. And custom controls comes up a lot also.

Generally, people have complaints with viewstate, adaptive stuff and default functionality of some of the controls.

It seems to me, please tell me if I'm misunderstanding this, that I can transit from ASP to ASP.NET without relying on many of the control functions (writing my own handling for instance) and continuing to use ASP style state maintenance - Session Variables, Querystrings, POSTed forms, Request objects, etc.

Is that a viable option? To take some of the functions of the .NET platform and use them like classic ASP?

A perfect example would be the calendar control - sounds great on paper but it looks useless in the real world. I would still have to create my own calendars to handle the functions that I want it to do and to have the look I want it to have.

dutch_dude

4:34 pm on Jul 15, 2005 (gmt 0)

10+ Year Member



Is that a viable option? To take some of the functions of the .NET platform and use them like classic ASP?

Yes you could do that.
This might be some interesting information: ASP to ASP.NET Migration Guide [msdn.microsoft.com]

Xoc

6:04 pm on Jul 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A perfect example would be the calendar control - sounds great on paper but it looks useless in the real world. I would still have to create my own calendars to handle the functions that I want it to do and to have the look I want it to have.

The calendar control is customizable in an enormous number of ways. Not only can you set properties for each cell, but there is an event that you get as each cell is being rendered. You can step in and modify each cell as it is being rendered.

What is it that you want out of a calendar that you don't think the calendar control can do?

My point is that there is very little that you'd want to do in a "classic ASP" way with ASP.NET. Usually wanting to do something in a classic ASP way means that you haven't discovered the ASP.NET way of accomplishing the same task.

.NET is huge, so learning all of the functionality is difficult. When I first learned to use the DataGrid, I kept finding that the more I learned of its functionalty, the less code I had to write. When I was done, I had about 1/4th of the number of lines of original code that I had written. I just needed to learn all the things that could be done.

aspdaddy

7:29 pm on Jul 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



.NET does include some built in controls for doing common stuff, but there are many 3rd party controls that are available for ASP and can be integrated very easily.

For example how do .NET list views compare to activewidgets?

Lines of code:1
Response.write(activewidgets_grid("obj", objRS))
#includes:1
Learning curve: about 60 seconds to integrate
Portability: Works on NT4-Win2K3
Features, client side sorting, sizable column headings, mouseover effects etc..