This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Hello React with JSX</title> | |
| <script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script> | |
| <script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script> | |
| <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace LineBotDemo.Controllers | |
| { | |
| [RoutePrefix("echo")] | |
| public class LineMessagesSampleController : ApiController | |
| { | |
| private static readonly ILog Log4netLogger = LogManager.GetLogger(typeof(LineMessagesSampleController)); | |
| private LineClient lineClient = new LineClient(ConfigurationManager.AppSettings["ChannelToken"].ToString()); | |
| private Logger Logger = new Logger(Log4netLogger); |