File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- using System . ComponentModel . DataAnnotations ;
2- using AspNetCoreServiceBusApi1 . Model ;
1+ using AspNetCoreServiceBusApi1 . Model ;
32using Microsoft . AspNetCore . Mvc ;
43using ServiceBusMessaging ;
4+ using System . ComponentModel . DataAnnotations ;
55
66namespace AspNetCoreServiceBusApi1 . Controllers ;
77
Original file line number Diff line number Diff line change 1- using System . ComponentModel . DataAnnotations ;
2- using AspNetCoreServiceBusApi1 . Model ;
1+ using AspNetCoreServiceBusApi1 . Model ;
32using Microsoft . AspNetCore . Mvc ;
43using ServiceBusMessaging ;
4+ using System . ComponentModel . DataAnnotations ;
55
66namespace AspNetCoreServiceBusApi1 . Controllers ;
77
Original file line number Diff line number Diff line change 1- using System ;
2- using Microsoft . AspNetCore . Hosting ;
3- using Microsoft . Extensions . Hosting ;
41using Serilog ;
52using Serilog . Events ;
63
Original file line number Diff line number Diff line change 1- using Microsoft . AspNetCore . Builder ;
2- using Microsoft . AspNetCore . Hosting ;
3- using Microsoft . Extensions . Configuration ;
4- using Microsoft . Extensions . DependencyInjection ;
5- using Microsoft . Extensions . Hosting ;
61using Microsoft . OpenApi . Models ;
72using ServiceBusMessaging ;
83
Original file line number Diff line number Diff line change 1- using System ;
2- using Microsoft . EntityFrameworkCore . Migrations ;
1+ using Microsoft . EntityFrameworkCore . Migrations ;
32
43namespace AspNetCoreServiceBusApi2 . Migrations
54{
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public ProcessData(IConfiguration configuration)
1515 public async Task Process ( MyPayload myPayload )
1616 {
1717 var connection = _configuration . GetConnectionString ( "DefaultConnection" ) ;
18- if ( connection == null ) throw new ArgumentNullException ( nameof ( connection ) ) ;
18+ if ( connection == null ) throw new ArgumentNullException ( nameof ( connection ) ) ;
1919
2020 using var payloadMessageContext = new PayloadMessageContext ( connection ) ;
2121 await payloadMessageContext . AddAsync ( new Payload
You can’t perform that action at this time.
0 commit comments