프로젝트

일반

사용자정보

개정판 76dc223b

ID76dc223b1f9cb7f159fce2496d99d92e370acdc6
상위 c7bf556e
하위 e21008d5

김태성이(가) 약 4년 전에 추가함

image 추가 기능 수정

Change-Id: I04ec4985fce7fc6b9922a9b30ca3cab5f71b3728

차이점 보기:

ConvertService/ServiceBase/MigrationBackup/65e6b67c/CovnertPlugin/PemssDocumentInfo/NuGetUpgradeLog.html
1
<!DOCTYPE html>
2
<!-- saved from url=(0014)about:internet -->
3

  
4
    <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="NuGetUpgradeReportTitle">
5
          NuGetMigrationLog
6
        </title><style>
7
            
8
                    /* Body style, for the entire document */
9
                    body
10
                    {
11
                        background: #F3F3F4;
12
                        color: #1E1E1F;
13
                        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
14
                        font-size: 12pt;
15
                        padding: 0;
16
                        margin: 0;
17
                    }
18

  
19
                    /* Header1 style, used for the main title */
20
                    h1
21
                    {
22
                        padding: 10px 0px 10px 10px;
23
                        font-size: 21pt;
24
                        background-color: #E2E2E2;
25
                        border-bottom: 1px #C1C1C2 solid; 
26
                        color: #201F20;
27
                        margin: 0;
28
                        font-weight: normal;
29
                    }
30

  
31
                    /* Header2 style, used for "Overview" and other sections */
32
                    h2
33
                    {
34
                        font-size: 18pt;
35
                        font-weight: normal;
36
                        padding: 15px 0 5px 0;
37
                        margin: 0;
38
                    }
39

  
40
                    /* Header3 style, used for sub-sections, such as project name */
41
                    h3
42
                    {
43
                        font-weight: normal;
44
                        font-size: 15pt;
45
                        margin: 0;
46
                        padding: 15px 0 5px 0;
47
                        background-color: transparent;
48
                    }
49

  
50
                    .info-text
51
                    {
52
                        margin: 0px 0 0.75em 0;
53
                    }
54

  
55
                    /* Color all hyperlinks one color */
56
                    a
57
                    {
58
                        color: #1382CE;
59
                    }
60

  
61
                    /* Table styles */ 
62
                    table
63
                    {
64
                        border-spacing: 0 0;
65
                        border-collapse: collapse;
66
                        font-size: 11pt;
67
                    }
68

  
69
                    table th
70
                    {
71
                        background: #E7E7E8;
72
                        text-align: left;
73
                        text-decoration: none;
74
                        font-weight: normal;
75
                        padding: 3px 6px 3px 6px;
76
                    }
77

  
78
                    table td
79
                    {
80
                        vertical-align: top;
81
                        padding: 3px 6px 5px 5px;
82
                        margin: 0px;
83
                        border: 1px solid #E7E7E8;
84
                        background: #F7F7F8;
85
                    }
86

  
87
                    /* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
88
                    .localLink
89
                    {
90
                        color: #1E1E1F;
91
                        background: #EEEEED;
92
                        text-decoration: none;
93
                    }
94

  
95
                    .localLink:hover
96
                    {
97
                        color: #1382CE;
98
                        background: #FFFF99;
99
                        text-decoration: none;
100
                    }
101

  
102
                    .issueCell
103
                    {
104
                        width: 100%;
105
                    }
106

  
107
                    .packageIssue
108
                    {
109
                        margin-left: 25px;
110
                    }
111

  
112
                    /* Padding around the content after the h1 */ 
113
                    #content 
114
                    {
115
	                    padding: 0px 20px 20px 20px; 
116
                    }
117

  
118
                    .issues table
119
                    {
120
                        width: 97%;
121
                    }
122

  
123
                    /* All Icons */
124
                    .IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded
125
                    {
126
                        min-width:18px;
127
                        min-height:18px; 
128
                        background-repeat:no-repeat;
129
                        background-position:center;
130
                    }
131

  
132
                    .IconSuccessEncoded
133
                    {
134
                        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABcElEQVR4Xq2TsUsCURzHv15g8ZJcBWlyiYYgCIWcb9DFRRwMW5TA2c0/QEFwFkxxUQdxVlBwCYWOi6IhWgQhBLHJUCkhLr/BW8S7gvrAg+N+v8/v+x68Z8MGy+XSCyABQAXgBgHGALoASkIIDWSLeLBetdHryMjd5IxQPWT4rn1c/P7+xxp72Cs9m5SZ0Bq2vPnbPFafK2zDvmNHypdC0BPkLlQhxJsCAhQoZwdZU5mwxh720qGo8MzTxTTKZDPCx2HoVzp6lz0Q9tKhyx0kGs8Ny+TkWRKk8lCROwEduhyg9l/6lunOPSfmH3NUH6uQ0KHLAe7JYvJjevm+DAMGJHToKtigE+vwvIidxLamb8IBY9e+C5LiXREkfho3TSd06HJA13/oh6T51MTsfQbHrsMynQ5dDihFjiK8JJAU9AKIWTp76dCVN7HWHrajmUEGvyF9nkbAE6gLIS7kTUyuf2gscLoJrElZo/Mvj+nPz/kLTmfnEwP3tB0AAAAASUVORK5CYII=);
135
                    }
136

  
137
                    .IconInfoEncoded
138
                    {
139
                        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
140
                    }
141

  
142
                    .IconWarningEncoded
143
                    {
144
                        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
145
                    }
146

  
147
                    .IconErrorEncoded
148
                    {
149
                        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
150
                    }
151
                
152
          </style></head><body><h1>
153
          NuGet Migration Report - CovnertPlugin\PemssDocumentInfo</h1><div id="content"><h2 _locID="OverviewTitle">Overview</h2><div class="info-text">Migration to PackageReference was completed successfully. Please build and run your solution to verify that all packages are available.</div><div class="info-text">
154
            If you run into any problems, have feedback, questions, or concerns, please
155
            <a href="https://github.com/NuGet/Home/issues/">file an issue on the NuGet GitHub repository.</a></div><div class="info-text">
156
            Changed files and this report have been backed up here:
157
            <a href="D:\Source\Repos\MARKUS\ConvertService\ServiceBase\MigrationBackup\65e6b67c\CovnertPlugin\PemssDocumentInfo">D:\Source\Repos\MARKUS\ConvertService\ServiceBase\MigrationBackup\65e6b67c\CovnertPlugin\PemssDocumentInfo</a></div><div class="info-text"><a href="https://aka.ms/nuget-pc2pr-migrator-rollback">Help me rollback to packages.config</a></div><h2 _locID="PackagesTitle">Packages processed</h2><h3 _locID="IncludePackagesTitle">Top-level dependencies:</h3><div class="issues"><table><tr><th class="issueCell">Package Id</th><th>Version</th></tr><tr><td class="issueCell"><span>EntityFramework</span></td><td><span>
158
                v6.2.0</span></td></tr><tr><td class="issueCell"><span>MarkusDatabase</span></td><td><span>
159
                v1.8.0</span></td></tr></table></div><p /><h3 _locID="IncludePackagesTitle">Transitive dependencies:</h3><div class="issues"><table><tr><th class="issueCell">Package Id</th><th>Version</th></tr><tr><td class="issueCell">
160
                No transitive dependencies found.
161
              </td><td /></tr></table></div><h2 _locID="IssuesTitle">Package compatibility issues</h2><div class="issues"><table><tr><th /><th class="issueCell" _locID="DescriptionTableHeader">Description</th></tr><tr><td class="IconWarningEncoded" /><td class="issueCell"><div>EntityFramework
162
          v6.2.0</div><div class="packageIssue">마이그레이션 후 패키지가 설치되면 install.ps1 스크립트가 무시됩니다.</div><div class="packageIssue">마이그레이션 후 패키지가 설치되면 'content' 자산을 사용할 수 없습니다.</div><div class="packageIssue">마이그레이션 후 패키지가 설치되면 XDT 변환 파일 'content\net40\App.config.transform'이(가) 적용되지 않습니다.</div><div class="packageIssue">마이그레이션 후 패키지가 설치되면 XDT 변환 파일 'content\net40\Web.config.transform'이(가) 적용되지 않습니다.</div></td></tr></table></div></div></body></html>
ConvertService/ServiceBase/MigrationBackup/65e6b67c/CovnertPlugin/PemssDocumentInfo/PemssDocumentInfo.csproj
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
  <PropertyGroup>
5
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
    <ProjectGuid>{A317C1F6-E72E-4A5C-87EC-601622B0CF09}</ProjectGuid>
8
    <OutputType>Library</OutputType>
9
    <AppDesignerFolder>Properties</AppDesignerFolder>
10
    <RootNamespace>PemssDocumentInfo</RootNamespace>
11
    <AssemblyName>PemssDocumentInfo</AssemblyName>
12
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13
    <FileAlignment>512</FileAlignment>
14
    <Deterministic>true</Deterministic>
15
  </PropertyGroup>
16
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
    <DebugSymbols>true</DebugSymbols>
18
    <DebugType>full</DebugType>
19
    <Optimize>false</Optimize>
20
    <OutputPath>..\publish\Plugin\</OutputPath>
21
    <DefineConstants>DEBUG;TRACE</DefineConstants>
22
    <ErrorReport>prompt</ErrorReport>
23
    <WarningLevel>4</WarningLevel>
24
    <PlatformTarget>AnyCPU</PlatformTarget>
25
  </PropertyGroup>
26
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27
    <DebugType>pdbonly</DebugType>
28
    <Optimize>true</Optimize>
29
    <OutputPath>..\publish\Plugin\</OutputPath>
30
    <DefineConstants>TRACE</DefineConstants>
31
    <ErrorReport>prompt</ErrorReport>
32
    <WarningLevel>4</WarningLevel>
33
  </PropertyGroup>
34
  <ItemGroup>
35
    <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
36
      <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath>
37
    </Reference>
38
    <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
39
      <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
40
    </Reference>
41
    <Reference Include="Markus.EntityModel, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
42
      <HintPath>..\packages\MarkusDatabase.1.8.0\lib\net45\Markus.EntityModel.dll</HintPath>
43
    </Reference>
44
    <Reference Include="System" />
45
    <Reference Include="System.ComponentModel.DataAnnotations" />
46
    <Reference Include="System.Core" />
47
    <Reference Include="System.Runtime.Serialization" />
48
    <Reference Include="System.ServiceModel" />
49
    <Reference Include="System.Xml.Linq" />
50
    <Reference Include="System.Data.DataSetExtensions" />
51
    <Reference Include="Microsoft.CSharp" />
52
    <Reference Include="System.Data" />
53
    <Reference Include="System.Net.Http" />
54
    <Reference Include="System.Xml" />
55
  </ItemGroup>
56
  <ItemGroup>
57
    <Compile Include="Connected Services\PemssService\Reference.cs">
58
      <AutoGen>True</AutoGen>
59
      <DesignTime>True</DesignTime>
60
      <DependentUpon>Reference.svcmap</DependentUpon>
61
    </Compile>
62
    <Compile Include="DocumentInfoProcess.cs" />
63
    <Compile Include="Properties\AssemblyInfo.cs" />
64
  </ItemGroup>
65
  <ItemGroup>
66
    <ProjectReference Include="..\Markus.Service.Convert.IPlugin\Markus.Service.Convert.IPlugin.csproj">
67
      <Project>{a5ba7325-379c-4ccb-b156-1704fc2175e3}</Project>
68
      <Name>Markus.Service.Convert.IPlugin</Name>
69
    </ProjectReference>
70
    <ProjectReference Include="..\Markus.Service.Extensions\Markus.Service.Extensions.csproj">
71
      <Project>{5f983789-3e8f-4f9a-a601-138c3a83ca5f}</Project>
72
      <Name>Markus.Service.Extensions</Name>
73
    </ProjectReference>
74
  </ItemGroup>
75
  <ItemGroup>
76
    <WCFMetadata Include="Connected Services\" />
77
  </ItemGroup>
78
  <ItemGroup>
79
    <None Include="Connected Services\PemssService\PemssDocumentInfo.PemssService.DocumentInfo.datasource">
80
      <DependentUpon>Reference.svcmap</DependentUpon>
81
    </None>
82
    <None Include="Connected Services\PemssService\PemssDocumentInfo.PemssService.Requirement.datasource">
83
      <DependentUpon>Reference.svcmap</DependentUpon>
84
    </None>
85
    <None Include="Connected Services\PemssService\PemssService.wsdl" />
86
    <None Include="Connected Services\PemssService\PemssService.xsd">
87
      <SubType>Designer</SubType>
88
    </None>
89
    <None Include="Connected Services\PemssService\PemssService1.wsdl" />
90
    <None Include="Connected Services\PemssService\PemssService1.xsd">
91
      <SubType>Designer</SubType>
92
    </None>
