Doconut 업데이트 방법
버전 1.0.5.2 이하에서 최신 버전으로 업데이트하는 단계별 안내.
.NET Framework 4.7
Web.config 구성
뷰어는 web.config 파일을 통해 HttpHandler가 등록되어야 합니다. 사용 중인 IIS 버전에 따라 web.config에 다음 섹션을 추가하여 설정할 수 있습니다.
IIS 7 이하:
xml
<httpHandlers>
<add verb="GET,POST" path="DocImage.axd" type="Doconut.DocImageHandler, Doconut" />
</httpHandlers>IIS 7 이상:
xml
<handlers>
<add name="DocImage" verb="GET,POST" path="DocImage.axd" type="Doconut.DocImageHandler, Doconut" />
</handlers>ASPX 페이지에서 어셈블리 등록 업데이트
ASPX 페이지에서 어셈블리 등록을 변경합니다.
이전:
aspx
<%@ Register Assembly="DocumentViewer" Namespace="DotnetDaddy.DocumentViewer" TagPrefix="asp" %>새로운:
aspx
<%@ Register Assembly="Doconut" Namespace="Doconut" TagPrefix="asp" %>컨트롤 태그 업데이트
컨트롤 태그를 DocViewer에서 Viewer로 변경합니다.
이전:
aspx
<asp:DocViewer ID="ctlDoc" runat="server"/>새로운:
aspx
<asp:Viewer ID="ctlDoc" runat="server"/>네임스페이스 업데이트
Doconut 24.3.0에서 네임스페이스가 변경되었습니다. 새로운 DLL을 추가하십시오: Doconut.dll, Doconut.Formats.dll, Doconut.Configs.dll, 그리고 Doconut.Clouds.dll.
새로운 using 구문:
csharp
using Doconut;
using Doconut.Configs;
using Doconut.Formats;
using Doconut.Clouds;초기화:
csharp
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.
새로운 using 구문:
csharp
using Doconut;
using Doconut.Configs;
using Doconut.Formats;
using Doconut.Clouds;초기화:
csharp
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 or higher
네임스페이스 업데이트
Doconut 24.3.0에서 네임스페이스가 변경되었습니다. 새로운 DLL을 추가하십시오: Doconut.dll, Doconut.Formats.dll, Doconut.Configs.dll, 그리고 Doconut.Clouds.dll.
새로운 using 구문:
csharp
using Doconut;
using Doconut.Configs;
using Doconut.Formats;
using Doconut.Clouds;초기화:
csharp
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
이 페이지가 도움이 되었나요?