This document contains instructions, how to install, configure and later update parts of the application – ASP.NET Application and SSRS reports.
TL;DR: .NET, IIS, MSSQL, SSRS.
Windows Server 2008 R2 or newer with Web Server (IIS) Server Role with these Role Services:
IIS 7.5 or newer (see details above).
Microsoft .NET Framework 4.5 installer or newer.
SQL Server 2008 R2 or newer or Azure SQL Database.
Can be Express Edition.
Cannot be LocalDB.
SSRS version 2008 R2 or newer is required.
Can be Express Edition.
c:\inetpub\apps\rbcz-shifts\.inetmgr):
rbcz_shifts) with .NET 4.0 and Integrated pipeline.ssms):
ShiftsDb).IIS APPPOOL\app_pool_name (eg. IIS APPPOOL\rbcz_shifts).db_datareaderdb_datawriterdb_ddladminConfiguration using Web.config:
In configuration/connectionStrings section: connectionstring – connection string to SQL Server database.
SQL Server User needs db_datareader, db_datawriter and db_ddladmin.
In configuration/applicationSettings/freevision.Rbcz.Shifts.Web.Properties.Settings section: ExportFilePath – set full path to XML file for exporting shifts for WFM.
Authorization for accessing admin subfolder is done by utilizing IIS Authorization configured above.
Configuration is done via Web.config in configuration section, like this:
<configuration>
<system.web>
<authentication mode="Windows"/>
<!-- Set this entry only when also access to agent preferences is restricted -->
<authorization>
<deny users="?"/>
</authorization>
</system.web>
<location path="admin" >
<system.web>
<authorization>
<allow roles="rbcz_admins"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
</configuration>
Value in <allow roles="..."/> can be comma separated list of Windows Principals (Users or Groups).
*.rdl files into Report Server.Before updating, make sure that both, database and application files are backed-up.
Updates of the ASP.NET Application are made by replacing all contents of the application directory, exept web.config configuration file.
Since application uses Entity Framework with migartions, no manual changes in the Database are required.
Updates of the SSRS Reports are made by replacing all *.rdl files.