Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'samples/1.0.0-beta5/HelloWeb/Startup.cs')
-rw-r--r--samples/1.0.0-beta5/HelloWeb/Startup.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/samples/1.0.0-beta5/HelloWeb/Startup.cs b/samples/1.0.0-beta5/HelloWeb/Startup.cs
new file mode 100644
index 0000000000..76bfac0acb
--- /dev/null
+++ b/samples/1.0.0-beta5/HelloWeb/Startup.cs
@@ -0,0 +1,15 @@
+using Microsoft.AspNet.Builder;
+using Microsoft.Framework.Logging;
+
+namespace HelloWeb
+{
+ public class Startup
+ {
+ public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
+ {
+ loggerFactory.AddConsole();
+ app.UseStaticFiles();
+ app.UseWelcomePage();
+ }
+ }
+} \ No newline at end of file