[英]Starting IIS Express cmd rather than VS2022
ASP.Net Core 6 Web Api 通過 VS2022 在 IIS Express 下正常運行,並允許我加載 swagger 頁面 (http://localhost:8084/swagger/index.html): 從 cmdline 運行它時: Swagger 不加載返回 HT ...
[英]Starting IIS Express cmd rather than VS2022
ASP.Net Core 6 Web Api 通過 VS2022 在 IIS Express 下正常運行,並允許我加載 swagger 頁面 (http://localhost:8084/swagger/index.html): 從 cmdline 運行它時: Swagger 不加載返回 HT ...
[英]No longer prompted for CAC for localhost after upgrade to Windows 11
升級到 Windows 11 后,本地 ASP.Net 應用程序不再提示我輸入 CAC,因此我無法通過 https 訪問該站點。我可以通過 http 正常訪問它。我環顧四周,我的綁定設置為帶有友好名稱“IIS Express Development Certificate”的證書,但是當我在我的證 ...
[英]Internet Information Services (IIS) 10 Express Error: Cannot read configuration file
Visual Studio 2019 無法運行任何項目並顯示此錯誤。如何解決此錯誤? ...
[英]How to use IIS Express 10?
我已經在我的 Windows 10 PC 上安裝了 IIS 10,但安裝后我無法在開始菜單中找到該應用程序,也無法搜索它。 我試過 go 到C:\Program files\IIS Express\但那里什么都聽不懂我想查看網站的文件。 ...
[英]ASP.NET CORE 2.2 New Project, Failed to load resource: the server responded with a status of 404 (Not Found) error in server for JS/CSS/Image
我在 asp.net 核心 2.2 項目上工作了 1 年多,它工作正常,但最近我將項目工作目錄從用戶配置文件文件夾更改為 C:\ Drive。 現在,當我構建項目時它構建成功但是當我在 visual studio 2017 中使用 IIS Express 運行項目時,它在瀏覽器上顯示錯誤。 對於 w ...
[英]How to increase request length to upload large files in ASP.NET Core?
I have developed an ASP.NET Core Web API which is used to upload files.I am testing the API through postman. 當我嘗試上傳超過 28 MB 的文件時,它會引發超出請求長度的錯誤。 所以我試 ...
[英]'This site can’t provide a secure connection' Enable SSL configure for Visual Studio 2019
因為我有這個項目,它已經在按下 F4后啟用了 SSL這里是下面的快照。 當我在我的Web 項目 Url上用https://localhost:58065/更新它時,它在項目運行時給了我這個問題。 因為我關注了很多網站尋求幫助,但對我沒有任何幫助,尤其是當我導出和導入證書文件時。 Even if ...
[英]IIS Express: Either a required impersonation level was not provided, or the provided impersonation level is invalid. (0x80070542)
在使用 Windows 身份驗證和 IIS Express 測試 Asp.Net Webforms 應用程序時,我遇到了一個奇怪的問題。 這是上下文信息:操作系統: 視覺工作室 2019: 應用程序:Asp.net WebForms、MVC 5、帶有 Windows 身份驗證的 Web A ...
[英]The IIS Express applicationHost.config file contains invalid entries and must be corrected before you can open project
我已經安裝了 Visual Studio 開發人員社區版本來練習編碼。 當我嘗試創建一個新的 web 項目時,我面臨配置 IIS 快速失敗、無法讀取配置文件等問題。 我已經嘗試了所有可能的解決方案,例如重命名主機文件以及關閉和打開 visual studio。 什么都沒有解決。 我試圖從 git 克 ...
[英]Error occured when trying to configure IIS Express for project. redirection.config cannot read file due to insufficient permision
我正在嘗試調試 IIS Express,因為我正在創建 web 服務以將我的應用程序連接到數據庫。 不幸的是,彈出一個錯誤框顯示: 嘗試為項目配置 IIS Express 時出現以下錯誤。 文件名:redirection.config 錯誤:由於權限不足,無法讀取配置文件。 有些人告訴我取消選中位於 ...
[英]localhost this site can't be reached running web application in visual studio
我在 VS2019 中打開我的解決方案,選擇 web 應用程序並按 F5 在調試器中運行瀏覽器設置為 IIS Express (Google Chrome) localhost:51872 在 Chrome 中打開並顯示一條消息 在開發人員工具網絡選項卡中,我看到一個 localhost 的條目 ...
[英]Can JetBrains Rider work properly with IISExpress?
我使用的 JetBrains Rider 是官方網站上的最新版本,2019.1.2(免費試用 30 天)。 不是破解版。 我有一個包含 ASP.NET Web API csproj 的解決方案。 該解決方案在 IIS 或 VS + IISExpress 中正常工作。 和 VS 一樣,Rider ...
[英]How to allow a DELETE method with IIS Express and Web API?
我試圖通過Fiddler向我的Web API服務發送刪除請求,並返回405“方法不允許”錯誤。 我已經廣泛閱讀了有關刪除web.config中的“ WebDAV”模塊和類似建議的信息(無論如何,我的applicationhost.config中均未啟用WebDAV),但是我嘗試過的任何方法 ...
[英]Dotnet Core Multiple Startup Classes with In-Process Hosting
我有一個dotnet核心v.2.1應用程序,它利用“startup-class-by-environment-name-convention”為不同的環境使用不同的Startup類,例如開發,登台和生產。 Program.Main.CreateWebHost方法看起來類似於: 但是,在 ...
[英]Error 500.21 when running site on IISExpress using visual studio
我知道曾有人問過這個問題,但我找不到能夠幫助我任何地方並感到絕望的解決方案。 我正在使用iis express開發asp.net網站。 最近,在不小心弄亂了Visual Studio安裝后,通過Visual Studio運行任何Web應用程序時,我開始收到錯誤500.21(我嘗試從已 ...
[英]Windows Authentication doesn't work with IIS Express 10
在工作中,我們被迫進行硬件刷新,我們從帶有VS 2013和IIS Express 6的Windows 7盒子升級到帶有VS 2017和IIS Express 10的Windows 10盒子。問題是Windows身份驗證拒絕工作。 我得到401.2-未經授權的解釋為“無效的驗證頭”。 我已 ...
[英]VS2017 in Windows 7 “An error occured attempting to determine the process id of dotnet.exe”
項目屬性 - >啟用SSL:false(關閉) 選擇“IIS Express”作為調試選項 已安裝“IIS 10.0 Express” 始終低於錯誤 任何人都可以建議修復嗎? 已經嘗試過以下網址,但仍然沒有希望 嘗試確定托管您的應用程序的do ...