Coder Social home page Coder Social logo

teamsbusinessapplicationmigration's Introduction

本地开发和调试Business.Application.Migration项目

准备条件

安装以下软件

  1. visual studio
  2. teams客户端或者使用web版本
  3. ngrok反向代理工具

下载代码

方法1

download

方法2

  1. 需要安装git
  2. 复制代码仓库地址 download
  3. 选择自己的文件夹(我这里的文件夹名称为github),输入以下命令,回车,进行克隆 download

如何切换before和after分支

打开命令行,首先进入clone下来项目的目录,如下 ngrok

  1. 切换到before分支
    > git checkout before
  2. 切换到after分支
    > git checkout after

步骤

  • 使用visual studio打开解决方案 Business.Application.Migration.sln,运行起来(默认端口3333).
  • 打开终端,运行ngrok,输入命令: ngrok.exe http 3333 -host-header="localhost:3333", 记住这里的https的地址,一会儿会用。 ngrok
  • 相应更新web.config(如果我们已经在teams**社区里了,可以使用已有代码中的bot,它是社区tenant下的一个bot) web.config
  • 使用App Studio配置tab, bot和message extension. app studio app studio app studio
  • Message Extension中的command定义(机器人的命令) app studio app studio app studio
  • 通过App Studio安装Business Application Migration应用,选择安装的功能(可以单独安装Tab, Bot,或者一起装,在“设置”按钮的下来框里选择) app studio app studio app studio feature
  • 配置Tab页面 feature
  • 打开添加的Tab页面 tab
  • 创建商品(点击Create按钮) task module open
  • 搜索商品发送到聊天里 search task module update task module update
  • 更新商品 task module update

注: 如果自己想注册Bot,请点击这里,或者直接在App Studio里的Bot功能模块创建。

注:如果想查看Graph调用的文档,请切换到before分支进行查看。

teamsbusinessapplicationmigration's People

Contributors

paul-cheung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.