93
    <None Include="Connected Services\PemssService\PemssService2.xsd">
94
      <SubType>Designer</SubType>
95
    </None>
96
    <None Include="packages.config" />
97
  </ItemGroup>
98
  <ItemGroup>
99
    <WCFMetadataStorage Include="Connected Services\PemssService\" />
100
  </ItemGroup>
101
  <ItemGroup>
102
    <None Include="Connected Services\PemssService\PemssService.disco" />
103
  </ItemGroup>
104
  <ItemGroup>
105
    <None Include="Connected Services\PemssService\configuration91.svcinfo" />
106
  </ItemGroup>
107
  <ItemGroup>
108
    <None Include="Connected Services\PemssService\configuration.svcinfo" />
109
  </ItemGroup>
110
  <ItemGroup>
111
    <None Include="Connected Services\PemssService\Reference.svcmap">
112
      <Generator>WCF Proxy Generator</Generator>
113
      <LastGenOutput>Reference.cs</LastGenOutput>
114
    </None>
115
  </ItemGroup>
116
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
117
</Project>
ConvertService/ServiceBase/MigrationBackup/65e6b67c/CovnertPlugin/PemssDocumentInfo/packages.config
1
<?xml version="1.0" encoding="utf-8"?>
2
<packages>
3
  <package id="EntityFramework" version="6.2.0" targetFramework="net45" />
4
  <package id="MarkusDatabase" version="1.8.0" targetFramework="net45" developmentDependency="true" />
5
</packages>
DataBase/packagePublish/MarkusDatabase.1.9.0.nuspec
1
<?xml version="1.0" encoding="utf-8"?>
2
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
3
  <metadata>
4
    <id>MarkusDatabase</id>
5
    <version>1.9.0</version>
6
    <title>Markus.Database</title>
7
    <authors>KTS</authors>
8
    <owners>Doftech</owners>
9
    <developmentDependency>true</developmentDependency>
10
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
11
    <description>My package description.</description>
12
    <dependencies>
13
      <group targetFramework=".NETFramework4.5">
14
        <dependency id="EntityFramework" version="6.2.0" />
15
      </group>
16
    </dependencies>
17
  </metadata>
18
  <files>
19
     <file src="lib\**" target="lib/{framework name}[{version}]" />
20
  </files>
21
</package>
FileUploadWevService/FileUpload.asmx
1
<%@ WebService Language="C#" CodeBehind="FileUpload.asmx.cs" Class="FileUploadWevService.FileUpload" %>
FileUploadWevService/FileUpload.asmx.cs
1
using KCOMDataModel.DataModel;
2
using System;
3
using System.Collections.Generic;
4
using System.Configuration;
5
using System.Drawing;
6
using System.IO;
7
using System.Linq;
8
using System.Web;
9
using System.Web.Services;
10

  
11
namespace FileUploadWevService
12
{
13
    /// <summary>
14
    /// FileUpload의 요약 설명입니다.
15
    /// </summary>
16
    [WebService(Namespace = "http://tempuri.org/")]
17
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
18
    [System.ComponentModel.ToolboxItem(false)]
19
    // ASP.NET AJAX를 사용하여 스크립트에서 이 웹 서비스를 호출하려면 다음 줄의 주석 처리를 제거합니다. 
20
    // [System.Web.Script.Services.ScriptService]
21
    public class FileUpload : System.Web.Services.WebService
22
    {
23

  
24
        [WebMethod]
25
        //public string Run(string ProjectNo, string VPNo, string UserID, string FileName, byte[] imageBytes)
26
        public string Run(string ProjectNo, string VPNo, string UserID, string FileName, byte[] f)
27
        {
28
            string sConnString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
29
            KCOMEntities entity = new KCOMEntities(sConnString);
30

  
31
            /// 사용자가 Comment한 이미지 URL를 생성한다.
32
            
33
            var item = entity.PROPERTIES.Where(data => data.TYPE == "SystemInfo" && data.PROPERTY == "Url").FirstOrDefault();
34
            string result = "";
35
            if (item!=null)
36
            {
37
                result = string.Format(@"{0}/UserData/{1}/{2}/{3}", item.VALUE, ProjectNo, UserID, FileName);
38
            }
39
            else
40
            {
41
                throw new Exception("SystemInfo 정보가 없습니다."); 
42
            }
43

  
44
            try
45
            {
46
                var TileSourceProperty = entity.PROPERTIES.Where(data => data.TYPE == "TileSorceStorage" && data.PROPERTY == ProjectNo).FirstOrDefault();
47
                if(TileSourceProperty == null)
48
                {
49
                    throw new Exception("TileSourceStorage 정보가 없습니다.");
50
                }
51
                /// 실제 이미지를 저장할 위치
52
                string DirectoryPath = string.Format(Path.Combine(TileSourceProperty.VALUE , "UserData", ProjectNo, UserID));
53
                DirectoryInfo directoryInfo_ = new DirectoryInfo(DirectoryPath);
54

  
55
                if (!directoryInfo_.Exists)
56
                {
57
                    directoryInfo_.Create();
58
                }
59
                //Image imageinfo = Converter(base64String);
60

  
61
                MemoryStream ms = new MemoryStream(f);
62
                FileStream fs = new FileStream(directoryInfo_ + @"\" + FileName, FileMode.Create);
63
                ms.WriteTo(fs);
64

  
65
                ms.Close();
66
                fs.Close();
67
                fs.Dispose();
68
                //imageinfo.Save(DirectoryPath + @"\" + FileName + "png", System.Drawing.Imaging.ImageFormat.Png);
69
            }
70
            catch (Exception ex)
71
            {
72
                result = ex.ToString();
73
            }
74

  
75
            return result;
76
        }
77

  
78
        public Image Converter(string base64String)
79
        {
80
            byte[] imageBytes = Convert.FromBase64String(base64String);
81

  
82
            using (var ms = new MemoryStream(imageBytes, 0, imageBytes.Length))
83
            {
84
                Image image = Image.FromStream(ms, true);
85
                return image;
86
            }
87
        }
88
    }
89
}
FileUploadWevService/FileUploadWevService.csproj
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
  <PropertyGroup>
5
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
    <ProductVersion></ProductVersion>
8
    <SchemaVersion>2.0</SchemaVersion>
9
    <ProjectGuid>{8A7E6629-886E-4F39-A8C5-EE24589891A8}</ProjectGuid>
10
    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
11
    <OutputType>Library</OutputType>
12
    <AppDesignerFolder>Properties</AppDesignerFolder>
13
    <RootNamespace>FileUploadWevService</RootNamespace>
14
    <AssemblyName>FileUploadWevService</AssemblyName>
15
    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
16
    <UseIISExpress>true</UseIISExpress>
17
    <Use64BitIISExpress />
18
    <IISExpressSSLPort>44301</IISExpressSSLPort>
19
    <IISExpressAnonymousAuthentication>enabled</IISExpressAnonymousAuthentication>
20
    <IISExpressWindowsAuthentication>disabled</IISExpressWindowsAuthentication>
21
    <IISExpressUseClassicPipelineMode>false</IISExpressUseClassicPipelineMode>
22
    <UseGlobalApplicationHostFile />
23
    <TargetFrameworkProfile />
24
  </PropertyGroup>
25
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
26
    <DebugSymbols>true</DebugSymbols>
27
    <DebugType>full</DebugType>
28
    <Optimize>false</Optimize>
29
    <OutputPath>bin\</OutputPath>
30
    <DefineConstants>DEBUG;TRACE</DefineConstants>
31
    <ErrorReport>prompt</ErrorReport>
32
    <WarningLevel>4</WarningLevel>
33
    <Prefer32Bit>false</Prefer32Bit>
34
  </PropertyGroup>
35
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
36
    <DebugType>pdbonly</DebugType>
37
    <Optimize>true</Optimize>
38
    <OutputPath>bin\</OutputPath>
39
    <DefineConstants>TRACE</DefineConstants>
40
    <ErrorReport>prompt</ErrorReport>
41
    <WarningLevel>4</WarningLevel>
42
    <Prefer32Bit>false</Prefer32Bit>
43
  </PropertyGroup>
44
  <ItemGroup>
45
    <Reference Include="Microsoft.CSharp" />
46
    <Reference Include="System.Data.DataSetExtensions" />
47
    <Reference Include="System.Data.Entity" />
48
    <Reference Include="System.Web.DynamicData" />
49
    <Reference Include="System.Web.Entity" />
50
    <Reference Include="System.Web.ApplicationServices" />
51
    <Reference Include="System.ComponentModel.DataAnnotations" />
52
    <Reference Include="System" />
53
    <Reference Include="System.Data" />
54
    <Reference Include="System.Web.Extensions" />
55
    <Reference Include="System.Drawing" />
56
    <Reference Include="System.Web" />
57
    <Reference Include="System.Xml" />
58
    <Reference Include="System.Configuration" />
59
    <Reference Include="System.Web.Services" />
60
    <Reference Include="System.EnterpriseServices" />
61
    <Reference Include="System.Xml.Linq" />
62
  </ItemGroup>
63
  <ItemGroup>
64
    <Content Include="FileUpload.asmx" />
65
    <Content Include="Web.config">
66
      <SubType>Designer</SubType>
67
    </Content>
68
  </ItemGroup>
69
  <ItemGroup>
70
    <Compile Include="FileUpload.asmx.cs">
71
      <DependentUpon>FileUpload.asmx</DependentUpon>
72
      <SubType>Component</SubType>
73
    </Compile>
74
    <Compile Include="Properties\AssemblyInfo.cs" />
75
  </ItemGroup>
76
  <ItemGroup>
77
    <None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
78
    <None Include="Web.Debug.config">
79
      <DependentUpon>Web.config</DependentUpon>
80
    </None>
81
    <None Include="Web.Release.config">
82
      <DependentUpon>Web.config</DependentUpon>
83
    </None>
84
  </ItemGroup>
85
  <ItemGroup>
86
    <ProjectReference Include="..\KCOMDataModel\KCOMDataModel.csproj">
87
      <Project>{629dc8cd-d458-47ef-8f02-cd12c7001c3e}</Project>
88
      <Name>KCOMDataModel</Name>
89
    </ProjectReference>
90
  </ItemGroup>
91
  <PropertyGroup>
92
    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
93
    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
94
  </PropertyGroup>
95
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
96
  <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
97
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
98
  <ProjectExtensions>
99
    <VisualStudio>
100
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
101
        <WebProjectProperties>
102
          <UseIIS>True</UseIIS>
103
          <AutoAssignPort>True</AutoAssignPort>
104
          <DevelopmentServerPort>50657</DevelopmentServerPort>
105
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
106
          <IISUrl>https://localhost:44301/ImageUpload/</IISUrl>
107
          <NTLMAuthentication>False</NTLMAuthentication>
108
          <UseCustomServer>False</UseCustomServer>
109
          <CustomServerUrl></CustomServerUrl>
110
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
111
        </WebProjectProperties>
112
      </FlavorProperties>
113
    </VisualStudio>
114
  </ProjectExtensions>
115
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
116
       Other similar extension points exist, see Microsoft.Common.targets.
117
  <Target Name="BeforeBuild">
118
  </Target>
119
  <Target Name="AfterBuild">
120
  </Target>
121
  -->
122
  <UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" />
123
  <Target Name="Web_config_AfterBuild" AfterTargets="AfterBuild" Condition="Exists('Web.$(Configuration).config')">
124
    <TransformXml Source="Web.config" Destination="$(OutputPath)Web.config" Transform="Web.$(Configuration).config" />
125
  </Target>
126
</Project>
FileUploadWevService/Properties/AssemblyInfo.cs
1
using System.Reflection;
2
using System.Runtime.CompilerServices;
3
using System.Runtime.InteropServices;
4

  
5
// 어셈블리의 일반 정보는 다음 특성 집합을 통해 
6
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
7
// 이 특성 값을 변경하십시오.
8
[assembly: AssemblyTitle("FileUploadWevService")]
9
[assembly: AssemblyDescription("")]
10
[assembly: AssemblyConfiguration("")]
11
[assembly: AssemblyCompany("")]
12
[assembly: AssemblyProduct("FileUploadWevService")]
13
[assembly: AssemblyCopyright("Copyright ©  2017")]
14
[assembly: AssemblyTrademark("")]
15
[assembly: AssemblyCulture("")]
16

  
17
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 
18
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 
19
// 해당 형식에 대해 ComVisible 특성을 true로 설정하십시오.
20
[assembly: ComVisible(false)]
21

  
22
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
23
[assembly: Guid("8a7e6629-886e-4f39-a8c5-ee24589891a8")]
24

  
25
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.:
26
//
27
//      주 버전
28
//      부 버전 
29
//      빌드 번호
30
//      수정 버전
31
//
32
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로 
33
// 지정되도록 할 수 있습니다.:
34
[assembly: AssemblyVersion("1.0.0.0")]
35
[assembly: AssemblyFileVersion("1.0.0.0")]
FileUploadWevService/Properties/PublishProfiles/FolderProfile.pubxml
1
<?xml version="1.0" encoding="utf-8"?>
2
<!--
3
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
4
by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121. 
5
-->
6
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
7
  <PropertyGroup>
8
    <WebPublishMethod>FileSystem</WebPublishMethod>
9
    <PublishProvider>FileSystem</PublishProvider>
10
    <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
11
    <LastUsedPlatform>Any CPU</LastUsedPlatform>
12
    <SiteUrlToLaunchAfterPublish />
13
    <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
14
    <ExcludeApp_Data>False</ExcludeApp_Data>
15
    <publishUrl>D:\WebSites\ImageUpload</publishUrl>
16
    <DeleteExistingFiles>False</DeleteExistingFiles>
17
  </PropertyGroup>
18
</Project>
FileUploadWevService/Web.Debug.config
1
<?xml version="1.0"?>
2
<!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
3
<!-- In case configuration is not the root element, replace it with root element in source configuration file -->
4
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
5
  <connectionStrings xdt:Transform="Replace">
6
    <add name="ConnectionString" connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=192.168.0.67;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"
7
          xdt:Locator="Match(name)" xdt:Transform="SetAttributes"/>
8
    <add name="CIConnectionString" connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=192.168.0.67;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"
9
         xdt:Locator="Match(name)" xdt:Transform="SetAttributes"/>
10
  </connectionStrings>
11
</configuration>
FileUploadWevService/Web.Release.config
1
<?xml version="1.0" encoding="utf-8"?>
2

  
3
<!-- web.config 변환 사용에 대한 자세한 내용은 https://go.microsoft.com/fwlink/?LinkId=125889를 참조하세요. -->
4

  
5
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
6
  <!--
7
    아래 예에서, "Match" 로케이터가 "MyDB" 값을 가진 "name" 특성을 
8
 찾은 경우에만 "SetAttributes" 변환에서 "ReleaseSQLServer"를 
9
 사용하도록 "connectionString"의 값을 변경합니다.
10
    
11
    <connectionStrings>
12
      <add name="MyDB" 
13
        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
14
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
15
    </connectionStrings>
16
  -->
17
  <system.web>
18
    <compilation xdt:Transform="RemoveAttributes(debug)" />
19
    <!--
20
      
21
      아래 예에서 "Replace" 변환은 web.config 파일의 
22
      <customErrors> 섹션 전체를 바꿉니다.
23
      <system.web> 노드 아래에는 customErrors 섹션이 하나만 있기 때문에 
24
      "xdt:Locator" 특성을 사용할 필요가 없습니다.
25
      
26
      <customErrors defaultRedirect="GenericError.htm"
27
        mode="RemoteOnly" xdt:Transform="Replace">
28
        <error statusCode="500" redirect="InternalError.htm"/>
29
      </customErrors>
30
    >
31
    -->
32
  </system.web>
33
</configuration>
FileUploadWevService/Web.config
1
<?xml version="1.0"?>
2
<!--
3
  ASP.NET 응용 프로그램을 구성하는 방법에 대한 자세한 내용은 다음을 참조하세요.
4
  https://go.microsoft.com/fwlink/?LinkId=169433
5
  -->
6
<configuration>
7
  <connectionStrings>
8
    <add name="ConnectionString"
9
      connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=192.168.0.67;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;"
10
      providerName="System.Data.EntityClient"/>
11
    <add name="CIConnectionString"
12
      connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=192.168.0.67;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;"
13
      providerName="System.Data.EntityClient"/>
14
  </connectionStrings>
15
  <system.web>
16
    <compilation debug="true" targetFramework="4.6.1"/>
17
    <pages controlRenderingCompatibilityVersion="4.0"/>
18
  </system.web>
19
</configuration>
FinalService/KCOM_FinalService/KCOM_FinalService/Program_old.cs
1
#if DEBUG
2
using KCOMDataModel.DataModel;
3
#endif
4
using System;
5
using System.IO;
6
using System.Reflection;
7
using System.ServiceProcess;
8
using log4net;
9
using KCOM_FinalService.Common;
10

  
11
namespace KCOM_FinalService
12
{
13
    static class Program
14
    {
15
        /// <summary>
16
        /// Application Data Folder
17
        /// </summary>
18
        public static string AppDataFolder
19
        {
20
            get
21
            {
22
                return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MARKUS");
23
            }
24
        }
25

  
26
        public static ServiceBase[] ServicesToRun = null;
27

  
28
        public static MethodInfo UploadFinalPDFMethod { get; set; }
29
        public static object UploadFinalPDFInst { get; set; }
30

  
31
        static MarkusFinalService service = new MarkusFinalService();
32

  
33
        /// <summary>
34
        /// The main entry point for the application.
35
        /// </summary>
36
        static void Main(string[] args)
37
        {
38
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
39

  
40
            log4net.GlobalContext.Properties["LogFilePath"] = Path.Combine(AppDataFolder, "Log", "FinalService.log");
41
         
42
            /// get legacy interface for upload final pdf file
43
            string UploadFinalDllPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "UploadFinal.dll");
44
            if (File.Exists(UploadFinalDllPath))
45
            {
46
                Assembly asm = Assembly.LoadFrom(UploadFinalDllPath);
47
                Type _UploadFinalClassType = asm.GetType("UploadFinal.UploadFinal");
48

  
49
                //Legacy IF
50
                Program.UploadFinalPDFMethod = _UploadFinalClassType.GetMethod("UploadFinalPDF", new Type[] { typeof(string), typeof(string), typeof(KCOMDataModel.DataModel.FINAL_PDF), typeof(string) });
51
                if (null != Program.UploadFinalPDFMethod)
52
                {
53
                    Program.UploadFinalPDFInst = Activator.CreateInstance(_UploadFinalClassType, null);
54
                }
55
            }
56

  
57
            if (Environment.UserInteractive)
58
            {
59
                try
60
                {
61
                    service.TestStartupAndStop(args);
62

  
63
                }
64
                catch (Exception ex)
65
                {
66
                    Console.WriteLine(ex);
67
                }
68
            }
69
            else
70
            {
71
                /// up to here
72
                ServicesToRun = new ServiceBase[]
73
                {  new MarkusFinalService()
74
                };
75
                ServiceBase.Run(ServicesToRun);
76
            }
77
        }
78

  
79
        /// <summary>
80
        /// log unhandled exception
81
        /// </summary>
82
        /// <author>humkyung</author>
83
        /// <date>2019.06.04</date>
84
        /// <param name="sender"></param>
85
        /// <param name="e"></param>
86
        private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
87
        {
88
            try
89
            {
90
                service.logger.Write(e.ExceptionObject as Exception);
91
            }
92
            catch (Exception ex)
93
            {
94
                Console.WriteLine(ex.InnerException.ToString());
95
            }
96
            finally
97
            {
98
            }
99
        }
100
    }
101
}
INI/MARKUS.ini
15 15
[KCOM_Get_FinalImage_Get_PdfImage]
16 16
URL=http://192.168.0.67:5977/Get_FInalImage/Get_PdfImage.asmx
17 17
[KCOM_kr_co_devdoftech_cloud_FileUpload]
18
URL=http://192.168.0.67:5977/ImageUpload/FileUpload.asmx
18
URL=https://125.129.196.207:44301/ImageUpload/FileUpload.asmx
19 19
[mainServerImageWebPath]
20 20
URL=http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png
21 21
[subServerImageWebPath]
INI/MARKUS_DAELIM.ini
12 12
URL=http://172.20.120.141:5977/TileSource/Version/version_x86.xml
13 13
[excelFilePath]
14 14
URL=http://172.20.120.141:5977/TileSource/Check_Test/CheckList_T.xlsx
15

  
15 16
[KCOM_Get_FinalImage_Get_PdfImage]
16 17
URL=http://172.20.120.141:5977/Get_FInalImage/Get_PdfImage.asmx
18

  
17 19
[KCOM_kr_co_devdoftech_cloud_FileUpload]
18 20
URL=http://172.20.120.141:5977/ImageUpload/FileUpload.asmx
21

  
19 22
[mainServerImageWebPath]
20 23
URL=http://172.20.120.141:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png
21 24
[subServerImageWebPath]
KCOM.sln
111 111
		Nuget.config = Nuget.config
112 112
	EndProjectSection
113 113
EndProject
114
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FileUploadWevService", "FileUploadWevService\FileUploadWevService.csproj", "{8A7E6629-886E-4F39-A8C5-EE24589891A8}"
115
EndProject
114 116
Global
115 117
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
116 118
		Daelim_RemoteTest|Any CPU = Daelim_RemoteTest|Any CPU
......
661 663
		{6F99238F-8CED-4794-9098-630798149D55}.Release_PEMSS|Any CPU.Build.0 = Release|Any CPU
662 664
		{6F99238F-8CED-4794-9098-630798149D55}.Release|Any CPU.ActiveCfg = Release|Any CPU
663 665
		{6F99238F-8CED-4794-9098-630798149D55}.Release|Any CPU.Build.0 = Release|Any CPU
666
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Daelim_RemoteTest|Any CPU.ActiveCfg = Debug|Any CPU
667
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Daelim_RemoteTest|Any CPU.Build.0 = Debug|Any CPU
668
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_CadExport|Any CPU.ActiveCfg = Debug|Any CPU
669
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_CadExport|Any CPU.Build.0 = Debug|Any CPU
670
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_Daelim|Any CPU.ActiveCfg = Debug|Any CPU
671
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_Daelim|Any CPU.Build.0 = Debug|Any CPU
672
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_DevDoftech|Any CPU.ActiveCfg = Debug|Any CPU
673
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_DevDoftech|Any CPU.Build.0 = Debug|Any CPU
674
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_HyoSung|Any CPU.ActiveCfg = Debug|Any CPU
675
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_HyoSung|Any CPU.Build.0 = Debug|Any CPU
676
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_SNI|Any CPU.ActiveCfg = Debug|Any CPU
677
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug_SNI|Any CPU.Build.0 = Debug|Any CPU
678
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
679
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
680
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.DeployWeb_Daelim|Any CPU.ActiveCfg = Debug|Any CPU
681
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.DeployWeb_Daelim|Any CPU.Build.0 = Debug|Any CPU
682
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.DeployWeb_Hyosung_X86|Any CPU.ActiveCfg = Debug|Any CPU
683
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.DeployWeb_Hyosung_X86|Any CPU.Build.0 = Debug|Any CPU
684
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.DeployWeb_Hyosung|Any CPU.ActiveCfg = Debug|Any CPU
685
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.DeployWeb_Hyosung|Any CPU.Build.0 = Debug|Any CPU
686
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.DeployWeb_SNI|Any CPU.ActiveCfg = Debug|Any CPU
687
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.DeployWeb_SNI|Any CPU.Build.0 = Debug|Any CPU
688
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Release_Default|Any CPU.ActiveCfg = Release|Any CPU
689
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Release_Default|Any CPU.Build.0 = Release|Any CPU
690
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Release_PEMSS|Any CPU.ActiveCfg = Release|Any CPU
691
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Release_PEMSS|Any CPU.Build.0 = Release|Any CPU
692
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
693
		{8A7E6629-886E-4F39-A8C5-EE24589891A8}.Release|Any CPU.Build.0 = Release|Any CPU
