Welcome to AspAdvice Sign in | Join | Help

Orcs Goblins and .NET

I enjoy reading and writing. I hope you enjoy at least the former.

From ASP with VB to ASP.NET with C# my initial reactions

    In the not so distant past I used asp with visual basic to write my web applications. It is difficult to admit, but it is something I will have to live with. While the apps I was writing were not usually high-powered applications, and sometimes I had to jury-rig new features onto apps written by others. As was my way, I found a way to solve my problems even if I didn't know the 'correct' solution. I could always find a solution that was within my abilities to create. A lot of what ended up needing to be created in the apps I was writing involved looping through recordsets from a database.

    If anyone is still using ASP, I recommend switching to ASP.NET, but I warn you it will be a large change. I think learning ASP.NET would have been easier had I not known ASP. This difficulty is in large part due to the fact that anyone who knows ASP knows how to make something work in ASP, and having to use a different method becomes more difficult.

    ASP.NET has great benefits for the developer though, because everything has become much easier to work with. Working with controls makes development much faster than easier than ever before. Controls make adding functionality to an application very easy to use. Controls work together to create functionality with but a few lines of code.

    I have found in using ASP.NET that when execution time is of great importance, it is still better to use the old methods of classic ASP, because these new-fangled controls in ASP.NET are sometimes complicated enough that they will slow down execution time. For the most part it is not a bothersome issue, so go ahead and chow down on some delicious ASP.NET controls.

    Yes, you can still response.write to a page, but now you'll want to do this within events. .NET tries to make execution order more logical by using events. Lots of code is going to go in event handlers, which will execute when different events occur, I apologize for the obvious statement..... No, I refuse to backspace over the previous sentence, because you can deal with a little bit of that. It is not like I am rambling right now or anything.

    What I will tell you is that it is worth learning, and it is better to try to approach ASP.NET as a new language if you want to truly appreciate the tools it gives you. Go buy a book on ASP.NET. It will not cost you much and I am fairly certain

    In my next post I will finally write about myself. So for those of you who don't care... Bugger off! The rest of you can check back for my next post.

Sponsor

Published Wednesday, June 21, 2006 9:48 PM by Brendan

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
required 
(required) 
Enter the code you see below