VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Basic Concept of Dot Net

by Raghuraja. C (21 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 19th June 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Basic Concept of Dot Net

Rate Basic Concept of Dot Net



----

1.Session Prerequisites

    This session assumes that you understand the fundamentals of
    Distributed Web application development
    ASP
    ADO
    COM
    This is a Level 200 Session

2.What Will Be Covered Today

    The .NET Framework
    Common Language Runtime
    ASP.NET, Web Forms, and Web Services
    ADO.NET
    XML Support

3.Agenda

   Introduction to .NET
   The .NET Framework
   Common Language Runtime
   Building User Interfaces
   Data and ADO.NET
   Summary

4.Introduction to .NET First Generation

   Introduction to .NET

5. First Generation:

    |--------------|
 Browsers <--- Internet --->| Client Logic |<-----> Servers Data, Hosts
                            | Biz Logic    |
                            | OS Services  | 
                            |--------------|

    OS Services: Applications largely operating in a client/server 
                 modal were augmented with web browser and servers. 
                 The industry focused on rich OS and local 
                 services provided by products like SQL Server.

    Internet: Web app developers took advantage of these local 
              services and used HTML to "Project" the UI many 
              types of clients.

    Microsoft provided COM, IIS, IE

6.Second Generation:

      Rich Client Logic --->
     |----------------|
 Browsers <--- Internet ---> | Biz Tier Logic | <---> Servers Data, Hosts
     |      |        |
                             | OS Services    | <---> Stateful
     |----------------| <---> Stateless and Geo-Scalable

  Browsers/Biz Tier Logic: COM+ Services improve reliablity scalability and manageablity. 
                           IE provides D/HTML for better interactivity.

  Combination of "Stateless" Web protocols with DNS and IP routing have enabled 
  mass-scale "Geo-Scalability"

  OS Services: Separation of data and business logic provide greater scalablity while 
               accessing enterprise and legacy data


7. Web Services: The Next Generation

                                  Applications Become
                Programmable Web Services
                            |---------------------------|
                            |                           |
Other Services <--- XML --> |  Biz Logic & Web Services | <-- XML --> Public Web Services
                            |---------------------------|
Smarter Client <--- XML --> |                           | <-- XML --> Building Block Services
                            |        OS Services        | 
Standard Brower<--- XML --> |                           | <-- XML --> Internal Services
                            |                           |
Smarter Devices<--- XML --> |                           | <-- XML --> Servers Data, Hosts
                            |---------------------------|


 Richer, More Productive         Open Internet            Application Leverage Globally-Available
User Experience             Communications Protocols        Federated Web Services
                              (HTTP, SMTP, XML, SOAP)


8. The .NET Platform
                        |----------------------|
Visual Studio.NET <---->| Your Application and | <----> Your Internal Services
        |  Web Services        |
                        |----------------------| <----> .NET Enterprise Servers 
                        |                      |
                        |   Orchestration      | <----> .NET Foundation Services
Application             |----------------------|
Using Your <----------->| .NET       Operations|      
Service                 | Frame Work           | <----> Third Party Web Services
                        |----------------------|
                        |                      |
                        | Windows CE, ME, 2000 |
                        | .NET                 |
                        |----------------------|

                           Internet Protocols     
End-user Clients <---->  SOAP "blue book" HTTP,
                             SMTP, XML

9.Agenda

     Introduction to .NET
     The .NET Framework
     Common Language Runtime
     Building User Interfaces
     Data and ADO.NET
     Summary

10. The .NET FrameworkWhat Is the .NET Framework?

     A set of technologies that
     Unite today’s isolated Web applications
     Make information available anytime, anywhere
     Simplify development and deployment
     How does .NET achieve the above?
     Web Services
     ADO.NET Datasets and XML support throughout the platform 
     Rich tools, runtime services and XCOPY Deployment

11. The .NET FrameworkWeb Services
    
     The center of the .NET architecture
     Technical definition
     “A programmable application component accessible via standard Web protocols”
     Expose functionality from Web Sites
     Almost like component programming over the Web

12. The .NET FrameworkWeb Services

        | <-- XML--> Web Service <--XML-> Web Service
        |
 Cleint | <--HTML--> Web Service <--XML-> Web Service
        | 
        | <-- XML--> Client

13. The .NET FrameworkThe .NET Framework and Visual Studio.NET


  VB    c++     C#     JSCript

       |
VS.NET | Common Language speicfication
       |
VS.NET | ASP.NET: Web Services and Web Fors | Windows Forms
       |
VS.NET | ADO.NET: Data and XML 
       |
VS.NET | Base Class Library
       |
VS.NET | Common Language Runtime
       |

14. The .NET FrameworkCommon Language Runtime

   Simplified Development
   XCOPY Deployment
   Scalability
   Rich Web Clients and Safe Web Hosting
   Potentially Multi-Platform
   Multiple Languages (Cross Inheritance)
   Increases Productivity

15. The .NET Framework.NET Framework Services

   ASP.NET
   Logical evolution of ASP (compiled)
   Web forms
   Manageable code (non spaghetti)
   Windows® forms
   Framework for building rich clients
   ADO.NET, evolution of ADO
   New objects (e.g., DataSets)
   XML Support Throughout

16. Agenda

   Introduction to .NET
   The .NET Framework
   Common Language Runtime
   Building User Interfaces
   Data and ADO.NET
   Summary

17. Common Language RuntimeArchitecture

          FrameWorks
 |--------------------------------------| 
 |  Common Language Runtime             | 
 |                                      |
 |    Base Classes                      |
 |                                      |
 |  IL to Native   Execution   Security |
 |  Complier       Support              |
 |                                      |
 | GC, Stack walk, Code manager         | 
 |                                      |
 |   Class loader and layout            |
 |--------------------------------------|

18. Common Language RuntimeGoals

   Development
   Standard class framework
   Automatic memory management
   Consistent error handling
   Mixed language applications
   Multiple platforms
   Safer execution
   Deployment
   Removal on registration dependency
   Safety – fewer versioning problems
   THE END of ‘DLL Hell’

19. Common Language RuntimeMultiple Language Support

   What about types?
   Common type system (CTS)
   Other languages and compilers
   Common Language Specification (CLS)

20. Common Language Runtime  Compilation

  Soruce Code           
  C++, C#, VB        ---> Compiler            ---> Assembly
 or any .NET Language     csc.exe or vbc.exe       DLL or EXE  
 

21. Common Language Runtime Assemblies

   ParcelTracker.DLL
   Metadata
   IL Managed code
   Resources

22. Common Language Runtime Metadata

   Type Information
   More complete than IDL / TLB
   Automatically bound into assembly
   Inseparable
   Stored in binary format
   Describes every class type
   Used by VS.NET IntelliSense™

23. Common Language Runtime Metadata in an Assembly

Type Description
 
   Classes
   Base Classes
   Implemented Interfaces
   Data members
   Methods

Assembly Description

  Name
  Version
  Culture

    Other assemblies
    Security Permissions
    Exported Types

24. Common Language Runtime Applications

   One or more assemblies
   Assemblies resolution
   Using metadata
   Local (preferred)
   Assembly Global Cache
   Different applications may use different versions of an assembly
   Easier software updates
   Easier software removal

25. Common Language Runtime Execution Model

Source               Managed Code

VB --->Compiler--> Assembly IL Code |
                                    |
C# --->Compiler--> Assembly IL Code |--> Common     --> JIT Complier-->Native Code-->|
                                    |  Language Runtime                              |
C++--->Compiler--> Assembly IL Code |                                                |OS Services
         |                                                                           |  
         |---------------------------------------Un Managed Componet --------------->|  

26. Common Language Runtime DEMO 1:  Using the CLR

27. Agenda

   Introduction to .NET
   The .NET Framework
   Common Language Runtime
   Building User Interfaces
   Data and ADO.NET
   Summary

28. Building User InterfacesWindows Forms

   Framework for Building Rich Clients
   RAD (Rapid Application Development)
   Rich interfaces
   Easily hooked into Web Services
   Rich set of controls
   Data aware
   ActiveX® Support
   Licensing
   Accessibility
   Printing support

29. Building User InterfacesASP.NET

   Logical Evolution of ASP
   Control-based, event-driven execution model
   Improved performance
   Supports multiple languages
   Not limited to VARIANT types
   More productive
   Cleanly encapsulated functionality

30. Building User InterfacesASP.NET Web Forms

   Allows clean cut code (non spaghetti)
   Code-behind Web Forms
   Easier for tools to generate
   Code within is compiled then executed 
   Improved handling of state information
   Support for ASP.NET server controls
   Data validation
   Data bound grids

31. Building User InterfacesWeb Services

   Technical definition – “A programmable application component accessible 
                           via standard Web protocols”
   Built on SOAP
   Expose functionality from Web Sites
   Almost like component programming over the Web
   Functionality exposed using XML/HTML
   Standard Web Services include
   Storage.NET Service
   Calendar
   MSN Passport

32. Building User InterfacesCreating a Web Service

   Creating a Web Service
   ParcelTracker.asmx
   <%@ WebService Language="C#" %>
   using System;
   using System.Web.Services;
   using VBParcelTrackerNS;
   public class ParcelTrackerWebService
   {
    [WebMethod]
    public string GetOrderStatus (int orderNumber)
   {
      //Implementation here!
   }
   }

33. Building User InterfacesCreating a Web Service Client

  Aspx ---> SOAP Proxy Code ---- The Internet -----> Web Service

34. Building User InterfacesDEMO 2:  Web Services

35. Agenda

   Introduction to .NET
   The .NET Framework
   Common Language Runtime
   Building User Interfaces
   Data and ADO.NET
   Summary

36. Data and ADO.NETThe Evolution of ADO

   New objects (e.g., DataSets)
   Great support for XML
   Separates connected / disconnected issues
   Language neutral data access
   Uses same types as CLR

37. Data and ADO.NET 
    ADO.NET Classes

 Data Reader  <---- SQL Server|<--- |                 |          |
 (Forward Only)               |     | Data Set Command| Data Set |----> XML
                              |---->|                 |          |

 DataSetCommand
   |
   |
 DataSet
   |
   |
  XML

38. Data and ADO.NET XML Support

   Rich XML supporting classes
   For reading XML from files
   Writing XML from files
   Navigation
   XSL Transformations
   Datasets

39. Data and ADO.NET System.XML

  System.XML

  XmlTextWriter ----> |     | ----> XmlDocument--> Data Document Reader
                      |<XML>|         |  
  XmlTextReader <---- |     |         |<---------> Document Naviagator

40. Data and ADO.NET DEMO 3:  ADO.NET and XML

41. Agenda

   Introduction to .NET
   The .NET Framework
   Common Language Runtime
   Building User Interfaces
   Data and ADO.NET
   Summary

42. Summary

   This presentation introduced the following
   The .NET Framework
   Common Language Runtime
   Web Forms, Web Services and ASP.NET
   ADO.NET
   XML Support

43. More ResourcesFind It on the Internet

   http://msdn.microsoft.com 
   http://www.microsoft.com/net
   http://msdn.microsoft.com/xml
   msnews.microsoft.com
   microsoft.public.dotnet.general
   microsoft.public.dotnet.xml

46.  Introduction to .NET The Road to .NET

  The Road to .NET

  1996 Internet 1 Gen   1997 Internet 2 Gen

  ---- IE/IIS ----- WIn DNA ----------------> |   2000 Internet 3 Gen
                                              | 
                                              |------ .NET ----->
   1992 Client/Server                         | 
                                              |
  --------Win 32 ---------------------------> |
 

47. Introduction to .NET .NET: Next-Generation Computing

   .NET: Next-Generation Computing
   Smart Devices
   New User Experience
   Web Services
   XML-enabled
   Rich Infrastructure


Download this snippet    Add to My Saved Code

Basic Concept of Dot Net Comments

No comments have been posted about Basic Concept of Dot Net. Why not be the first to post a comment about Basic Concept of Dot Net.

Post your comment

Subject:
Message:
0/1000 characters