locked
general question RRS feed

  • Question

  • User1846090897 posted

    Hello Fellow .net developers. 

     

    I just inherited an app which is built on UIP App block.  It's a whole different world.  I dont' even know where to start.  Let's look at this web.config for instance:  (see at the end of the post).

     

    It seems like we're grabbing a crapload of stuff from the config file.  How does this .config stuff go into the properties of the Navigator object and all the other stuff which moves the program along.  Is there a short concise tutorial for this?  Is there an equivalent of a quick start where in 10 minutes you see exactly what the mechanism is and how it works. 

    I know that this is a very general post, but this seems like a very specialized type of develpment and hence, I would ask the UIP AP develpers to embace new brethen with open arms.

     

    Thanks,

    Mike 

    <uipConfiguration enableStateCache="false" allowBackButton="true">

    <objectTypes>

     

    <iViewManager

    name="WebFormViewManager"

    type="Microsoft.ApplicationBlocks.UIProcess.WebFormViewManager, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=46e284adc42651f0"

    default="true"/>

     

    <state

    name="State"

    type="Microsoft.ApplicationBlocks.UIProcess.State, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=46e284adc42651f0"

    default="true"/>

     

    <controller

    name="BaseController"

    type="USSCO.MarkoutOverflow.UIControl.BaseController, USSCO.MarkoutOverflow.UIControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />

     

    <controller

    name="GenericController"

    type="USSCO.MarkoutOverflow.UIControl.GenericController, USSCO.MarkoutOverflow.UIControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />

    <controller

    name="OverflowCartonRequestController"

    type="USSCO.MarkoutOverflow.UIControl.OverflowCartonRequestController, USSCO.MarkoutOverflow.UIControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />

     

    <controller

    name="OverflowAdjustController"

    type="USSCO.MarkoutOverflow.UIControl.OverflowAdjustController, USSCO.MarkoutOverflow.UIControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />

     

    <controller

    name="OverflowConfirmController"

    type="USSCO.MarkoutOverflow.UIControl.OverflowConfirmController, USSCO.MarkoutOverflow.UIControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />

     

    <controller

    name="MarkoutCartonRequestController"

    type="USSCO.MarkoutOverflow.UIControl.MarkoutCartonRequestController, USSCO.MarkoutOverflow.UIControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />

     

    <controller

    name="MarkoutAdjustController"

    type="USSCO.MarkoutOverflow.UIControl.MarkoutAdjustController, USSCO.MarkoutOverflow.UIControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />

     

    <controller

    name="MarkoutConfirmController"

    type="USSCO.MarkoutOverflow.UIControl.MarkoutConfirmController, USSCO.MarkoutOverflow.UIControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />

     

    <!--<statePersistenceProvider

    name="SqlServerPersistState"

    type="Microsoft.ApplicationBlocks.UIProcess.SqlServerPersistState, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"

    connectionString="server=localhost;database=UIPState;user id=UIP;password=U1Pr0c3ss"/>

    -->

     

    <statePersistenceProvider

    name="SessionPersistState"

    type="Microsoft.ApplicationBlocks.UIProcess.SessionStatePersistence, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=46e284adc42651f0"

    default="true"/>

     

    </objectTypes>

     

    <views>

    <view name="OverflowCartonRequest" type="OverflowCartonRequest.aspx" controller="OverflowCartonRequestController" />

    <view name="OverflowAdjust" type="OverflowAdjust.aspx" controller="OverflowAdjustController" />

    <view name="OverflowConfirm" type="OverflowConfirm.aspx" controller="OverflowConfirmController" />

    <view name="MarkoutCartonRequest" type="MarkoutCartonRequest.aspx" controller="MarkoutCartonRequestController" />

    <view name="MarkoutAdjust" type="MarkoutAdjust.aspx" controller="MarkoutAdjustController" />

    <view name="MarkoutConfirm" type="MarkoutConfirm.aspx" controller="MarkoutConfirmController" />

    <view name="SecurityViolation" type="SecurityViolation.aspx" controller="BaseController"/>

    <view name="ErrorPage" type="ErrorPage.aspx" controller="BaseController"/>

    <!-- User Controls -->

    <view name="WMSHeading" type="WMSHeading.ascx" controller="GenericController" />

    <view name="OrderDisplay" type="OrderDisplay.ascx" controller="GenericController" />

    </views>

     

    <navigationGraph

    iViewManager="WebFormViewManager"

    name="Overflow"

    state="State"

    statePersist="SessionPersistState"

    startView="OverflowCartonRequest"

    cacheExpirationMode="Absolute"

    cacheExpirationInterval="12:00:00">

     

    <!-- These are shared only for this navigation graph -->

    <!-- If a shared transitions section is deined outside of this graph, then -->

    <!-- those transitions are common for all navigation graphs -->

     

    <sharedTransitions>

    <sharedTransition navigateValue="OverflowCartonRequest" navigateTo='OverflowCartonRequest'/>

    <sharedTransition navigateValue="SecurityViolation" navigateTo='SecurityViolation'/>

    <sharedTransition navigateValue="ErrorPage" navigateTo='ErrorPage'/>

    </sharedTransitions>

    Tuesday, August 7, 2007 1:21 PM

All replies