Smart Clients Post Event - Slides and Demo Source Code
As promised, I have uploaded the presentation and source code for today's Smart Client talk.
Just in case you are interested in more details (looking at smart clients from an architectural perspective), I have added few additional slides (marked as hidden) and some of them have speaker notes too. If you have got any questions in regards to those topics or generally about the talk or the related subjects, then drop me a line (via the Contact Form).
There is one additional thing that I didn't cover, and that was the way you point to SQL Server 2005 Express .MDF file. As we saw ClickOnce deploys all of the published files to a location under user's profile. When you specify the connection string to open the connection to the file, there is a magic expression that points to the current folder (where the executing assembly is located) and that is "|DataDirectory|". You need to use this as a prefix and then specify the database file name. You can see this in the code for the demo.
[Download Source Code and PowerPoint Slides - 1.77MB]
All you need to do to run the demo is to extract the solution to a folder, make sure you have access to a web server, right click on the SmartClient project and choose Publish. I am assuming that you have got Visual Studio 2005 and SQL Server 2005 Express installed already.