Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

What’s the Foundation of WPF ? (Windows Presentation Foundation) – WPF Tutorial #1

with 4 comments

Below is the framework diagram of WPF from the MSDN help.

The block shown in the red are the foundation of WPF. There are three dlls which makes the Windows Presentation Foundation, that is WindowsBase (WindowsBase.dll), PresentationCore (PresentationCore.dll), and PresentationFoundation(PresentationFoundation.dll).

Lets first discuss the above block.

From the bottom, first WPF component is milcore. MIL stands for Media Integration Layer. MIL is interface between DirectX and CLR (plus above layer). MILCORE is unmanaged component which handles the 2D, 3D , Animation and other (which i forgot ) with the help of DirectX. Performance & Hardware acceleration (benefits of DX) is the key reason for why MILCORE is the unmanaged. WPF aka Avalon uses MILCORE for rendering purpose. MILCORE is also known as composition engine.

WindowsBase defines most of the Base type which gonna use in WPF. And for WPF Application, WindowsBase is the must assembly to include.

Second component is PresentationCore (PresentationCore.dll). This DLL doesn’t hold any UI component but it contains the base types which can be used in implementing the UI component (Except Window class ).

Third and last one is PresentationFoundation which contains all the WPF controls + other useful WPF functionality.


Written by Manish

October 8, 2007 at 2:46 pm

Posted in .NET, .NET 3.0, WPF

4 Responses

Subscribe to comments with RSS.

  1. […] When system is defined, the next step is to draw pixels on the screen. This Visual class is the point of connection between these two subsystems, the managed API and the unmanaged milcore. […]

  2. Well, great job. Keep it up


    January 11, 2008 at 10:11 am

  3. this is very neeedful for me ………..thank you


    January 12, 2012 at 7:25 pm

  4. […] Comming Soon Share this:TwitterFacebookPrintLike this:LikeBe the first to like this. […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: