Doconut Nasıl Güncellenir

Sürüm 1.0.5.2 veya daha altından güncellemek için bu adımları izleyin.

.NET Framework 4.7

Web.config Yapılandırması

Görüntüleyicinin HttpHandler'ının web.config dosyası aracılığıyla kaydedilmesi gerekir. IIS sürümünüze bağlı olarak, bu, web.config içinde tanımlanan aşağıdaki bölüm kullanılarak yapılabilir.

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 sayfalarında Kayıt Güncellemesi

ASPX sayfalarınızda derleme kaydını değiştirin.

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

Kontrol Etiketini Güncelle

Kontrol etiketini DocViewer'dan Viewer'a güncelleyin.

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

Ad Alanlarını Güncelle

Doconut 24.3.0 ad alanlarını yeniden adlandırdı. Yeni DLL'leri ekleyin: Doconut.dll, Doconut.Formats.dll, Doconut.Configs.dll ve Doconut.Clouds.dll.

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

Paket Bağımlılıkları

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

.NET Standard / Core

Ad Alanlarını Güncelle

Doconut 24.3.0 ad alanlarını yeniden adlandırdı. Yeni DLL'leri ekleyin: Doconut.dll, Doconut.Formats.dll, Doconut.Configs.dll ve Doconut.Clouds.dll.

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

Paket Bağımlılıkları

  • 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

Ad Alanlarını Güncelle

Doconut 24.3.0 ad alanlarını yeniden adlandırdı. Yeni DLL'leri ekleyin: Doconut.dll, Doconut.Formats.dll, Doconut.Configs.dll ve Doconut.Clouds.dll.

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

Paket Bağımlılıkları

  • 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