You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Yik Teng Hie 5d53802925 migration Prism 4 to 6 link 3 years ago
images create new class library guides 3 years ago
legacy backup prism 4.1 library 3 years ago
README.md migration Prism 4 to 6 link 3 years ago
class-library.md create new class library guides 3 years ago
di-intro.md migration notes 3 years ago
event.md migration notes 3 years ago
mef.md migration notes 3 years ago
view-viewmodel.md Prism 5 legacy PDF 3 years ago

README.md

KnowledgeBase for Prism Guidance

  • Official Site
  • Existing Mitech-wpf use Prism 4.x. The only official legacy reference is based on Prism 6
    • Its using MEF Ioc (Dependency Injection). The MEF DI was removed from Prism 7.x and above. Only Unity Dependency Injection supported form Prism 7.x onward
    • MEF vs Unity Modularity Quick Start
  • The latest Prism Library is 8.1
  • Prism 8 support NET 5 and dotnet Framework. Prism 6.x and below only DotNet Framework 4.8 and below.

Legacy Documentation

Migration Guides

  • Prism 4.1 to 5

    • Microsoft.Practices.Prism.ViewModel namespace deprecated. Please use Microsoft.Practices.Prism.Mvvm
    • The BindableBase class was added to simplify INotifyPropertyChanged interface.
    • EventAggregator Namespace and API Changes. NEW Prism.PubSubEvents namespace
    • Regions Namespace API Changes
      • UriQuery class was replaced with the NavigationParameters
    • Namespace changes
    • Refer to Prism 5 pdf for legacy changes
    using Microsoft.Practices.Prism.ViewModel;
    
    // change to
    using Microsoft.Practices.Prism.Mvvm;
    using Microsoft.Practices.Prism.Mvvm.Desktop;
    using Microsoft.Practices.Prism.ShareInterfaces;
    
  • Prism 5 to 6

    • Breaking Changes
      • Removed Microsoft.Practices from all namespaces
    • Created new xmlns namespace http://prismlibrary.com/
    • Namespace changes
     // Prism 4
     using Microsoft.Practices.Prism;
     using Microsoft.Practices.Prism.ViewModel;
    
     // change to Prism 6.3
     using Prism.Mvvm
    
     // Prism 4
     using Microsoft.Practices.Prism.MefExtensions.Modularity;
     using Microsoft.Practices.Prism.Modularity;
    
     // change to Prism 6.3
     using Prism.Mef.Modularity;
     using Prism.Modularity;
    
    
    using Microsoft.Practices.Prism.Regions;
    
    // change to
    using Prism.Regions
    
    using Microsoft.Practices.Prism.Commands;
    
    // change to 
    using Prism.Commands;
    
  • Prism 6 to 8

    • Bootstrapper class need to move to Application class
    • use xmlns:prism="http://prismlibrary.com/"
  • Prism 7.1

    • BIG changes. Release Notes
    • No longer be shipping or supporting MEF for WPF
    • New Prism.IoC namespace
    • For Prism.WPF, introduced new PrismApplication base class. Bootstrapper class deprecated.
  • Prism 7 to 8

    • Release Notes
    • AutoWireViewModel is now default to true prism:ViewModelLocator.AutoWireViewModel="True"
    • Removed ILoggerFacade. Use Prism.Plugin.Logging

Online Tutorial

Tutorials