Feeds:
Posts
Comments

Posts Tagged ‘C# 3.5’

RIA.NET + Silverlight 3: Store picture in database and display it in UI controls (DataGrid, DataForm)
We have a table in SQL server with field of “Image” type. We add ADO.NET Entity Data Model by standard way:

Then add table to model. Sql type Image by default is mapping on C# Binary type.
Then Domain Service Class.

And [...]

Read Full Post »

TestComplete integration into TeamCity
We use TestComplete for GUI testing in our work. For faster tests execution we use several PC’s with TestComplete. A unique part of full task list runs on each PC.
But how can we split task for maximum workload of PC? How to combine results without manual work?
It also would be good to [...]

Read Full Post »

Playing with LinqToObject I create this simple code. Maybe it could be useful for somebody.

public static List<string> SystemFiles(string directory, string pattern, string fileextension) {
         List<string> returnList = new List<string>();
         if(fileextension==")
            fileextension = "*.*"   
         string[] files = Directory.GetFiles(directory, fileextension);
         var outfiles = (from file in files select new { FileName = file, FileLines [...]

Read Full Post »