Site Meter Asp.Net-Csharp,Asp,Ado.Net,Ado,Micosoft,Visualstudio,Visual webgui: Difference between DotNet 1.0,2.0,3.0,4.0

Monday, October 12, 2009

Difference between DotNet 1.0,2.0,3.0,4.0

DotNet 1.0 = Managed code.
DotNet 2.0 = Generics,ADO.NET.
DotNet 3.0 = Linq(Language Integarated Query),Partial Methods, VAR Keyword.
DotNet 3.5 = WPF,WCF,ASP.NET AJAX.
DotNet 4.0 = Dyanamic Programming.

DotNet 1.0 Understand It:

.Net managed code enjoy's benefits of CLR, which automatically checks for object scope and if it is not referenced by any object than it is removed from memory.

What is the difference between managed and unmanaged code?

Program written in any .net compatible language will go for
compilation for 2times.
In the first compilation of the program, the language
compiler will generate MSIL code which is the managed code. &

the code generated after the second execution ie by the CLR
is called unmanaged code which is machine understandable and
not by the user.

What is MSIL code ?

When the code is compiled, the compiler translates your code
into Microsoft intermediate language (MSIL). The common
language runtime includes a JIT compiler for converting this
MSIL then to native code.
MSIL contains metadata that is the key to cross language
interoperability. Since this metadata is standardized across
all .NET languages, a program written in one language can
understand the metadata and execute code, written in a
different language. MSIL includes instructions for loading,
storing, initializing, and calling methods on objects, as
well as instructions for arithmetic and logical operations,
control flow, direct memory access, exception handling, and
other operations.

DotNet 2.0: Generics,ASP.NET-AJAX.

DotNet 3.0: Understand It:

1.1-->Partial Methods(Refer:http://jalpesh.blogspot.com/2009/07/permanent-redirection-in-aspnet-40.html)

1.2-->LINQ stands for Language-Integrated Query. This means we can use any relational or XML-specific features to our programming languages and runtime. It is a general approach query and provide facilities to the .NET Framework to access any kind of sources of information, not just relational or XML data. It's a Language-Integrated Query to indicate that query is an integrated feature of the developer's primary programming languages (for example, Visual C#, Visual Basic). Language-integrated query allows query expressions to benefit from the rich metadata, compile-time syntax checking, static typing and IntelliSense that was previously available only to imperative code.

The format of the query is more or less simillar to that of SQL. The Select, From, Where clauses are also used here with the same meaning but in different style/location/position. Here is an example of a LINQ program.

using System;
using System.Linq;

class sample
{
static void Main()
{
int[] arrMarks = {78, 90, 56, 45, 89, 23, 67, 93};

IEnumerable Distinction = from m in arrMarks
where m > 70
orderby m
select m;

foreach (int distMark in Distinction)
MessageBox.Show(distMark.ToString());
}
}

DotNet 3.5 Understand It:

WPF = Windows Presentation Foundation.

WPF is the latest in desktop app development in .Net. It features markup based layout much like asp.net. The markup language is XAML. It provides a new way to develop desktop applications keeping UI and logic separate.

WCF = Window Communication Services

WCF is used to communicate between different applications with stuff like services. It is much like web services, but is much more robust and configuration enabled. WCF web services can be configured to act like asmx webservices, or use json or something else. Anything that represents a service can benefit from WCF, such as web services, windows services etc.

DotNet 4.0: Dyanamic Progamming

1.Named and Optional Parameters.(Refer:::http://jalpesh.blogspot.com/search/label/C%23.NET)
2.Integarated COM interop.
3.Co and Contra Variance(Used in interface and delegates).
4.Dyanamic Typed Objects.
5. Response.PermanentRedirect,Page.Keywords and Page.Description Properties for SEO
Refer(http://jalpesh.blogspot.com/2009/07/pagemetadescription-and.html)

Example For Dyanamic Keyword:
http://jalpesh.blogspot.com/2009/11/c-40-dynamic-data-type-difference.html

12 comments:

  1. Awesome article.

    Feel free to visit my page :: post gallbladder surgery

    ReplyDelete
  2. Howdy! Would you mind if I share your blog with my myspace group?
    There's a lot of folks that I think would really appreciate your content. Please let me know. Many thanks

    Here is my web-site ... chiropractic adjustments side effects

    ReplyDelete
  3. Hello this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML.
    I'm starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience. Any help would be greatly appreciated!

    Take a look at my web-site; las vegas golf lessons

    ReplyDelete
  4. Hello, i feel that i noticed you visited my website thus i came to go back the want?

    .I'm trying to find issues to improve my web site!I guess its adequate to make use of some of your ideas!!

    Feel free to surf to my website - restaurant redemption

    ReplyDelete
  5. This text is priceless. Where can I find out more?

    Visit my web page - lumbar lordosis

    ReplyDelete
  6. My brother suggested I might like this website. He was totally right.
    This post actually made my day. You cann't imagine just how much time I had spent for this info! Thanks!

    Also visit my site Http://www.23hq.com/materialisticva67/story/10218304

    ReplyDelete
  7. Hi there, this weekend is pleasant for me, since this moment
    i am reading this fantastic informative article here at my house.


    Here is my page - lower left back pain in women kidney

    ReplyDelete
  8. Thanks , I have just been looking for information about this topic for ages and yours is the greatest I have discovered till now.
    But, what in regards to the conclusion? Are you certain about the
    source?

    Also visit my web page Seafood

    ReplyDelete
  9. Thanks for finally talking about > "Difference between DotNet 1.0,2.0,3.0,4.0" < Liked it!

    Here is my page: St Cloud Florist

    ReplyDelete
  10. We absolutely love your blog and find the majority of your post's to be precisely what I'm looking for.
    Does one offer guest writers to write content available for you?
    I wouldn't mind creating a post or elaborating on a lot of the subjects you write regarding
    here. Again, awesome site!

    Also visit my web page - few weight loss

    ReplyDelete
  11. Its like you read my mind! You appear to know a lot about this, like you wrote the book in it
    or something. I think that you can do with a few pics to drive the message home a little bit, but other than that,
    this is excellent blog. A fantastic read. I will certainly be back.


    Here is my web page team.marketkits.com ()

    ReplyDelete
  12. replica bags vancouver check my source b4v13d9d57 replica bags south africa replica bags india hermes replica b0k71m3l56 replica radley bags replica bags philippines wholesale find out e8d08n7q08 replica bags in pakistan

    ReplyDelete