1. .Net Framework Joel Pereira (joelcdp@microsoft.com) Software Design Engineer WinFS API Team Microsoft Corporation
2.
3. Unify Programming Models Windows API .NET Framework Consistent API availability regardless of language and programming model ASP Stateless, Code embedded in HTML pages MFC/ATL Subclassing, Power, Expressiveness VB Forms RAD, Composition, Delegation
4.
5. How Much Simpler? HWND hwndMain = CreateWindowEx( 0, "MainWClass", "Main Window", WS_OVERLAPPEDWINDOW | WS_HSCROLL | WS_VSCROLL, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, (HWND)NULL, (HMENU)NULL, hInstance, NULL); ShowWindow(hwndMain, SW_SHOWDEFAULT); UpdateWindow(hwndMain); Form form = new Form(); form.Text = "Main Window"; form.Show(); Windows API .NET Framework
6.
7.
8.
9. Architectural Overview Common Language Runtime Framework Class loader and layout GC, stack walk, code manager Base Classes IL to native code compilers Security Execution Support
10. Compilation And Execution Source Code Compilation At installation or the first time each method is called Code (IL) Metadata Assembly Language Compiler Execution JIT Compiler Native Code
11.
12.
13.
14.
15.
16.
17.
18. Metadata: Creation And Use Metadata (and code) Debugger Schema Generator Profiler Compilers Proxy Generator Type Browser Compiler Source Code XML encoding (SDL or SUDS) Serialization Designers Reflection TLB Exporter
19. Runtime Execution Model Class Loader CPU Managed Native Code Assembly First call to method First reference to type Assembly Resolver First reference to Assembly IL to native conversion
43. Attend a free chat or web cast http://www.microsoft.com/communities/chats/default.mspx http://www.microsoft.com/usa/webcasts/default.asp List of newsgroups http://communities2.microsoft.com/ communities/newsgroups/en-us/default.aspx MS Community Sites http://www.microsoft.com/communities/default.mspx Local User Groups http://www.msdnbrasil.com.br Community sites http://www.microsoft.com/communities/related/default.mspx