RSS 2.0
# Monday, January 08, 2007

Since January 1st Slovenia is using the Euro, so all e-commerce need to change to the euro. More accurately, the culture settings for Slovenia in Windows need to be changed. Unfortunately there is no patch available yet for Windows and you can't change the settings through the Configuration Panel (it'll change back automatically). Until the patch arrives, the following code can remedy the situation:

CultureInfo culture = (CultureInfo)Thread.CurrentThread.CurrentCulture.Clone();
culture.NumberFormat.CurrencySymbol =
"€";
culture.NumberFormat.CurrencyPositivePattern = 2;
// € 19.95
culture.NumberFormat.CurrencyNegativePattern = 12; // € -19.85
Thread.CurrentThread.CurrentCulture = culture;

This changes the culture settings at thread level. Adding this to Application_BeginRequest in global.asax works like a charm, but don't forget to check the initial culture first...

Monday, January 08, 2007 3:50:22 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
ASP.NET | English

Sinds 1 januari gebruikt slovenie de euro en dus moeten alle e-commerce sites over op de euro. Of eigenlijk beter gezegd, de culture settings van Windows moeten nu gebruik maken van de euro voor Slovenie. Helaas is dit niet aan te passen (verandert automatisch terug) en zou er dus een Windows update moeten komen. Zolang die er niet is, moet je de standaardinstellingen overschrijven. Dit kan met de volgende code:

CultureInfo culture = (CultureInfo)Thread.CurrentThread.CurrentCulture.Clone();
culture.NumberFormat.CurrencySymbol =
"€";
culture.NumberFormat.CurrencyPositivePattern = 2;
// € 19.95
culture.NumberFormat.CurrencyNegativePattern = 12; // € -19.85
Thread.CurrentThread.CurrentCulture = culture;

Hiermee wordt op thread niveau de CultureInfo aangepast. Deze zet je tijdelijk in Application_BeginRequest van global.asax en dan werkt het prima. Overigens niet vergeten of the thread wel Sloveens is om mee te beginnen...

Monday, January 08, 2007 3:45:47 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
ASP.NET | Nederlands
# Thursday, January 04, 2007

Via het blog van m'n collega's bij Ordina Development Center Microsoft kwam ik deze aardige IE add-in (IEeee) tegen. Geweldig voor testers omdat ze vanuit IE de bug kunnen rapporteren. Daarbij worden de volgende gegevens toegevoegd aan het item in Team System:

  • Screenshot
  • HTML Van de pagina en alle frames/iframes
  • Stylesheets en scripts die door de pagina gebruikt worden
  • Details over de machine en de browser van de gebruiker
Thursday, January 04, 2007 9:39:39 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Development | Nederlands
# Tuesday, January 02, 2007

Deze fout schijnt nogal vaak voor te komen bij het installeren van Visual Studio 2005 SP1. Dit knowledgebase artikel vertelt wat je eraan kunt doen.

Tuesday, January 02, 2007 10:52:37 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
.NET | Nederlands
# Monday, January 01, 2007

Monday, January 01, 2007 10:02:19 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
English | Nederlands

For some reason the traffic on my blog has exploded. Not from regular users, but because of Trackback and Pingback. The log is full of requests to these to services. I have turned them off, because I don't have the time to fix it (if I felt like doing it in the first place).

UPDATE: I figured out why my traffic jumped. My blog was victim to a spam attack, which added numerous trackback URLs. Unless I figure a way out to get around that (or Dasblog has), I'm not turning on trackback ever again.

Monday, January 01, 2007 9:59:09 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
English

Om een of andere duistere reden is de traffic op mijn blog enorm toegenomen. Zoveel, dat ik voor het eerst in m'n leven traffickosten moet betalen aan m'n hosting provider. Niet te zuinig ook, want ik zit 10 GB over de maand limiet heen. De boosdoener? Trackback en Pingback, elk log staat vol met aanvragen naar die twee diensten. Ik heb ze dus maar uitgezet, want ik heb geen tijd (en zin) om uit te zoeken wat er precies mis is.

UPDATE: Trackback blijft uit, want ik weet nu waardoor de traffic zo hoog was. M'n blog was slachtoffer van een ordinaire spam aanval om zo trackback URLs te laten tonen. Ik moet dus maar eens gaan kijken naar een update van Dasblog dat dit tegengaat, hoewel ik eigenlijk gewoon niet meer van plan ben om trackback ooit weer aan te zetten.

Monday, January 01, 2007 9:56:41 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Nederlands
# Monday, December 18, 2006
Visual Studio 2005 SP1 is beschikbaar. Het lost allerlei bugs op en biedt een aantal verbeteringen, waaronder
  • Nieuwe project types voor ASP.NET
  • Ondersteuning voor nieuwe processor types voor code generatie en profiling
  • Integratie van Excel 2007 en Project 2007 met Team Foundation Server
  • Ondersteuning voor Windows Embedded 6.0 platform en tools
Meer informatie is te vinden op de MSDN pagina Visual Studio 2005 Service Pack 1 (SP1).
Monday, December 18, 2006 1:05:13 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
.NET | ASP.NET | Development | Nederlands
# Wednesday, December 13, 2006

Microsoft heeft een security patch uitgebracht voor Visual Studio. Het "gat" in VS2005 wordt als kritiek beschouwd, dus is het heeeel verstandig de patch te installeren. Zie voor meer informatie en download Microsoft Security Bulletin MS06-073.

Wednesday, December 13, 2006 1:05:09 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
.NET | ASP.NET | Development | Nederlands
# Monday, December 11, 2006

Alex Thissen meldt op deze blogpost dat het probeert om zoveel mogelijk te programmeren met alleen z'n keyboard, omdat keyboard+muis vertragend werkt. De assumptie daarbij is uiteraard

1) Je kan alle shortcuts onthouden.
2) Je hebt de shortcuts vaak genoeg nodig om ze te onthouden.

In beide gevallen moet ik helaas zeggen "lukt me niet". Vandaag de dag spendeer ik minder uren aan programmeren en meer aan zaken die om het ontwikkelproces heen liggen. Voor hardcode programmeurs is dit wel handig lijkt me, hoewel ik wel een beetje flashbacks heb naar discussies over waarom VI beter is dan Emacs (of andersom).

Monday, December 11, 2006 3:06:39 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Development | Nederlands
Sign In

Archive
<January 2007>
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910
About
This is the blog of Michiel van Otegem, a Senior Software Architect with Sogeti Netherlands, and author of several books and numerous articles on (ASP).NET, XML, and related technologies.
Disclaimer

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

© Copyright 2012
Michiel van Otegem
All Content © 2012, Michiel van Otegem
DasBlog theme 'Business' created by Christoph De Baene (delarou)