JSMunroe-SimpleMvc 1.1.0

Suggested Alternatives

SimpleMvc.Wpf

Additional Details

I've upgraded the package to work on .NET 8.0. You can continue to use JSMunroe-SimpleMvc at your own risk, but it will no longer be maintained.

dotnet add package JSMunroe-SimpleMvc --version 1.1.0
                    
NuGet\Install-Package JSMunroe-SimpleMvc -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JSMunroe-SimpleMvc" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JSMunroe-SimpleMvc" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="JSMunroe-SimpleMvc" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JSMunroe-SimpleMvc --version 1.1.0
                    
#r "nuget: JSMunroe-SimpleMvc, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package JSMunroe-SimpleMvc@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=JSMunroe-SimpleMvc&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=JSMunroe-SimpleMvc&version=1.1.0
                    
Install as a Cake Tool

SimpleMVC

Simple MVC engine with optional WPF support.

MVC Engine

Configure MvcEngine with a fluent style interface. Use namespace folders to organize your controllers and views.

    var mvc = new MvcEngine(_container)
       .RegisterControllerCatalog("Controllers", "Controller")
       .RegisterViewCatalog("Views", "", typeof(Page))
       .RegisterViewTarget(new FrameViewTarget("MainFrame"))
       .RegisterModelBinder(new DataContextBinder());

    var mainWindow = new MainWindow();
    mainWindow.ShowDialog();
    
    mvc.Navigator.Navigate<UserItemsController>(c => c.Index());

XAML Integration

Make a Frame or any ContentControl into a view target.

    <Frame mvc:ControlViewTarget.RegisterAs="MainFrame"></Frame>
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 208 1/15/2026 1.1.0 is deprecated because it is no longer maintained.
1.0.1-alpha00024 1,330 4/18/2016
1.0.1-alpha00023 1,293 10/15/2015
1.0.1-alpha00021 1,254 9/4/2015
1.0.1-alpha00020 1,259 9/4/2015
1.0.1-alpha00019 1,304 9/3/2015
1.0.1-alpha00016 1,268 9/3/2015
1.0.1-alpha00014 1,251 9/3/2015
1.0.1-alpha00013 1,250 9/2/2015
1.0.1-alpha00010 1,247 8/31/2015
1.0.1-alpha00009 1,261 8/28/2015
1.0.1-alpha00006 1,259 8/28/2015
1.0.1-alpha00001 1,255 8/28/2015
1.0.0-alpha8 1,268 8/26/2015
1.0.0-alpha6 1,260 8/26/2015
1.0.0-alpha3 1,277 8/25/2015
1.0.0-alpha 1,238 8/24/2015

Converted the project to .NET core version 8.