664 694
	EndGlobalSection
665 695
	GlobalSection(SolutionProperties) = preSolution
666 696
		HideSolutionNode = FALSE
KCOM/App.xaml.cs
30 30
    public partial class App : Application
31 31
    {
32 32
        public static PageManager.PageStorage PageStorage;
33

  
33
        public static string BaseAddress;
34
        public static string FileUploadUri;
34 35
        public static WSHttpBinding _binding;
35 36
        public static EndpointAddress _EndPoint;
36 37
        public static EndpointAddress _EndPoint_SaveLoad;
......
63 64
            }
64 65
        }
65 66

  
67
        public static kr.co.devdoftech.cloud.FileUpload FileUploader
68
        {
69
            get { return new kr.co.devdoftech.cloud.FileUpload{ Url = FileUploadUri }; }
70

  
71
            private set {; }
72
        }
73

  
66 74
        /// <summary>
67 75
        /// VisualStudio Design Time여부
68 76
        /// </summary>
......
230 238
                //_binding.TextEncoding = System.Text.Encoding.UTF8;
231 239
                //Support.SetLicense();
232 240

  
233
                string sBaseServiceURL = string.Empty;//CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "");
234

  
235 241
#if DEBUG
236 242
                //sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
237 243
                System.Diagnostics.Debug.WriteLine("sBaseServiceURL");
238
                sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
244
                BaseAddress = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
239 245
#else
240
                sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
246
                BaseAddress = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
241 247
#endif
242
                 App.FileLogger.Debug(string.Format("{0}/ServiceDeepView.svc", sBaseServiceURL));
243
                _EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", sBaseServiceURL));
