Remover modelo de response de uma api em asp.net core com swagger

na minha api eu valido os seguintes statusCode:

inserir a descrição da imagem aqui

Quando executo a API, é mostrado pra mim esses exemplos de valores, como mostra na imagem abaixo:

inserir a descrição da imagem aqui

Porém quero que mostre sem nada, apenas o codigo do erro, assim como a imagem abaixo:

inserir a descrição da imagem aqui

Onde faço isso? é alguma configuração em especifico? Alguem pode ajudar aonde eu mudo isso ?

publishing – ID@Xbox response delayed during Project Reunion push – is something up?

So recently I have resubmitted a game I’m developing for a second evaluation with ID@Xbox and have cleared and answered all the questions, informed them of updates and fixes so that I can give them the best experience I can etc. However, in the time since the first evaluation and after submitting for a second look Microsoft has started to push its Project Reunion even more than before. This has led to four concerns:

  1. I have not yet received a response and it has been at least one week since the usual 15-day estimation.
  2. Rumors have started to circulate of an Xbox component during MSBuild 2021.
  3. The timing of my concern is also close to the next update on Xbox GameStack.
  4. And of course there’s the whole Project Reunion thing, as I just mentioned.

Granted, I have already given them two passes on the schedule considering the recent GDC online showcase and the Easter holiday; however my records indicate that my first, declined version of the game received its determination on the stated schedule. So I’m left to wonder if anyone else has noticed or experienced any of these events, or if it’s just me, or if there’s something legitimately going on at Xbox that can explain the unusual nature of my situation.

9 – Different behavior of URL response and service response

I am trying to pass csrf_token or session token without an additional request.
I am able to get token using /session/token endpoint.

I am observing a different behavior here.
The response of routing service endpoint /session/token and Drupal::service('csrf_token')->get() are different in Drupal 9.

Why the above mentioned methods give different values. The CsrfTokenController::csrfToken class method is hit by /session/token route.

How can I get /session/token in module?

Or

Which other service can give /session/token equal response making CSRF-TOKEN validation successful?

How to send response from some other route without changing the url

I have a route called /node-info . I want to return response from some other route when this route is called. I cannot redirect to other route from here.

Server response delays without having provided a time-based blind SQL injection input

I am new to SQL injection. When I was researching a bug bounty site protected by cloudflare, unsurprisingly, entering an entry like email@gmail.com’ OR 1=1–, to test SQL injection, it crashed.

So later, trying to bypass the filter, there came a time when Cloudflare no longer blocked my request, what happened was that the response took about 30 seconds.

This is why I thought it was time-based SQL, but then I realized that the input I provided was not typical for this variant.

That is why I have come to ask you: why is this happening if I am not putting an entry so that the answer arrives late? and what can be done in these cases?

Thanks a lot

outlook.com – How to reply to a forwarded message from Gmail but make the response appear from Outlook?

I have a few email accounts, so I set a few filters on my school email (Outlook), and redirect all important mail to my personal (Gmail) account.

The goal is to:

  1. Receive an email from a colleague to Outlook, forward it to my Gmail (done)
  2. Write a response in Gmail, send it to my Outlook
  3. For my colleague to receive a response from my Outlook account in the same thread as he texted me

The “Send mail as:” function in Gmail does not work, since my school probably restricted that.

Is there a script that can make it possible, or a certain way I have to write the rules?

Also, if there are better way of doing this I’ll gladly hear them.

centos7 – Timeout when reading response headers from daemon process. Python, Flask, Apache

I have a problem with my mod_wsgi configuration. Sometimes, I think that when there is a lot of traffic on my website, the page breaks and says “Resource temporarily unavailable…”

Apache logs:

Timeout when reading response headers from daemon process

(11)Resource temporarily unavailable: (client 181…) mod_wsgi (pid=4726): Unable
to connect to WSGI daemon process ‘FlaskApp’ on
‘/run/httpd/wsgi.28794.0.1.sock’ after multiple attempts as listener
backlog limit was exceeded or the socket does not exist.

The website makes aprox 12 requests every 2 minutes.

This is my httpd.conf file:

<VirtualHost *:443>

            DocumentRoot "/var/www/FlaskApp/FlaskApp"
            ServerName 54.165.200.2000
          
            WSGIScriptAlias / /var/www/FlaskApp/flaskapp.wsgi
            WSGIDaemonProcess FlaskApp python-path=/var/www/FlaskApp/FlaskApp/venv/lib/python3.6/site-packages processes=6 threads=5  
            WSGIProcessGroup FlaskApp
            <Directory /var/www/FlaskApp/FlaskApp/>
                    WSGIProcessGroup FlaskApp             
                    WSGIApplicationGroup %{GLOBAL}            
                    Order allow,deny
                    Allow from all
            </Directory>
            Alias /static /var/www/FlaskApp/FlaskApp/static
            <Directory /var/www/FlaskApp/FlaskApp/static/>
                    Order allow,deny
                    Allow from all
            </Directory> 

Can anyone help me with this?

❕NEWS – MarsCoin Response from Elon Musk to Binance CEO | NewProxyLists

According to a dialogue taking place on Twitter today, Elon Musk announced that she can issue crypto money if necessary. While Elon Musk was meeting with a follower on this issue, the CEO of Binance was involved in the conversation.
Thereupon, Binance CEO Changpeng Zhao said: — “Necessary. Maybe its name will be MarsCoin. ”—
Elon Musk used the words “Definitely MarsCoin” — in response to CZ.
What do you think about this development?

Ekran Görüntüsü (1543).png

.net – Long running task c# – not waiting for response

I would like to implement a pooling mechanism for long-running tasks.

For instance, I upload large files. The upload takes let’s say 20 minutes.
So from the API, I return HTTP 202 Accepted and in the background, I upload a file.
On the other hand, I have another endpoint for checking upload status.

I have a problem with a long-running task because I need to use DbContext but the DbContext has been disposed.

I use Asp.Net Core 5.0 and EF Core.

_myService.UploadFile(myFile);

Microsoft.EntityFrameworkCore.Query(10100)
An exception occurred while iterating over the results of a query for context type ‘DbContext’.
System.InvalidOperationException: Invalid attempt to call ReadAsync when reader is closed.
at Microsoft.Data.Common.ADP.ExceptionWithStackTrace(Exception e)
— End of stack trace from previous location —
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.AsyncEnumerator.MoveNextAsync() System.InvalidOperationException: Invalid attempt to call ReadAsync when reader is closed. at Microsoft.Data.Common.ADP.ExceptionWithStackTrace(Exception e) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.AsyncEnumerator.MoveNextAsync()

Do you have any idea how can I fix it?