Brian Takita

My Handy Dandy Blog...

  Home  |   Contact  |   Syndication    |   Login
  12 Posts | 0 Stories | 0 Comments | 6 Trackbacks

News

Archives

My Blogs

Saturday, September 18, 2004 #

One of the great things about Whidbey is ClickOnce Deployment. At work, I use it to deploy rich client internal applications

ClickOnce can be used to not only deploy .NET applications, but also to deploy files. Yesterday, I deployed an Access adp application to our organization. To do so, I simply...

  1. Create a Console Application
  2. Add the adp file to the project and set it as Content
  3. Write a bootstrapper application in the Main method
  4. Configure the ClickOnce deployment

Here is the bootstrap..

#region Using directives
using System;
using System.Diagnostics;
#endregion
namespace AdpApplication {
    class Program {
        static void Main(string[] args) {
            System.Diagnostics.Process p = new Process();
            p.StartInfo.FileName = "./file.adp";
            p.Start();
        }
    }
}

Nice and easy. Also, if you are using a web server to deploy the file, don't forget to set the MIME type.


Many thanks to Jeff Julian for setting up an account for me at geekswithblogs.net. I am excited to start blogging and thankful Im on a .NET related blog site.

Edits:
  • Added links

I am very impressed with Subversion Source Control.

I've used SourceSafe, Vault, and CVS but none of them matched my needs.

I really like Subversion because is it is fast, lightweight, and, when coupled with Tortise, easy to use, administer, and set up. Commits are as easy as going to Windows Explorer, select the folders and files to commit -> right click -> select Commit. I dont need to integrate the source control with Visual Studio, and suffer the performance hit and a more complicated development environment.

Branching, merging, rollbacks, and conflict resolution are easy. Subversion makes source control fun, rather than a chore like the other tools I used before.

Now, Im version controlling items that I edit, including my blog posts and articles.

Subversion can be run on a desktop, file share, or as a web service. The web service interface for Subversion can be run off of its own svn server or Apache. If you use the svn server on a Windows server, you may want to consider using SVNService to register the svn server as a Service.