Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

GSP Archetecture
guillaumelortie
#1 Posted : Friday, 1 April 2011 7:13:53 AM(UTC)
Rank: Newbie

Joined: 7/01/2009(UTC)
Posts: 3
Location: Canada

Hi, first of all let me say that GSP is a great product.

I only wish to know why Gps.cs is in the folder Wpf instead of being directly in the business folder? It's a basic question but it's curious for me (as a beginer) when you consider that the class is in the business namespace.

thank you
Guillaume
Roger Martin
#2 Posted : Friday, 1 April 2011 7:30:35 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

That is because that class depends on .NET 3+ features, so it is in a dedicated project that has a .NET 3 reference. That project is invoked by the business layer (which is .NET 2.0) only GSP detects that .NET 3+ is on the server. This allows GSP to run on a server with only .NET 2.0 but can take advantage of .NET 3+ when on a server that has it.

When GSP eventually targets .NET 4, I will likely move those classes into the business project and delete the WPF project.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.