torsten's .NET blog In the end, everything is a gag [Ch. Chaplin]
# Tuesday, April 25, 2006
Comment and Trackback Spam

Yes: they bit me. Now I found a undocumented feature about dasBlog: just add <DaysCommentsAllowed>60</DaysCommentsAllowed> to your site.config and it will only allow to post comments on entries not older than 60 days. Then I also disabled trackback and pingback, cleaned all my tracking entries and spam comments...

Technorati tags:  |  | 
Tuesday, April 25, 2006 5:57:21 PM (W. Europe Daylight Time, UTC+02:00)    #  Comments [1]  | 
# Thursday, April 20, 2006
Must read: Version Control with Subversion

Note to myself: must read http://svnbook.red-bean.com/en/1.1/svn-book.html if I got more than 15 minutes (coding-)free time.

Technorati tags:  |  | 
Thursday, April 20, 2006 10:19:38 AM (W. Europe Daylight Time, UTC+02:00)    #  Comments [4]  | 
# Saturday, March 25, 2006
Update: DiffPatchResources creates .strings file(s)

As I yet posted this is a little tool to help with common tasks to maintain resource files. Recently I started to use the famous StringResourceTool MS used within the Enterprise Library and it is way cool! Worth to have a look if you start a new project from scratch.
But stop! You can now migrate existing project(s) to use the the StringResourceTool by the little help of the DiffPatchResources tool! Just download and copy it to a folder you configured to be found if you start a windows command line (%PATH% variable). Then use the new option -s to create the .strings file out of your existing main .resx file and save all the hand writings...

Update: to get the StringResourceTool run in VSIDE 8.0, add these settings to your registry by help of a .reg file with content:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Generators\{FAE04EC1-301F-11D3-BF4B-00C04F79EFBC}\StringResourceTool]
"CLSID"="{1D47CA76-5AF1-4152-8106-08140FF9886E}"
"GeneratesDesignTimeSource"=dword:00000001
@="Microsoft Data Warehouse String Resource Generator"

