예제 #1
0
 public static IApplicationBuilder UseQuantWeb(this IApplicationBuilder app, QuantWebOptions options)
 {
     if (app == null) throw new ArgumentNullException(nameof(app));
     app.UseStaticFiles();
     app.UseMvcWithDefaultRoute();
     return app;
 }
예제 #2
0
 public static IApplicationBuilder UseQuantWeb(this IApplicationBuilder app, QuantWebOptions options)
 {
     if (app == null)
     {
         throw new ArgumentNullException(nameof(app));
     }
     app.UseStaticFiles();
     app.UseMvcWithDefaultRoute();
     return(app);
 }