Setting up CSLA .NET under Visual Studio 2008 for Interview Practical Test.

Setting up CSLA .NET under Visual Studio 2008 for Interview Practical Test.

Old forum URL:

tarekahf posted on Tuesday, May 08, 2012

We are planning to Interview candidates for .NET/C# Project Leader Positions, and we will use CSLA .NET Sample Project as the basis for the Interview Practical Test, to evaluate the technical skills of the candidates.

Our target is Web Application Development under Visual Studio 2008 (Express Edition) and SQL Server 2005 (Express Edition).


1. What is the recommended/matching CSLA .NET Framework with a Sample Project which can be compiled and run using VS 2008?

2. Can we run the Sample Project of CSLA .NET (for VS 2008) using VS Express Edition and SQL Server 2005 Express Edition?

3. We are planning to setup the complete environment for the practical test using Microsoft Web Platform Installer, for 3 separate laptops. Do you think MS Web PI will do?

Appreciate your feedback.

Note: We will ask the candidates to:

1. Compile and run the framework and the sample project,

2. Request them to make modifications by adding new screen/table/view with Data Binding,

3. Speciiy how they will distribute/streamline the development work among the team members using CSLA Approach.

Of course, we have to give them an idea about the practical test requirements.


tarekahf replied on Tuesday, May 08, 2012

Appreciate your help ... we are now preparing the Laptops, and we have to be ready by the end of tomorrow so any feedback or recommendation to help me save time to avoid trial and error, will be greatly appreciated.

Note: This is the first time I will try using VS 2008 Express Edition and CSLA .NET. I am using CSLA for .NET 2.0 and VS 2005 Prof. Edition.


RockfordLhotka replied on Tuesday, May 08, 2012

I know you can't build CSLA using Express. I am sure you can use CSLA to build certain types of apps - but Express has some limitations around the types of apps it can create doesn't it?

tarekahf replied on Wednesday, May 09, 2012

Thaks Rocky,

I managed to compile the Framework (for .NET 3.5 and VS 2008 Prof. Ed. using VB Sample Code) and run the Sample Applicaiton.

I am using Windows 7 64 bit and the related IIS server.

I had to comment this line from web.config :

<add key="CslaDataPortalProxy" value="Csla.DataPortalClient.WcfProxy, Csla"/>

so that the sample application ProjectTracker worked successfully.

I also setup "Use custom server" in Startup options.

But, when I try to run and debug using F5, I get this error:

Unable to start debugging on the web server. You do not have permissions to debug the web server process. You need to either be running as the same user account as the wbe server, or have administrative privilege.

Can you help me to resolve this error?

When I start the application without debugging, it works fine.


RockfordLhotka replied on Wednesday, May 09, 2012

The web exception you are seeing is normal. Visual Studio must run as Administrator to do cross-process debugging.

To resolve this, run Visual Studio as Administrator.

tarekahf replied on Tuesday, May 15, 2012

thanks Rocky .... all went well. I setup 6 virtual machines ob 3 laptops (Windows 7) and CSLA with the ProjectTracker sample app were such an excellent idea to be the basis for evaluation.


tarekahf replied on Wednesday, May 16, 2012

I have setup 7 virtual machines (one on my work Laptop and 6 on 3 Laptops for the Candidates).

When I tried to debug the PTWeb Application Project, I use the get the error which I reported earlier. I got this error on 4 VMs, and 3 VMs worked well without any error.

The error will be resolved when I run VS as Admin and then debug will work fine.

Honestly, I don't know why it works some times, and in other times it does not.


tarekahf replied on Wednesday, May 16, 2012

Hi Rocky,

Just wanted to say that I started learning CSLA since 4 year, and just now I could see the value of what I learned. I have based the entire evaluation approach of the Candidates and designed the practical exam based on CSLA concepts and Sample Application (only the Web Project). It was a great success, as it helped me identify the correct candidates with the required skills. I did this based on a special request of our sister company (asking for my help) and the concerned managers were very happy with this idea for evaluation.

Mind you that I am still on CSLA for .NET 2.0, and just used about 30% of what is provided by CSLA. But for evaluation, I used CSLA .NET 3.8.4 (only scratching the surface).


Copyright (c) Marimer LLC