Настроить CORS в .NET WEB API проекте
есть проект (в атаче) класический .NET
почему то не пропускает CORS при bearer авторизации
так же не работает нигде для PUT и DELETE
Нужно чтобы работало.
БД для проекта не требуется необходимые методы в Common контролере
Applications 1
-
Пробували додати в Access-Control-Allow-Headers опцію Authorization?
-
CORS это не ошибка сервера, это политика браузера, если ваше ВЕБ приложение находится в другом домене то браузер может залочить любой такой запрос.
заголовки передаваемые с Сервера не обязательно помогут, вам нужна прокся на том же домене где и ваше веб приложение или же необходимо развернуть веб приложение вместе с апи как одно целое решение для избежания кроссдоменных запросов.
П,С, не факт что это можно будет исправить в коде .net приложения
-
Current freelance projects in the category C#
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 2 days 9 hours back ∙ 2 proposals |
Creation of a plugin for integration with the POS system Syrve, C#Develop a plugin for the Syrve POS system (on-premise), which is installed on the establishment's server. The plugin must: (1) transmit data to our server in real-time — orders, table statuses, payments, receipts; (2) receive commands from Reservble — booking confirmations,… C#, Web Programming ∙ 5 days 5 hours back ∙ 13 proposals |
Improvement in the existing version of 1C retail block for the distribution center (DC)In general, I will explain what kind of database we have - There is a main server where there is a retail database (where all receipts are recorded) - a UTP database - where all sales are transferred - it calculates the markup and stock balances - small databases of retail… C & C++, C# ∙ 12 days 21 hours back ∙ 6 proposals |