Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidrogersdev/winformsmvp.net
An MVP framework for WinForms.
https://github.com/davidrogersdev/winformsmvp.net
mvp mvp-framework winforms
Last synced: about 2 months ago
JSON representation
An MVP framework for WinForms.
- Host: GitHub
- URL: https://github.com/davidrogersdev/winformsmvp.net
- Owner: DavidRogersDev
- License: mit
- Created: 2020-12-09T12:30:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T00:33:51.000Z (10 months ago)
- Last Synced: 2024-12-19T20:13:19.486Z (about 2 months ago)
- Topics: mvp, mvp-framework, winforms
- Language: C#
- Homepage:
- Size: 115 KB
- Stars: 12
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# WinFormsMVP.NET
[![NuGet](https://img.shields.io/nuget/v/WinFormsMVP.NET.svg?style=flat-square)](https://www.nuget.org/packages/WinFormsMVP.NET/) WinFormsMVP.NET
[![NuGet](https://img.shields.io/nuget/v/WinFormsMVP.NET.SimpleInjector.svg?style=flat-square)](https://www.nuget.org/packages/WinFormsMVP.NET.SimpleInjector/) WinFormsMVP.NET.SimpleInjector
[![NuGet](https://img.shields.io/nuget/v/WinFormsMVP.NET.Autofac.svg?style=flat-square)](https://www.nuget.org/packages/WinFormsMVP.NET.Autofac/) WinFormsMVP.NET.Autofac
A simple Model View Presenter framework for the Winforms platform.**WinFormsMVP.NET** is a port of my previous framework, [WinFormsMVP](https://github.com/DavidRogersDev/WinformsMVP), to the new .NET platform (.NET 5).
This [CodeProject article](https://www.codeproject.com/Articles/522809/WinForms-MVP-An-MVP-Framework-for-WinForms) is still valid in terms of setting out the basics. In addition to that, there are several samples in the [samples directory](https://github.com/DavidRogersDev/WinFormsMVP.NET/tree/main/samples) of the repository, which show how the library can be used.
I also hope to make a few videos in the near future which explain a few features, including the fundamentals (watch this space).
## Why?
Back in 2012, I was deployed on a maintenance gig with lots of small WinForms apps which comprised a larger system. None of the existing apps followed any kind of best practice. It was all code-behind, with business logic mixed in with the View.
A light weight MVP framework would have been perfect for these small apps. Something like the excellent Web Forms MVP, but for WinForms. And hence my decision to create such a framework.
WinFormsMVP.NET is also great for students of design patterns. People who are learning how to code to patterns. It is a simple framework, so learners will not be overwhelmed by a plethora of features which would detract from their core purpose of learning about how the MVP design pattern works.
## Feature Complete
You won't see much work going into this project, as it is feature complete. If others want to add features, fork away. If a passionate dev wants to take over stewardship of this little framework, by all means get in contact. Whilst I was happy to bring it to the new platform, I have moved on and don't really give it the love it deserves.