Technorati tags:  | 
Saturday, March 25, 2006 5:12:31 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [3]  | 
# Friday, March 03, 2006
Enterprise Library - Syslog Sink Extension available for download
My user sample related to the Enterprise Library is now up and available for download. It extends the logging by providing a sink that is able to log to a syslog daemon (some of you may know that from UNIX systems). It works  according to the definitions in RFC 3164 (http://www.faqs.org/rfcs/rfc3164.html) writing log entries to UDP port 514. Not yet optimized for speed and no EntLib Configuration Console support, but a starting point. Binaries, a short documentation and source can you find here.
Technorati tags:  | 
Friday, March 03, 2006 3:28:14 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [1]  | 
# Saturday, January 21, 2006
Congrat's to Marco!
Congratulation to Marco Buechel (the son of our CEO): he was the second with only a diff. of only 0.05 secs to the winner in Kitzbuehl (the legendary Streif race)!  Very nice, keep it on!
Technorati tags:  | 
Saturday, January 21, 2006 5:58:03 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [1]  | 
# Saturday, January 07, 2006
Remoting from CLR 1.1 to 2.0 and back: issue 1

This week I had a hard day to track down a remoting issue we had with our product. We have a application service running (Windows Service or Console Window for tests) under CLR 1.1 and a ASP.NET 2.0 application want to call the service. After figuring out an issue with a third party software component I got another exception: "Serialization Error: Unknown member TextInfo". I'm talking about remoting serialization of function parameters and return values, not using/calling any formatter like SOAP. Diving into the problem analysis I found our software never uses such a member and so I examined a involved CLR class that member is part of using reflector: the CaseInsensitiveHashCodeProvider class used indirectly by an own collection inherited from NameObjectCollectionBase. I know MS worked hard to get the old style collections compatible to the new implementations using Generics and new approaches and so it is with that base collection. It is mentioned at the .NET 2.0 obsolete type/member list the collection is using a new preferred constructor with the IEqualityComparer parameter and they wrap up the old style HashCodeProvider and Comparer with a internal class named CompatibleComparer.

Knowing all that now I had to find a way to get around the serialization exception. It happens the moment the CLR 1.1 running at the app service try to deserialize the CLR 2.0 serialized collection. I started to create some experimental own HashCodeProvider classes and one that worked recently had the original (don't change the semantic!) CaseInsensitiveHashCodeProvider hold as a non-serialized member and just serialized the CultureInfo.Name to be able to re-create it on creation/deserialization implementing ISerializable and IDeserializationCallback to set the private members ("_hashProvider" and "_comparer" using reflection - they can only be set via the costructor!) of NameObjectCollectionBase. We had to replace the Comparer also, because after it serialized/deserialized our migratable HashCodeProvider successfully we got another wired exception we had to workaround by a homebrewed Comparer class implemented similar to our HashCodeProvider class.

Now it works fine. What we learned? Also MS don't keep in mind to consider also internal classes to provide backward compatible serialization formats. They used only the code attribute "Serializable" and don't implement ISerializable to explicitly get compatible serialization. I expect to get more issues like this... :-(

Update: It looks like the new cool feature named VTS (version tolerant serialization) will not work for Net.Remoting, isn't it?

Technorati tags:  | 
Saturday, January 07, 2006 2:34:02 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [1]  | 
# Sunday, December 25, 2005
Feed icons

Who is somewhat involved in the feeds/rss/rdf/atom world like me may have noticed the interesting discussion at the Microsoft Team RSS blog. There is now a consens by major players about using this common icon  to visualize webfeeds. Two or three days ago Matt opens a site named http://www.feedicons.com/ to get it broadcasted and so I did by this post :-)

As soon Dare Obasanjo gets the bugfix installer ready of my favorite NewsReader you will notice we use it the same way as it will be used within IE7 - to indicate autodiscovered feeds while you browse. OK, that's an old feature, but you know we refreshed all our used icons and so it was just the right time for the right think thing.

Technorati tags:  |  | 
Sunday, December 25, 2005 3:16:53 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [3]  | 
# Saturday, December 10, 2005
Trust a trusted site

Just got this message from my IE 6 this moment:

trust a trusted site?

Yes, indeed!. Short moment after: yesss, I do. Once again: yes!
Did I got a silent "featured" security update last week?

Technorati tags:  |  |  | 
Saturday, December 10, 2005 6:32:15 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [3]  | 
# Tuesday, December 06, 2005
First steps with VWD 2005 Express - no luck

Today I installed the Visual Web Developer/C# 2005 Express editions and just want to get the simple Homepage template running. The express editions install also the new MSDE 2005 Express (silently) - so I assumed it would run out of the box.

Bang! SQL failure: "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance". Yes, I read all the articles I found at the net here and here and there: no success. Now are three hours fighting the problem are lost, out of ideas. I installed all of them as a normal domain user (member of the local adimistrators group) while I'm offline from the company's local network. Is this also a kind of remote desktop issue (and if so: a bug within the OS)? Should it gone if I would work from within the local area network@work?

And: I really miss the system tray console window to control the SQL Server Express engine like that of v2003...

Technorati tags:  |  | 
Tuesday, December 06, 2005 3:01:18 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [1]  | 
# Wednesday, November 30, 2005
Still there

Yes, a whole month and no post. Sorry, but we are soo busy at work.

Meanwhile we got the 1.3.0.38 release of my favorite news reader ready (somehow), and it seems it get positive feedback. Read, what email.about has to say about it.

Technorati tags:  | 
Wednesday, November 30, 2005 2:16:59 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
# Friday, October 28, 2005
VistaDB: blog it, get it, try it... throw away?

Low cost marketing: So here is the first step -- I blog about:

VistaDB 2.1 database for .NET has been released
This 2.1 update includes over 60 improvements, including new support for .NET 2.0 and Visual Studio .NET 2005. VistaDB is a small-footprint, embedded SQL database alternative to Jet/Access, MSDE and SQL Server Express 2005 that enables developers to build .NET 1.1 and .NET 2.0 applications. Features SQL-92 support, small 500KB embedded footprint, free 2-User VistaDB Server for remote TCP/IP data access, royalty free distribution for both embedded and server, Copy 'n Go! deployment, managed ADO.NET Provider, data management and data migration tools. Free trial is available for download.
- Learn more about VistaDB
- Repost this to your blog and receive a FREE copy of VistaDB 2.1!

Now awaiting to get it for test...

Technorati tags:  |  | 
Friday, October 28, 2005 6:07:58 PM (W. Europe Daylight Time, UTC+02:00)    #  Comments [2]  | 
# Tuesday, October 25, 2005
1.3.0.36 Alpha and AdsBlocker HowTo

We decided to post another iteration of the Rss Bandit Alpha (v1.3.0.36): read about the details at Dare Obasanjo's blog and download it here.

It is the first version that is AddIn - enabled and you can find and use the first AddIn available here: AdsBlocker. So how to use it?

  1. Download and unzip to a folder you like (e.g. "AddIns" sub-folder within your Bandit installation path).
  2. Start Bandit and open the AddIns dialog via Tools|AddIns... menu.
  3. Press the "Add..." button and select the AdsBlocker.AddIn.dll
  4. Press "Close"
  5. Optional: add entries/modify the ads.blacklist.txt file (regular expressions) to configure your blocked content (urls)
  6. Optional: create a white list "ads.whitelist.txt" in the same location if your blacklist gets large and you want to re-enable some blocked content.

 

Technorati tags:  |  |  | 
Tuesday, October 25, 2005 7:59:45 PM (W. Europe Daylight Time, UTC+02:00)    #  Comments [4]  | 
Navigation

Like RSS Bandit? Make a donation to help support its development and maintenance. As little as 1€ will help.

Make payments with PayPal - it's fast, free and secure!
On this page....
<April 2006>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

SUBSCRIBE RSS GeoURL e-mail

Search
Categories
Blogroll

newtelligence dasBlog 2.3.9074.18820

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Join WebHost4Life.com