Very basic question : URGENT !!

Very basic question : URGENT !!

Old forum URL: forums.lhotka.net/forums/t/1381.aspx


ocean.indian posted on Tuesday, October 03, 2006

Hi All..

I am using Visual Studio 2005 and building Web Application. I have downloaded CSLA 2.0 from download section of the site.

I want to start using CSLA Framework in my application. How can I incorporate CSLA 2.0 Framework in my existing Web Application. The project which I have downloaded contains lot of code but I am looking for DLLs which I can add to References of my project. Can anyone let me know how to do this ?

Thanks in advance...

Ocean


Jav replied on Tuesday, October 03, 2006

Hi ocean,

After you have downloaded the Csla20, before extracting the files rightclick the downloaded zipfile first, choose Properties, and click on the Unblock button.  You need to do that to avoid getting Security warning all the time.

After extracting, you should have a folder called Csla20vb or Csla20c (I think) depending upon you language.  Open the Csla project first in your VS 2005 and build the project - it takes only a few seconds.

Then in your App's projects simply Reference the Csla.dll which you will find in Csla20vb.Csla.bin.Debug folder.

Jav

Henrik replied on Tuesday, October 03, 2006

Ocean

I can also warmly recommend that you purchase the book. Not only will it give you the best documentation for the framework and prevent you from running into several problems during your development but you will also help supporting Rocky in his incredible work with this framework and help keeping this community alive.

Cheers
/Henrik

mcfin replied on Tuesday, October 03, 2006

Hello Ocean,

Actually, you won't have to reference CSLA directly from your Web app. If one follows the design patterns in the book, the business objects are built using the CSLA framework and reference CSLA. The Web app references the project(s) that contain the business objects.

Can't recommend THE BOOK enough. You will learn a lot even if you decide not to use the framework.

mr_lasseter replied on Tuesday, October 03, 2006

Actually if you want to use the Authization Controls in your Web GUI then you will need to reference the CSLA dll in your app.

Copyright (c) Marimer LLC