Click here to Skip to main content
12,444,360 members (50,715 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Samples » Downloads

Stats

29.4K views
283 downloads
23 bookmarked
Posted

Reusable navigation and workflow for both Windows and Web using Microsoft UIP blocks

, 29 Mar 2009 CPOL
Reusable navigation and workflow for Windows and Web using Microsoft UIP blocks.
ASPDotNetUIP
App_Code
App_Data
Bin
Microsoft.ApplicationBlocks.Data.dll
Microsoft.ApplicationBlocks.UIProcess.dll
MyController.dll
MyController
bin
Debug
Microsoft.ApplicationBlocks.Data.dll
Microsoft.ApplicationBlocks.UIProcess.dll
MyController.dll
obj
Debug
MyController.dll
TempPE
Properties
MyTask
bin
Debug
obj
Debug
TempPE
Properties
Model.dll
Model
bin
Debug
Model.dll
obj
Debug
Refactor
TempPE
Properties
Model.dll
WindowsApplication
WindowsUIPExample
bin
Debug
Microsoft.ApplicationBlocks.Data.dll
Microsoft.ApplicationBlocks.UIProcess.dll
Model.dll
MyController.dll
WindowsUIPExample.exe
WindowsUIPExample.vshost.exe
obj
Debug
Refactor
TempPE
Properties
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<configSections>
		<section name="uipConfiguration" type="Microsoft.ApplicationBlocks.UIProcess.UIPConfigHandler,  Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"/>
	</configSections>
	<uipConfiguration enableStateCache="true">
		<objectTypes>
			<iViewManager name="WindowsFormViewManager" type="Microsoft.ApplicationBlocks.UIProcess.WindowsFormViewManager,Microsoft.ApplicationBlocks.UIProcess,Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
			<state name="State" type="Microsoft.ApplicationBlocks.UIProcess.State, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"/>
			<controller name="MyController" type="MyController.clsController,MyController, Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"/>
			<statePersistenceProvider name="MySession" mode="InProc" type="Microsoft.ApplicationBlocks.UIProcess.MemoryStatePersistence, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"/>
		</objectTypes>
		<views>
			<view name="HomeView"   type="WindowsUIPExample.Home, WindowsUIPExample, Version=1.0.0.0, Culture=neutral,PublicKeyToken=null" controller="MyController" stayOpen="true"/>
			<view name="LogOutView"   type="WindowsUIPExample.LogOut, WindowsUIPExample, Version=1.0.0.0, Culture=neutral,PublicKeyToken=null" controller="MyController"/>
			<view name="CustomerView" type="WindowsUIPExample.CustomerHome, WindowsUIPExample, Version=1.0.0.0, Culture=neutral,PublicKeyToken=null" controller="MyController"/>
			<view name="CustomerSalesView" type="WindowsUIPExample.CustomerWithSales, WindowsUIPExample, Version=1.0.0.0, Culture=neutral,PublicKeyToken=null" controller="MyController" />
			<view name="WithOutSalesView" type="WindowsUIPExample.CustomerWithOutSales, WindowsUIPExample, Version=1.0.0.0, Culture=neutral,PublicKeyToken=null" controller="MyController"/>
		</views>
		<navigationGraph startView="HomeView" iViewManager="WindowsFormViewManager" name="MyNavigationGraph" state="State" statePersist="MySession">
			<node view="HomeView">
				<navigateTo navigateValue="LogOut" view="LogOutView"/>
				<navigateTo navigateValue="GoCustomerHome" view="CustomerView"/>
			</node>
			<node view="LogOutView">
				<navigateTo navigateValue="GoToHome" view="HomeView"/>
			</node>
			<node view="CustomerView">
				<navigateTo navigateValue="GotoHome" view="HomeView"/>
				<navigateTo navigateValue="WithOutSales" view="WithOutSalesView"/>
				<navigateTo navigateValue="ViewSales" view="CustomerSalesView"/>
			</node>
			<node view="WithOutSalesView">
				<navigateTo navigateValue="GoCustomerHome" view="CustomerView"/>
			</node>
			<node view="CustomerSalesView">
				<navigateTo navigateValue="GoCustomerHome" view="CustomerView"/>
			</node>
		</navigationGraph>
	</uipConfiguration>
</configuration>

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 Code Project Open License (CPOL)

Share

About the Author


You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160811.3 | Last Updated 30 Mar 2009
Article Copyright 2008 by Shivprasad koirala
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid