Introduction to CSP

The CSP introduction contains the examples for the online Barracuda introduction whitepaper. We suggest that you first read the online whitepaper and try the online examples. You can then compile and run this example, but you must first configure the Barracuda Platform, if not configured by the installation program.

After reading the whitepaper and after successfully compiling the example, go to the obj/debug directory and start the demo program. The Barracuda server demo program is a server, thus will not print out anything. You get to the examples by clicking on or writing the following in your default browser: Please familiarize yourself with the demo program by testing the various examples presented in the browser.

Terminate the demo program and start the demo program again in your debugger after you have become familiar with the examples. Set a breakpoint inside one of the CSP resources. Use your browser to navigate to the resource and step through the CSP code. Please note that for VC++ users, VC++ 6.0 does not allow you to step through the CSP code -- you must upgrade to the VC++ .NET IDE.

You should now try to change and experiment with the CSP code. You can do this directly from within an IDE environment. Change one of the CSP resources, rebuild, and run the CSP code from your debugger.

We suggest that you try the HttpResMgr example after you have familiarized yourself with the CSP code in this example. The HttpResMgr example gives you a broader understanding of the Barracuda Virtual File System.