Microsoft Project Fx (mpFx) Version 1.0 — Coming Soon… Help Needed!


Microsoft Project Fx (mpFx) is a class library that wraps the Project Server Interface (PSI) to foster code reuse, reduce complexity, and increase productivity for those developers building solutions with Microsoft Office Project Server 2007.
Version 1.0 will be released as a community project to CodePlex in the next few weeks.  The development team needs your help!  The class library provides easy semantics for doing many operations in PSI.  Here is an example:

// Create an instance of ProjectServer using Windows authentication
using(ProjectServer projectServer = new ProjectServer(Settings.Default.ProjectServerURL, DataStoreEnum.WorkingStore))
{
    
    //  Create a proejct
    using(ProjectDataSet projectDataSet = EntityFactory.NewProject("Colby Test", Guid.NewGuid()))
    {
        try
        {
            projectServer.Projects.Create(projectDataSet, false, true); 

        } 
        catch(SoapException exception)
        {
            Console.WriteLine(Errors.ProcessMSProjectErrors(exception));
            Console.ReadKey();
            return;
        }                    
        
        EnterpriseProject project = projectServer.Projects["Colby Test"];

        // Write the project name and calendar name to the console        
        Console.WriteLine(project.Name);
        Console.WriteLine(projectServer.Calendars[project.DataSet.CAL_UID]);
        Console.ReadKey();
        Console.WriteLine();

        string errorString;

        // Clean up
        if (projectServer.Projects.Delete(project.ProjectGuid, true, true, true, out errorString))
        {
            Console.WriteLine("Project Deleted");
        }
        else
        {
            Console.WriteLine(errorString);
        }
    }
}

The development team would like suggestions for functionality, such as "I would like a function that allows me to easily set projects on security categories".  Even better, if you have method signatures from current projects, send them in for consideration for inclusion in the class library.

Please send your suggestions to colby.africa@live.com, you can also check Colby’s blog.

Thank you!

Skip to main content