You can learn what can LabVIEW NXG Web Module do in this training slide. You can easily develop web application using Web Module.
LabVIEW NXG Web Moduleについて学習します。LabVIEW NXG Web Moduleを使用することで、スタイリッシュなウェブアプリケーションを簡単に開発することができます。
8. using System;
using MongoDB.Driver;
using MongoDB.Bson;
public class Class1 {
public static void Main(string[] args) {
var server = MongoServer.Create();
var db = server.GetDatabase("test");
var foo = db.GetCollection("foo");
var item = new BsonDocument {
{ "id", 2 },
{ "name", "bar" }
};
foo.Insert(item);
foreach (var d in foo.FindAll()) { Console.WriteLine(d); }
}
}