瀏覽代碼

cleanup samples.

master
Savorboard 6 年之前
父節點
當前提交
8b3c30cd93
共有 3 個檔案被更改,包括 3 行新增18 行删除
  1. +0
    -2
      samples/Sample.RabbitMQ.MongoDB/Controllers/ValuesController.cs
  2. +1
    -8
      samples/Sample.RabbitMQ.MongoDB/Program.cs
  3. +2
    -8
      samples/Sample.RabbitMQ.MongoDB/Startup.cs

+ 0
- 2
samples/Sample.RabbitMQ.MongoDB/Controllers/ValuesController.cs 查看文件

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetCore.CAP;
using DotNetCore.CAP.Abstractions;


+ 1
- 8
samples/Sample.RabbitMQ.MongoDB/Program.cs 查看文件

@@ -1,12 +1,5 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;

namespace Sample.RabbitMQ.MongoDB
{


+ 2
- 8
samples/Sample.RabbitMQ.MongoDB/Startup.cs 查看文件

@@ -1,16 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetCore.CAP;
using DotNetCore.CAP;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MongoDB.Driver;

namespace Sample.RabbitMQ.MongoDB
@@ -52,6 +45,7 @@ namespace Sample.RabbitMQ.MongoDB
{
app.UseDeveloperExceptionPage();
}

app.UseMvc();

app.UseCap();


Loading…
取消
儲存