# ZapLib V2

## Install - [NuGet](https://www.nuget.org/packages/ZapLib/)

#### **Package Manager**

{% tabs %}
{% tab title="V2" %}

```
Install-Package ZapLib -Version 2.0.9
```

{% endtab %}

{% tab title="V1" %}

```
Install-Package ZapLib -Version 1.22.0
```

{% endtab %}
{% endtabs %}

## System Required

* `v2.0.0`開始的版本支援 .NET Framework 4.5 以上
* `v1.16.0` 開始的版本包含 SignalR
* `v1.12.0` 以後的版本僅支援 .NET Framework 4.5 以上
* `v1.10.0` 以前的版本支援 .NET Framework 4.0 以上

## .NET WebAPI&#x20;

若您在 .NET WebAPI 的專案使用 ZapLib，且並未使用 SignalR 相關功能，請在 `Web.config` 加入設定

```markup
<appSettings>
    <add key="owin:AutomaticAppStartup" value="false" />
</appSettings>
```

## ZapLib V1 Document

[ZapLib V1 Document](https://linzap.gitbooks.io/zaplib/content/)

## Document License

ZapLib Document 由 ZapLin 製作，以創用 CC 姓名標示-非商業性-相同方式分享 3.0 台灣 授權條款釋出。

![CC 姓名標示-非商業性-相同方式分享 3.0 台灣](https://i.creativecommons.org/l/by-nc-sa/3.0/tw/88x31.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zaplib.gitbook.io/zaplib2/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
