Tag Archives: Visual Studio

How to compile BOOST under MS Visual Studio 2010

Fortunately, to compile BOOST under MS VC 2010 we need Visual Studio Command Prompt and five commands:

Navigate to BOOST directory, for example:

F:
cd F:\Projects\Lib\boost_1_53_0

(more…)

Visual Studio 2012 supports Visual SourceSafe

If you installed Visual Studio 2012 and all its source control related menu items shows only TFS, do not panic, Visual Studio 2012 supports Visual SourceSafe very well! The only thing that you need to do is to select source control plug-in under Tools->Options menu:

Visual Studio 2012 supports Visual SourceSafe

How to make PHP Web Service with NuSoap

While investigating how to create a Web Service in PHP I run into NuSoap library, that can generate WSDL based on some matadata describing Web Service method signatures and the data structures. I downloaded NuSoap library and found some trivial sample that started working after adding the highlighted line of code:

(more…)

Rich design time experience with WPF and EF in Visual Studio 2010

Sometimes the ability to see the data at design time significantly facilitates the creation of WPF controls. If I am developing a WPF control with complex UI using data bound controls, I usually define a property for accessing some typical data item:

public static ComplexData DesignTimeItem
{
    get
    {
        using (DatabaseContext db = new DatabaseContext())
        {
            var products = from p in db.products.Include("ProductType")
                           where p.product_id == 131
                           select p;

            product product = products.First();

            return new ComplexData(product, "100 kg");
        }
    }
}

(more…)