| | |
Why .NET , Why C#.NET over VB.NET, Why ASP.NET over ASP Classic
![]() |
In the World of Technology, life as a Technologist is not easy as someone who had a Degree in Marketing, The Principles of the game never Changes for someone doing Marketing. But when it comes to Technology it’s a nightmare, especially if you in Programming. Well Network Technicians and people doing support might not understand what am talking about, because some Companies will use one OS for 10 years, even 20 Years. But when it comes to Programming, every six months there is something new. That is why I love the Proverb “Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." Programmers are the smartest people I have ever known. They learn the complicated codes and learn the business. I think that is the Reason why some other developers will still use old Languages, In this Blog we are going to try to get rid of saying “If it works don’t Fix it”, well I don’t agree with that. I use to use VB6 , ASP Classic ,C++,Java.In those days there were no IDE’s, we used a Notepad to Write a C++ Program that might return 1000 Errors , Creating GUI was a Pain, Connecting to a DB was a Pain, Remember in times of JDK 1.2 no Drag and drop Creating Controls , creating Pannels , adding the Controls into the Panel and Adding the Panel to the Form, and end having Controls in a Wrong place in your Panel, the GridbagConstraints , the ODBC, the ADO. Those were days that I don’t want to see myself into. Life was difficult in times of ADO because we had to have an Open Connection to the DB for our application to work. As I said in One of my Aricles in DOTNETFUNDA that when Microsoft introduced ADO.NET I asked myself, Did Microsoft Created a technology for Disconnected Recordset ? , I rushed to a Bookstore to get a Book in introdcution to ADO.NET and I found more it was introduction to VB.NET, and I thought to myself , Wow they made a new Version of VB6. That was not True. If you are not in .NET and you think vb6 and vb.net are the Same, you are about to be Shocked. VB6 is dead and it was not a Fully OOP language, Some people called it a Microsoft Toy. It does not mean if you understand VB6 well you can Understand VB.NET. It will be like learning a Language from Scratch, but to people like us who are from the C++ Background we found our way easier. Lets get back to the title of this Blogg
Why .NET , Why C#.NET over VB.NET, Why ASP.NET over ASP Classic.
There are many reasons for this and I personnaly and experimentaly I have good reasons why I choose a certain language. Now lets start with Why .NET, The World of .NET is the Furure for Programmers, it’s a Platform that was not there before. Have you seen a VB6 application that was so called “Well Written” gives you an exception “Object required”. What does that mean ? it says nothing , the Exception handling in VB6 is not Good, The Applications are likely to Crash now and then. In .NET its not Happing.Well you will get those type of Erros by what I mean I that the Error handling in .NET is beatufied with the C++ Syle of Catch and Try. The DLL from Languages like C++,VB6 have to be Registered. If you are running a .NET Application that uses DLL’s designed in any .NET language, you don’t need to Register them, not even if you are building a Web Application. Isnt that nice , So what you need is the Correct Framework for your Application, ok, VS2002 comes with .NET 1.0, 2003 with .NET1.1 ,2005 .NET 2.0,2008 .NET 3.5, that’s the Latest. So if you designed your Application with .NET 1.1,you should install the Corresponding Framework. For those who uses Linux , you can go for mono, but I don’t recommend it, better stay on Windows Environment. Now I might Write a Book with the Disadvantages and Advantages of .NET and non .Net Environment. Why C# over VB.NET,Microsoft made this languages to be equally powerfull and vb.net is no Toy, what C# can do vb.net can do. But there are Minor differences between the two. Different people have different opinions of C# vs VB and both have valid cases why one language is better than the other, personally I use the tool to get the job done and leave ego out of it. But what I know is that in C# I can write a Code that have less Bugs than VB.NET , How is that? Go to VS and choose VB.NET Project , Declare a Variable like this
Compile it and there is nothing wrong with this, memory wise, everything is wrong, you declared a Variable and never use it, it’s the Same as defining a Function and never return any value. VB.NET compiler will not see anything wrong with that. But in C# you will never be allowed to do the Following.
Or
Well in VB.NET this is nice and Good , but in C#, its not allowed, its not a Warning its an Error. You cannot define a Function and never return anything. I once had a VB.NET Application that was giving me an “out of Memory” exception, I looked for problems, I used .NET Ants,I looked at my TaksManager , how the memory grew dramatically when I lauch my application. I asked my self what is the Problem, I knew that so object is being declared and never used , I went to my DAL and BLL classes and looked for the memory leak, but no Luck. Finnaly I looked at my forms. My Parent Form created an Object of all the Child form and never release the memory, and when Garbage Collector comes to to Collect,the memory was not claimed. If I was using C# my Application was never gonna Crush. Well now I have a Valid reason why I use C# over VB.NET. Why ASP.NET over ASP Classic. Am very Sorry to say this. ASP Classic Applications are not Stable, I have never came across one. When you use ASP.NET Espcially 2.0 and 3.5 , you will not see a big Different from a Web And Win Application. Microsoft made it beautifull that it may be easy to Convert your Win Application to a Web App. Well let me leave a Space for Comments and Question
Thanks
Why .NET , Why C#.NET over VB.NET, Why ASP.NET over ASP Classic.
There are many reasons for this and I personnaly and experimentaly I have good reasons why I choose a certain language. Now lets start with Why .NET, The World of .NET is the Furure for Programmers, it’s a Platform that was not there before. Have you seen a VB6 application that was so called “Well Written” gives you an exception “Object required”. What does that mean ? it says nothing , the Exception handling in VB6 is not Good, The Applications are likely to Crash now and then. In .NET its not Happing.Well you will get those type of Erros by what I mean I that the Error handling in .NET is beatufied with the C++ Syle of Catch and Try. The DLL from Languages like C++,VB6 have to be Registered. If you are running a .NET Application that uses DLL’s designed in any .NET language, you don’t need to Register them, not even if you are building a Web Application. Isnt that nice , So what you need is the Correct Framework for your Application, ok, VS2002 comes with .NET 1.0, 2003 with .NET1.1 ,2005 .NET 2.0,2008 .NET 3.5, that’s the Latest. So if you designed your Application with .NET 1.1,you should install the Corresponding Framework. For those who uses Linux , you can go for mono, but I don’t recommend it, better stay on Windows Environment. Now I might Write a Book with the Disadvantages and Advantages of .NET and non .Net Environment. Why C# over VB.NET,Microsoft made this languages to be equally powerfull and vb.net is no Toy, what C# can do vb.net can do. But there are Minor differences between the two. Different people have different opinions of C# vs VB and both have valid cases why one language is better than the other, personally I use the tool to get the job done and leave ego out of it. But what I know is that in C# I can write a Code that have less Bugs than VB.NET , How is that? Go to VS and choose VB.NET Project , Declare a Variable like this
Dim Age as Integer = 26
Compile it and there is nothing wrong with this, memory wise, everything is wrong, you declared a Variable and never use it, it’s the Same as defining a Function and never return any value. VB.NET compiler will not see anything wrong with that. But in C# you will never be allowed to do the Following.
Int Age = 26;
Public int Add(int Num1, int Num2)
{
int Sum = Num1 + Num2;
}Well in VB.NET this is nice and Good , but in C#, its not allowed, its not a Warning its an Error. You cannot define a Function and never return anything. I once had a VB.NET Application that was giving me an “out of Memory” exception, I looked for problems, I used .NET Ants,I looked at my TaksManager , how the memory grew dramatically when I lauch my application. I asked my self what is the Problem, I knew that so object is being declared and never used , I went to my DAL and BLL classes and looked for the memory leak, but no Luck. Finnaly I looked at my forms. My Parent Form created an Object of all the Child form and never release the memory, and when Garbage Collector comes to to Collect,the memory was not claimed. If I was using C# my Application was never gonna Crush. Well now I have a Valid reason why I use C# over VB.NET. Why ASP.NET over ASP Classic. Am very Sorry to say this. ASP Classic Applications are not Stable, I have never came across one. When you use ASP.NET Espcially 2.0 and 3.5 , you will not see a big Different from a Web And Win Application. Microsoft made it beautifull that it may be easy to Convert your Win Application to a Web App. Well let me leave a Space for Comments and Question
Thanks
![]() |
Similar Threads
- Freelance Developer ASP.NET / VB.NET / C# / VB / ASP & Crystal Reports (Web Development Job Offers)
- Senior C#.Net Developer - Oxfordshire - ASP. Net, VB / Net - SQL Server (Web Development Job Offers)
- Senior C#.Net Software Engineer - Oxfordshire - ASP. Net / SQL Server (Web Development Job Offers)
- IIS6 with classic asp and asp.net2 and odp.net (Windows Servers and IIS)
- How to code "tab control' in the web form in ASP.NET / VB.NET ? (ASP.NET)
Other Threads in the Upcoming News Stories Forum
- Previous Thread: AHH My foods alive... no really!
- Next Thread: It's their playground, after all
| Thread Tools | Search this Thread |
Tag cloud for Upcoming News Stories
age amd analytics api apple avatar blog blogging bluegene bluray broadband browser business cellphones chips computers console copyright database dell developer development dos economy email encryption energy enterprise facebook firefox games gaming google government gta hardware ibm ibm.news intel intelibm internet iphone ipod laptop legal leopard linux mac malware medicine memory microsoft mobile news nintendo obama office openoffice opensource os pc politics prompt ps3 recession redhat registry root russia search security semiconductors software sony statistics stockmarket stocks sun supercomputer supercomputing technology technologystocks tiger trends tweaks twitter ubuntu unix verizon virus vista web webmail wii windows wireless working x86 xbox yahoo





