Posts

Showing posts from April, 2019

add extra files on deploy ASP Core web app using publish profile

So i have been struggling with this for a while now. i used to be able to add file to my ASP .NET projects through publish profiles using the following customization <!--Cutome entry to include custom DLLs--> <target name="CollectHelpers"> <itemgroup> <_customfiles include="$(MSBuildProjectDirectory)\bin\Custom*.dll"> <filesforpackagingfromproject include="%(_CustomFiles.Identity)"> <destinationrelativepath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath> </filesforpackagingfromproject> </_customfiles> </target> <target name="CollectCustomizations"> <itemgroup> <_customfiles include="$(MSBuildProjectDirectory)\bin\*Custom*.dll"> <filesforpackagingfromproject include="%(_CustomFiles.Identity)"> <destinationrelativepath>bin\%(RecursiveDir)%(Filename)%(Extensio

.NET Core stdoutLog in web.config

So i am hosting my project  https://www.worknxt.com at host site which uses plesk, that dosen't give you broad access to logs which you need to look at spicealy if you .NET Core website which was working fine on your laptop 😀, now is not working at all on host! but thanks to stdoutLog that you can find in web.config you can have some idea on why your web app fail to start, the problem is even after setting this to true i didn't find any log created 😢 as always the problem came from my own expectations about how things should work, see the entry by default have a path of \logs\stdoutLog and i though well fine if .NET Core didn't find the folder it would create it, WRONG! see once i created the folder i got that stdoutLog and realized i was missing a DLL, now everything works just fine 😉

Historical name servers records

I recently bought a domain and used various free appraisal services to evaluate the domain name. To my surprise one of these services indicated the name have MOZ rank! So i thought this name must has been used/bought before. But how to verify that? A quick google search and i found this https://whoisrequest.com/history/ And i was right this domain name and actually another couple i own where created and dropped way back. Lucky me