run dotnet run project file name at the root folder
now you will see the error
Monday, July 30, 2018
VS Project wont go in debug - no compile errors on VS
Access to the path errors
delete bin and obj folders
make sure you are running as Admin
make sure you are running as Admin
Thursday, July 19, 2018
get request info in c# from RequestMessage
response.RequestMessage.Content.ReadAsStringAsync().Result
Tuesday, July 17, 2018
delete duplicate rows
WITH CTE AS
(
SELECT *,ROW_NUMBER() OVER (PARTITION BY [TagID],[TemplateID] ORDER BY [TagID],[TemplateID]) AS RN
FROM [TPDocCore].[TagTemplatexRef]
)
DELETE FROM CTE WHERE RN<>1
(
SELECT *,ROW_NUMBER() OVER (PARTITION BY [TagID],[TemplateID] ORDER BY [TagID],[TemplateID]) AS RN
FROM [TPDocCore].[TagTemplatexRef]
)
DELETE FROM CTE WHERE RN<>1
Wednesday, May 2, 2018
Unable to copy file, Access to the path is denied
Thursday, April 26, 2018
if you are getting your json through a get
remember
return Json(result,JsonRequestBehavior.AllowGet);
return Json(result,JsonRequestBehavior.AllowGet);
JSON - A circular reference was detected while serializing an object of type 'System.Reflection
var result = JsonConvert.SerializeObject(ds, Formatting.Indented,
new JsonSerializerSettings
{
ReferenceLoopHandling = ReferenceLoopHandling.Ignore
});
return Json(result,JsonRequestBehavior.AllowGet);
new JsonSerializerSettings
{
ReferenceLoopHandling = ReferenceLoopHandling.Ignore
});
return Json(result,JsonRequestBehavior.AllowGet);
Subscribe to:
Comments (Atom)