248

  
249
                var UploadAddress = CommonLib.Common.GetConfigString("KCOM_kr_co_devdoftech_cloud_FileUpload", "URL", "");
250

  
251
                if (!string.IsNullOrWhiteSpace(UploadAddress) && !string.IsNullOrWhiteSpace(BaseAddress))
252
                {
253
                    var uri = new UriBuilder(UploadAddress);
254
                    var baseUri = new UriBuilder(BaseAddress);
255

  
256
                    uri.Host = baseUri.Host;
257
                    uri.Port = baseUri.Port;
258

  
259
                    FileUploadUri = uri.ToString();
260
                }
261

  
262
                App.FileLogger.Debug(string.Format("{0}/ServiceDeepView.svc", BaseAddress));
263
                _EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", BaseAddress));
264

  
265
                
244 266

  
245 267
                await SplashScreenAsnyc();
246 268
                base.OnStartup(e);
KCOM/Common/Converter/SvgConverter.cs
60 60

  
61 61

  
62 62
                        byte[] bytes = System.IO.File.ReadAllBytes(@AppDomain.CurrentDomain.BaseDirectory + "potrace.bmp");
63
                        kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload();
63
                        kr.co.devdoftech.cloud.FileUpload fileUploader = App.FileUploader;
64 64
                        fileurl = fileUploader.Run(App.ViewInfo.ProjectNO, DOCUMENT_NO, App.ViewInfo.UserID, guid + ".svg", bytes);
65 65

  
66 66
                        Check_Uri.UriCheck(fileurl);
KCOM/Controls/Symbol.xaml.cs
300 300

  
301 301
                        byte[] Img_byte = fs.ToArray();
302 302

  
303
                        kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload();
303
                        kr.co.devdoftech.cloud.FileUpload fileUploader = App.FileUploader;
304 304
                        filename = fileUploader.Run(App.ViewInfo.ProjectNO, Common.ViewerDataModel.Instance.SystemMain.dzMainMenu._DocItem.DOCUMENT_NO, App.ViewInfo.UserID, Commons.shortGuid() + ".png", Img_byte);
305 305
                        Check_Uri.UriCheck(filename);
306 306
                        if (RadTab.SelectedIndex == 0)
KCOM/Events/Implementation/TopMenuEvent.cs
1663 1663
            try
1664 1664
            {           
1665 1665
                var instanceMain = this.ParentOfType<MainWindow>();
1666
                //http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx
1667 1666

  
1668 1667
                Microsoft.Win32.OpenFileDialog dlg = new Microsoft.Win32.OpenFileDialog();
1669 1668
                dlg.Filter = "All files (*.*)|*.*|PNG Images (*.png)|*.png";
......
1677 1676
                    String strFile = System.IO.Path.GetFileName(instanceMain.dzMainMenu.filename);
1678 1677
                    long numByte = fileInfo.Length;
1679 1678
                    double dLen = Convert.ToDouble(fileInfo.Length / 1000000);
1680
                    kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload();
1681

  
1679
                    kr.co.devdoftech.cloud.FileUpload fileUploader = App.FileUploader;
1680
             
1682 1681
                    if (dLen < 4)
1683 1682
                    {
1684 1683
                        System.IO.FileStream fStream = new System.IO.FileStream(instanceMain.dzMainMenu.filename, System.IO.FileMode.Open, System.IO.FileAccess.Read);
......
1717 1716
                Common.ViewerDataModel.Instance.ControlTag = null;
1718 1717
                this.ParentOfType<MainWindow>().dzMainMenu.controlType = MarkupToPDF.Controls.Common.ControlType.None;
1719 1718
                this.ParentOfType<MainWindow>().dzMainMenu.mouseHandlingMode = IKCOM.MouseHandlingMode.None;
1720
                this.ParentOfType<MainWindow>().DialogMessage_Alert(""+ ex , "Alert");
1719
                App.FileLogger.Error("Image Converter ",ex);
1720

  
1721
                this.ParentOfType<MainWindow>().DialogMessage_Alert("System Error" , "Alert");
1721 1722
            }
1722 1723
        }
1723 1724

  
......
2874 2875
                    String strFile = System.IO.Path.GetFileName(fileInfo.FullName);
2875 2876
                    long numByte = fileInfo.Length;
2876 2877
                    double dLen = Convert.ToDouble(fileInfo.Length / 1000000);
2877
                    kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload();
2878
                    kr.co.devdoftech.cloud.FileUpload fileUploader = App.FileUploader;
2878 2879

  
2879 2880
                    if (dLen < 4)
