The certificate will be an Encrypting File System (EFS) self-signed smart card certificate.
- Control Panel > User Accounts > Manage your file encryption certificates
Create new and store locally
If you have a code-base under source control that is internal to your company, for instance, it's hosted on premises, you may have checked in some secrets in your configuration files. We all know we should have had those encrypted or kept outside of the checked-in source in some way but perhaps it was just better to accrue some technical debt and worry about it later. Okay, now it's later.
namespace Data.Commands | |
{ | |
using System; | |
using System.Data; | |
using System.Data.Entity; | |
using System.Data.SqlClient; | |
using System.Diagnostics; | |
public class CreateConfigurationCommand | |
{ |
<# | |
Given the list of folders and the dates over which to check then this script | |
will group the files by month for each folder between the given dates and get | |
the sum of the file sizes. So you will get a calculated property of 'folder', | |
'month', 'size' (where file size is in MB to two decimal places). Then that | |
calculated property is grouped by 'folder' and the cumulative file size over the | |
selected months is averaged. So you will have a calculated property of 'folder', | |
'monthly' (where 'monthly' is a monthly average in MB). | |
#> | |
$archives = @{ |
namespace Demo.Repository.Infrastructure | |
{ | |
public class ApplicationContext : DbContext | |
{ | |
public readonly FrameLogModule<ChangeSet, Person> Logger; | |
public ApplicationContext() : base("name=Demo") | |
{ | |
Configuration.ProxyCreationEnabled = false; | |
Database.Initialize(true); |
namespace Demo.Repository.Models | |
{ | |
public class Country : Lookup | |
{ | |
/// <summary> | |
/// Gets or sets the issues that link to this. | |
/// </summary> | |
/// <remarks>This may be referenced by many issues.</remarks> | |
public ICollection<Issue> Issues { get; set; } | |
} |
namespace Demo.Repository.Specifications | |
{ | |
public class IssueByNameSpecification : Specification<Issue> | |
{ | |
private readonly string key; | |
public IssueByNameSpecification(string key) | |
{ | |
this.key = key; | |
} |
If you would like to use git locally against the TFS repositories you can use git-tfs.
You can install git from the Windows installer: http://git-scm.com/downloads.
I prefer to install the bash command line and all the Unix tools. You may still prefer to use the GUI which is installed at the same time.
Then you can install git-tfs via chocolatey.
Note: If you don't have chocolatey goodness yet then see the Chocolatey Install section below.