Aggiunta deploy progetto su IIS02 / WinLab

This commit is contained in:
Samuele E. Locatelli
2015-05-05 17:50:17 +02:00
parent acba1b4b74
commit 1a0496a684
28 changed files with 223 additions and 2 deletions
Binary file not shown.
+2 -2
View File
@@ -53,8 +53,8 @@ Global
{3753524E-FD74-4896-A4EB-EEE1406F94CF}.SomaschiniUSA|Any CPU.Build.0 = Release|Any CPU
{3753524E-FD74-4896-A4EB-EEE1406F94CF}.Steamware|Any CPU.ActiveCfg = Release|Any CPU
{3753524E-FD74-4896-A4EB-EEE1406F94CF}.Steamware|Any CPU.Build.0 = Release|Any CPU
{3753524E-FD74-4896-A4EB-EEE1406F94CF}.WinLab|Any CPU.ActiveCfg = Release|Any CPU
{3753524E-FD74-4896-A4EB-EEE1406F94CF}.WinLab|Any CPU.Build.0 = Release|Any CPU
{3753524E-FD74-4896-A4EB-EEE1406F94CF}.WinLab|Any CPU.ActiveCfg = WinLab|Any CPU
{3753524E-FD74-4896-A4EB-EEE1406F94CF}.WinLab|Any CPU.Build.0 = WinLab|Any CPU
{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.218_SP|Any CPU.ActiveCfg = 218_SP|Any CPU
{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.218_SP|Any CPU.Build.0 = 218_SP|Any CPU
{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.218_test|Any CPU.ActiveCfg = 218_test|Any CPU
BIN
View File
Binary file not shown.
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>MSDeploy</WebPublishMethod>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
<ExcludeApp_Data>True</ExcludeApp_Data>
<MSDeployServiceURL>https://IIS02:8172/MsDeploy.axd</MSDeployServiceURL>
<DeployIisAppPath>Default Web Site/WebSCR</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>True</EnableMSDeployBackup>
<UserName>steamwarewin\administrator</UserName>
<_SavePWD>True</_SavePWD>
<PublishDatabaseSettings>
<Objects xmlns="">
<ObjectGroup Name="SteamWare.Properties.Settings.DS_AuthConnectionString" Order="1" Enabled="False">
<Destination Path="" />
<Object Type="DbDacFx">
<PreSource Path="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" includeData="False" />
<Source Path="$(IntermediateOutputPath)AutoScripts\SteamWare.Properties.Settings.DS_AuthConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
</Object>
<UpdateFrom Type="Web.Config">
<Source MatchValue="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
</UpdateFrom>
</ObjectGroup>
</Objects>
</PublishDatabaseSettings>
</PropertyGroup>
<ItemGroup>
<MSDeployParameterValue Include="$(DeployParameterPrefix)SteamWare.Properties.Settings.DS_AuthConnectionString-Web.config Connection String" />
</ItemGroup>
</Project>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TimeStampOfAssociatedLegacyPublishXmlFile />
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWrMOGKZ5+kG5PChtPELSKAAAAAACAAAAAAADZgAAwAAAABAAAADQqGyYdt8WVYiVevOHwQtrAAAAAASAAACgAAAAEAAAADa0EE6ZGibAVouh3p25mB4YAAAAM64tMTOGJ0cuNUUqtsZ6MStSH4RpeVk5FAAAALyd/yM2g5QR/onffXHWuHMCs+5/</EncryptedPassword>
</PropertyGroup>
</Project>
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>MSDeploy</WebPublishMethod>
<LastUsedBuildConfiguration>WinLab</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>True</ExcludeApp_Data>
<MSDeployServiceURL>https://winlab.steamware.net:8172/MsDeploy.axd</MSDeployServiceURL>
<DeployIisAppPath>WebSCR/Rigamonti</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>True</EnableMSDeployBackup>
<UserName>Administrator</UserName>
<_SavePWD>True</_SavePWD>
<PublishDatabaseSettings>
<Objects xmlns="">
<ObjectGroup Name="SteamWare.Properties.Settings.DS_AuthConnectionString" Order="1" Enabled="True">
<Destination Path="Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<Object Type="DbDacFx">
<PreSource Path="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" includeData="False" />
<Source Path="$(IntermediateOutputPath)AutoScripts\SteamWare.Properties.Settings.DS_AuthConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
</Object>
<UpdateFrom Type="Web.Config">
<Source MatchValue="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
</UpdateFrom>
</ObjectGroup>
</Objects>
</PublishDatabaseSettings>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
</PropertyGroup>
<ItemGroup>
<MSDeployParameterValue Include="$(DeployParameterPrefix)SteamWare.Properties.Settings.DS_AuthConnectionString-Web.config Connection String">
<ParameterValue>Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer</ParameterValue>
<UpdateDestWebConfig>False</UpdateDestWebConfig>
</MSDeployParameterValue>
</ItemGroup>
</Project>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TimeStampOfAssociatedLegacyPublishXmlFile />
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWrMOGKZ5+kG5PChtPELSKAAAAAACAAAAAAADZgAAwAAAABAAAAAYosUHGf8IPESKA7njIC5RAAAAAASAAACgAAAAEAAAANVPI9PCehl5474YOqwnh1EYAAAAUNxGRsXnZXhklLN5FHhtBFa6YKemdL4YFAAAAMfb/pPoITAu7TPa+ft9uZR/0SUD</EncryptedPassword>
</PropertyGroup>
</Project>
+46
View File
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB".
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<appSettings>
<add key="baseUrl" value="http://webscr.steamware.net/Rigamonti" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<!--<add key="adminEmail" value="paolo.malighetti@unibg.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="_fromEmail" value="paolo.malighetti@unibg.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>-->
<add key="enablePlain" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="WebSCRConnectionString" value="Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="WebSCRFilesConnectionString" value="Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR_files;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="DevicesAuthConnectionString" value="Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
</appSettings>
<connectionStrings>
<add name="WebSCR_Data.Properties.Settings.WebSCRConnectionString" connectionString="Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="WebSCR_Data.Properties.Settings.WebSCR_filesConnectionString" connectionString="Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR_files;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="SteamWare.Properties.Settings.WebSCRConnectionString" connectionString="Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=localhost\SQLExpress2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
<system.web> node, there is no need to use the "xdt:Locator" attribute.
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
</configuration>
+14
View File
@@ -367,6 +367,8 @@
<Content Include="WebUserControls\mod_schedaGiorno.ascx" />
<Content Include="WebUserControls\mod_selettoreIndirizzo.ascx" />
<Content Include="WebUserControls\mod_selettoreSlot.ascx" />
<None Include="Properties\PublishProfiles\IIS02.pubxml" />
<None Include="Properties\PublishProfiles\WinLab-Rigamonti.pubxml" />
<None Include="Scripts\jquery-2.1.3.intellisense.js" />
<Content Include="Scripts\jquery-2.1.3.js" />
<Content Include="Scripts\jquery-2.1.3.min.js" />
@@ -376,6 +378,9 @@
<Content Include="Web.config">
<SubType>Designer</SubType>
</Content>
<None Include="Web.WinLab.config">
<DependentUpon>Web.config</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>
<Compile Include="..\VersGen\WebSC.cs">
@@ -651,6 +656,15 @@
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'WinLab|AnyCPU'">
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
+3
View File
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<NameOfLastUsedPublishProfile>WinLab-Rigamonti</NameOfLastUsedPublishProfile>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!--
See http://nlog-project.org/wiki/Configuration_file
for information on customizing logging rules and outputs.
-->
<targets>
<!-- add your targets here -->
<!--
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${message}" />
-->
</targets>
<rules>
<!-- add your logging rules here -->
<!--
<logger name="*" minlevel="Trace" writeTo="f" />
-->
</rules>
</nlog>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="WebSCR_data.Properties.Settings.WebSCRConnectionString"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>
View File
@@ -0,0 +1,10 @@
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\bin\Release\NLog.config
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\bin\Release\WebSCR_data.dll.config
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\bin\Release\WebSCR_data.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\bin\Release\WebSCR_data.pdb
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\bin\Release\SteamWare.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\bin\Release\Flesk.ViewState.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\bin\Release\ICSharpCode.SharpZipLib.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\obj\Release\WebSCR_data.csprojResolveAssemblyReference.cache
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\obj\Release\WebSCR_data.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR_data\obj\Release\WebSCR_data.pdb
Binary file not shown.