Ver código fonte

cleanup samples.

master
Savorboard 6 anos atrás
pai
commit
8b3c30cd93
3 arquivos alterados com 3 adições e 18 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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();


Carregando…
Cancelar
Salvar