dotnet-new csproj templates (#4382)
Make csproj templates first-class in dotnet-new.
This commit is contained in:
parent
1926d0e4a4
commit
02a19aff56
102 changed files with 3670 additions and 445 deletions
24
TestAssets/TestProjects/ProjectJsonWebTemplate/Program.cs
Normal file
24
TestAssets/TestProjects/ProjectJsonWebTemplate/Program.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
|
||||
namespace WebApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseKestrel()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseIISIntegration()
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
|
||||
host.Run();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue