Abbozzata gestione file upload x jobs!

This commit is contained in:
Samuele E. Locatelli
2019-10-15 23:18:19 +02:00
parent aae8fc8769
commit 5eb0fb30da
19 changed files with 2357 additions and 91 deletions
+1584
View File
File diff suppressed because it is too large Load Diff
+173 -2
View File
@@ -6,14 +6,185 @@
<Connections>
<Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="AdmodellingConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="AdmodellingConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.AdmodellingConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables />
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="JobsListTableAdapter" GeneratorDataComponentClassName="JobsListTableAdapter" Name="JobsList" UserDataComponentName="JobsListTableAdapter">
<MainSource>
<DbSource ConnectionRef="AdmodellingConnectionString (Web.config)" DbObjectName="Admodelling.dbo.v_JobsList" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT JobId, JobDescr, USER_NAME, JStatusID, JsDescr, dtSubmiss, dtStartProc, dtEndProc, uploadSizeKb, uploadPath, downloadSizeKb, downloadPath, dtDownload, dtCleanup FROM dbo.v_JobsList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="JobId" DataSetColumn="JobId" />
<Mapping SourceColumn="JobDescr" DataSetColumn="JobDescr" />
<Mapping SourceColumn="USER_NAME" DataSetColumn="USER_NAME" />
<Mapping SourceColumn="JStatusID" DataSetColumn="JStatusID" />
<Mapping SourceColumn="JsDescr" DataSetColumn="JsDescr" />
<Mapping SourceColumn="dtSubmiss" DataSetColumn="dtSubmiss" />
<Mapping SourceColumn="dtStartProc" DataSetColumn="dtStartProc" />
<Mapping SourceColumn="dtEndProc" DataSetColumn="dtEndProc" />
<Mapping SourceColumn="uploadSizeKb" DataSetColumn="uploadSizeKb" />
<Mapping SourceColumn="uploadPath" DataSetColumn="uploadPath" />
<Mapping SourceColumn="downloadSizeKb" DataSetColumn="downloadSizeKb" />
<Mapping SourceColumn="downloadPath" DataSetColumn="downloadPath" />
<Mapping SourceColumn="dtDownload" DataSetColumn="dtDownload" />
<Mapping SourceColumn="dtCleanup" DataSetColumn="dtCleanup" />
</Mappings>
<Sources>
<DbSource ConnectionRef="AdmodellingConnectionString (Web.config)" DbObjectName="Admodelling.dbo.stp_JL_getByUser" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByUser" GetMethodModifier="Public" GetMethodName="getByUser" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByUser" UserSourceName="getByUser">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_JL_getByUser</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@USER_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="AdmodellingConnectionString (Web.config)" DbObjectName="Admodelling.dbo.stp_JL_getIncomp" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getIncomp" GetMethodModifier="Public" GetMethodName="getIncomp" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getIncomp" UserSourceName="getIncomp">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_JL_getIncomp</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="AdmodellingConnectionString (Web.config)" DbObjectName="Admodelling.dbo.stp_JL_insertNew" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertNew" GetMethodModifier="Public" GetMethodName="insertNew" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertNew" UserSourceName="insertNew">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_JL_insertNew</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@JobDescr" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@USER_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="AdmodellingConnectionString (Web.config)" DbObjectName="Admodelling.dbo.stp_JL_updateDeleted" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateDeleted" Modifier="Public" Name="updateDeleted" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="updateDeleted">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_JL_updateDeleted</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@JobId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtCleanup" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="AdmodellingConnectionString (Web.config)" DbObjectName="Admodelling.dbo.stp_JL_updateDownloaded" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateDownloaded" Modifier="Public" Name="updateDownloaded" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="updateDownloaded">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_JL_updateDownloaded</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@JobId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtDownload" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="AdmodellingConnectionString (Web.config)" DbObjectName="Admodelling.dbo.stp_JL_updateProcessed" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateProcessed" Modifier="Public" Name="updateProcessed" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateProcessed">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_JL_updateProcessed</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@JobId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtEndProc" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@downloadSizeKb" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@downloadPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="AdmodellingConnectionString (Web.config)" DbObjectName="Admodelling.dbo.stp_JL_updateUpload" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateUpload" Modifier="Public" Name="updateUpload" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updateUpload">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_JL_updateUpload</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@JobId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtSubmiss" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@uploadSizeKb" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@uploadPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DS_App" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_App" msprop:Generator_UserDSName="DS_App">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="JobsList" msprop:Generator_TableClassName="JobsListDataTable" msprop:Generator_TableVarName="tableJobsList" msprop:Generator_TablePropName="JobsList" msprop:Generator_RowDeletingName="JobsListRowDeleting" msprop:Generator_RowChangingName="JobsListRowChanging" msprop:Generator_RowEvHandlerName="JobsListRowChangeEventHandler" msprop:Generator_RowDeletedName="JobsListRowDeleted" msprop:Generator_UserTableName="JobsList" msprop:Generator_RowChangedName="JobsListRowChanged" msprop:Generator_RowEvArgName="JobsListRowChangeEvent" msprop:Generator_RowClassName="JobsListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="JobId" msprop:Generator_ColumnVarNameInTable="columnJobId" msprop:Generator_ColumnPropNameInRow="JobId" msprop:Generator_ColumnPropNameInTable="JobIdColumn" msprop:Generator_UserColumnName="JobId" type="xs:int" />
<xs:element name="JobDescr" msprop:Generator_ColumnVarNameInTable="columnJobDescr" msprop:Generator_ColumnPropNameInRow="JobDescr" msprop:Generator_ColumnPropNameInTable="JobDescrColumn" msprop:Generator_UserColumnName="JobDescr">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="USER_NAME" msprop:Generator_ColumnVarNameInTable="columnUSER_NAME" msprop:Generator_ColumnPropNameInRow="USER_NAME" msprop:Generator_ColumnPropNameInTable="USER_NAMEColumn" msprop:Generator_UserColumnName="USER_NAME">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="JStatusID" msprop:Generator_ColumnVarNameInTable="columnJStatusID" msprop:Generator_ColumnPropNameInRow="JStatusID" msprop:Generator_ColumnPropNameInTable="JStatusIDColumn" msprop:Generator_UserColumnName="JStatusID" type="xs:int" />
<xs:element name="JsDescr" msprop:Generator_ColumnVarNameInTable="columnJsDescr" msprop:Generator_ColumnPropNameInRow="JsDescr" msprop:Generator_ColumnPropNameInTable="JsDescrColumn" msprop:Generator_UserColumnName="JsDescr" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dtSubmiss" msprop:Generator_ColumnVarNameInTable="columndtSubmiss" msprop:Generator_ColumnPropNameInRow="dtSubmiss" msprop:Generator_ColumnPropNameInTable="dtSubmissColumn" msprop:Generator_UserColumnName="dtSubmiss" type="xs:dateTime" />
<xs:element name="dtStartProc" msprop:Generator_ColumnVarNameInTable="columndtStartProc" msprop:Generator_ColumnPropNameInRow="dtStartProc" msprop:Generator_ColumnPropNameInTable="dtStartProcColumn" msprop:Generator_UserColumnName="dtStartProc" type="xs:dateTime" minOccurs="0" />
<xs:element name="dtEndProc" msprop:Generator_ColumnVarNameInTable="columndtEndProc" msprop:Generator_ColumnPropNameInRow="dtEndProc" msprop:Generator_ColumnPropNameInTable="dtEndProcColumn" msprop:Generator_UserColumnName="dtEndProc" type="xs:dateTime" minOccurs="0" />
<xs:element name="uploadSizeKb" msprop:Generator_ColumnVarNameInTable="columnuploadSizeKb" msprop:Generator_ColumnPropNameInRow="uploadSizeKb" msprop:Generator_ColumnPropNameInTable="uploadSizeKbColumn" msprop:Generator_UserColumnName="uploadSizeKb" type="xs:int" />
<xs:element name="uploadPath" msprop:Generator_ColumnVarNameInTable="columnuploadPath" msprop:Generator_ColumnPropNameInRow="uploadPath" msprop:Generator_ColumnPropNameInTable="uploadPathColumn" msprop:Generator_UserColumnName="uploadPath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="downloadSizeKb" msprop:Generator_ColumnVarNameInTable="columndownloadSizeKb" msprop:Generator_ColumnPropNameInRow="downloadSizeKb" msprop:Generator_ColumnPropNameInTable="downloadSizeKbColumn" msprop:Generator_UserColumnName="downloadSizeKb" type="xs:int" />
<xs:element name="downloadPath" msprop:Generator_ColumnVarNameInTable="columndownloadPath" msprop:Generator_ColumnPropNameInRow="downloadPath" msprop:Generator_ColumnPropNameInTable="downloadPathColumn" msprop:Generator_UserColumnName="downloadPath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dtDownload" msprop:Generator_ColumnVarNameInTable="columndtDownload" msprop:Generator_ColumnPropNameInRow="dtDownload" msprop:Generator_ColumnPropNameInTable="dtDownloadColumn" msprop:Generator_UserColumnName="dtDownload" type="xs:dateTime" minOccurs="0" />
<xs:element name="dtCleanup" msprop:Generator_ColumnVarNameInTable="columndtCleanup" msprop:Generator_ColumnPropNameInRow="dtCleanup" msprop:Generator_ColumnPropNameInTable="dtCleanupColumn" msprop:Generator_UserColumnName="dtCleanup" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:JobsList" />
<xs:field xpath="mstns:JobId" />
</xs:unique>
</xs:element>
</xs:schema>
+3 -1
View File
@@ -5,6 +5,8 @@
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes />
<Shapes>
<Shape ID="DesignTable:JobsList" ZOrder="1" X="467" Y="136" Height="572" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="352" />
</Shapes>
<Connectors />
</DiagramLayout>
+39 -1
View File
@@ -1,7 +1,45 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="JobsList.aspx.cs" Inherits="WebLCP.JobsList" %>
<%@ Register Src="~/WUC/mod_jobsList.ascx" TagPrefix="uc1" TagName="mod_jobsList" %>
<%@ Register Src="~/WUC/mod_startJob.ascx" TagPrefix="uc1" TagName="mod_startJob" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<uc1:mod_jobsList runat="server" id="mod_jobsList" />
<div class="card">
<div class="card-header">
<b>Jobs Manager</b>
</div>
<div class="card-body">
<div class="row">
<div class="col">
<uc1:mod_startJob runat="server" ID="mod_startJob" />
</div>
</div>
<div class="row my-2">
<div class="col">
<uc1:mod_jobsList runat="server" ID="mod_jobsList" />
</div>
</div>
</div>
<div class="card-footer">
<div id="accordion">
<div class="card">
<div class="card-header bg-secondary">
<a class="card-link text-light" data-toggle="collapse" href="#collapseOne">Note esplicative</a>
</div>
<div id="collapseOne" class="collapse" data-parent="#accordion">
<div class="card-body">
<dl>
<dt><b>Modalità di archiviazione dati</b></dt>
<dd>- i dati sono salvati in forma anonima</dd>
<dd>- i dati sono archiviati sui server in modo temporaneo, tale da permettere di scaricare i risultati dell'elaborazione ma non la persistenza</dd>
<dd>- sono mostrati solo i jobs più recenti</dd>
<dd>- i jobs sono automaticamente eliminati dalle memorie del sistema dopo 4 settimane dall'esecuzione dei calcoli</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>
+9
View File
@@ -12,6 +12,15 @@ namespace WebLCP {
public partial class JobsList {
/// <summary>
/// Controllo mod_startJob.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebLCP.WUC.mod_startJob mod_startJob;
/// <summary>
/// Controllo mod_jobsList.
/// </summary>
@@ -24,7 +24,6 @@ namespace WebLCP.WUC
bool fatto = false;
string DeviceName = "";
string IPv4 = "";
string CodOpr = "";
try
{
UserAuthKey = Request["UserAuthkey"];
+26 -5
View File
@@ -1,7 +1,28 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_jobsList.ascx.cs" Inherits="WebLCP.WUC.mod_jobsList" %>
<div class="card">
<div class="card-header">Header</div>
<div class="card-body">Content</div>
<div class="card-footer">Footer</div>
</div>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CssClass="table table-sm table-striped table-condensed" DataKeyNames="JobId" DataSourceID="ods">
<EmptyDataTemplate>Nessun Risultato</EmptyDataTemplate>
<Columns>
<asp:BoundField DataField="JobId" HeaderText="JobId" ReadOnly="True" SortExpression="JobId" />
<asp:BoundField DataField="JobDescr" HeaderText="JobDescr" SortExpression="JobDescr" />
<asp:BoundField DataField="USER_NAME" HeaderText="USER_NAME" SortExpression="USER_NAME" />
<asp:BoundField DataField="JStatusID" HeaderText="JStatusID" SortExpression="JStatusID" />
<asp:BoundField DataField="JsDescr" HeaderText="JsDescr" SortExpression="JsDescr" />
<asp:BoundField DataField="dtSubmiss" HeaderText="dtSubmiss" SortExpression="dtSubmiss" />
<asp:BoundField DataField="dtStartProc" HeaderText="dtStartProc" SortExpression="dtStartProc" />
<asp:BoundField DataField="dtEndProc" HeaderText="dtEndProc" SortExpression="dtEndProc" />
<asp:BoundField DataField="uploadSizeKb" HeaderText="uploadSizeKb" SortExpression="uploadSizeKb" />
<asp:BoundField DataField="uploadPath" HeaderText="uploadPath" SortExpression="uploadPath" />
<asp:BoundField DataField="downloadSizeKb" HeaderText="downloadSizeKb" SortExpression="downloadSizeKb" />
<asp:BoundField DataField="downloadPath" HeaderText="downloadPath" SortExpression="downloadPath" />
<asp:BoundField DataField="dtDownload" HeaderText="dtDownload" SortExpression="dtDownload" />
<asp:BoundField DataField="dtCleanup" HeaderText="dtCleanup" SortExpression="dtCleanup" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByUser" TypeName="WebLCP.DS_AppTableAdapters.JobsListTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfUsr" DefaultValue="NA" Name="USER_NAME" PropertyName="Value" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfUsr" />
+6 -2
View File
@@ -1,4 +1,5 @@
using System;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
@@ -11,7 +12,10 @@ namespace WebLCP.WUC
{
protected void Page_Load(object sender, EventArgs e)
{
if(!Page.IsPostBack)
{
hfUsr.Value = devicesAuthProxy.stObj.utente;
}
}
}
}
+27
View File
@@ -11,5 +11,32 @@ namespace WebLCP.WUC {
public partial class mod_jobsList {
/// <summary>
/// Controllo grView.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// Controllo ods.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// Controllo hfUsr.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfUsr;
}
}
+52
View File
@@ -0,0 +1,52 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_startJob.ascx.cs" Inherits="WebLCP.WUC.mod_startJob" %>
<div id="accordion">
<div class="card">
<div class="card-header bg-primary">
<a class="card-link text-light" data-toggle="collapse" href="#collAddNew">
<i class="fa fa-plus" aria-hidden="true"></i>Caricamento Nuovo Job <i class="fa fa-plus" aria-hidden="true"></i>
</a>
</div>
<div id="collAddNew" class="collapse" data-parent="#accordion">
<div class="card-body">
<div class="row">
<div class="col-9">
<div class="form-row">
<div class="col">
<label for="txtJobDescr">Descrizione (facoltativa)</label>
<asp:TextBox runat="server" ID="txtJobDescr" CssClass="form-control" />
</div>
</div>
<div class="form-row">
<div class="col">
<label for="txtJobDescr">CSV File A</label>
<asp:FileUpload ID="FUplCsv_A" runat="server" CssClass="form-control" />
<asp:RequiredFieldValidator runat="server" ID="rfvFUA" ControlToValidate="FUplCsv_A" Text="!!!" CssClass="text-danger" />
</div>
</div>
<div class="form-row">
<div class="col">
<label for="txtJobDescr">CSV File B</label>
<asp:FileUpload ID="FUplCsv_B" runat="server" CssClass="form-control" />
<asp:RequiredFieldValidator runat="server" ID="rfvFUB" ControlToValidate="FUplCsv_B" Text="!!!" CssClass="text-danger" />
</div>
</div>
</div>
<div class="col-3 mh-100">
<div class="form-row h-100">
<div class="col">
<asp:LinkButton runat="server" ID="lbtUpload" CssClass="btn btn-success btn-block h-100 align-middle" OnClick="lbtUpload_Click">
<div class="align-middle">
<i class="fa fa-upload fa-3x" aria-hidden="true"></i><br />UPLOAD
</div>
</asp:LinkButton>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
+42
View File
@@ -0,0 +1,42 @@
using SteamWare;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebLCP.WUC
{
public partial class mod_startJob : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void lbtUpload_Click(object sender, EventArgs e)
{
// controllo se ho i 2 files...
if (FUplCsv_A.FileName != "" && FUplCsv_B.FileName != "")
{
string fileNameA = Path.GetFileName(FUplCsv_A.FileName);
FUplCsv_A.SaveAs(Server.MapPath("~/tempUpload/") + fileNameA);
string fileNameB = Path.GetFileName(FUplCsv_B.FileName);
FUplCsv_B.SaveAs(Server.MapPath("~/tempUpload/") + fileNameB);
// creo record
DS_App.JobsListDataTable tabJobs = dataLayer.man.taJL.insertNew(txtJobDescr.Text.Trim(), devicesAuthProxy.stObj.utente);
if (tabJobs.Count == 1)
{
DS_App.JobsListRow currJob = tabJobs[0];
// creo cartella in server target
string uploadJobFolder = "Pippo";
// trasferisco dati
int sizeKb = (FUplCsv_A.PostedFile.ContentLength + FUplCsv_B.PostedFile.ContentLength) / 1024;
// update record!
dataLayer.man.taJL.updateUpload(currJob.JobId, DateTime.Now, sizeKb, uploadJobFolder);
}
}
}
}
}
+69
View File
@@ -0,0 +1,69 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace WebLCP.WUC {
public partial class mod_startJob {
/// <summary>
/// Controllo txtJobDescr.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtJobDescr;
/// <summary>
/// Controllo FUplCsv_A.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.FileUpload FUplCsv_A;
/// <summary>
/// Controllo rfvFUA.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvFUA;
/// <summary>
/// Controllo FUplCsv_B.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.FileUpload FUplCsv_B;
/// <summary>
/// Controllo rfvFUB.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvFUB;
/// <summary>
/// Controllo lbtUpload.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtUpload;
}
}
+278 -77
View File
@@ -1,145 +1,346 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
Per altre informazioni su come configurare l'applicazione ASP.NET, vedere
https://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.6.2" />
<httpRuntime targetFramework="4.6.2" />
<compilation debug="true" targetFramework="4.6.2"/>
<httpRuntime targetFramework="4.6.2"/>
<pages>
<namespaces>
<add namespace="System.Web.Optimization" />
<add namespace="System.Web.Optimization"/>
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /></controls></pages>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt"/>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit"/></controls></pages>
</system.web>
<appSettings>
<!--Configurazioni generali-->
<add key="intUpdatePagina_ms" value="120000" />
<add key="appName" value="WLP" />
<add key="copyRight" value="Steamware " />
<add key="_safePages" value="chLang#jumper#unauthorized#forceUser#login#default#test#UserAdmin#UpdMan#about#contact#CondizioniServizio" />
<add key="_loginPages" value="jumper#forceUser#login#UserAdmin#default#registerUser#about#contact#CondizioniServizio" />
<add key="intUpdatePagina_ms" value="120000"/>
<add key="appName" value="WLP"/>
<add key="copyRight" value="Steamware "/>
<add key="_safePages" value="chLang#jumper#unauthorized#forceUser#login#default#test#UserAdmin#UpdMan#about#contact#CondizioniServizio"/>
<add key="_loginPages" value="jumper#forceUser#login#UserAdmin#default#registerUser#about#contact#CondizioniServizio"/>
<!--area logger-->
<add key="_logDir" value="~/logs/" />
<add key="enableDumpDiag" value="false" />
<add key="doShrinkFolder" value="true" />
<add key="_logLevel" value="6" />
<add key="_logMaxMb" value="30" />
<add key="logMitigSec" value="30" />
<add key="_logDir" value="~/logs/"/>
<add key="enableDumpDiag" value="false"/>
<add key="doShrinkFolder" value="true"/>
<add key="_logLevel" value="6"/>
<add key="_logMaxMb" value="30"/>
<add key="logMitigSec" value="30"/>
<!--nome sw e versioni-->
<add key="CodModulo" value="WLP" />
<add key="AutoAuth" value="true" />
<add key="Ambient" value="DEV" />
<add key="urlType" value="http" />
<add key="baseUrl" value="http://iis02/test/admodelling" />
<add key="SiteName" value="iis02/test/admodelling" />
<add key="CodModulo" value="WLP"/>
<add key="AutoAuth" value="true"/>
<add key="Ambient" value="DEV"/>
<add key="urlType" value="http"/>
<add key="baseUrl" value="http://iis02/test/admodelling"/>
<add key="SiteName" value="iis02/test/admodelling"/>
<!--gestione auth dispositivi-->
<add key="AuthCookieName" value="admodellingAuth" />
<add key="defaultDomain" value="admod" />
<add key="enablePlain" value="true" />
<add key="urlGestUtenti" value="UserAdmin" />
<add key="adminEmail" value="samuele@steamware.net" />
<add key="AuthCookieName" value="admodellingAuth"/>
<add key="defaultDomain" value="admod"/>
<add key="enablePlain" value="true"/>
<add key="urlGestUtenti" value="UserAdmin"/>
<add key="adminEmail" value="samuele@steamware.net"/>
<!--<add key="PageNoIndex" value="UserAdmin#About#Contact#Login#MainMenu" />-->
<!--Gestione email-->
<add key="_fromEmail" value="webmaster@admodelling.org" />
<add key="_useAuthSmtp" value="true" />
<add key="_useAIMSmtp" value="false" />
<add key="_fromEmail" value="webmaster@admodelling.org"/>
<add key="_useAuthSmtp" value="true"/>
<add key="_useAIMSmtp" value="false"/>
<!--<add key="_srvSender" value="www.admodelling.org" />
<add key="_msgPriority" value="high" />
<add key="_smtpTimeout" value="5000" />-->
<add key="_smtpCli" value="smtp.gmail.com" />
<add key="_emailUser" value="steamwarebot@gmail.com" />
<add key="_emailPwd" value="drmfsls16" />
<add key="_enableSSL" value="true" />
<add key="_smtpCli" value="smtp.gmail.com"/>
<add key="_emailUser" value="steamwarebot@gmail.com"/>
<add key="_emailPwd" value="drmfsls16"/>
<add key="_enableSSL" value="true"/>
<!--<add key="_smtpCli" value="ssl0.ovh.net" />
<add key="_emailUser" value="comunicazioni@b2bcondomini.it" />
<add key="_emailPwd" value="b2b.2018!***" />
<add key="_enableSSL" value="true" />-->
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" />
<add key="errorPageRedirect" value="./Reset?Action=CDV" />
<add key="maxAgeAppConf_min" value="5" />
<add key="maxAgeAppConf_min" value="15" />
<add key="serializeSession" value="true"/>
<add key="errorPageRedirect" value="./Reset?Action=CDV"/>
<add key="maxAgeAppConf_min" value="5"/>
<add key="maxAgeAppConf_min" value="15"/>
<!--area file upload-->
<add key="_tempUploadDir" value="~/FileUpload/" />
<add key="_SqlDir" value="\\sql2016dev\Share\NKC" />
<add key="_tempUploadDir" value="~/FileUpload/"/>
<add key="_SqlDir" value="\\sql2016dev\Share\NKC"/>
<!--Configurazioni Redis-->
<add key="RedisConn" value="localhost,abortConnect=false,ssl=false" />
<add key="RedisConnAdmin" value="localhost,abortConnect=false,ssl=false,allowAdmin=true" />
<add key="redisDb" value="5" />
<add key="RedisConn" value="localhost,abortConnect=false,ssl=false"/>
<add key="RedisConnAdmin" value="localhost,abortConnect=false,ssl=false,allowAdmin=true"/>
<add key="redisDb" value="5"/>
<!--Conf DB-->
<add key="DevicesAuthConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Admodelling;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="PermessiConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Admodelling;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Admodelling;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="VocabolarioConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Admodelling;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="DevicesAuthConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Admodelling;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
<add key="PermessiConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Admodelling;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Admodelling;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
<add key="VocabolarioConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Admodelling;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
<add key="AdmodellingConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Admodelling;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
</appSettings>
<connectionStrings>
<add name="AdmodellingConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=Admodelling;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="AdmodellingConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=Admodelling;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Xml.XmlSerializer" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Xml.XDocument" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Xml.ReaderWriter" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ValueTuple" publicKeyToken="CC7B13FFCD2DDD51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Timer" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks.Parallel" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Overlapped" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.RegularExpressions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Encoding.Extensions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Encoding" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Security.SecureString" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Security.Principal" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Security.Cryptography.Algorithms" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.Serialization.Xml" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.3.0" newVersion="4.1.3.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.Serialization.Primitives" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.Serialization.Json" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.Numerics" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.InteropServices" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.Extensions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Resources.ResourceManager" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Reflection.Primitives" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Reflection.Extensions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Reflection" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ObjectModel" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Requests" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Primitives" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.NetworkInformation" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Linq.Queryable" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Linq.Parallel" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Linq.Expressions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Linq" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IO" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Globalization.Extensions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Globalization" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Dynamic.Runtime" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Diagnostics.Tracing" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Diagnostics.Tools" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Diagnostics.Debug" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Diagnostics.Contracts" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Data.Common" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ComponentModel.EventBasedAsync" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ComponentModel" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Collections" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Collections.Concurrent" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Sockets" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
<assemblyIdentity name="System.Net.Sockets" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IO.Compression" publicKeyToken="B77A5C561934E089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
<assemblyIdentity name="System.IO.Compression" publicKeyToken="B77A5C561934E089" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
</compilers>
</system.codedom>
</configuration>
+11 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -275,6 +275,7 @@
<Content Include="WUC\mod_jobsList.ascx" />
<Content Include="WUC\mod_register.ascx" />
<Content Include="WUC\mod_sendToken.ascx" />
<Content Include="WUC\mod_startJob.ascx" />
<Content Include="WUC\tmp_WIP.ascx" />
<Content Include="Scripts\modernizr-2.8.3.js" />
<Content Include="Site.Master" />
@@ -308,6 +309,7 @@
<Compile Include="Contact.aspx.designer.cs">
<DependentUpon>Contact.aspx</DependentUpon>
</Compile>
<Compile Include="dataLayer.cs" />
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -436,6 +438,13 @@
<Compile Include="WUC\mod_sendToken.ascx.designer.cs">
<DependentUpon>mod_sendToken.ascx</DependentUpon>
</Compile>
<Compile Include="WUC\mod_startJob.ascx.cs">
<DependentUpon>mod_startJob.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WUC\mod_startJob.ascx.designer.cs">
<DependentUpon>mod_startJob.ascx</DependentUpon>
</Compile>
<Compile Include="WUC\tmp_WIP.ascx.cs">
<DependentUpon>tmp_WIP.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -460,6 +469,7 @@
<Content Include="Scripts\popper.js.map" />
<Content Include="Scripts\popper-utils.min.js.map" />
<Content Include="Scripts\popper-utils.js.map" />
<Content Include="tempUpload\PlaceHolder.file" />
<None Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</None>
+36
View File
@@ -0,0 +1,36 @@
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebLCP
{
public class dataLayer
{
#region area public
public DS_AppTableAdapters.JobsListTableAdapter taJL;
#endregion
public dataLayer()
{
setupConnection();
initAdapters();
}
public static dataLayer man = new dataLayer();
private void setupConnection()
{
string connString = memLayer.ML.CRS("AdmodellingConnectionString");
taJL.Connection.ConnectionString = connString;
}
private void initAdapters()
{
taJL = new DS_AppTableAdapters.JobsListTableAdapter();
}
}
}
@@ -0,0 +1 @@

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Vendored
+1 -1
View File
@@ -17,7 +17,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=33']) {
withEnv(['NEXT_BUILD_NUMBER=34']) {
// env.versionNumber = VersionNumber(versionNumberString : '0.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '0.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'LCP'