Kayıtlar

Temmuz 9, 2020 tarihine ait yayınlar gösteriliyor

06.07.2020 - 10.07.2020 arası işler

Resim
http isteğini https ve wwwsiz isteği wwwli olana yönlendirmek için <rule name = "Force WWW and SSL" enabled = "true" stopProcessing = "true" > <match url = "(.*)" /> <conditions logicalGrouping = "MatchAny" > <add input = "{HTTP_HOST}" pattern = "^[^www]" /> <add input = "{HTTPS}" pattern = "off" /> </conditions> <action type = "Redirect" url = "https://www.zzz.com/{R:1}" appendQueryString = "true" redirectType = "Permanent" /> </rule> Dotnetcore 3.1 web projelerinizde viewlerinizde yaptığınız değişikliğin hemen yansıması için yapmanız gereken https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation/ kütüphanesini indirmek ve startup.cs içine aşağıdaki kodu eklemek  services.AddControllersWithViews();             var mvcBuilder = services.AddCo