RelaxCoder.WebBrowserSignalR
0.6.2.3
dotnet add package RelaxCoder.WebBrowserSignalR --version 0.6.2.3
NuGet\Install-Package RelaxCoder.WebBrowserSignalR -Version 0.6.2.3
<PackageReference Include="RelaxCoder.WebBrowserSignalR" Version="0.6.2.3" />
paket add RelaxCoder.WebBrowserSignalR --version 0.6.2.3
#r "nuget: RelaxCoder.WebBrowserSignalR, 0.6.2.3"
// Install RelaxCoder.WebBrowserSignalR as a Cake Addin #addin nuget:?package=RelaxCoder.WebBrowserSignalR&version=0.6.2.3 // Install RelaxCoder.WebBrowserSignalR as a Cake Tool #tool nuget:?package=RelaxCoder.WebBrowserSignalR&version=0.6.2.3
// WinXp/2003 only support up to IE8(No WebSocket), so your WinForm project with Html5 UI will be very slow.
// 1.Create a DotNet4.0 project(WindowsFormsApplication) and copy codes below.
// 2.Add an Application Manifest File(app.manifest) to your project and set requestedExecutionLevel to "requireAdministrator" or "highestAvailable".
// 3.Download and unzip to your project excute path and run your project.
// (select Win32 Binary) http://webkitdotnet.sourceforge.net/downloads.php
//
// 4.If you want Chrome kernel, change code to enumWebBrowserType.CefSharp
// https://github.com/cefsharp/CefSharp/releases/download/v1.25.5/CefSharp-v1.25.5-binaries.zip
// CefSharp-v1.25.5 need Microsoft Visual C++ 2012 Redistributable
//
using System;
using System.Windows.Forms;
namespace test1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
var WebBrowserType = RelaxCoder.WebBrowserSignalR.WebBrowserSignalR.enumWebBrowserType.WebKit;
var SignalrSelfHostPort = 60001;
var SignalrSelfHostIp = "127.0.0.1";
Action DisposeAction_AfterFormDisposedEvent = () =>
{
// Your DisposeAction
};
string urlSignalr = null;
var w = RelaxCoder.WebBrowserSignalR.WebBrowserSignalR.AddWebBrowser(SignalrSelfHostIp, SignalrSelfHostPort, WebBrowserType,
"", this, "", out urlSignalr, DisposeAction_AfterFormDisposedEvent);
RelaxCoder.WebBrowserSignalR.WebBrowserSignalR.SetWebBrowserUrl(w, "http://html5test.com/");
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.SignalR.Owin (>= 1.1.4)
- Microsoft.Owin.Host.HttpListener (>= 2.0.2)
- Microsoft.Owin.Hosting (>= 2.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.