Doconut 업데이트 방법

버전 1.0.5.2 이하에서 업데이트하려면 다음 단계를 따르십시오.

.NET Framework 4.7

Web.config 구성

viewer는 web.config 파일을 통해 HttpHandler가 등록되어야 합니다. IIS 버전에 따라 web.config에 정의된 다음 섹션을 사용하여 수행할 수 있습니다.

Below IIS 7
<httpHandlers>
  <add verb="GET,POST" path="DocImage.axd" type="Doconut.DocImageHandler, Doconut" />
</httpHandlers>
IIS 7 and above
<handlers>
  <add name="DocImage" verb="GET,POST" path="DocImage.axd" type="Doconut.DocImageHandler, Doconut" />
</handlers>

ASPX 페이지에서 등록 업데이트

ASPX 페이지에서 어셈블리 등록을 변경합니다.

Old
<%@ Register Assembly="DocumentViewer" Namespace="DotnetDaddy.DocumentViewer" TagPrefix="asp" %>
New
<%@ Register Assembly="Doconut" Namespace="Doconut" TagPrefix="asp" %>

컨트롤 태그 업데이트

컨트롤 태그를 DocViewer에서 Viewer로 업데이트합니다.

Old
<asp:DocViewer ID="ctlDoc" runat="server"/>
New
<asp:Viewer ID="ctlDoc" runat="server"/>

네임스페이스 업데이트

Doconut 24.3.0은 네임스페이스를 변경했습니다. 새 DLL을 추가하십시오: Doconut.dll, Doconut.Formats.dll, Doconut.Configs.dll, Doconut.Clouds.dll.

New Usings
using Doconut;
using Doconut.Configs;
using Doconut.Formats;
using Doconut.Clouds;
Initialization
var viewer = new Viewer();

패키지 종속성

  • Newtonsoft.Json 13.0.3
  • System.Text.Encoding.CodePages 6.0.0
  • System.Text.Json 6.0.0

.NET Standard / Core

네임스페이스 업데이트

Doconut 24.3.0은 네임스페이스를 변경했습니다. 새 DLL을 추가하십시오: Doconut.dll, Doconut.Formats.dll, Doconut.Configs.dll, Doconut.Clouds.dll.

New Usings
using Doconut;
using Doconut.Configs;
using Doconut.Formats;
using Doconut.Clouds;
Initialization
var viewer = new Viewer();

패키지 종속성

  • Microsoft.Extensions.Caching.Abstractions 3.1.10
  • SkiaSharp 2.88.6
  • Newtonsoft.Json 13.0.3
  • System.Drawing.Common 6.0.0
  • System.Text.Json 6.0.0
  • System.Text.Encoding.CodePages 7.0.0

.NET 6 이상

네임스페이스 업데이트

Doconut 24.3.0은 네임스페이스를 변경했습니다. 새 DLL을 추가하십시오: Doconut.dll, Doconut.Formats.dll, Doconut.Configs.dll, Doconut.Clouds.dll.

New Usings
using Doconut;
using Doconut.Configs;
using Doconut.Formats;
using Doconut.Clouds;
Initialization
var viewer = new Viewer();

패키지 종속성

  • Microsoft.Extensions.Caching.Abstractions 3.1.10
  • Newtonsoft.Json 13.0.3
  • SkiaSharp 2.88.6
  • System.Drawing.Common 7.0.0
  • System.Text.Encoding.CodePages 7.0.0