Depending on your Web Server set up, you might not be able to overwrite the Bin folder without some manually intervention. Usually it is because there is a process using files within the Bin folder and you will have to stop the application pool first.
Octopus will soon inform you if this is the case when deploying your package to the server, and will give you the error message:
One or more files in the directory may be locked by another process. You could use a PreDeploy.ps1 script to stop any processes that may be locking the file. Error details follow.
I have been using Octopus Deploy more and more recently and it is quickly becoming my deployment tool of choice. If you haven’t heard about it, then I would highly recommend that you go and check it out now! Octopus Deply
One of the projects I have been working on uses the EntityFramework for data access, so there is a
System.Data.EntityClient connection string within the web.config. The EntityClient connection string differs from the standard SqlClient string in that it contains metadata along with the connection string. It also contains
" within this string.
I was updating a client’s site recently which had various Web apps located in the same website folder all sharing the same web.config file. After the update, everything looked as though it was working as expected, however there was something wrong.
This collection already contains an address with scheme http.
Luckily my logging code was emailing me the error which was being thrown silently from some Ajax posts.
Sometimes I like to just blog some handy hints that you might find useful, but really they are just so i have a central reference for handy hints!
In Photoshop, it is possible to export all layers as individual files rather than manually going through each and saving for web. This saves a heck of a lot of time!
However I came across a little problem, not with knockoutjs, but with how IE handles empty
You can create a custom binding attrIf which will check the value of a specific observable boolean before add or not the attributes. See this example:
Single line without any additional markup
#h1 ##h2 ###h3
*italics* _italics_ **bold** __bold__
I have only recently discovered this, but it is something I thought was worth noting down on my blog for my future reference if anything!
Easy CSS image captions using
:after and the
I have recently updated my website and using a new URL structure for blogging. As a result, and to make sure I don’t produce loads of 404’s, I have made sure to keep all existing pages active. Below is a list of the archived pages.