To encrypt an ASP.NET application’s connection strings by the path of the application, navigate to the .NET framework folder %windows%\Microsoft.NET\Framework\versionNumber Open the command prompt as administrator and point to the .Net directory and run the command ASPNET_REGIIS -pef “connectionStrings” “C:\Inetpub\<Application Folder>” (Point to the directory not the web.config file) If successful the following should be displayed.
Preregisters: Octopus Deploy plugin already installed in TeamCity and Octopus Deploy already setup. Please note: This guide will not run through setting up deployment steps in Octopus Deploy. Guide is based on setting up a web application in Visual studio 2013. Will not show how to actually replace values in a web.config using a transform config. 1)… Read More »
Code template: ‘ParentElement’ is the name of the element which you want to add the new child to. Always remember to save the file or it will not be updated.
As a developer who thinks in C# but who works with VB from time to time, I tend not define if a parameter is ByRef or ByVal unless I have to. I have also at times needed to describe why an application wasn’t breaking when I was assigning a value to an object’s property in a called function… Read More »
If like me you work behind a firewall you may find Bower is unable to install packages. To enable this open up ‘GIT CMD’ and run: git config –global url.”https://”.insteadOf git:// Then restart Visual Studio and retry.
This is a simple how to (code provided), on quickly setting up a SignalR Hub to broadcast server raised events to clients
Here is some code to add a textbox to search a kendo grid, which as a user types filters (client side) the data which the grid is bound to. As you will be using the textbox class to attach the event which will be raised when the user types and setting the id of the grid and the fields which you… Read More »