это работает с ядром .net?

код был на этом сайтеhttps://www.microsoft.com/reallifecode/2017/01/10/creating-a-single-bot-service-to-support-multiple-bot-applications/#comment-148
Я новичок в бот-фреймворке и написал бот на C # и хочу развернуть того же бота для n пользователей, как показано на веб-странице. Но данный код находится вNode.js, Есть ли способ написать тот же код в C # asp.net

var express = require('express');            
var builder = require('botbuilder');          
var port = process.env.PORT || 3978;         
var app = express();

// a list of client ids, with their corresponding  
// appids and passwords from the bot developer portal.    
// get this from the configuration, a remote API, etc.   
var customersBots = [   
    { cid: 'cid1', appid: '', passwd: '' },  
    { cid: 'cid2', appid: '', passwd: '' },    
    { cid: 'cid3', appid: '', passwd: '' },    
];

// expose a designated Messaging Endpoint for each of the customers 

customersBots.forEach(cust => {

    // create a connector and bot instances for    
    // this customer using its appId and password   
    var connector = new builder.ChatConnector({   
        appId: cust.appid,   
        appPassword: cust.passwd   
     });   
     var bot = new builder.UniversalBot(connector);

     // bing bot dialogs for each customer bot instance   
     bindDialogsToBot(bot, cust.cid);

     // bind connector for each customer on it's dedicated Messaging Endpoint.   
     // bot framework entry should use the customer id as part of the    
     // endpoint url to map to the right bot instance   
     app.post(`/api/${cust.cid}/messages`, connector.listen());     
 });

 // this is where you implement all of your dialogs    
 // and add them on the bot instance   
 function bindDialogsToBot (bot, cid) {    
     bot.dialog('/', [    
         session => {     
           session.send(`Hello... I'm a bot for customer id: '${cid}'`);    
         }    
 ]);    
}    
// start listening for incoming requests    
app.listen(port, () => {    
    console.log(`listening on port ${port}`);    
});    

Ответы на вопрос(1)

Ваш ответ на вопрос