An educated guess (Timur Fanshteyn)

Technology, Software Development and other ways to make an educated guess about the world...

  Home  |   Contact  |   Syndication    |   Login
  17 Posts | 0 Stories | 4 Comments | 0 Trackbacks

News

Twitter












Tag Cloud


Archives

December 2007 Entries

This is something that is totally cool. You can use Visual Studio 2008 and a lot of the new functionality and cross compile it to .NET 2.0 and run it on the older framework. For Example, You can use Var objects, Simple Property Declarations, Property Constructors, Lambda expressions Here's an example program that can be compiled with VS 2008 to the .NET 2.0 framework static class Program { private class Client { public string Name { get; set; } public string Address { get; set; } } private static...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

I had to write a custom download component to download modules for a ClickOnce deployed application. The actual downloading is simple, the tricky part was creating the manifest and make sure that I only download files that are required. I am using an GeneraApplicationManifest MSBuild task to generate an application manifest. The documentation is very easy to follow. The generated manifest will include a Hash value. It is fairly simple to compute the same hash value manually and be able to validate...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Another small batch file hook for those running subversion on windows. This hook will allow users to update a log message on the old check-in. Note: Property changes are not versioned, so you will permanently loose the old message. Place this in a pre-revprop-change.cmd ------------- IF %5 EQU M GOTO CONT1 GOTO FAIL :CONT1 IF %4 EQU svn:log GOTO OK :FAIL echo "Changing revision properties other than svn:log is prohibited" >&2 exit 1 :OK exit 0 ------------ Technorati Tags: Subversion,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

My application is distributed via ClickOnce and a requirement is to be able to provide endpoint overrides for multiple environments. Here's what was done to create the solution Smart Client Software Factory includes a service called EndpointCatalog. It allow for easy management of endpoints with environment overrides. Start by adding a Microsoft.Practices.SmartCl... as a reference to Infrastructure.Module. Then open ModuleController class in and register the EndpointCatalog service....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati