Kayıtlar

Ağustos, 2016 tarihine ait yayınlar gösteriliyor

'AutoMapper' already has a dependency defined for 'NETStandard.Library'.

Merhabalar; Nuget consoledan  AutoMapper yüklemeye çalışıyor ve bu hatayı alıyorsanız. Visual Studioda nuget galerryi güncelleyip. Visual Studio açıp kapadığınızda sorununuz fidecektir. Kaynak : http://stackoverflow.com/questions/38247961/nuget-package-manager-automapper-already-has-a-dependency-defined-for-micros İyi Çalışmalar

signalr post hubs The specified policy origin 'localhost' is invalid. It must be correctly formed with the scheme, the host, and optionally, the port Hatası

Resim
Merhaba, Asp.net signalr kullanıyorsanız ve client tarafında  post ettiüiniz datanızdan "signalr post hubs The specified policy origin 'localhost' is invalid. It must be correctly formed with the scheme, the host, and optionally, the port" hatası alıyorsanız yapmanı gereken iki şey vardır; 1- Startup.cs classınızda bulunan hub konfigirasyonunuzu aşağıdaki gibi yapmanız gerekmektedir. 2- client js dosyanızda connection hub startınıza jsonp:true eklemeniz gerekmektedir.        $.connection.hub.start({ jsonp: true }); İyi yazılımlar.