# 查看前端

现在可以通过输入资源canister识别码访问默认程序的新的前端。

查看前端步骤

1. 打开浏览器，导航到dfx.json配置文件中定义的地址和端口

   例如，如果你使用的是默认的网络配置，可以导航到127.0.0.1:8000。.

   用下面的语法增加 `canisterId` 参数和 `contacts_assets` canister 标识符到URL：

   ```
   ?canisterId=<YOUR-CANISTER-IDENTIFIER>
   ```

   完整的URL示例如下：

   ```
   http://127.0.0.1:8000/?canisterId=cxeji-wacaa-aaaaa-aaaaa-aaaaa-aaaaa-aaaaa-q
   ```
2. 验证你可以看到一个**My Contacts**表单

   例如：

![](/files/-Ma3X70Zi1YcyAkVdjOh)

3\. 通过输入名称，地址和邮箱文本以及电话数字创建一个或多个记录，然后点击 **Add Contact。**

4.清除表单内容并在查询名称中输入联系名称，然后点击Lookup查看保存的联系信息。

记住你输入的Lookup名称必须完全匹配你输入的名称。


---

# 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://mixdao.gitbook.io/dfinity/si-.-jiao-cheng/9.-tian-jia-qian-duan-yang-shi/cha-kan-qian-duan.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.
