.Net 4.6.1 Console program
Warden.Watchers.MsSql
Install failed. Rolling back...
Package 'Warden.Watchers.MsSql.1.3.2 : Dapper [1.50.2, ), System.Data.SqlClient [4.1.0, ), Warden [1.3.1, )' does not exist in project
Even there is already newer versions of the libraries above, I installed that exact version, but still no success.
Warden.Watchers.Web
I do exactly the same way as the other program in .Net core, but here the result isValid=FALSE, in .Net Core, the result is TRUE
public static void Main(string[] args)
{
var warden = ConfigureWarden();
Task.WaitAll(warden.StartAsync());
}
public static IWarden ConfigureWarden()
{
var config = WardenConfiguration
.Create()
.SetGlobalWatcherHooks(hooks => hooks.OnCompleted(result => CommonOnCompletedHook(result)));
config.AddWebWatcher(url: "http://localhost/");
return Warden.WardenInstance.Create(config.Build());
}
.Net Core Console program
When adding the performance Watcher
Package Warden.Watchers.Performance 1.3.1 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Warden.Watchers.Performance 1.3.1 supports: net461 (.NETFramework,Version=v4.6.1)
** Conclusion **
For the performance, I must use .net4.6.1
And for the rest I have to use .NetCore