IIS Setup for Extensions
IIS Setup
Before we setup this, make sure you have CSMART scheduler extensions set up as a base. If not, please visit How to set up CSMART Extensions and Scheduler for setting it up.
Open the IIS Manager (Windows program):
Right-click on 'Application Pools' → 'Add Application Pool...'
Enter "BCFAppPool" in Name, then click OK.
After creating the app pool right-click on it and open ‘Advanced Settings’. The ‘Identity’ should be set to ‘Network Service’. (NOTE: the ‘Network Service’ user needs access to the folder of the BCF extenions projects (e.g. XXX\src\MarineLMSExtensions.Web.BCF.[ExtensionName]).
While still In the IIS Manager (NOTE: this step is needed for all three respective projects - 3x):
Click on 'Default Web Site' → 'View Applications' (under Actions on the right panel)
Under the 'Virtual Path' column, right-mouse click on ["/MarineLMS.Web.Main/Ext/BCFAgendaBuilder"] and in the context menu, click on 'Basic Settings...'
NOTE: If the extension projects are not listed in 'Applications', use 'Add Application' to add them
Add the Aliases (i.e. "BCFAgendaBuilder", "BCFPassagePlanner, or "BCFCompetencySurfer") under the EXT application (see image)
Click Select and choose the BCFAppPool created in (2)
Give it the Physical Path to the project (e.g. [XXX\src\MarineLMSExtensions.Web.BCF.PassagePlanner] or [XXX\src\MarineLMSExtensions.Web.BCF.AgendaBuilder] or [XXX\src\MarineLMSExtensions.Web.BCF.CompetencySurfer])
In the "Edit Application" dialog box, change the Application pool to "BCFAppPool"
Click OK to save your change
While still In the IIS Manager (NOTE: this step is needed for all three respective projects - 3x)
Expand 'Sites' in the left "Connections" panel, then expand 'Default Web Site'
Expand [MarineLMS.Web.Main], then expand 'Ext'
Single left click on ['BCFAgendaBuilder'], then in ASP.NET panel in the middle double-click on ".NET Trust Levels"
Set the Trust level to "Full (internal)”
ii. Similarly do this for the other two extension projects.
Generel Web config
Ensure the following entries are in the Web.config (Applies to all three projects respectively):
<appSettings file="Web.User.config">
<add key="Core.RequestContext" value="web"/>
<add key="Network.NotificationServiceAdminEndPoint" value="net.tcp://localhost:8001/Services/NotificationService"/>
<add key="Network.UserServiceSecureEndPoint" value="net.tcp://localhost:8000/Services/UserService"/>
<add key="Network.UserServiceAdminEndPoint" value="net.tcp://localhost:8001/Services/UserService"/>
<add key="Core.MaxReceivedMessageSize" value="2147483647"/>
<!--Retrieved the Timezone from http://msdn.microsoft.com/en-us/library/cc749073.aspx -->
<add key="Ext.ExtensionsServiceName" value="MarineLMS Extensions Service(CoreDev)"/>
<add key="Core.CoreServiceName" value="MarineLMS Core Service(CoreDev)"/>
</appSettings> |