Click here to Skip to main content
14,218,975 members

Building an MVP Framework for .NET. Part 4: Strongly Typed Associations

Rate this:
4.86 (4 votes)
Please Sign up or sign in to vote.
4.86 (4 votes)
25 Apr 2008Ms-PL
In this article we continue developing a Model-View-Presenter framework for .NET platform. The new features we are implementing here are strongly typed asscoiations between controllers, views and tasks for higher convenience and type safety.
MVCSharp
API Docs
CleanUpAll.proj
Examples
ASP.NET MVC Store
ApplicationLogic
Model
NorthwindDataSet.xsc
NorthwindDataSet.xss
Presentation
App_Data
Nwind.mdb
Site.Master
Properties
Tests
Properties
TestApplicationLogic
Tests.csproj.user
Basics
Basics (generics used)
ApplicationLogic
Model
Presentation
Web
Win
Properties
ApplicationLogic
Model
Presentation
Web
Win
Properties
SimpleFormsViewsManager
Properties
TestSimpleFormsViewsManager
ApplicationLogic
Presentation
Properties
TasksInteraction
ApplicationLogic
Model
Presentation
Web
Win
Properties
WindowsFormsExample
ApplicationLogic
Presentation
Properties
MVCSharp
MVCSharp.Tests
Core
Configuration
Tasks
Views
Tasks
MVCSharp.Tests.csproj.user
Properties
Webforms
Configuration
Winforms
Configuration
Core
Configuration
Tasks
Views
Tasks
Views
Properties
Webforms
Configuration
Winforms
Configuration

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basics (Win)", "Basics (Win).csproj", "{35BDC880-1C5A-494D-A836-DA46A4365079}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVCSharp", "..\..\MVCSharp\MVCSharp.csproj", "{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}"
EndProject
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "C:\...\Web\", "Presentation\Web\", "{16016FD6-6786-423D-9058-A0123BCF41F8}"
	ProjectSection(WebsiteProperties) = preProject
		ProjectReferences = "{2CC3C9D7-B091-4215-AC2E-B500881522D1}|Basics.dll;{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}|MVCSharp.dll;"
		Debug.AspNetCompiler.VirtualPath = "/Web"
		Debug.AspNetCompiler.PhysicalPath = "Presentation\Web\"
		Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Web\"
		Debug.AspNetCompiler.Updateable = "true"
		Debug.AspNetCompiler.ForceOverwrite = "true"
		Debug.AspNetCompiler.FixedNames = "false"
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.VirtualPath = "/Web"
		Release.AspNetCompiler.PhysicalPath = "Presentation\Web\"
		Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Web\"
		Release.AspNetCompiler.Updateable = "true"
		Release.AspNetCompiler.ForceOverwrite = "true"
		Release.AspNetCompiler.FixedNames = "false"
		Release.AspNetCompiler.Debug = "False"
		VWDPort = "1631"
		DefaultWebSiteLanguage = "Visual C#"
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basics", "Basics.csproj", "{2CC3C9D7-B091-4215-AC2E-B500881522D1}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|.NET = Debug|.NET
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Release|.NET = Release|.NET
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Debug|.NET.Build.0 = Debug|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Release|.NET.ActiveCfg = Release|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Release|Any CPU.Build.0 = Release|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{35BDC880-1C5A-494D-A836-DA46A4365079}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Release|.NET.ActiveCfg = Release|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Release|Any CPU.Build.0 = Release|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{C04A36B0-4A58-45D4-B95B-A4A58AFEBC95}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{16016FD6-6786-423D-9058-A0123BCF41F8}.Debug|.NET.ActiveCfg = Debug|.NET
		{16016FD6-6786-423D-9058-A0123BCF41F8}.Debug|Any CPU.ActiveCfg = Debug|.NET
		{16016FD6-6786-423D-9058-A0123BCF41F8}.Debug|Mixed Platforms.ActiveCfg = Debug|.NET
		{16016FD6-6786-423D-9058-A0123BCF41F8}.Debug|Mixed Platforms.Build.0 = Debug|.NET
		{16016FD6-6786-423D-9058-A0123BCF41F8}.Release|.NET.ActiveCfg = Debug|.NET
		{16016FD6-6786-423D-9058-A0123BCF41F8}.Release|.NET.Build.0 = Debug|.NET
		{16016FD6-6786-423D-9058-A0123BCF41F8}.Release|Any CPU.ActiveCfg = Debug|.NET
		{16016FD6-6786-423D-9058-A0123BCF41F8}.Release|Mixed Platforms.ActiveCfg = Debug|.NET
		{16016FD6-6786-423D-9058-A0123BCF41F8}.Release|Mixed Platforms.Build.0 = Debug|.NET
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Release|.NET.ActiveCfg = Release|Any CPU
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Release|Any CPU.Build.0 = Release|Any CPU
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{2CC3C9D7-B091-4215-AC2E-B500881522D1}.Release|Mixed Platforms.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Oleg Zhukov
Team Leader
Russian Federation Russian Federation
Oleg Zhukov, born and living in Russia is Lead Engineer and Project Manager in a company which provides business software solutions. He has graduated from Moscow Institute of Physics and Technology (MIPT) (department of system programming) and has got a M.S. degree in applied physics and mathematics. His research and development work concerns architectural patterns, domain-driven development and systems analysis. Being the adherent of agile methods he applies them extensively in the projects managed by him.

Tagged as

Stats

24.8K views
330 downloads
31 bookmarked