2880 2881
                    {
KCOM/Events/PasteCommand.cs
145 145
                    String strFile = System.IO.Path.GetFileName(fileInfo.FullName);
146 146
                    long numByte = fileInfo.Length;
147 147
                    double dLen = Convert.ToDouble(fileInfo.Length / 1000000);
148
                    kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload();
148
                    kr.co.devdoftech.cloud.FileUpload fileUploader = App.FileUploader;
149 149
                    if (dLen < 4)
150 150
                    {
151 151
                        System.IO.FileStream fStream = new System.IO.FileStream(fileInfo.FullName,
KCOM/KCOM.csproj
1160 1160
      <CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName>
1161 1161
      <CachedSettingsPropName>KCOM_Get_FinalImage_Get_PdfImage</CachedSettingsPropName>
1162 1162
    </WebReferenceUrl>
1163
    <WebReferenceUrl Include="http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx">
1163
    <WebReferenceUrl Include="https://localhost:44301/ImageUpload/FileUpload.asmx">
1164 1164
      <UrlBehavior>Dynamic</UrlBehavior>
1165 1165
      <RelPath>Web References\kr.co.devdoftech.cloud\</RelPath>
1166
      <UpdateFromURL>http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx</UpdateFromURL>
1166
      <UpdateFromURL>https://localhost:44301/ImageUpload/FileUpload.asmx</UpdateFromURL>
1167 1167
      <ServiceLocationURL>
1168 1168
      </ServiceLocationURL>
1169 1169
      <CachedDynamicPropName>
KCOM/Properties/Settings.Designer.cs
38 38
        [global::System.Configuration.ApplicationScopedSettingAttribute()]
39 39
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
40 40
        [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
41
        [global::System.Configuration.DefaultSettingValueAttribute("http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx")]
41
        [global::System.Configuration.DefaultSettingValueAttribute("https://localhost:44301/ImageUpload/FileUpload.asmx")]
42 42
        public string KCOM_kr_co_devdoftech_cloud_FileUpload {
43 43
            get {
44 44
                return ((string)(this["KCOM_kr_co_devdoftech_cloud_FileUpload"]));
KCOM/Properties/Settings.settings
6 6
      <Value Profile="(Default)">http://www.devdoftech.co.kr:5979</Value>
7 7
    </Setting>
8 8
    <Setting Name="KCOM_kr_co_devdoftech_cloud_FileUpload" Type="(Web Service URL)" Scope="Application">
9
      <Value Profile="(Default)">http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx</Value>
9
      <Value Profile="(Default)">https://localhost:44301/ImageUpload/FileUpload.asmx</Value>
10 10
    </Setting>
11 11
    <Setting Name="KCOM_Get_FinalImage_Get_PdfImage" Type="(Web Service URL)" Scope="Application">
12 12
      <Value Profile="(Default)">http://cloud.devdoftech.co.kr:5977/Get_FInalImage/Get_PdfImage.asmx</Value>
KCOM/Views/MainMenu.xaml.cs
5244 5244
                {
5245 5245
                    if (symbolpng == true || symbolsvg == true)
5246 5246
                    {
5247
                        kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload();
5247
                        kr.co.devdoftech.cloud.FileUpload fileUploader = App.FileUploader;
5248 5248
                        string guid = Commons.shortGuid();
5249 5249

  
5250 5250
                        fileUploader.RunAsync(App.ViewInfo.ProjectNO, _DocItem.DOCUMENT_NO, App.ViewInfo.UserID, guid + ".png", Img_byte);
......
5474 5474

  
5475 5475
                        byte[] Img_byte = fs.ToArray();
5476 5476

  
5477
                        kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload();
5477
                        kr.co.devdoftech.cloud.FileUpload fileUploader = App.FileUploader;
5478 5478
                        filename = fileUploader.Run(App.ViewInfo.ProjectNO, _DocItem.DOCUMENT_NO, App.ViewInfo.UserID, Commons.shortGuid() + ".png", Img_byte);
5479 5479
                        Check_Uri.UriCheck(filename);
5480 5480
                        if (symbolPanel_Instance.RadTab.SelectedIndex == 0)
KCOM/Web References/kr.co.devdoftech.cloud/FileUpload.disco
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
3
  <contractRef ref="http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx?wsdl" docRef="http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
4
  <soap address="http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx" xmlns:q1="http://tempuri.org/" binding="q1:FileUploadSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
5
  <soap address="http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx" xmlns:q2="http://tempuri.org/" binding="q2:FileUploadSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
3
  <contractRef ref="https://localhost:44301/ImageUpload/FileUpload.asmx?wsdl" docRef="https://localhost:44301/ImageUpload/FileUpload.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
4
  <soap address="https://localhost:44301/ImageUpload/FileUpload.asmx" xmlns:q1="http://tempuri.org/" binding="q1:FileUploadSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
5
  <soap address="https://localhost:44301/ImageUpload/FileUpload.asmx" xmlns:q2="http://tempuri.org/" binding="q2:FileUploadSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
6 6
</discovery>
KCOM/Web References/kr.co.devdoftech.cloud/FileUpload.wsdl
60 60
  </wsdl:binding>
61 61
  <wsdl:service name="FileUpload">
62 62
    <wsdl:port name="FileUploadSoap" binding="tns:FileUploadSoap">
63
      <soap:address location="http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx" />
63
      <soap:address location="https://localhost:44301/ImageUpload/FileUpload.asmx" />
64 64
    </wsdl:port>
65 65
    <wsdl:port name="FileUploadSoap12" binding="tns:FileUploadSoap12">
66
      <soap12:address location="http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx" />
66
      <soap12:address location="https://localhost:44301/ImageUpload/FileUpload.asmx" />
67 67
    </wsdl:port>
68 68
  </wsdl:service>
69 69
</wsdl:definitions>
KCOM/Web References/kr.co.devdoftech.cloud/Reference.cs
23 23
    
24 24
    
25 25
    /// <remarks/>
26
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3056.0")]
26
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
27 27
    [System.Diagnostics.DebuggerStepThroughAttribute()]
28 28
    [System.ComponentModel.DesignerCategoryAttribute("code")]
29 29
    [System.Web.Services.WebServiceBindingAttribute(Name="FileUploadSoap", Namespace="http://tempuri.org/")]
......
35 35
        
36 36
        /// <remarks/>
37 37
        public FileUpload() {
38
            this.Url = CommonLib.Common.GetConfigString("KCOM_kr_co_devdoftech_cloud_FileUpload", "URL", "", App.isExternal);            
38
            this.Url = global::KCOM.Properties.Settings.Default.KCOM_kr_co_devdoftech_cloud_FileUpload;
39 39
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
40 40
                this.UseDefaultCredentials = true;
41 41
                this.useDefaultCredentialsSetExplicitly = false;
......
129 129
    }
130 130
    
131 131
    /// <remarks/>
132
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3056.0")]
132
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
133 133
    public delegate void RunCompletedEventHandler(object sender, RunCompletedEventArgs e);
134 134
    
135 135
    /// <remarks/>
136
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3056.0")]
136
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
137 137
    [System.Diagnostics.DebuggerStepThroughAttribute()]
138 138
    [System.ComponentModel.DesignerCategoryAttribute("code")]
139 139
    public partial class RunCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
KCOM/Web References/kr.co.devdoftech.cloud/Reference.map
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3 3
  <Results>
4
    <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx?wsdl" filename="FileUpload.wsdl" />
5
    <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx?disco" filename="FileUpload.disco" />
4
    <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="https://localhost:44301/ImageUpload/FileUpload.asmx?disco" filename="FileUpload.disco" />
5
    <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="https://localhost:44301/ImageUpload/FileUpload.asmx?wsdl" filename="FileUpload.wsdl" />
6 6
  </Results>
7 7
</DiscoveryClientResultsFile>
KCOM/app.config
123 123
  <applicationSettings>
124 124
    <KCOM.Properties.Settings>
125 125
      <setting name="KCOM_kr_co_devdoftech_cloud_FileUpload" serializeAs="String">
126
        <value>http://cloud.devdoftech.co.kr:5977/ImageUpload/FileUpload.asmx</value>
126
        <value>https://localhost:44301/ImageUpload/FileUpload.asmx</value>
127 127
      </setting>
128 128
      <setting name="KCOM_Get_FinalImage_Get_PdfImage" serializeAs="String">
129 129
        <value>http://cloud.devdoftech.co.kr:5977/Get_FInalImage/Get_PdfImage.asmx</value>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)