Controller constructor is not called in nanoFramework Webserver example despite routes working – Asp.net
I am using .NET nanoFramework with this sample as a base project to make a REST API that reads and serve my sensors data from ESP32. using (WebServer server = new WebServer(80, HttpProtocol.Http, new Type[] { typeof(DHTController) })) { Debug.WriteLine("Iniciando…