https://github.com/step63r/dependencyinjectionsample
https://github.com/step63r/dependencyinjectionsample
dotnet-framework sample wpf
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/step63r/dependencyinjectionsample
- Owner: step63r
- License: mit
- Created: 2019-07-23T14:42:45.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2019-08-27T07:32:18.000Z (over 6 years ago)
- Last Synced: 2025-01-24T01:44:00.341Z (11 months ago)
- Topics: dotnet-framework, sample, wpf
- Language: C#
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DependencyInjectionSample
## Description
Sample application for Prism and dependency injection containers.
## Requirement
- .NET Framework 4.7.1
- Prism.Wpf 7.1
- Prism.Unity 7.1
## Usage
1. Install [Prism Template Pack](https://marketplace.visualstudio.com/items?itemName=BrianLagunas.PrismTemplatePack) extension to VS 2019
2. Launch VS 2019
3. Create new Solution with "Prism Blank App (WPF)"
4. Select "Unity" at container select dialog
5. If failed to build, restore NuGet package of the solution
6. Create Modules of each Region as "Prism Module (WPF)" project
7. Add processing of including to Region in ``Module.OnInitialized()``
8. Add Module project to reference of Application project
9. Override ``ConfigureModuleCatalog()`` in App.xaml.cs and add the Module class
## Notice
It is **NOT** recommended to upgrade ``Unity.Abstractions`` and ``Unity.Container`` manually.
## Contribution
1. Fork this repository
2. Create your feature branch
3. Commit your changes
4. Push to the branch
5. Create new Pull Request
## License
MIT License
## Author
[minato](https://blog.minatoproject.com/)