Coder Social home page Coder Social logo

msteams-samples-hello-world-csharp's Introduction

page_type products languages title description extensions
sample
office-365
csharp
Microsoft Teams C# Helloworld Sample
Microsoft Teams "Hello world" application for .NET/C#
contentType platforms createdDate
samples
CSS
10/16/2017 10:02:21 PM

NOTE: This repository is now archived. Its contents have moved here.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

msteams-samples-hello-world-csharp's People

Contributors

adlele avatar aosolis avatar billbliss avatar charlesprakash avatar clearab avatar dependabot[bot] avatar gousia-begum avatar laujan avatar microsoftopensource avatar msftgits avatar nokafor avatar o365devx avatar wajeed-msft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

msteams-samples-hello-world-csharp's Issues

Doesn't work at all - roslyn missing

got clone...
open in VS 2017
Press F5
Could not find a part of the path '...\msteams-samples-hello-world-csharp\Microsoft.Teams.Samples.HelloWorld.Web\bin\roslyn\csc.exe'.

Sample project doesn't build with Latest Bot Framework

On a clean Pull, the project doesn't build.

Steps to replicate:

  1. Update-package
  2. Build the solution
  3. Errors: References to missing classes

Output

image

1>------ Build started: Project: Microsoft.Teams.Samples.HelloWorld.Web, Configuration: Debug Any CPU ------
1>C:\Temp\HelloWorld\Microsoft.Teams.Samples.HelloWorld.Web\Controllers\MessagesController.cs(13,6,13,23): error CS0246: The type or namespace name 'BotAuthenticationAttribute' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Temp\HelloWorld\Microsoft.Teams.Samples.HelloWorld.Web\Controllers\MessagesController.cs(13,6,13,23): error CS0246: The type or namespace name 'BotAuthentication' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Temp\HelloWorld\Microsoft.Teams.Samples.HelloWorld.Web\Controllers\MessagesController.cs(17,64,17,72): error CS0246: The type or namespace name 'Activity' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Temp\HelloWorld\Microsoft.Teams.Samples.HelloWorld.Web\MessageExtension.cs(12,103,12,111): error CS0246: The type or namespace name 'Activity' could not be found (are you missing a using directive or an assembly reference?)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Extra notes

There have been a lot of talk that IMessageActivity and such like are obsolete and have been replaced by IActivity. Given the 4.5.1 of the Bot Framework is the latest code, this obviously suggests a mismatch between libraries and code. If I find it and fix it, I'll submit a PR, but for now, it looks very much borked!

What does this sample application do?

I am trying to write an app to push messages to a Teams channel. The readme does not explain the demo and when I fire it up I would have expected to get errors stating I need to add my teams connection information but nothing except a hello world web app which has no buttons to do anything. I am totally confused as there are no instructions.

NullReferenceException from "new CardImage"

In MessageExtension.cs:

var card = new ThumbnailCard { Title = !string.IsNullOrWhiteSpace(title) ? title : Faker.Lorem.Sentence(), Text = Faker.Lorem.Paragraph(), //Images = { new CardImage("http://lorempixel.com/640/480?rand=" + DateTime.Now.Ticks.ToString()) } };

This line triggers NullReferenceException
Images = { new CardImage("http://lorempixel.com/640/480?rand=" + DateTime.Now.Ticks.ToString()) }

Build question

Hi, why this project will produce "helloworldapp.zip"? Where is the build script? I want to change the zip name.
thanks
Peter

Tab on mobile app not working

So I have followed the direction and got the code working but the tab does not work on mobile but works fine on Desktop. Whenever I click on it says "HelloWorld is not available on phone". I have added a website url to it aswell. It is the same as the content url.

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.