Sunday, 8 October 2017

'HttpContent' does not contain a definition for 'ReadAsAsync'

'HttpContent' does not contain a definition for 'ReadAsAsync' and no extension method
'ReadAsAsync' accepting a first argument of type 'HttpContent' could be found
(are you missing a using directive or an assembly reference?)

Solution:
Add below refences.
System.Net.Http.Formatting.

Saturday, 7 October 2017

Sunday, 1 October 2017

login failed for user ''. (microsoft sql server, error: 18456)

Solution:
<add name="DevConnectionString" connectionString="Data Source=MydDB;Initial Catalog=TestDB;Persist Security Info=True;User ID=sa;Password=MyPassword" providerName="System.Data.SqlClient" />