HOME COMMUNITY BLOG

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make sure .NET framework in version 4.5.1 or higher is installed.
  2. Make sure ASP.NET MVC 4 is installed. Installation package is available at http://www.microsoft.com/en-us/download/details.aspx?id=30683.
  3. Download an OWIN based release of the web application.
  4. Deploy the files from the downloaded package.
  5. There is an upgrade/upgrade_2015.4.0.cmd script in the downloaded package. Execute it directly from from upgrade directory directory, It will clear the obsolete files.
  6. Deploy the files from the downloaded package.
  7. Open web.config and make the following changes:

    Code Block
    titleAdd new keys to <appSettings> tag
    languagexml
    <add key="webPages:Version" value="2.0.0.0"/>
    <add key="autoFormsAuthentication" value="false"/>
    <add key="enableSimpleMembership" value="false"/>
    Code Block
    titleComment or remove <authentication> tag
    languagexml
    <!--<authentication mode="Forms">
        <forms name="asapAuthCookie" timeout="10" />
    </authentication>//-->
    Info
    Authentication cookie settings (including session expire timeout) are now possible to change using Startup.cs User Management Configuration.
    Code Block
    titleEnable access to /Login and /Recover urls
    languagexml
    <location path="Login">
    	<system.web>
    		<authorization>
    			<allow users="*" />
    		</authorization>
    	</system.web>
    </location>
    <location path="Recover">
    	<system.web>
    		<authorization>
    			<allow users="*" />
    		</authorization>
    	</system.web>
    </location>
    Code Block
    titleAdd handlers
    languagexml
    <add verb="*" path="Gateway.aspx" type="Origam.Server.Handlers.GatewayHandler, Origam.Server.Handlers" name="GatewayHandler"/>
    <add verb="*" path="SignOut.ashx" type="Origam.Server.Handlers.SignOutHandler, Origam.Server.Handlers" name="SignOutHandler"/>
    <add verb="*" path="ReportProblem.ashx" type="Origam.Server.Handlers.ReportProblemHandler, Origam.Server.Handlers" name="ReportProblemHandler"/>
    <add verb="*" path="GeoLocation.ashx" type="Origam.Server.Handlers.GeoLocationHandler, Origam.Server.Handlers" name="GeoLocationHandler"/>
    Code Block
    titleSet default document as Portal.cshtml
    languagexml
    <defaultDocument>
    	<files>
    		<clear/>
            <add value="Portal.cshtml"/>
    	</files>
    </defaultDocument>
  8. Configure OWIN container through Startup.cs file. Its location is expected in App_Code folder of the application. Sample file is provided with the package as Startup.cs_. Sample file contains configuration for cookie authorization via Asp.Net Membership provider. 

  9. Switch the application to the application pool based on .NET 4.0.
  10. Make sure you have a record in the BusinessPartner table with UserName="guest".

...