Закрыть
×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "flex"; // !!!!! block document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
Рождество (Католическое) 25 Декабря
Концерты, выставки ...
Концерты, выставки ...
Мюзикл "Римские каникулы"|||г. Минск 13 сентября, 2 октября, 5 ноября, 16 декабря 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Настольный теннис
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
Мойка кухонная угловая
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
<<
Поиск >>
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
.NET Core Web API (Protocol-based Web Service HTTP)
Error "Your connection isn’t private. Attackers might be trying to steal your information from (for example, passwords, messages, or credit cards). NET::ERR_CERT_INVALID" | .NET Core Web API application to C#
посмотрели
7052
раз
обновлено: 16 October 2024
Run the project in
Visual Studio
on the computer
Windows
Click on the menu:
Debug
→
Start Without Debugging
And an error appeared:
Solution 1
Allow not valid certificate for localhost
Open
Google Chrome
and enter
chrome://flags
В поиске введем
Allow invalid certificates for resources loaded from localhost
и нажмем
Enabled
Вот так:
Everything was done.
Now you need to close the
Google Chrome
browser.
Solution 2
Creating a local certificate for port 7284 in my case
Right-click on the
Windows
icon:
Now click on
Power Shell (admin)
:
Let's run the command:
Command Prompt (Win Console)
cd 'C:\Program Files\IIS Express'
Here's how it goes:
create a local certificate for the port in my case
7284
Command Prompt (Win Console)
.\IisExpressAdminCmd.exe setupsslUrl -url:https://localhost:7284 -UseSelfSigned
Here's how it goes:
Everything was done.
Now you need to close the
Google Chrome
browser or restart your computer.
← Previous topic
What"s the difference (which is better to use) WCF or Web API ?
Next topic →
Error "HTTP Error 500.31 - Failed to load ASP.NET Core runtime" | I run .NET Core Web API the application on C#
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Новость
"Черная пятница" Dreame в Беларуси – две недели скидок до 3400 рублей
•
Create a new .NET Core Web API application on C#
Docker
•
Docker for .NET Core App API
Azure (Web service) for .Net Core 5.0 applications
•
Create an Azure Web service with a Net Core 5 type. That is, we create an empty web server with the Net Core 5 type
•
.Net Core 5 Web API app publish to Azure → | Using Visual Studio 2019
Orleans
•
Adding Orleans Silo to the .NET Core Web Api Application
•
Orleans dashboard
•
Orleans in Docker
PostMan
•
Download the program PostMan (to send data to the app Web API)
•
PostMan send data in the format json for the application Web API
•
PostMan error: Could not get any response. SSL certificate
Additional topics, questions
•
Date request format in the .NET Core 5.0 Web API
•
What"s the difference (which is better to use) WCF or Web API ?
Errors
•
Error "Your connection isn’t private. Attackers might be trying to steal your information from (for example, passwords, messages, or credit cards). NET::ERR_CERT_INVALID" | .NET Core Web API application to C#
•
Error "HTTP Error 500.31 - Failed to load ASP.NET Core runtime" | I run .NET Core Web API the application on C#
•
Error "Unable to connect to web server ... The web server is no longer running." | I run .NET Core Web API the application on C#
WWW sites to explore Web API
•
Books to study Web API
Ваши вопросы присылайте по почте:
info@dir.by