.Net Framework 2.0

download .Net Framework 2.0

of 15

Transcript of .Net Framework 2.0

  • 7/29/2019 .Net Framework 2.0

    1/15

  • 7/29/2019 .Net Framework 2.0

    2/15

    CONTENTS.NET FRAMEWORK

    CLRCLASS LIBRARY

    DIFFERENCE OF .NET FRAMEWORK 1.1 &

    2.0

    FEATURES OF .NET FRAMEWORK 2.0

    .NET FRAMEWORK REMOTING

    GLOBALIZATION

    MANIFEST-BASED ACTIVATION

    NEW WINDOW-BASED FORMCONTROL

    CONCLUSION

  • 7/29/2019 .Net Framework 2.0

    3/15

    .Net Framework

    .Net framework is a code execution platformthe

    environment which .Net programs run.

    .Net is a platform that provides a standardized set

    of services. Its just like windows, except

    distributed over the internet. It exports a commoninterface so that its programs can be run on any

    system that support .NET. A specific software

    framework includes a common runtime.

    .Net framework mainly two components.

    CLR

    Classlibrary

  • 7/29/2019 .Net Framework 2.0

    4/15

    CLR

    Common language runtime is that when ever you can

    create any application that application will build that

    time .Net source code will be converted into MSIL code

    that code will converted into machine language by using

    JIT compliers.

    The following are the components of CLR

    Class loaderCompiler(jit)

    Garbage collector

    Security engine

    Code manager

    Type checker

    Thread supportException manager

    Debug engine

    COM support the above functionalities achieved by

    all these components .Each component is responsible

    for specific functionality.

  • 7/29/2019 .Net Framework 2.0

    5/15

    Class library

    The .NET framework includes a set of standard class

    libraries. The class library is organized in a hierarchyof namespaces. Most of the built in application are part

    of either system.* Or microsoft.* Namespaces. These

    class libraries implement a large number of common

    functions, such as file reading and writing, graphic

    rendering, database interaction, and XML documentmanipulation, among others. The .NET class libraries are

    available to all .NET languages.

    The .Net framework class library is divided into two

    parts

    Base class library

    Framework class library

  • 7/29/2019 .Net Framework 2.0

    6/15

    Difference

    asp. Net 2.0 has added a number of special directories where 1.1

    had only the one required bin directory.

    Compilation model with 1.1, all code was compiled into one

    assembly placed in the bin directory. With 2.0, the assembly is

    separated into multiple assemblies. These multiple assemblies may be

    created on-the-fly or precompiled.

    The new generation of 64-bit computers enables the creation of

    applications that can run faster and take advantage of more memory

    than is available to 32-bit applications.

    This feature provides new support for loading and activatingapplications through the use of a manifest.

    The Microsoft. Net framework 2.0 includes significant enhancements

    to all areas of ASP. Net. For web page development, new controls

    make it easier to add commonly used functionality to dynamic webpages.

  • 7/29/2019 .Net Framework 2.0

    7/15

    Features

    .Net framework remoting

    You can use .Net remoting to enable

    communication between different application

    regardless of whether they reside on same

    computer or different computers. In addition,these computers can run on different operating

    systems and still communicate with each other

    using .Net remoting.

  • 7/29/2019 .Net Framework 2.0

    8/15

    .Net framework remoting

    .Net framework remoting now supports ipv6 addresses

    and the exchange of generic types.

    Obtaining information about local computer network

    configuration and usage

    Using classes in the system. Net. Network information

    namespace, applications can access IP, ipv4, ipv6, TCP,

    and UDP network traffic statistics.

    Ping

    The ping class allows an application to determine

    whether a remote computer is accessible over the

    network.Processing http requests from within applications

    You can use the http listener class to create a simple

    web server that responds to http requests.

  • 7/29/2019 .Net Framework 2.0

    9/15

    Globalization

    Globalization is the process of creating an

    application that meets the needs of users frommultiple cultures. This process involves more

    than just translating the user interface

    elements of an application into multiple

    languages and also includes using the correctcurrency, date and time format , calendar,

    writing direction sorting rules ,and other

    issues.

  • 7/29/2019 .Net Framework 2.0

    10/15

    Manifest-Based Activation

    This feature provides new support for loading and

    activating applications through the use of a manifest.

    Manifest-based activation is essential for

    supporting click once applications.

    Applications are activated through a reference

    to an assembly that contains the application's entrypoint.

    For example, clicking an application's .Exe file

    from within the windows shell causes the shell to load

    the common language runtime (clr) and call a well-known entry point within that .Exe file's assembly.

    The assembly manifest contains assembly

    metadata. Assembly manifest can be stored in either a

    PE file(.Exe or .Dll file).

  • 7/29/2019 .Net Framework 2.0

    11/15

    New Window-Based Form Control

    The datagridview control provides a powerful and flexible way to

    display data in a tabular format.

    Toolstrip controls are toolbars that can host menus, controls, and

    user controls in your windows forms applications. The toolstrip class

    and its associated classes enable you to create toolbars and other

    user interface elements in a style that is consistent with microsoft

    windows XP, microsoft office, and microsoft internet explorer.

    The maskedtextbox control uses a mask definition to distinguish

    between valid and invalid user input.

    The windows forms soundplayer class enables you to easily includesounds in your applications. The soundplayer class can play sound

    files in the .Wav format, either from a resource or from universal

    naming conventions (UNC) or HTTP locations. Additionally, the

    soundplayer class enables you to load or play sounds asynchronously.

  • 7/29/2019 .Net Framework 2.0

    12/15

    The windows forms splitcontainer control can be thought of as a

    composite; it is two panels separated by a movable bar. When the

    mouse pointer hovers over the bar, the cursor changes to show that

    the bar is movable.

    The listview control now supports three features provided by

    windows xp and the windows server 2003 family: tile view, grouping,

    and drag-and-drop item repositioning.

    The listview, treeview, and tooltip controls now support ownerdrawing functionality similar to the owner drawing support for the

    combobox, listbox, menuitem, and tabcontrol controls in the previous

    release.

    The webbrowser control lets you host web pages in your windows

    forms applications. You can use the webbrowser control to provide

    integrated html-based help or internet web browsing capabilities in

    your application.

  • 7/29/2019 .Net Framework 2.0

    13/15

    The flowlayoutpanel control arranges its

    contents in a horizontal or vertical flow direction.

    The tablelayoutpanel control arranges its

    contents in a grid. Because the layout is

    performed both at design time and run time, it can

    change dynamically as the applicationenvironment changes.

    The backgroundworker component

    enables you to perform operations in thebackground that can take a long time to execute,

    such as image downloads and database

    transactions.

  • 7/29/2019 .Net Framework 2.0

    14/15

    Conclusion

    The .Net framework is nothing but you

    can build a dynamic applications,

    With this I am concluding my topic here. I

    think I was able to give you an insight to

    almost all main areas in .NET framework 2.0.

  • 7/29/2019 .Net Framework 2.0

    15/15

    For more detail log on to:http://www.vtc.com/www2/products/microsoft_

    dot_net_framework_2_tutorials.htm

    http://www.vtc.com/www2/products/microsoft_dot_net_framework_2_tutorials.htmhttp://www.vtc.com/www2/products/microsoft_dot_net_framework_2_tutorials.htmhttp://www.vtc.com/www2/products/microsoft_dot_net_framework_2_tutorials.htmhttp://www.vtc.com/www2/products/microsoft_dot_net_framework_2_tutorials.htm