Open Source
There are 11 entries for the tag
Open Source
This morning i have received an email from Craig who has suggested a very simple solution to enable proxy in GO Contact Sync. The trick is to created a config file GOContactSync.exe.config in installation directory and put this content in:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.net>
<defaultProxy enabled="true"
useDefaultCredentials="true">
<proxy bypassonlocal="true"
proxyaddress="http://proxy:80/" />
</defaultProxy>
</system.net>
</configuration>
Then replace "http://proxy:80/" with...
I'm happy to announce a new release of ClassFromConfig - v1.4.0! Lots of improvements there. I had to rewrite the code generation code almost from scratch so it is more managable and easy to extend later on.
Changes include:
Rewritten the code generator engine to be more managable.
Added lost of tests.
Added "options file" support which enables to store ConfigFromClass settings in project .config file.
Added ability to update config file and automaticallt register generated custom sections.
Added support for default collections
...
Hi,
I've released GO Contact Sync v1.0.0.3 where expiration date is removed. So it will work without any limits.
I'm still in the process of migrading GO Contact Sync to open source (have decided to go with sourceforge.net), so those of you who have errors with synchronizing will have to wait a bit longer.
Tags: Tools, Google, Outlook, .NET, C#, Open Source
It's been awhile since my last update. Lots of things happened during this time. I may write about some of them in my next posts as it relates to why i'm writing the following:
I had some good feedback about GO Contact Sync over past few months. Thanks guys. I also got some error reports (yes, there were error belive it or not :). Some of the errors are quite tricky to tackle as it involves a Google account and an Outlook Contacts folder both which are unique to a particular user. You can guess that replicating the same error is not easy. Plus i...
I have finally migrated ClassFromConfig project to SourceForge.net
Now there's version control (Subversion), Issue Tracker, Wiki, Forum and more. So, if you want to contribute to the project - let me know.
As for the update - it's a minor release, which includes:
ability to load linked config files (via configSource attribute).
node collection can now be any tag (not limited to "<add ...", can use "<item ...", etc.) - must be at least 2 in the config to recognise it as a collection.
I've got several enhancements on my to-do list:
Ability to create nested classes...
Recently I was working on a project that involved "scraping" information from a website. A did a bit of research for available libraries that provide the toolset to do these efficiently.
I found Html Agility Pack, created by Simon Mourier. It's a parser that transforms any real world HTML into valid XML, from which you can then extract information by using XPath.
I also had to use a FormProcessor add-on for Html Agility Pack to simulate login process.
These tools proved to be very useful.
Tags: .NET, C#, Open Source, Tools
Better later than never: Happy New Year!
And as a New Year gift to you all i'm pleased to announce a release of ClassFromConfig version 1.3 with support for supports custom sections, e.g if you had
<configuration> <ErrorReporter fromAddress="email@domain.com" fromName="Error Reporter" subject="Error: {0}, {1}" floodSubject="Error Flood" enabled="true" ...
I have updated ClassFromConfig to version 1.2. Now it supports connection strings, e.g if you had
<connectionStrings> <add name="MyConnection" connectionString="..."/></connectionStrings>
in your config, you could access it as follows:
Config.ConnectionStrings.MyConnection
Unfortunately there was a problem in previous releases. It was a "works on my machine" syndrome. Doh! Luckily it was discovered, thanks to Gabriel.
Anyway, check out ClassFromConfig - it'll save you time.
Tags: .NET, C#, Open Source, Configuration, Tools
An update to my previous post:
I have updated ClassFromConfig to automatically recognise value types.
Types that it can recognise:
Boolean
Integer
Double
DateTime
String array (String[])
I'm planning to add generation of connection string properties, e.g if you had
<connectionStrings> <add name="MyConnection" connectionString="..."/></connectionStrings>
in your config, you could access it as follows:
Config.ConnectionStrings.MyConnection
Tags: .NET, C#, Open Source, Configuration, Tools
.NET configuration is great.
But i don't really like working with ConfigurationManager.AppSettings, because i get annoyed:
that i have to remember key names
that i may accidentally make typos in the key names, and then spend time looking for it.
I'd rather have a class with all my configuration items presented as properties, so i can enjoy intellisence when reading my app settings.
There are two options here:
Write a simple wrapper class that reads app settings and provides access to those via properties
Write a custom configuration provider with would...
I just released a tool which validates files committed to Subversion repository - Svn Pre-Commit Validator (short SvnPCV). The tool is written in .NET 2 (C#) and is customisable via XML configuration file.
I decided to write such tool when working on a project where external textural content was edited by non-developers and submitted to Subversion. These content files had to comply to a certain standard, which was rearly the case when i got those, so i had to correct them. So i though it would be good is they just can't commit until the files are valid.
I wrote it and...