Add Process.Start call to start browser on start (hardcoded to the 8800 localhost port and is for debug only)
This commit is contained in:
parent
d36645de2b
commit
fae6ca3244
@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
@ -13,6 +14,7 @@ namespace WindowsDataServiceHost
|
|||||||
{
|
{
|
||||||
var service = new DataCenterService();
|
var service = new DataCenterService();
|
||||||
service.Start();
|
service.Start();
|
||||||
|
Process.Start("http://localhost:8800");
|
||||||
Console.WriteLine("Running DataService..");
|
Console.WriteLine("Running DataService..");
|
||||||
Console.ReadLine();
|
Console.ReadLine();
|
||||||
service.Stop();
|
service.Stop();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user