标签:rtu eric space rgs sys stat public string webapp
Microsoft.Owin.Hosting
下面是 asp.net core 实现
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace WebApplication9
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>()
.Build();
host.Run();
}
}
}
Microsoft.Owin.Hosting 实现启动webapp.dll
标签:rtu eric space rgs sys stat public string webapp
原文地址:http://www.cnblogs.com/webenh/p/6134708.html