C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » General »

Is Dotnet Powerful ?


Posted Date: 04 Mar 2004    Resource Type: Articles    Category: General
Author: Cuckoo John JosephMember Level: Gold    
Rating: 1 out of 5Points: 7



The Power of Dotnet.

How fast is Dotnet ?. This question is being asked or debated about dotnet amongst the techies across the world, and comparison is being made with other technologies including the Java platform.

Well , I am not going to give tabular comparison or results to say that dotnet is 100% faster than any other technologies.Since I had the privilege to work in both the technologies, I am writing this article purely from my experience. I started my career with Java , as Java was the hot technology during my entry in to the software field, and I was in love with the language very much and we had hot debates in the company , between java developers and Microsoft developers.

To .NET, it was a sudden exposure, and the sudden transformation , I liked it. The first and foremost thing is the IDE , the one and only Visual Studio .Net, where in the world you can see
such an IDE which is ease to use and provides tremendous functionalities from creating a web application in C# to creating a web service using VB.NET.

Well, let me come to the topic of discussion, How fast is dotnet . During the initial stages, dotnet had many problems, including performance and crashing of the IDE. Since I was involved in the dotnet technology from its inception (from the Beta stage itself) , I was aware of the transformations the technology has undergone to reach the current level which, I can say is standing above any other Technology.

? Compiled code and ASP.NET.

Compiled code used in ASP.NET is a huge change from the previous version i.e ASP3.0,where server side scripting is used and HTML and logic is embedded and made life miserable for the maintenance developer.

Now we have compiled code for new ASP version which is known as ASP.NET, the .NET version of ASP. But how does that change the performance. Well, compiled code will always be faster than the interpreted code, and it is very well proven in all the technologies. The implementation of ASP.NET is entirely different from that of ASP. Now we have a code and logic in separate physical files ( we still can use the asp methodology, but doing that will not do any good). We have HTML tags which define UI in a separate file with extension .aspx and the server side logic in a separate file (code behind) with extension .vb for VB.NET application and .cs for Csharp application. The code behind i.e the server side logic will be compiled in to a dll with the web application name. For eg if the web application name is MyWebApp, then the DLL will be MyWebApp.dll and will be residing in the bin directory of the web application. So whenever a new request comes form the browser, this DLL will be JIT compiled to the native language, which will enhance the performance. (see next section for JIT compilation).






? MSIL and JIT compilation.

What is MSIL ?. Its an intermediate language , the managed code which the C# or VB.NET compiler generates from the source code and is a CPU independent set of instructions that can be effectively translated to the native code. Well, then who does this Job of translation?. Here comes the JIT compiler who does the task of compiling the managed code to the native format, and it’s a one time activity.

JIT compilation takes in to account the fact that some code might never get called during the execution.So rather than using the time and memory to convert all the MSIL in a portable executable file to native code , it converts the MSIL as needed during the execution and stores the resulting native code, so that its accessible for the subsequent calls. Tat is we find the power of dotnet . The native code once generated will be stored , and the second or later calls to the same subroutine will not trigger the JIT, but it will directly execute the stored native code, there by increasing the performance.

? .NET and Windows Server 2003 (.NET Server).

The power of dotnet applications will reach its heights when, we uses windows 2003 server. So when .NET applications developed in Windows 2000 platform if deployed directly in to windows 2003 server, will gain a 20% hike in performance. This is a proven fact. The reason is that, .NET framework is built in to the Operating system in the case of widows 2003 server.










Responses

Author: Anil Rajan    29 Mar 2005Member Level: Gold   Points : 0
i think J2ee is a good product and Net 1.1 is an intelligent product ,
but .NET 2.0 would definitely score over j2ee because of its very rich array of controls and features.

hope you would provide much more insight into .NET 2.0 features


Author: Udaya Ramu Peethani    29 Aug 2005Member Level: Silver   Points : 0
What are the other silent features of .net?. Is performance better than j2ee?.
hope you would provide much more ?


Author: M.S.Syed Abuthakir    06 Mar 2007Member Level: Bronze   Points : 0
can u tell me about catalog concept in sqlserver and

u article is very nice

bye


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: ADO.NET
Previous Resource: When was .NET announced?
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use