Dennis van der Stelt

I care about technology; I care about users more

Community

Email Notifications

News

  • Addicted to Refactor! Pro
    <div class="sideNavItems">

I read...

I Use...

Tags

Recent Posts

Archives

Blog Subscription Form

  • Email Notifications
    Go

Posted: by

Comments

Dennis van der Stelt said:

Meteen ook maar first post in comments! ;)
# October 21, 2003 4:31 PM

Dennis van der Stelt said:

er zijn wel custom controls hiervoor.

een artikel daarover staat op asptoday.
# October 23, 2003 1:55 PM

Dennis van der Stelt said:

Gefeliciteerd!

(Had ik al gedaan maar 0 reacties staat zo zielig!)
# October 29, 2003 12:46 PM

Dennis van der Stelt said:

Hehehehe, en nogmaals bedankt dan maar! ;)
# October 29, 2003 1:11 PM

Dennis van der Stelt said:

Gefeliciteerd knul. Ga zelf over 2 weken SQL server doen (veel te laat).
# October 29, 2003 1:54 PM

Dennis van der Stelt said:

Welke heb je inmiddels allemaal al gedaan? Of is SQL je eerste? Ik moet alleen nog máár SQL! Chris Schrijver is vandaag hard aan het blokken om morgen examen te doen.
Ben benieuwd!
# October 29, 2003 1:55 PM

TrackBack said:

Pascal Naber.NET
# October 29, 2003 9:19 PM

Dennis van der Stelt said:

Site is niet te bereiken! Helaas...
# November 4, 2003 9:41 AM

Dennis van der Stelt said:

Wel bij mij hoor...
# November 4, 2003 10:08 AM

Dennis van der Stelt said:

Volgens Pascal werkt 't niet binnen LogicaCMG door de proxy! Thuis proberen dus! :)
# November 4, 2003 3:24 PM

TrackBack said:

# January 29, 2004 9:50 PM

Dennis van der Stelt said:

Even kijken wat er allemaal wél en niet werkt! :)

Er is namelijk één probleem, ik kan vanaf deze server nog even geen mail versturen! :)
Dus contact opnemen d.m.v. de menu button werkt niet. Maar normaal gesproken werd er een mailtje verstuurd naar de eigenaar van het blog indien er een reactie geplaatst werd. Dat werkt dus ook nog ff niet! :)

Ga ik snel proberen op te lossen!
# January 29, 2004 9:53 PM

Dennis van der Stelt said:

Ho, wacht ff... Morgen op de zaak moet ik nog ff wat plaatjes e.d. meenemen want die ben ik gisteren vergeten! Dat komt dus (als 't goed is) ook nog allemaal in orde.
# January 29, 2004 9:53 PM

Dennis van der Stelt said:

Hmmm, bij cgey.nl geprobeerd en daar werkt 't wel. Het resultaat is 350MB aan PowerPoint presentaties met nietszeggende namen zoals ARC334R.ppt :)
# January 30, 2004 12:52 PM

Dennis van der Stelt said:

ff niet veel......

jij Mark?
# January 31, 2004 4:11 PM

Dennis van der Stelt said:

Hehehehe, dat blijkt maar weer! :)
Misschien moeten jullie samen maar over games gaan beginnen! ;)
# January 31, 2004 11:36 PM

Dennis van der Stelt said:

Goed plan......

De nieuwe 1.6 patch van Battlefield al gezien??
# February 3, 2004 8:45 AM

Dennis van der Stelt said:

Zou toch ideaal zijn als je kind ook een aan-en uit knop zou hebben dan! En dat je af en toe de bios kan verversen of een nieuw COS (Child Operating System) kan installeren!!
# February 3, 2004 8:47 AM

Dennis van der Stelt said:

Wat is het vandaag toch weer een drama, en dan ook nog eens als je een keer inbelt en je outlook opent dat je een uur zit wachten op het moment dat alles weer gelijk loopt.............
# February 3, 2004 10:32 AM

Dennis van der Stelt said:

Dit kan toch echt niet he!!....Claimen die naam!!
# February 3, 2004 10:33 AM

Dennis van der Stelt said:

Hahahaha, nee, nog niet geprobeerd. Jij wel? Boeiende nieuwe zaken? Misschien toch maar weer 's spelen! Ben ook wel benieuwd naar die nieuwe maps.
# February 3, 2004 12:17 PM

Dennis van der Stelt said:

Naomi is ooit aangezet en hoeft van mij voorlopig nog niet uit hoor! Da's een toppertje!!!
# February 3, 2004 12:18 PM

Dennis van der Stelt said:

Zo te zien is zijn vrouw een alfa release geweest.
# February 3, 2004 8:09 PM

Dennis van der Stelt said:

Die van mij was RTM tijdens het trouwen. Daarna heb ik er zelf wat patches overheen gegooid voordat Naomi kwam. :)
# February 3, 2004 8:23 PM

Dennis van der Stelt said:

Ik kán niet eens inbellen bij Cap Gemini. Telefoon gaat via voice-over-ip en ze hebben ook wifi door héél het gebouw! Welke waanzinnige sukkel heeft er dan nog een analoog lijntje nodig? Ja precies, weer iemand van CMG!!! :(
# February 3, 2004 8:44 PM

Dennis van der Stelt said:

Toeval bestaat niet Dennis;-)
# February 5, 2004 11:15 AM

Dennis van der Stelt said:

Ik zie ook graag _memberVariable omdat dit zowel in C# als VB.NET gebruikt kan worden.
# February 6, 2004 8:17 AM

Dennis van der Stelt said:

Hahahaha, inderdaad... want size voor member en Size voor property werkt niet in VB.NET! :)

Eerst moet je wennen aan case sensitive coden, maar daarna heerst het wel hoor! :)
# February 6, 2004 8:32 AM

Dennis van der Stelt said:

Yep! In de guidelines van ons bedrijf staat dat je case sensitive code moet vermijden. Ik dacht ook dat het boek "Code Complete" dit heeft afgeraden.

De pret begint pas echt als je bijv. in C# case sensitive stuff gebruikt in je publieke interface, en je moet deze component vanuit VB.NET gebruiken...
# February 6, 2004 10:34 AM

Dennis van der Stelt said:

"ons bedrijf" ???

Jij werkt toch bij hetzelfde bedrijf als ik? Ik kan me die coding standards niet herinneren! :)

Maar

string _myNumber;

public Number
{
get { return _myNumber; }
}

is de juiste manier! De enige.
# February 6, 2004 11:13 AM

Dennis van der Stelt said:

Ach joh, kunnen we nog even sparen voor die monster-machine die we hier waarschijnlijk voor nodig hebben;-)
# February 6, 2004 12:19 PM

Dennis van der Stelt said:

Tja ik probeer ze hier ook al een tijdje uit te leggen dat de snelheid niet zo belangrijk is! Als we er maar komen.......*lol*
# February 6, 2004 12:19 PM

Dennis van der Stelt said:

Ik hoorde dat een DX2 66Mhz genoeg was! :)
# February 6, 2004 12:31 PM

Dennis van der Stelt said:

Hehehehe
# February 6, 2004 12:32 PM

Dennis van der Stelt said:

Ik denk niet dat ik in 't zelfde bedrijf als jouw werk hoor! :-P

Btw, ik heb toch een opmerking over je laatste code voorbeeld. Ik zou _myNumber nooit in een string steken, eerder een int of zoiets... :-) LOL

cu
Jan
# February 7, 2004 9:57 AM

Dennis van der Stelt said:

Niet als dat nummer 3 voorloop nullen kan hebben! ;)
# February 7, 2004 10:20 AM

Dennis van der Stelt said:

Ik heb toevallig hier lokaal net een ftp servertje geinstalleerd.

Guild ftp, ftp server.
Setuptijd was zeer ok. Interface is supergemakkelijk.
en tis gratis.

Het is alleen niet gekoppeld aan windows users maar heeft eigen gebruikers.

# February 10, 2004 10:42 AM

Dennis van der Stelt said:

Was misschien niet duidelijk uit mijn verhaal, maar was ook niet de bedoeling dat 't aan Windows users zou hangen. Eigen users is perfect.

Ik heb net gekeken en ziet eruit dat 't precies is wat ik zoek! Zal het binnenkort eens proberen! Thanks!
# February 10, 2004 10:49 AM

Dennis van der Stelt said:

Thuis draai ik Bulletproof FTP. Had die na next next finish ook meteen draaien.

Volgens mij is dit 1 van de meest populaire servers.

In combinatie met een gratis domein naam bij http://www.no-ip.com/ kan je thuis toch een leuk ftp servertje opzetten.

Alleen jammer dat providers niet scheutig zijn met upload snelheid...
# February 11, 2004 1:15 PM

Dennis van der Stelt said:

Alleen die naam al...........*lol*, Zou Ankie aandelen hebben?
# February 13, 2004 8:13 AM

Dennis van der Stelt said:

Hahahaha, da's een echte Rob Martens opmerking, want die komt daar ook continue mee. En dat Teeuwen nog iets met 'r gedaan zou hebben, maar dat post ik hier maar niet! ;)

Maar Whitehorse, omdat ze Whiteboarding de techniek noemen die in Whitehorse zit. Waar dat horse vandaan komt, hebben ze nog niet uit kunnen leggen! ;)
# February 13, 2004 10:08 AM

Dennis van der Stelt said:

Bulletproof FTP, lekker makkelijk
# February 15, 2004 10:52 PM

Dennis van der Stelt said:

Ik heb BulletProof nu inderdaad, was inderdaad heel simpel van opzet. Heb nu een aantal user draaien waarvan je de upload en download max kunt zetten en max 1 login per username.

Was voor mij belangrijk, zodat ze niet ineens warez gaan lopen uppen, of mijn computer gebruiken om bestanden tijdelijk op te zetten! :)

Ze hebben nu 10KB/s upload ofzo en 1KB/s download. :)
# February 16, 2004 8:50 AM

Dennis van der Stelt said:

een beetje kort door de bocht hoor.

Soms is het geen keuze: deployment van WinForms is bijna alleen in een intranet deployment mogelijk (en de gebruikers draaien deels op apple).
Ik denk dat ik veel beter kan aangeven hoeveel bandbreedte een webform applicatie vraagt tussen server en client dan een winform app. Omdat het een kwestie is van meten: bv trace.axd laat zien wat de rendersize is van een html page (inclusief viewstate) en de hoeveelheid viewstate is daar ook gelijk te zien.
Met ACT (in VS2002) kun je meten wat de ttfb/ttlb is.
Als je kiest voor een slimme opzet van je webapplicatie kun je hele kleine pagina's genereren die dus weinig bytes vragen.
Nadeel van een WebAppForm is dat databinding slecht is. Zelf heb ik daar een helper class voor gebouwd.
# February 17, 2004 2:52 PM

Dennis van der Stelt said:

Ik denk dat het om te kiezen belangrijk is om te bekijken wat voor een soort developer gebruik moet maken van de technieken.

Iemand die veel ervaring heeft met een webapplicatie zal deze veel sneller weten te maken als iemand die er geen ervaring mee heeft.

Idem met desktop apps.

---

Moraal van het verhaal het blijven nog steeds verschillende disciplines.
Ookal beginnen ze dichter bij elkaar te komen door .NET.

---


kwa viewstate kunnen dingen aan de webkant aardig oplopen vooral met grote datagrids.

Te adviseren is dan ook om deze hierbij uit te zetten.

# February 17, 2004 2:58 PM

Dennis van der Stelt said:

Mischien niet helemaal aansluitend op het het onderwerp maar toch wel een aardig licht schijnt op de keuze tussen WinForms en WebForms zijn Smart Clients.

De keuze voor WebForms word vaak gemaakt omdat deze makkelijk te deployen zijn en je hoeft de clients niet te onderhouden. Dit principe is verwerkt in Smart Clients en gebruikt hiervoor WinForms. De WinForm applicatie wordt gedeployed op de webserver en middels de browser word deze opgestart. Onder water haalt de client deze app over en start hem lokaal op. Met de backend (business tier) wordt gecommuniceerd middels webservices.

Leuk principe als je de voordelen wilt hebben van zowel een webform als een winform.

# February 18, 2004 7:56 AM

Dennis van der Stelt said:

Een beetje kort door de bocht misschien, maar daar draait het momenteel wel om bij een klant. We hebben een applicatie die én web én winforms kan.

Uiteraard zijn er voor- en nadelen aan beiden. We hebben een intranet en iedereen heeft IE5.5 of hoger. Maar het is een data-entry applicatie en de gebruikers zijn momenteel OracleForms gewend. Geen idee wat dat is, maar ik neem aan gewoon forms op een Oracle database, zoals je dat in MS-Access kan doen. Niet dat ik dat ooit gedaan heb, maar daar heb ik wel eens over horen praten ;)

Maar goed, out-of-the-blue is voor web gekozen, heb ik het idee. Maar de klant is gewend om met allerlei shortcut-keys te gebruiken. En met web moeten ze ineens de muis pakken. Heel vaag! :)

Ik doe persoonlijk heel graag web, want dat vind ik gewoon leuk. Maar hier lijkt me WinForms veel beter en na 101 argumenten, willen ze cijfers horen.

Vandaar dat ik er naar op zoek ben! :)
# February 18, 2004 8:18 AM

Dennis van der Stelt said:

Ik heb niets tegen webapps maar krijg toch wel een beetje het idee dat men met name nog kiest voor webapps als een soort nawee van de internethype.

Aangezien we steeds meer te maken krijgen met breedbandverbindingen is het gebruik van Smart Clients (dus winform) steeds interessanter.

Want later we eerlijk zijn: winform apss zijn, met name voor data entry, veel responsiever dan webforms.
Hoe vaak hebben we ons niet in allerlei bochten moeten wringen om zaken voor elkaar te krijgen die in winforms de normaalste zaak van de wereld zijn.

Op een van mijn vorige projecten moesten we een webapp bouwen met veel data entry. Daarvoor waren ze Access forms gewend.
Vervolgens verwachtte de gebruikers dezelfde manier van werken in de webforms als in de oude app. Wat een drama om iets dergelijks te realiseren. Dan kan je toch veel beter een winform app neerzetten?!

Als je een app moet bouwen waarin veel geklikt kan worden maar geen of weinig data entry, dan is de keus voor een webapp voor de hand liggend, vanwege gemak in opmaak en de distributie (1 webserver).
Maar anders zou ik lekker voor een winform app kiezen (wel of niet als Smart client toepassing).

Check deze link uit: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet10142001.asp
# February 18, 2004 11:17 AM

Dennis van der Stelt said:

Er is een verschil tussen Rich Client en Smart Client, Ernst.

Smart Clients kunnen o.a. disconnected werken en zodra je weer connect, alle data synchroniseren. Da's een van de hoofdzaken van een smart client.

Rich Clients geven een rijke gebruikers ervaring, al gaat dat momenteel niet meer op. Je kunt nog steeds meer in een winforms applicatie, maar ik vind het een heel slecht idee om de huidige (!) windows applicaties te voorzien van kleuren e.d.

Na het zien van Aero heb ik het idee dat we misschien de andere kant op gaan. Maar momenteel vind ik het maar niks en als je iets mooi wilt hebben, moet je voor web gaan. Winforms moeten er niet goed uit zien, maar gewoon werken. Dat Microsoft dan elke keer leuke kleurtjes bedenkt voor hun icoontjes is ok, maar die veranderen toch ook niet continue die grijze achtergrond voor 1001 kleurtjes? Dat mag de gebruiker zelf doen, als hij kleurenblind is, want anders doe je dat gewoon niet!

Maar ik heb nog steeds geen antwoord op mijn vraag!!! :)
# February 18, 2004 11:23 AM

Dennis van der Stelt said:

ok, mijn terminologie knobbel is nog in ontwikkeling maar je begrijpt wat ik bedoel, ik bedoel Internet deployment van winapps.

En inderdaad, dit is nog steeds geen antwoord op jouw vraag ;-)
# February 18, 2004 11:35 AM

Dennis van der Stelt said:

Aero..? Oh, je bedoelt de nieuwe Longhorn UI!

Ja, dat ziet er strak uit!
Kan je nagaan hoe tof het wordt om winapps met deze look-and-feel te deployen over het internet/extranet/intranet.
Zeg maar dag met je handjes tegen al die zielige webapps die proberen winapps na te doen maar volledig de ziekte in draaien als je met je browser wat geintjes uithaalt, zoals de back button ipv. de daarvoor bedoelde knop op het scherm. Klinkt wellicht stom, maar dat zijn meer gebruikers dan je denkt ook...
# February 18, 2004 11:39 AM

Dennis van der Stelt said:

Wat een mooi systeem om te kijken wta je allemaal fout doet......

Een goed programma heeft dat toch helemaal niet nodig.......

# February 18, 2004 3:38 PM

Dennis van der Stelt said:

Als je al deze verhaaltjes leest dan kun je tussen de regeltjes door toch het volgende lezen.

Veel input = Smart Client.

Weinig input veel klikken = Web client.

Ga ook maar na, laat de client die zo graag een webform wil maar eens via google iets opzoeken op het internet en dan vervolgens het tiende document openen. en hij moet dit doen ZONDER zijn muis te gebruiken.....


Web = Hyperlink op een Hyperlink Moet je klikken.

# February 18, 2004 3:45 PM

Dennis van der Stelt said:

Vergeten, maar ik heb 10 jaar bij Exact gewerkt en daar maken ze boekhoud software. En daar was data entry voor een hoop mensen een hot item........

En dr zaten best slimme mensen daar maar ze hebben nooit een Web app kunnen bouwen voor invoeren boekingen die zo soepel aanvoelde als de oude vertrouwde Rich client.
# February 18, 2004 3:47 PM

Dennis van der Stelt said:

Sinds die tijd gebruiken we deze ook ongeveer in e-platform.
# February 18, 2004 3:48 PM

Dennis van der Stelt said:

Een goed programma heeft dat om te laten zien dat alle fouten gegenereerd worden door data inconsistentie en niet door bugs in de applicatie! ;)

ps. data die hard in de database gezet wordt uiteraard, buiten al mijn schermen om! ;)
# February 18, 2004 3:48 PM

Dennis van der Stelt said:

Maar heeft Pabes die niet 2 weken daarvoor zelf gebouwd dan? Of 2 weken erna, dat weet ik niet meer precies?
# February 18, 2004 3:51 PM

Dennis van der Stelt said:

Data in een database is per definitie niet inconsistent....

Het zit in de database of niet.

Of het bruikbaar is, is wat anders. Maar als het in de Database kan en mag zitten is de data consistent hoor.

Dus als er wat in de database staat zou je programma daar goed mee om moeten kunnen gaan.
# February 18, 2004 4:18 PM

Dennis van der Stelt said:

Nee...
# February 18, 2004 4:18 PM

Dennis van der Stelt said:

Deze versie is volgens mij niet officieel door MS ondersteund en bevat ook niet alle "Best Practices" (TM)

Ik ben zelf nog een beetje aan het kijken naar een mooi alternatief, heb voorlopig zelf wat gebrouwt maar zal misschien overgaan op de DAL van DotNetNuke v2.

Deze GotDotNet versie lijkt em in principe niet erg interresant.
# February 19, 2004 10:49 AM

TrackBack said:

# February 20, 2004 9:48 AM

Dennis van der Stelt said:

Micha, dat idee had ik inderdaad ook al. Ik zal 's naar DotNetNuke v2 kijken.
# February 20, 2004 9:51 AM

Dennis van der Stelt said:

Inderdaad interessant artikel.

Sluit aardig aan op de discussie die we al eerder hadden over Winforms vs. Webforms.

In het architecture deel noemt de schrijver de mogelijkheid tot het downloaden on demand van assemblies die aan relatief veel wijzigingen onderhevig zijn (zoals business rules).

Dat is nou hetgeen waar ik van denk: dat zou wel eens de webforms op achterstand kunnen zetten. Want dan bied je de gebruiker de responsievere UI van Windows terwijl je tegelijkertijd de TCO omlaagbrengt.

Alle instanties van de betreffende applicatie worden via IIS automatisch geupdate waar nodig. Je hebt de lokale applicatie maar kunt centraal updates leveren, je hoeft daarbij niet alle PC's af of bent afhankelijk van de goodwill van de gebruiker om updates te installeren.

Prachtig!
# February 20, 2004 11:38 AM

Dennis van der Stelt said:

ClickOnce deployment! :)
Kijk, daarom had je nu naar de PDC gemoeten! Samen met mij dan hè! :)
# February 20, 2004 11:50 AM

TrackBack said:

# February 20, 2004 1:23 PM

Dennis van der Stelt said:

Je kunt ook het versienummer in de database bakken.

Vervolgens laat je de software controleren welke release er draait. Als deze anders (lager is ) dan de versie van de database dan spring je door naar de update procedure welke in feite neerkomt op het downloaden van een berg dll's van een website.

Is een vrij waterdicht systeem.

Alleen zit je met deze systemen wel met de volgende problemen.

1. Afhankelijkheid van de Rich Client van geeinstalleerde componenten. (MDAC)
2. Rechten om DLL's te mogen vervangen

Daarnaast heb je met de rich client natuurlijk geen platform onafhankelijkheid......

# February 24, 2004 8:41 AM

Dennis van der Stelt said:

Op de derde plaats, jammer...
beurtbalkje op de tweede plaats (WAT?!?!?!) en gamen op de eerste plaats. Daar kan ik me dan wel weer in vinden! ;)

Mijn top 3:
- coden
- gamen
- doseren ;)
# February 24, 2004 2:41 PM

Dennis van der Stelt said:

Sjonge jonge zeg.....

Een C# adept die VB loopt af te kraken....
Als je een van de laatste posts leest staat daar heel duidelijk:

VB.NET is not about pleasing the C# developer... it's about making VB.NET developers productive.

En laten we het daar nou maar op houden he.

sjonge wat een onzin allemaal........

VB rulez
C# rulez

who the f... cares

MICROSOFT .NET RULEZ en laten we dat nu maar gezamelijk (ja ja VB-ers en C#-ers ) die Java prutsers aan hun verstand gaan peuteren

# February 24, 2004 3:55 PM

Dennis van der Stelt said:

@Wellink, waar lees jij dat dan, dat 't is om VB.NET developers productive te maken? Just curious...

Maar ondanks dat 't in principe niet uitmaakt of je C# of VB.NET doet, heeft VB.NET toch nog wat legacy uit VB6, waarvan ik niet begrijp dat Microsoft het er in gelaten heeft.

En dat stukje van Bouma waar ik naar refereer, is gewoon iets wat ie toevallig tegengekomen is. Zal nog wel meer zijn, ook andersom.

Maar als je VB.NET wilt kloppen, moet je ff bij Dennis v/d Veeke aankloppen, die heeft binnenkort misschien een VB.NET klus op de Blaak in Rotterdam! :)
# February 24, 2004 8:34 PM

Dennis van der Stelt said:

In de laatste reply in het artikel van Frans Bouma...

Lache trouwens die initialen van hem....

FB

Fisual Basic hi hi ......

# February 25, 2004 8:45 AM

Dennis van der Stelt said:

ehm. 3 maanden he.

# February 25, 2004 9:34 AM

Dennis van der Stelt said:

;)
# February 25, 2004 9:45 AM

Dennis van der Stelt said:

"Da's ook weer waar. Ik zal voortaan 2 uurtjes vrij maken om alle 100+ items per dag te lezen voordat ik ga werken."

Vergeet de andere interresante blogs niet die je eigenlijk ook zou moeten lezen :)


# February 25, 2004 10:20 AM

Dennis van der Stelt said:

ik zit nu even te kijken 9250 items ongelezen :)

ernstig :)
# February 25, 2004 11:50 AM

Dennis van der Stelt said:

Hahahaha, da's zeker ernstig!! :)

Ik heb in SharpReader sinds 21-12-2003 13:04 3178 items, waarvan 2 ongelezen! :)

Maar in het weekend mis ik er waarschijnlijk een paar! :)
# February 25, 2004 11:53 AM

Dennis van der Stelt said:

Tja dan kun je beter thuis werken en zo af en toe eens het journaal bekijken in je warme truitje met je kacheltje lekker aan;-)
# February 26, 2004 2:36 PM

Dennis van der Stelt said:

Blij dat ik me niet ingeschreven heb :) Net nog ff langs het strand gebanjerd hier in Scheveningen, maar dat was nauwelijks te doen met die gierende storm + sneeuw.

Ik wist overigens niet dat het over objectspaces zou gaan, ik zie daarover niets op de dotned.nl site.
# February 26, 2004 2:46 PM

Dennis van der Stelt said:

Waarschijnlijk niet lang meer te bezoeken, maar op de volgende url staat het, site van Twice.

http://www.twice.nl/default.asp?page=vis/infosheet.asp&id=4942

Ik quote er maar even bij:
Globale inhoud:
In dit eendaags seminar worden een deel van de nieuwe features van het nieuwe .NET Framework behandeld. Dit deel wordt gevormd door ADO.NET ObjectSpaces en ASP.NET Whidbey. De nieuwe onderdelen zullen worden gebruikt om een heuse weblog applicatie te bouwen tijdens deze dag. Deelnemers krijgen ook beschikking over deze broncode
# February 26, 2004 2:50 PM

Dennis van der Stelt said:

Oh, nog meer info:

Specifieke inhoud:
In het bijzonder zullen aan de orde komen:
Achtergrond informatie over Weblog applicaties:
- Wat is een weblog?
- Protocollen voor weblogs
- Pingback, Trackback, Permalinks
- RSS en ATOM feeds.
ASP.NET
- Master Pages
- Resource Loaders
- Personalisatie
- User Management
- Themes en skins
- Nieuwe webcontrols
- Enhanced page framework
ADO.NET ObjectSpaces
- Architectuur
- Object Model van ObjectSpaces
- Werkwijze
Weblog applicatie:
- Architectuur en ontwerp
- Database structuur
- Object model
# February 26, 2004 2:52 PM

Dennis van der Stelt said:

een klein kwartierje nadat ik weg ben gereden heb ik mijn auto maar tegen een aantal bomen in de berm geparkeerd. Ik moest uitwijken voor een auto voor mij die begon te slippen.

ik reed ver achter hem maar dat mocht niet baten.

door de sleepdienst eruit getrokken en een paar uur later ben ik eindelijk weer thuis.

Er staat alweer een vervangende auto voor de deur.
# February 26, 2004 2:54 PM

Dennis van der Stelt said:

Da's nou precies waarom die leasecontracten zo veel geld kosten, Pascal Verstappen!
# February 26, 2004 3:08 PM

Dennis van der Stelt said:

HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA HAHAHAHAHA
# February 26, 2004 3:26 PM

Dennis van der Stelt said:

ja, ik deed het ook expres.
ik had geen zin om m'n auto te wassen.

nu wordt het gelukkig gedaan
# February 26, 2004 3:30 PM

Dennis van der Stelt said:

ah dat 1daagse seminar! Ik dacht dat je het had over die meeting van vanavond :)

<opamode>
Tja, de jeugd van tegenwoordig heeft ook geen respect meer voor wat men krijg! Toen ik nog bij CMG zat nou toen....!
</opamode>
;) :D
# February 26, 2004 3:42 PM

Dennis van der Stelt said:

Hehehehehehe, vroeger was alles beter!
En goedkoper! :D
# February 26, 2004 3:45 PM

Dennis van der Stelt said:

ja, toen de gulden nog van hout was ;-)
# February 26, 2004 3:58 PM

Dennis van der Stelt said:

Jammer dat je er niet was, Dennis. Je was een de weinigen die niet op waren komen dagen ;) (Uiteindelijk waren er zo'n 60-70 mensen van de 136 inschrijvingen)

We hebben in ieder geval nog veel lol gehad. Ikzelf was pas om 10.30 aanwezig. Minder netjes als je de laptop voor de presentatie bij je hebt.

Anyway, morgen op de website van Twice de broncode van de blog applicatie (als het goed is). Ik ga de code misschien nog iets verder uitwerken, zodat er in ieder geval RSS feeds ondersteund worden.

De volgende keer plannen we zo'n training op een dag zonder sneeuw. Dan kun je er ook bij zijn.
# February 26, 2004 10:55 PM

Dennis van der Stelt said:

Erg jammer dat ik er niet bij kon zijn, had 't wel willen zien allemaal. Leek me leuk, ook om andere fellow .NET'rs te ontmoeten. Misschien toch maar 's naar zo'n dotNed meeting. Maar die vallen elke keer op een dag dat ik net niet kan! :(

En ik wilde niet beginnen over de planning, maar gisteren was inderdaad niet zo slim! Een meeting plannen terwijl je weet dat er 750Km file komt! ;)
# February 27, 2004 9:26 AM

Dennis van der Stelt said:

"Display all subfolders under the selected folder. NUM LOCK+ASTERISK on numeric keypad (*)"

Niet doen op 'Program files' :) Hij staat nu al 3 minuten te stampen :D
# March 3, 2004 10:19 AM

Dennis van der Stelt said:

Hahahahaha, goed verhaal! ;)

Ik wilde het meteen proberen, maar zit momenteel achter m'n laptop en ben een cd aan het branden voor een collega. Dus nog maar even wachten! ;)
# March 3, 2004 10:23 AM

Dennis van der Stelt said:

Update: Omdat ik het niet bij mezelf kon doen, heb ik het even bij Pascal gedaan. Op z'n laptop! Ben benieuwd hoe lang het duurt! ;D
# March 3, 2004 10:26 AM

Dennis van der Stelt said:

Misschien nog een handig aandachtspuntje.
Versie 2 is wel crossbrowser compatible maar... er zit minder functionaliteit in als versie 1.6.5

Of in ieder geval ik mis nog wat dingen op screenshots en dergelijke die er op 1.6.5 wel zaten. ( wordclean, table editor )

# March 4, 2004 10:25 AM

Dennis van der Stelt said:

vergeet niet winkey + b

Voor het gaan naar je tray list.


# March 4, 2004 10:31 AM

Dennis van der Stelt said:

Die kon ik nog niet zeg! Tof!

Ik ga er altijd met ctrl-esc of de windows toets naartoe. Dan kom je in het startmenu. Druk op escape, en dan op tab tot je in je tray zit. Maar winkey + b is sneller! :)
# March 4, 2004 8:57 PM

Dennis van der Stelt said:

Hee doet mijn naam eens goed schrijven :)
# March 5, 2004 10:34 AM

Dennis van der Stelt said:

Sorry, gefixt! ;)
# March 5, 2004 3:09 PM

Dennis van der Stelt said:

Nou welkom zou ik zeggen.
# March 8, 2004 10:13 AM

Dennis van der Stelt said:

> gedegen onderzoek

In een vroeger leven was ik verknocht aan VBWatch. Een feature rich tooltje... ik geloof dat ze aan het porten zijn naar .NET.
# March 8, 2004 11:06 AM

Dennis van der Stelt said:

Sterker nog, ze ondersteunen al .NET! :)

http://www.aivosto.com/faq-vbnet.html
# March 8, 2004 11:12 AM

Dennis van der Stelt said:

Carlo is al in dienst sinds 1 maart, wel opletten dennis ;)
# March 8, 2004 12:03 PM

Dennis van der Stelt said:

Je hebt gelijk, ik had nog vaag in m'n hoofd dat maandag op 2 maart lag, maar dat was gewoon 1 maart. Schrikkeljaar hè, was ik even vergeten! :)
# March 8, 2004 12:05 PM

Dennis van der Stelt said:

--- English translation follows ---

Mij maakt 't niets uit. :)

--- English translation ---

I couldn't care less... :)
# March 8, 2004 12:10 PM

Dennis van der Stelt said:

ehh heeft alletwee zijn voordelen en nadelen.

engels = groter publiek

nederlands = makkelijker voor sommige mensen.
en het heeft ook wel wat om dit soort dingen gewoon in het nederlands te lezen.
# March 8, 2004 12:34 PM

Dennis van der Stelt said:

Finally a LogicaCMG employee with common sense ;)

Problem is you'd be able to provide more depth when writing in your native language. At least that’s something I’ve experienced. Not to mention we tend to write “rude” English, something Frans B already experienced in the newsgroups.
# March 8, 2004 1:11 PM

Dennis van der Stelt said:

@Paul: Then we can finally give away that "Employee with common sense" award. We've been searching for ages for someone with common sense within our company! :)

About the depth in an article, you're definitly correct. There are lots of words I can read in English, but will never use in my writings. That's probaby because all words I use are from connecting the words actors say with the subtitles below. Those aren't very often technical IT terms or other words you'd find in writings. :)

Anyway, I'll count both your reactions as a pro to Dutch, our native language.
# March 8, 2004 1:19 PM

Dennis van der Stelt said:

It is also quite easy to write rude Dutch ;). But the bigger audience is definitely a strong point to switch to English , so I vote for English.
# March 8, 2004 1:29 PM

Dennis van der Stelt said:

(rude mode)
YEP
(normal mode)
Good idea, let's go for english!
# March 8, 2004 1:37 PM

Dennis van der Stelt said:

English 2 votes
Nederlands 2 stemmen

Oei, de spanning is om te snijden!
Uhm, I mean... the tension is cutting edge!

:)
# March 8, 2004 1:41 PM

Dennis van der Stelt said:

@Marco: Do you make this decision in blogger mode or in reader mode? :)
# March 8, 2004 1:48 PM

Dennis van der Stelt said:

@Patrick: He even didn't use his blog url in his reaction! :)
# March 8, 2004 1:51 PM

Dennis van der Stelt said:

english??

It makes no bag out. But than well so correct possible englist trying to write, not the woody stringy english that you sometimes come against :D

Nederlands:
Het maakt geen zak uit. Maar dan wel zo correct mogelijk in het engels proberen te schrijven, niet het houtjetouwtje engels dat je wel eens tegen komt :-D
# March 8, 2004 1:56 PM

Dennis van der Stelt said:

I couldn't agree more....

(duts)

Ik kan het er niet meer mee eens zijn !
# March 8, 2004 2:13 PM

Dennis van der Stelt said:

It's great you guys agree. But I still don't know if you guys are pro dutch or pro english.
# March 8, 2004 2:15 PM

Dennis van der Stelt said:

I'll use whatever the majority wants. English or Dutch doesn't make any difference to me. Given the choice, I'd probably stick to Dutch. The fact that we now have a bigger audience is no argument to switch to english. Just ask the French ;p


# March 8, 2004 2:38 PM

Dennis van der Stelt said:

English.ToWorld()
Dutch.ToBelgium()

So English for me.
# March 8, 2004 3:00 PM

Dennis van der Stelt said:

I forgot Carlo's vote... So with Joris' vote, it's:

English : 4
Dutch : 2
Couldn't care less: 4 or something? :)
# March 8, 2004 3:02 PM

Dennis van der Stelt said:

I can try in english but I think I express myself much better in dutch
# March 8, 2004 3:53 PM

Dennis van der Stelt said:

Wat we eventueel ook kunnen doen, is Nederlandse en Engelse bloggers scheiden. De aggregated feed laat dan één taal zien (waarschijnlijk Engels) en als je de Nederlandse wilt zien, kun je je daar apart op abonneren...
# March 8, 2004 3:57 PM

Dennis van der Stelt said:

Ok, so I'm new and already starting a 'religious' discussion. I'm afraid I will contribute to the woody-stringy English, that Jan is afraid of ;-).

But I prefer English anyway because I think I can really contribute to the community and I would like the adience to be as big as possible so I can get as much reaction as possible. But I can understand that some other say it raises the bar to post for them and I would regret that. So I will go with whatever the majority wants.
# March 8, 2004 5:39 PM

Dennis van der Stelt said:

Until now, that's English, so... ;)
# March 8, 2004 6:59 PM

Dennis van der Stelt said:

Has there been any decision yet on which tools are going to be used in LogicaCMG. I know I once suggested that we'd buy DevPartner. I also know that the Framework guys (Patrick, Pascal, Mario, Ilske) wanted to have a look at it to see if it was a good option.

But since then I've heard nothing. Anyone?
# March 9, 2004 7:59 AM

Dennis van der Stelt said:

Frankly, my darling, I don't give a d*mn...
# March 10, 2004 1:17 PM

Dennis van der Stelt said:

Sjeeeeeeeeeeeeeeeezus...

Ik moest ook een keer van AT den haag naar amstelveen voor een 'kleine opdracht'. (en als je even op de bank zit wordt je zo naar amstelveen geschopt voor no reason).

Ik heb echt met je te doen, omdat CMG vereist dat je voor 8:30 aanwezig bent... Sterkte.
# March 13, 2004 11:27 AM

Dennis van der Stelt said:

Van AT Den Haag? Wat is AT Den Haag? Je bedoelt toch niet de AT vestiging van CMG Den Haag?!?!?!

En hoe kom je erbij dat we om 8:30 aanwezig moeten zijn? Je mag binnen komen vallen wanneer je wilt. Er zijn er genoeg die na de files pas van huis gaan en dus behoorlijk laat binnen komen... Misschien was 't vroeger anders, ik ben 3 jaar in dienst. Na het drie-delig-donkerblauw tijdperk, zeg maar! ;)

Maar goed, ik ben dus 07:00 uur aanwezig! :)
Ik ga echt voor de files rijden, want tijdens files is een ramp. Vrijdag was voor 't eerst zo vroeg en zonder pauze ga ik 15:00 uur naar huis. Zelfs toen stond er al 11Km op de A13. En die hoefde jij niet te nemen! :)
# March 13, 2004 1:38 PM

Dennis van der Stelt said:

" Van AT Den Haag? Wat is AT Den Haag? Je bedoelt toch niet de AT vestiging van CMG Den Haag?!?!?! "
Ja, daar heb ik gewerkt van 1 jan 1997 tot 31 dec 1997. :)

"En hoe kom je erbij dat we om 8:30 aanwezig moeten zijn? Je mag binnen komen vallen wanneer je wilt. Er zijn er genoeg die na de files pas van huis gaan en dus behoorlijk laat binnen komen... Misschien was 't vroeger anders, ik ben 3 jaar in dienst. Na het drie-delig-donkerblauw tijdperk, zeg maar! ;)"
Aha :) ik moest echt voor 8:30 aanwezig zijn, anders kreeg je er van langs ;). 1997 was nog wel erg in het blauwepakkentijdperk inderdaad :) Als je een groen of bruin pak had kon je naar huis, omkleden ;)
# March 13, 2004 5:55 PM

Dennis van der Stelt said:

Mmm, Amstelveen? Is dat niet vlak bij Schiphol-Rijk? Die buurt waar ik niet meer werk, om minder files te rijden? Ja, toch... Sterkte, joh.

BTW, ik zit drie weken in Leusden... Dat is nog verder dan Amstelveen. Ik hoop dat de files die kant op meevallen.
# March 13, 2004 7:25 PM

Dennis van der Stelt said:

"Ja, daar heb ik gewerkt van 1 jan 1997 tot 31 dec 1997. :)"

Oh, lachen... En, weggegaan alleen maar voor de reistijd, of waren er nog andere dingen?! :)
# March 14, 2004 6:50 PM

Dennis van der Stelt said:

Tja, doe al vanaf augustus Oud-Beijerland-Hoofddorp....dat is A29-A15-A16-A13-A4...92km...hmmmm...... dat is een traject dat alleen op zondagavond tussen 10 en 11 goed te doen is....*lol*
# March 15, 2004 8:35 AM

Dennis van der Stelt said:

Trouwens. Dat kaartje van jou is wel tamelijk futuristisch. De A4 tussen Delft en Schiedam is nog een groene route, het asfalt ontbreekt daar nog.
# March 15, 2004 11:25 AM

Dennis van der Stelt said:

"Oh, lachen... En, weggegaan alleen maar voor de reistijd, of waren er nog andere dingen?! :)"
Laat ik me zeer zacht uitdrukken aangezien jij er werkt :). Zoals mn AD het toen omschreef: "Wij zijn duurbetaalde galeislaven". Ik was het daar roerend mee eens.

Het zal ongetwijfeld veranderd zijn in de loop der jaren, maar mij zien ze er nevernooitmeer terug. :)

(reistijd den haag-amsterlveen is op zich nog wel te doen. Ik moest echter veelal wat verder rijden, kazernes richting muiden e.d. word je niet blij van, zeker als je daar wat uit je neus zit te eten en je AD dat geen reet kan schelen)
# March 15, 2004 4:30 PM

Dennis van der Stelt said:

@Carlo: Hahaha, ik zie het ineens! ANWB zit er in ieder geval positief in! :)

@Frans:
"maar mij zien ze er nevernooitmeer terug"
Maar hoeft ook niet naar Den Haag. Kan ook naar R'dam komen, daar is alles nl. wél goed! Okay, niet alles, maar mijn manager is toppie! :)
# March 15, 2004 7:29 PM

Dennis van der Stelt said:

Same here, I would have done S95.XML interchangeability for MES and ERP systems as it wasn't for the pressure put on by my program manager. I already skipped it twice because of the same reason. Sucks doesn't it.
# March 17, 2004 1:11 PM

Dennis van der Stelt said:

Ik voel helemaal met je mee, Dennis.
Volgende maand mogen we ht nog eens proberen.
# March 17, 2004 2:03 PM

Dennis van der Stelt said:

Behoorlijk lame zeg. Maar dit mag je je AD aanrekenen, het is zijn taak dat je goede scholing krijgt aangeboden, desnoods buiten 'the firm' ;)
# March 17, 2004 2:42 PM

Dennis van der Stelt said:

@Paul: Sorry for you, but I'm glad I'm not the only one! ;)

@Rutger: Maybe... It's my third time this course wasn't held.

@Frans: Hehehehe, you're pretty negative, even in Dutch! ;) And I couldn't care less about my AD. At our company (the little company, one of the hundreds, inside 'the firm'. Of simpel in Nederlands, onze vestiging) it's not really about who's your AD, but about who's your team manager. I've noticed this a lot, people asking me about my AD, or giving me comments (aka advice ;) about my AD, but I couldn't care less. I deal everything with my team manager and he's a great guy!

Now I'm scoring points for our BACC!
"Bruine Armen Competence Centre" ;)
# March 17, 2004 8:07 PM

Dennis van der Stelt said:

haha :) Nou, ik ben verder vrij positief, alleen over CMG lukt dat op een of andere manier niet ;)

Maar alle gekheid op een stokje, je AD is ook degene waar je je reviews bij hebt toch? En je carriereplanning mee bespreekt, dus hij moet dat regelen. Ik kan het mishebben, maar hij (of zij ?) is toch ook degene die je op opdrachten plaatst, of is daar tegenwoordig een laag tussengeprakt bij CMG?
# March 18, 2004 11:48 AM

Dennis van der Stelt said:

@Frans: Geen laag tussen, bij ons op de vestiging communiceer je gewoon met je TM. Sommigen hebben geen TM, maar vallen direct onder een AD. Maar ik heb in ieder geval praktisch geen reet te maken met m'n AD. Al de dingen die je noemt, bespreek ik met m'n TM
# March 18, 2004 2:47 PM

Dennis van der Stelt said:

The most important advantage of VB.NET over C# is not in the language itself.

it is in the intellisense.

If you are typing for example :

Textbox.text or TExtbox.text or TextBox.Text

it is all completely correct intellisensed...
Not in c#.

That is the thing I have against C#. So not the language but the inferior Intellisense !!!
# March 21, 2004 11:28 AM

Dennis van der Stelt said:

I think you're not really right about this.

(Frans, how's that, "I think" ??? I love paying attention to how I write things down ;)

When you typ a word (variable, property, whatever) all lowercase and you press ctrl+space then (just like in VB.NET) it completes the word for you. When it's available in different caps (like Textbox, textbox and TextBox) it presents you with a dropdown where you can choose these, highlighting the first it comes across.

The other thing is indeed case sensitivity. When from the VB(.NET) world, you have to get adjusted to it for a while, but after some time, you're used to it and it's more natural then living without it. ;)
# March 22, 2004 7:57 PM

Dennis van der Stelt said:

in VB.Net Intellisense I dont have to use control + space..... just hit enter on the last letter and see it change. But NOT in C#.
In C# you will get the error during compilation. (tsssssssssssssss) Yeah really increasing productivity..... (Not)





# March 22, 2004 11:02 PM

Dennis van der Stelt said:

Intellisence in VB.NET is better because of the background compilation that it does.

Squigly's rule :)

BTW most important advantage of C# not in there:

Use of unsafe code.
# March 23, 2004 12:40 PM

Dennis van der Stelt said:

Look, it doesn't matter which language you use. I've now done both and there's hardly any difference.

As for the NDOC options. If I'm not mistaken, VB.Net 2003 also offers this option. And if not, then it will be in the next version.

Even Microsoft staff I know say that there's hardly any difference, other than the backwards compatibility of some old style VB6 code.

But developers that want to migrate to .Net should start with C#, especially if they have VB6 experience. It forces them to get to know the .Net framework. When they use VB.Net they stand the risk of using VB6-like code and not getting to know the new features of .Net.
# March 24, 2004 7:43 AM

Dennis van der Stelt said:

Hey daar ben ik ook aan begonnen... nou moet ik zeggen dat het een bittere pil is. Zelfstudie in eigen tijd vergt een flinke inspanning.
# March 25, 2004 9:09 PM

Dennis van der Stelt said:

GEFELICITEERD MAN !! Weer een nieuwe .NETSTER :-) Masterclass 2030
# March 25, 2004 9:27 PM

Dennis van der Stelt said:

Gefeliciteerd! en thuis bevallen zo te zien, mooi mooi.
# March 25, 2004 9:55 PM

Dennis van der Stelt said:

Gefeliciteerd!!! (en de moeder ook gefeliciteerd natuurlijk :))
# March 25, 2004 10:07 PM

Dennis van der Stelt said:

Felicitaties voor heel je gezin!
# March 26, 2004 6:55 AM

Dennis van der Stelt said:

Legendaaaarisch goed verhaal!
# March 26, 2004 7:13 AM

Dennis van der Stelt said:

Gefeliciteerd. Veel geluk en plezier samen. Geniet ervan!
# March 26, 2004 7:36 AM

Dennis van der Stelt said:

Van harte gefeliciteerd allebei.
# March 26, 2004 8:19 AM

Dennis van der Stelt said:

Gefeliciteerd hè! Kan ze al C# zeggen?
# March 26, 2004 9:07 AM

Dennis van der Stelt said:

Just to make sure there's no confusion: I wrote the blog entry in the C# FAQ (with various bits of feedback), but I'm not from Microsoft. I'm an MVP, but that's as far as the link goes, basically.
# March 26, 2004 10:20 PM

Dennis van der Stelt said:

Alle drie van harte proficiat. Zou haar eerste woordje "data" zijn?
# March 27, 2004 11:47 PM

Dennis van der Stelt said:

Super, geniet ervan en neem daar de tijd voor.
# March 29, 2004 8:43 AM

Dennis van der Stelt said:

Allen, bedankt voor de felicitaties...

@Alex: Data doet me te veel denken een Star Trek, ik denk dat Chewbecca eerder komt! ;)
# March 29, 2004 10:44 AM

Dennis van der Stelt said:

Raad VOOR de Rechtspraak.
# March 29, 2004 4:18 PM

Dennis van der Stelt said:

Top man! Dacht trouwens dat je alle beginletters van Microsoft wilde afgaan voor je kids! Gaat niet helemaal lukken helaas met Emma ben ik bang!
# March 30, 2004 3:49 PM

Dennis van der Stelt said:

gefeliciteerd nogmaals, Dennis en Laura, en Naomi, leuk gedaan zo Dennis.
# March 31, 2004 12:01 PM

Dennis van der Stelt said:

kheb medelijden met je dennis.........

00:95:53???? lamenielachuh!
Oostburg-den haag........ ergens tussen de 120 en 150 minuten..... en da 2 keer per dag!

de groeten!!

peetronics
# April 5, 2004 7:19 PM

Dennis van der Stelt said:

how about:
- Speer.nl
- Lekkersfeertje.nl
- Goeiesfeer.nl
- sfeerverlichting.nl
- ik_rijg_je_aan_mijn_speer.nl
- bottesfeer.nl
- bottespeer.nl

or something?

# April 16, 2004 10:57 AM

Dennis van der Stelt said:

Or www.botte_peder.nl, but I don't think you'll understand that one. Ernst probably will...

But that wasn't really the thing I was looking for! :)
# April 16, 2004 2:04 PM

Dennis van der Stelt said:

ehh gotblog.nl ?

# April 20, 2004 9:17 AM

Dennis van der Stelt said:

www.zakhooi.nl
www.sjappies.nl
www.lekkerkloppen.nl
www.logjerot.nl
# April 20, 2004 2:59 PM

Dennis van der Stelt said:


WWW.VBDOTNETRULEZ.NL
ennuh
WWW.VBDOTNETRULEZ.COM
kunnen allebei nog.......

Grijp jhe kans dennis.....
# April 23, 2004 12:49 PM

Dennis van der Stelt said:

Good luck :)

Hope you get another client soon :)
# April 26, 2004 3:42 PM

Dennis van der Stelt said:

Think of C# and VB.NET as nothing more then tools in a toolbox. Depending on your previous experience with the tool and the type of work you are doing, you will select a tool that meets the need. Looking ahead to future releases of C# and VB.NET, one should use C# for building frameworks and object models and use VB.NET for presentation work or small applications (RAD stuff).
# May 1, 2004 3:55 AM

Dennis van der Stelt said:

I have a new client now! Having internet rules my life! ;)
# May 4, 2004 12:23 PM

Dennis van der Stelt said:

Usually the best thing to do is to cancel the download when your not getting a good speed and then resuming.
Or use something like DAP / Getright / flashget ...
# May 5, 2004 8:29 PM

Dennis van der Stelt said:

How can I get these downloads with Getright? I don't get an url or anything, it always loads up the download manager from microsoft.
# May 8, 2004 2:51 PM

Dennis van der Stelt said:

I'm still waiting for the .pdf to become available.
# May 8, 2004 9:21 PM

Dennis van der Stelt said:

I don't think it's coming... Another article was released a few days ago, can't remember when or what article, but it also didn't have a PDF version.

I don't know if these things always arrive a little later, but it would be a real shame if they don't release those anymore.
# May 8, 2004 10:04 PM

Dennis van der Stelt said:

Never talk about intellisense - it is not a feature of language, it is a feature of VisualStudio.NET or the particular tool which u r using for development. what if u develop ur code using just NOTEPAD or what the tool which u r using don't have intellisense feature - now tell me which language is better - C# or VB.NET
I say both languages are equal as long as u want to develop CLS compliant code. Outside the CLS compliancy, it depends on ur requirements.
# May 11, 2004 11:28 AM

Dennis van der Stelt said:

Ik gebruik ook Bulletproof. Ik gebruik het niet alleen als internet-FTP server maar ook voor thuisnetwerk. Als mijn broertje inlogt via een snelkoppeling op zijn bureaublad op de FTP server kan ik hem precies de rechte geven die hij moet hebben (alles kunnen openen maar niet verwijderen)

Het programma zelf werkt fantasties. Als je wil testen of de ftp-server het goed doet kun je dit alleen via je lokaal IP adres of via een andere verbinding. Wil je toch via je eige verbinding kijken of je ftp-servertje het net op gaat kun je dit checken via www.net2ftp.com

succes
# May 12, 2004 10:49 AM

TrackBack said:

# May 12, 2004 11:34 AM

Dennis van der Stelt said:

To start with question 2, I assume that you opened up FTP to allow bloggers to upload images. There are lots of tools that allow upload from a HTML-from and then be written to disk. I have used such a tool quite a lot in ASP, I think it was called ASPUpload or something like that. Haven't used it yet in ASP.NET. It suprised me that .Text doesn't offer such a feature, because publishing pictures is something you need to do quite often.

To answer question 1, I don't think that standard FTP uses any other port than port 21.

BTW, why don't you use the standard IIS FTP Server?
# May 12, 2004 12:38 PM

Dennis van der Stelt said:

It definitly should be a part of a blogging engine with wysiwyg editor capabilities. But unfortunatly it doesn't.

Fortunatly BlogJet provides this in sending the pictures to an FTP account. The great thing is, it transforms the url in the img tag to the location where the image is on the http server. Ofcourse the image should be available on http after ftp'ing it, but that's logical.

I've also thought about building a special tool for .Text or something. I'm also planning this for my own website. A tool where you can wysiwyg your postings in, include pictures and the works and then upload them (later, if you want) to the server. It will then be implemented by webservice, including the picture part.

I don't use the standard IIS FTP server because BulletProof is much more flexibel. If I'm not mistaken, I have to setup multiple accounts on my windows machine to have IIS FTP running with multiple accounts. I don't want that. Besides that, I can set up- and download speed per user, which I seriously want!
# May 12, 2004 1:57 PM

Dennis van der Stelt said:

bpftp lets you configure you're port... first switch of all ip homes in setup/user accounts/home ip/

Then check your port in setup/main/general/ make sure you're isp isn't scanning your ports, setting a port other then 80 would be fine.

You could run ssh/cygwin on your windows box and tunnel traffic.
# May 12, 2004 6:05 PM

Dennis van der Stelt said:

The port 21 not being reachable was my fault. I just discovered I hadn't mapped port 21.
The reason for this is I had my FTP server on port 81 because I hoped it would work at work (great, work at work ;) but it didn't. When I changed the port in the server back, I didn't do it in the mapping table.

I just tested the ftp server with net2ftp and it worked like a charm. Better yet, what I didn't expect, I can browse the ftp server, upload files, create directories, everything! Just two things:
- I can't upload files that take longer then 20 seconds to upload. This means I seriously have to higher to max upload speed for my bloggers.
- There's something about the supplying my FTP password to net2ftp that I don't seem to like. Can you imagine? :)
# May 12, 2004 7:44 PM

Dennis van der Stelt said:

Question 2: there is something called secure ftp which does ssl FTP don't know which clients support this.

Or which servers for that matter.

If your ever in a jam for a port to use for an FTP server try 8080.

Thats an alternative http port which isn't used to often, but is still open on almost all locked down situations.
# May 13, 2004 11:18 AM

Dennis van der Stelt said:

Well i like the VB part better but that is off topic.

I didn't know the c# people cared about readabillity of the code.....

I saw this piece of text a few days ago on wasabi......

?:, ++, -- Operators

C# includes ?: (conditional assignment), ++ (increment) and -- (decrement) operators.
Verdict: I'll give this one to C#, but given that these operators increase brevity at the cost of readability, you can make a case that their lack in VB.NET should really represent a win for VB.NET.

# May 14, 2004 9:22 AM

Dennis van der Stelt said:

Yes! Konami MSX games! :)

Ik heb dat ook nog veel gespeeld op de MSX, net als metal gear, nemesis 1 2 .. tig (binnenkort nieuwe versie op de PS2: Gradius V!), vampire killer! (castlevania op de PS2 :)).

Ik had toen een MSX 2 (philips) met 128KB ram en om die cartridge te kunnen spelen vanaf disk moest je een virtual memory mapper maken die de blokken swapte vanuit videomemory in mainmemory. Die propte je dan helemaal bovenin het geheugen tussen het systemmemory. :). Alles uiteraard in z80 asm. Those were the days :D
# May 14, 2004 10:21 AM

Dennis van der Stelt said:

Ik heb een MSX 1 gehad, geen idee welke dat was. En een MSX2 8245 met 256KB en een MSX2 8280 met 512KB !!! Die 8280 was zo'n platte waar je je monitor op kon zetten, met 2 diskdrives en mogelijkheid om video te bewerken. Dat was tof maar LELIJK!!! 256 kleuren! ;)

Ik heb op de MSX alleen maar Basic gedaan, helaas. Met wel Ease geprobeerd na te bouwen, de MSX versie van Windows, zeg maar... Lachen hoor, grafisch, multi-window, etc.
# May 14, 2004 10:34 AM

Dennis van der Stelt said:

Overigens is Metal Gear nog steeds het beste spel wat ik ooit gespeeld heb. Jammer dat de PS2 versies (en later pc) zo belabberd waren t.o.v. de MSX versie(s).

Maar in Metal Gear kreeg ik kippevel op m'n armen als dat rot alarm weer afging. Je schrok daar echt en als Grey Fox dood ging, voelde je je echt rot enzo! Wel geweldig overigens dat ie in MGS (PS2 & PC) weer terugkwam als die vage robot.

Maar mijn point nu is, dat je tegenwoordig de kwaliteit van Metal Gear qua sfeer niet meer hebt. FarCry was weer heftig eng, maar daar moet je weer monsters voor hebben die in 2 sprongen 100 meter af kunnen leggen en jouw met 1 mep doodslaan. Maar Metal Gear had dat niet nodig. GEWELDIG! :)

SD-Snatcher helemaal in het Japans gespeeld en zelfs toen was deze nog uitermate tof! :)
# May 14, 2004 10:37 AM

Dennis van der Stelt said:

We will release the .pdf with the final version. The released version is a preview and includes only the first four (of nine) chapters.

DT
# May 14, 2004 10:07 PM

Dennis van der Stelt said:

Ik had zo'n 8250 met 128KB ram (met 1 diskdrive ;)) en los keyboard :)

Metal Gear op de MSX was erg gaaf, maar Metal Gear Solid 2 op de PS2 is echt mega mega goed (vind ik :P).
# May 15, 2004 10:36 AM

Dennis van der Stelt said:

Okay then, thanks for the info! Guess we'll have to read chapter by chapter from screen or printed HTML and when we're done, we can finally print de .pdf! ;)

Just kidding ofcourse, it's great Microsoft (and partners) puts a lot of effort in these things.
# May 15, 2004 10:32 PM

TrackBack said:

# May 16, 2004 11:18 PM

Dennis van der Stelt said:

well i actually do like the
+=
-=

etc operators that do a lot for me in term of less things to type = less errors.

The annoying part of the ++ and -- operators is that:

i++ != ++i

Which ofcourse is nice more power but also an increased chance for seeing errors popup.


# May 17, 2004 12:18 PM

Dennis van der Stelt said:

I totally agree. I've seen plenty of code such as this one.

// JS - Start change

some code

// JS - End change.

I don't care who changed it.

Another thing that always annoys the s**t out of me is complete procedures that are in the code as comments. Usually, the argument is that the developer in question is not sure the procedure should be there at all. Another argument is that it supports some functionality that had to be disabled and the developer is afraid it has to be re-enabled at some later stage. DUH, that's what source safe is for!
# May 17, 2004 8:54 PM

Dennis van der Stelt said:

I have the habit of writing just as much comments as actual code. Guess this is mostly due to me writing business logic 90% where the complexity increases. My golden rule is… someone reading through my code should not have to fallback on design documents to accomplish general understanding.
# May 18, 2004 7:46 AM

Dennis van der Stelt said:

public virtual AbstractDomainEntity DoLazyLoad(AbstractDomainEntity obj, DataRow dr)
{
try
{
((Batch)obj).ID = dr["bat_BatchId"].ToString();

return obj;
}
catch(ArgumentException ex)
{
throw new FailedToLoadEntityException("Failed to load batch entity from row data.", ex);
}
}

I’m blushing ;)
# May 18, 2004 7:53 AM

Dennis van der Stelt said:

gogo
# May 18, 2004 8:00 AM

Dennis van der Stelt said:

@Jan: That's something I'd really like to know. Ofcourse we do have SourceSafe most of the times, but most of the time, when I add just a few lines and something really changes, I try to add comments that explain who build it (that would be me), what the situation was before and what it does after the change. But that's mostly only when I change something in business rules and I'm on a development team or have to work with someone else's code.

That methods that are all commented out is really annoying indeed.

@Paul: I don't really get the 90% sentence. Do you mean you only write business logic 90% of the time? Writing extra comments where business logic is, is indeed a good thing.
And about the design documents, I don't think developers should not have to fall back on design documents. The thing is though, that most of these design documents don't say shit. You really need a good designer and he/she should be on a team so the design was checked. Most people don't write that good of designs. Not where I come from, anyway. :)
# May 18, 2004 8:35 AM

Dennis van der Stelt said:

Hmm interesting
# May 18, 2004 2:24 PM

Dennis van der Stelt said:

It also depends on the type of mouse driver you are using. The default mouse driver does not work. If you install IntelliMouse scrolling in VB6 works as well.
# May 18, 2004 9:28 PM

Dennis van der Stelt said:

90% of my time
# May 19, 2004 1:38 PM

Dennis van der Stelt said:

I tried this, because I thought I remembered from a long forgotten past that the IntelliMouse driver worked. But the driver in my post didn't work either!

Doesn't matter, I'm uninstalling VB6! Blegh! ;)
# May 19, 2004 7:37 PM

Dennis van der Stelt said:

WHAT THE FUCK?
# May 20, 2004 4:11 AM

Dennis van der Stelt said:

But, guys, this issue is discussed for a long time. But, no solution came out.

Which is better ?
or
Comparing these two is foolishness ?

# May 22, 2004 12:57 PM

Dennis van der Stelt said:

This one pixel transparent image approach exists for years now and is THE main reason why images are turned off in Outlook. Many newsletters I know (including some I have developed) use this technique to track usage.

I don't really understand the fuzz and I'm amazed that so many people weren't aware of this.
# May 24, 2004 1:23 PM

Dennis van der Stelt said:

Okay, thanks Carlo, I'm an idiot... Now it's official! ;)

I don't know if "many people" weren't aware of this, I just didn't know. Or realize. Fact is, I turned the feature off, but it's on again! ;)
# May 24, 2004 1:25 PM

Dennis van der Stelt said:

Ja, inderdaad! Bedankt! :)
# May 24, 2004 1:28 PM

Dennis van der Stelt said:

I think the best approach to fight spam on corporate mail accounts is a centralized approach with spam filters installed on the mailserver. You don't want to have all kind of freeware/shareware solutions running on all PC's in your network.

I know of some spamfilters for Exchange. My former employer had such a filter that used a combination of techniques to decide whether sent mail was spam. I'm no expert in this field, but if I remember correctly this included a word pattern recognition engine and a emailaddress blacklist. Spam was not removed, but put in a seperate folder.
# May 24, 2004 1:30 PM

Dennis van der Stelt said:

At (both) our company, we use this as well, but it turned out it was to tight. Mail sent by clients didn't arrive anymore. So they turned it off again.

Fact is, that your former company didn't have as much mail as we do. When 1% of all normal, non-spam is lost, we have a problem. This problem consists of several thousand mails a day and job openings for a dozen of people to get these mails to our collegues again. That's not doable.
# May 24, 2004 1:33 PM

Dennis van der Stelt said:

Damn.. even I know this :) The same for scripting in e-mails.

And what about the famous option to send a reply to let the sender know that you opened the e-mail. A much better approach then this but also turned of on my client :). Too bad this cannot be turned of in a closed exchange environment :) only works for pop/smtp.

I think this all has to do with communication. I always let people know that I have read an e-mail even though they are not asking something from me.
# May 24, 2004 1:34 PM

Dennis van der Stelt said:

Well, I've seen this message show up on several sites, including webwereld and it looks like this is new stuff to quite a lot of reactors. Don't take it personal, Dennis ;-).
# May 24, 2004 1:34 PM

Dennis van der Stelt said:

Spam..

I am still waiting for the first spamassassin exchange plugin :)

SpamAssassin rulz!
# May 24, 2004 1:37 PM

Dennis van der Stelt said:

You might want to try this one:
http://www.tweakers.net/meuktracker/6228

# May 26, 2004 8:59 AM

Dennis van der Stelt said:

I once saw this in code:

Function DOG(Bone as string, Field as string) as string

The function did tried to find a string (Bone) that could contain wildcards in another string (Field).

Sick, huh?
# May 27, 2004 9:05 AM

Dennis van der Stelt said:

Interesting sightings Dennis. Clemens certainly has a point stating schema dependencies between services is a bad practice. For me this is an indication Clemens and many others in the field spend way to much time abstracting the SOA principles to the public instead of bringing these “revolutionary” concepts into practice. I’ve been working on a material traceability system for over a year now where we split functionality in self contained containers. We therefore have a material service storing material definitions and material instances. On the side we have an equipment service which stores equipment definitions, configurations, and instances. The material tracking service (a small part of the whole) ties the two together, the tracking services relates material check- ins/outs to equipment. In the real world this would mean I check-out material (3 parts for instance) from the warehouse, where the warehouse is actually an equipment instance. The material is then transported by a conveyer (equipment) and is being checked-in in the production center where it eventually becomes 1 part (the 3 parts being assembled together of some other process step).

This use-case would ask the material service for the part definition, which could be an interface over some fancy ERP system. To determine if the parts are in stock it then then makes a request to the equipment service which interfaces against a piece of MES business logic, retrieving the actual stock for us. It then relates the material handling with the actual equipment being used and sends the information to a message queue (we use MSMQ for our message based integration approach). The message only contains the material and equipment ID’s which are GUID’s in our case and the “actuals”, start datetime, end datatime, amount, operator/system etc. The material tracking service achieves this information.

If you look closely you would notices that all services are isolated self contained containers, all storing their share of data and exchanges this data upon requests. The explicit interfaces abstract the clients completely from the underlying data stores. Though the services described are definitely schema dependent. The material tracking service depends on the material / equipment schema. Although the material services is “replaceable” the equivalent should speak the same language! SOA doesn’t only force another POV towards system architecture, it also forces architects to agree upon dependencies between the explicit boundaries of your services. We therefore need flexible business standards like BatchML, B2MML where a common set of schemas is agreed upon and the standard decides which part of schema and thus data is encapsulated within a service boundary.

And you are correct, there are no examples which explain real world scenario’s as the one briefly described above. I also think examples would confront the SOA evangelist with SOA’s shortcomings which are to busy atm with hyping SOA.
# May 28, 2004 10:06 AM

Dennis van der Stelt said:

That site is fantastic! It makes you wonder..."why didn't I think of that?". What's even better is that everyone can contribute to it.

*michael starts digging through his old code*
# May 28, 2004 10:08 PM

Dennis van der Stelt said:

ja, die ligt er vaak uit. maar er staat niets relevants in, alleen de tweakdingen die je in xp ook doet, behalve dan de "tweak" voor het niewe file systeem, maar je moet gewoon die service uitzetten. mijn longhorn gebruikt nu minder dan 100 mb geheugen. alleen wil dat kutding niet op azerty. zijn er al goeie tweaks uitgebracht?
# May 31, 2004 6:59 PM

Dennis van der Stelt said:

I believe there is some setting you can set so that the page will expire immediately after leaving....

It is almost the same as disabeling......


# June 1, 2004 3:24 PM

Dennis van der Stelt said:

Don't forget to dip the herring in some finely cut onion... yummy

Added bonus is that your collegues can now smell you from 30 meters away, that's 50% more! ;-)
# June 2, 2004 2:50 PM

Dennis van der Stelt said:

Ooh, ooh, gotta get me some fresh "Nieuwe haring" this weekend. Yummy indeed. Thanks for the reminder.
# June 2, 2004 8:31 PM

Dennis van der Stelt said:

I live in Scheveningen (where a lot of herrings are coming in each year :)) and I really hate the taste of herring ;)

But I'm happy for you your disgusting food has arrived once again! ;)

# June 3, 2004 10:31 AM

Dennis van der Stelt said:

Thanks!
And the more people that don't like 'm, the less they cost and the more there are for me! ;)
# June 3, 2004 10:38 AM

Dennis van der Stelt said:

Hmm tasteful!
# June 3, 2004 10:10 PM

Dennis van der Stelt said:

Great stuff.

From what I've heard the reason they don't have this functionality in this version is because of the shift in architecture they were not able to implement it in time. The last sharepoint used exchange to accomplish this and luckily they have abandoned this path with the new version.

Hopefully they bring it back in the next version. And if they could have a look at the way listings are connected to documents that would be great as well. The way it works now is that if you rename, remove or move a document in sps your listings to the document are not changed so you end up with dead links.

nice one.

So... just had to get that off my chest.

# June 3, 2004 11:08 PM

Dennis van der Stelt said:

scary Dennis!
# June 9, 2004 10:17 AM

Dennis van der Stelt said:

"Untill now, I only embarked web applications, so this is a new one."

You do not embark, you embark ON...

I'm about to embark on ...

Untill >> Until

Excellent choice to use english on this blog ;-)
# June 9, 2004 4:01 PM

Dennis van der Stelt said:

Just nagging, Dennis ;-)
# June 9, 2004 4:02 PM

Dennis van der Stelt said:

Sorry Ernst, I was in a hurry writing this. You were waiting outside to got the the "appie" :)
# June 9, 2004 4:08 PM

Dennis van der Stelt said:

OK, now for something serious...

I've looked at the class...
Here's what happens with the FormLoad method: before initializing any of the visual components, the class checks all of the components and its children and if its derived from buttonbase it sets the FlatStyle property.

If you put a manifest file in the directory of a winform app, it automatically tells the application that it can use the new version of the windows common controls, if there are any (it doesn't work on W2K because the DLL is not there).

So what the Manifest method does it put it in place automatically for you.

My preference would be to use the Manifest method because this tells the application to use the new controls, instead of modifying every control when starting the app.

Beter yet, make your own manifest file and place it in the app folder, so that if a newer version of the manifest file (i.e. newer controls) can be used, it isn't replaced by this class.

So, don't use it, make your own manifest file, it's easy!
# June 9, 2004 4:25 PM

Dennis van der Stelt said:

Didn't you just have a kid with one? ;)
# June 9, 2004 7:28 PM

Dennis van der Stelt said:

Oh, and BTW, Clemens Vasters was the first to report that Kimberly Tripp is blogging now. That was a long awaited moment for a lot of people involved in SQL Server. Kimberly gets the top ratings on every conference that she speaks for. I've never been to any of them, but I am sure to go if the opportunity arises.
# June 9, 2004 7:35 PM

Dennis van der Stelt said:

On your first remark, I ment that this was my first time subscribing to a feed from a woman! What sick minds do you people have that you can only think about that! :)
# June 10, 2004 8:26 AM

Dennis van der Stelt said:

OK, wait a minute...
If you can use Application.EnableVisualStyles(), why bother with the manifest?

I stumbled across this URL: http://blogs.msdn.com/rprabhu/archive/2003/09/28/56540.aspx.
What is says: in V1.0 you needed the manifest for XP looks, in V1.1 you can use Application.EnableVisualStyles.

So why does this class bother with the manifest file? The article already mentions the EnableVisualStyles method...?

Even worse... if I understand correctly, the Manifest method won't work if the FlatStyle.System isn't set on the buttons...

So... use Application.EnableVisualStyles() and all is well.

All is well? Not exactly...

Read this:
For those controls that have FlatStyle properties, in all modes except FlatStyle.System, Windows Forms custom-renders the controls. In v1.0 and v1.1, the Windows Forms rendering code is not "theme-aware", so EnableVisualStyles has no effect unless comctl32 itself does the rendering. The FlatStyle.System setting does exactly that - tells Windows Forms to allow comctl32 to render the control. Unfortunately, in this mode, cool features like setting the BackColor or assigning an image to the control do not work, since to support these, Windows Forms needs to do the rendering.

So, standard buttons in XP style are working fine, but using Application.EnableVisualStyles() disabled your own buttons with images etc.

# June 10, 2004 8:44 AM

Dennis van der Stelt said:

fix the picture Dennis!!...*lol*
# June 11, 2004 11:10 AM

Dennis van der Stelt said:

correction....picture is already fixed....
# June 11, 2004 11:14 AM

Dennis van der Stelt said:

It was never wrong, although it might've seemed like. The text was really close to the picture. I fixed it with some padding, so there's now exactly 7 pixels between the pic and the text! ;)
# June 11, 2004 11:18 AM

Dennis van der Stelt said:

lol, how long will it take for angry VB.NET'ers to pick up on this post :D
# June 11, 2004 2:50 PM

Dennis van der Stelt said:

Alex, slashdotting Dennis's blog. What is this world coming to.
# June 11, 2004 2:53 PM

TrackBack said:

# June 14, 2004 2:13 PM

Dennis van der Stelt said:

this seems to be what your looking for:
http://www.foood.net/
# June 15, 2004 3:58 PM

Dennis van der Stelt said:

Thanks. I know of the site and got two problems with it.

1 - The icons themselves all contain shadows. I haven't seen a toolbar or menu (in Windows) that can handle shadows in icons. So all shadows are big fat black lines around your icons :)
2 - The pictures are really way to small to be used.

But thanks anyway! It indeed is a nice site.
# June 15, 2004 4:02 PM

Dennis van der Stelt said:

I see a red-cross as left picture.....is that also a icon?;-)
# June 16, 2004 1:44 PM

Dennis van der Stelt said:

That's the one I like most! :)
# June 16, 2004 1:52 PM

Dennis van der Stelt said:

I see there is a Pocket viewer as well now it's getting interesting.....
# June 16, 2004 2:47 PM

Dennis van der Stelt said:

# June 18, 2004 11:01 AM

Dennis van der Stelt said:

Too bad they don't follow UML 2.0 notation but just draw up their own 'pictures'
# June 26, 2004 11:06 PM

Dennis van der Stelt said:

Yeah, Microsoft is really fond of their own icons and stuff. They probably have some designers in-house that say "Hey, that italic word is really ugly, let's put an icon in front of it and un-italic it."

For us the italic means it's abstract, but what do they care?! ;)
# June 29, 2004 7:44 AM

Dennis van der Stelt said:

I'm holding my breath... How long?
Please respond before I turn blue in the face...
# June 29, 2004 9:12 AM

Dennis van der Stelt said:

Hmm I’ve heard other respected developers pronounce the exact same thing.

http://www.martinfowler.com/ieeeSoftware/whoNeedsArchitect.pdf

http://www.martinfowler.com/bliki/BuildingArchitect.html

Architects definitely fulfill an important role in the process. To me a junior developer supports the senior developer. This spread a range of activities variating from getting coffee to realizing (sub)systems of the solution). The senior developer has a certain responsibility in the development process and advises the architect technology wise. The architect connects conceptual, logical views to physical views resulting in complete systems and infrastructure with support from stakeholders, analysts etc.

I think the whole “Architect is a trend” debate is a time waster. Looking forward to read Ingo’s book :D
# June 29, 2004 6:33 PM

Dennis van der Stelt said:

Sounds great, darn was holding.
# June 29, 2004 6:44 PM

Dennis van der Stelt said:

I don't care what title I have, as long as I get to do projects that challenge me. If they call me (junior) developer, I might get MS Access at me. When they think I'm an architect, I get to do the cool stuff on (larger) projects.

I'm also (trying to) take on Service Orientated Architecture. The services were always there, but now they're better defined, I guess. And more info is available on how to HST, or Hook Shit Together, as we heard monday evening! :)

I see a lot of problems with SOA that I can't find the solutions for, yet. I hope the example apps for Shadowfax and Fabriq show solutions. Haven't had the time to look at the Shadowfax example app yet, and Fabriq was just released.

Anyway, I like doing things the SOA way. It's still on certain points a lot different to what we were used to. It's just like when .NET was released, a whole new way of programming (kind of) came to light. In some sort of way, I feel the same about SOA. And I like it. Also the discussions it brings forward with other developers why they can't plugin their Crystal Reports directly onto the database, or can't do this or that, like they were used to! ;)
Although they (these discussions) can be very frustrating from time to time, I've noticed I get a lot of satisfaction from proving my point! ;)
# June 30, 2004 8:36 AM

Dennis van der Stelt said:

If you don’t own Integration Patterns (http://www.eaipatterns.com), yet I’d advise you to buy a copy.
# June 30, 2004 9:56 AM

Dennis van der Stelt said:

Because of? I'm kinda lost why you come up with this all of a sudden! :)

I know it's supposed to be a great book, and I already got EAP, but there's so much to do and so little time. I'm doing DDD currently, although I'm into Star Wars Galaxies at the moment. 14 day trial and I want to use every minute of it. Too bad I also have to work, take care of my kids, give my wife some attention and have to sleep even! ;)
# June 30, 2004 9:59 AM

Dennis van der Stelt said:

Because of "I'm also (trying to) take on Service Orientated Architecture". Integration Patterns give you a head start.

I'm waiting for HL2 and its mods :D
# June 30, 2004 3:40 PM

Dennis van der Stelt said:

I hate popups!
# June 30, 2004 11:50 PM

Dennis van der Stelt said:

Haha, ik heb hetzelfde eens gehad :) Ik dacht ooit eens ff een UPS'je te kopen maar niet gedaan omdat er best wel wat spul power nodig heeft. ADSL model, hub, server, WiFi AP
# July 2, 2004 11:47 AM

Dennis van der Stelt said:

I am still getting the update error with blogjet. Where can I find the fix?
# July 2, 2004 7:12 PM

Dennis van der Stelt said:

How about www.netsushi.nl ;-)
# July 7, 2004 9:17 AM

Dennis van der Stelt said:

or.... www.thebestblogever.nl
or.....www.blogjesuf.nl
or.....www.bloggerdeblog.nl
# July 7, 2004 11:16 AM

Dennis van der Stelt said:

weblogs.cmg.net
cmgdotnet.nl

Why complicate things?
# July 11, 2004 3:25 PM

Dennis van der Stelt said:

First of all, it's not CMG, it's LogicaCMG :)

Second, although it's sponsored by LogicaCMG, I want something like weblogs.asp.net. Although everybody knows it's sponsored by Microsoft it isn't directly in the name.

Third of all, when LogicaCMG is in the domainname, every opinion stated will be LogicaCMG's opinion. Even the press might quote things and that's definitly not what we want.

We want a blogging community where even non LogicaCMG employees can blog. It's just that LogicaCMG provides the ability. We know weblogs.asp.net provides this, but the aggregated feed of our blogs won't be cluttered like theirs. I killed the main feed from my rss reader a long time ago. :)
# July 12, 2004 8:44 AM

TrackBack said:

S Dot One heeft het over .NET &raquo; Meer Nederlandse bloggers?
# July 13, 2004 7:24 AM

Dennis van der Stelt said:

They requested to be added to the Dutch bloggers list I've maintained thus far. I think they are a great addition so I’ll do that as soon as my busy schedule lets me. Still not sure if their writing in Dutch will attract "the audience". I already think we have far to less connection with international .NET communities. What you recon Dennis? split into a Dutch and English section or just add them to the list. Not that it matters that much anyway :D
# July 16, 2004 3:45 PM

Dennis van der Stelt said:

There's some more information on Enterprise Library available now at http://www.microsoft.com/practices .

There's also a link to the GotDotNet workspace for Enterprise Library.
# July 29, 2004 9:40 AM

Dennis van der Stelt said:

wij hebben een netwerk. ik heb bulletproof ftp server geinstaleerd. welk ip nuummer moet ik gebruiken. ike heb er 2. eentje van internet en 1 van ons net werk
mail naar maikelh87@msn.com
# August 10, 2004 10:12 PM

Dennis van der Stelt said:

Hi Dennis,
Same problem here. I'm running the .Text source on one machine and the compiled binaries on another. I may try to get in there and see whats going. I *THINK* it may be reporting an error it's getting from the .Text service? I'll jump into debug and see.
# August 14, 2004 12:19 PM

TrackBack said:

# August 17, 2004 3:26 PM

Dennis van der Stelt said:

its good
# August 25, 2004 3:07 PM

TrackBack said:

# September 8, 2004 9:36 AM

TrackBack said:

# September 8, 2004 9:37 AM

Dennis van der Stelt said:

Een profiler waar ik bij zweer is de SciTech's .NET Memory Profiler. Een superb tooltje. Probeer de trail versie maar eens uit.

-- Marcel
# September 11, 2004 12:43 PM

Dennis van der Stelt said:

Do I REALLY need to kick down that open door

:-)
# September 29, 2004 11:10 AM

Dennis van der Stelt said:

Well, was this the first time you used a Dropdownlist that was actually filled with data ? ;-)

# September 29, 2004 12:28 PM

Dennis van der Stelt said:

Do you know for sure you want to report this on your blog for the whole wide world to read? :) I know at least two colleagues who wanted to ask you if you had turned off view state. But they didn't because they thought that was too obvious :)
# September 29, 2004 10:35 PM

Dennis van der Stelt said:

Hehehehe, well, I didn't think so. Why should it need viewstate? We didn't have viewstate before .NET and my dropdownlists really worked! So I think it's pretty stupid it now needs viewstate...

But maybe I should read the document Ernst posted so proud! ;)
# September 30, 2004 7:48 AM

Dennis van der Stelt said:

This is a nice add-on indeed Dennis :)

But still... I am running an exchange 2003 box at home for 3 accounts (yes, learning purposes...).

Exchange 2003 can use blacklists and there is a plugin available called IMF. By using both I dramatically decreased the level of spammail that lands in my inbox!!

I still have my exyll at xs4all.nl account and this baby seems to receive more spammail a day then there are dutch dns registrations :). This account is really LOADED with spam.. Lucky for me that xs4all has very good spamfilter options so about 98% of spam mail is filtered (read /dev/null) then forwarded to my new e-mail adres domain (exyll.net). This mail first gets the DNS blocklist.. which fails because the xs4all server is ofcourse not in that list (most of the time that is..), then the IMF kicks in and calculates an UCE level. If the level is 6 of higher it goes /dev/null and when it is level 5 it gets marked as junkmail in the exchange server. The cool thing is that IMF checks if the sender is on the receivers white- or blacklist.. is this is the case then that mail will never or always be deleted :).
When I come home I login and Outlook 2003 will be started. It receives it's mail and then the outlook 2003 junkmail filter kicks in. This baby isn't doing great.. so I configured it for the low filtering option instead of high.

This setup works GREAT... I think I receive 2 spams in my inbox a week which I don't think is frustrating and no false-positives.'

Matador is I think a better option then outlooks buildin junkmail filter. But it isn't necessary in my situation.
# September 30, 2004 12:03 PM

Dennis van der Stelt said:

Hi,

I am with Dennis 100% there as I am having the exact same problem but I have proof that the implementation of the dropdown is somewhat at fault or at least different from any other controls regarding the handling of its viewstate.

I have a simple page with one dropdownlist filled in by databind() from a DB, one textbox and one checkbox and a button.

The test is easy: turn off the viewstate of all the controls, put a break point in the button.click() method in the code behind. Launch your page.

Now type something in the textbox, check the checkbox, choose an option from the dropdown and click the button.

What do you see in the debugger for the value of the controls?

-The text property of the textbox has got the value you typed, despite viewstate false
-The checkbox.checked property is true, despite viewstate off
- And the selectedValue property of the dropdown is "", no matter what you chose. And to avoid obvious stuff, in fact putting a break point on the load method of the page, just before clicking the button would have shown the same thing...

So, what is the matter with the dropdownlist? Why can't it be posted to the form like any other control? I have lots of pages where I had to turn it on where I obviously didn't need it - especially if you don't need to show the values on the page once posted back (in my case it is redirecting to a complete different page).

Any idea?
Steph
# October 5, 2004 3:00 PM

Dennis van der Stelt said:

Hi again,

Not sure if anyone is reading or not but for those who still find that setting the EnableViewState property to True when it is obviously unnecessary is ridiculous, I have a fix:

Remember your .asp days with the Request.Form() method? Well no matter what .net says, the dropdown is still a proper object posted to the form included in your page. And so it is possible to get its value through the Request object.

The only gotcha is to get the Name of the control generated by .Net but fortunately the UniqueID property, that exists for any .net control, gives us just that!

So, with a DropdownList with viewstate set to false, in the codebehind, in my click event (see example above), you can use:

Request.Form(MyDropdownList.UniqueID)

to retrieve the equivalent of the SelectedValue property that could only be used with ViewState set to True.

Cheers,
Steph
# October 5, 2004 6:48 PM

Dennis van der Stelt said:

Damn.. I already brought you this fantastic news months ago on my blog Dennis :). Can I consider that you were not visiting it frequently ;)

hahaha

DOSBox is cool.. Although the GUS emulation is not great and a lot of pmode demos I tried from the collection of demo cd's I have did not run.
# October 6, 2004 4:09 PM

Dennis van der Stelt said:

well this 0.62 version recently released
has great gus emulation

it's almost the same if you listen to 2nd reality
# October 6, 2004 5:05 PM

Dennis van der Stelt said:

I tried it yesterday for a short period and Headache kinda works. You have to add a lot of cycles (F8 or F12) but then music can crack up and DOSBox doesn't show the demo anymore and locks up or something.

Bulll! by Trepaan also worked, which wasn't in the list yet. Still have to check Fashion by Logic Design. One demo I haven't seen in ages but really, really liked!
# October 7, 2004 10:28 AM

Dennis van der Stelt said:

I haven't tried it yet, but it sure looks promissing, especially the ability to see my all time favorite Dope again is mindblowing! :) (I'm a jmagic fan, as he understood the true art of demoing: fake till you drop :D)
# October 7, 2004 10:19 PM

Dennis van der Stelt said:

Yes, it works! :)

First dope was very slow, but by increasing the cycles it was smooth.. :) Always great to see the famous shadow volume effect with that cat object, which is really just color cycling :D :)

(also the bump mapping is just messing with u & v in the polyfiller... still amazing though) :)
# October 7, 2004 10:47 PM

Dennis van der Stelt said:

@Otis: Dope is cool. But my all-time-favorite still is Start by Nooon. I remember that we were downloading it at my home with a I think a 2400bps modem :). When we saw the wasp we were silent.. and then the face wall thingy.. Aaaah.. those were the days :)

I have only tested demos with DOSBox but I saw screenshots at the website of Syndicate Wars. Damn! That was a cool game! So it seems that I must try to play some old games this weekend :)
# October 8, 2004 12:08 PM

Dennis van der Stelt said:

Stars by NoooN, Exyll! :)

Both Stars and Dope are on the Mindcandy DVD. If I'd only knew how I could easily rip a single chapter out of a DVD I'd do it. But I don't want to search the internet and want it done easy. So if anyone has any suggestions! :)

Dope is really cool for the design and calling the effects "Larousse Fire Clouds" and such! :) But Jugi's music with Dope ROCKS so hard! So very cool!
# October 8, 2004 2:02 PM

Dennis van der Stelt said:

Damn... small typo :) I know it is Start i mean Stars

Why would you want to rip those from the mindcandy dvd?? www.doom9.net probably has the links to an easy tool you require.
# October 8, 2004 6:51 PM

Dennis van der Stelt said:

Why I want to rip them? To place them on my laptop and play them again-and-again-and-again-and... while I work! :)

And I used doom9 to look at some tools some time ago, but at that moment, it required 5 tools or so. Way to much. And I had to rip the .VOB files to HD, rework them and when that was done, I could make DivX from them. That took 6GB or so for one movie and most of the time, my files were JUST over the size of one 700MB cd so I had to do it all again! ;)

And I haven't been able to figure out how to rip only one chapter, so I asked here how to be able to do that.
# October 11, 2004 8:59 AM

Dennis van der Stelt said:

Dammmmmnnnn... you are my devil!!! :-PPPPPP As I said in my blog to your post, I had a vpc2004 with lots of my favourite demos, but there was a problem with GUS!!!! Today I started to see oldskool demos that used GUS and it was wonderfullllllllll.... :-D

Where you in any group? I was in Polygon, a spanish one.. we where just at The Party 96 (i think it was 96, but couldn't finish our demo)... btw, all my demo code is working nowwww :)

Damn good an inspirating this... definitely broken my mind again... ten years after...
# October 16, 2004 9:46 PM

Dennis van der Stelt said:

Please Help me!
# October 26, 2004 11:10 AM

Dennis van der Stelt said:

Please speak in Dutch.

Oh, and DO NOT click that link "IRFADHLI"
# October 26, 2004 11:12 AM

Dennis van der Stelt said:

I sense much anger in you. But i second that opinion. For a moment i thought of subscribing to hyperspace, but then i realized that the flanneled one had made enough money on me.
# October 29, 2004 9:41 AM

Dennis van der Stelt said:

Hmmm. In ieder geval zijn Amstelveners wat beschaafder dan sommige Rotterdammers :)
# October 30, 2004 5:54 PM

Dennis van der Stelt said:

Ik was toevallig nog in Amstelveen een weekje geleden in de P60.

Best een leuke discotheek met een erg leuk gothic feestje... en ik moet zeggen het was echt niet saai daar :)

Al kan dat natuurlijk ook komen door de import van leuke mensen op dat moment :P
# October 30, 2004 6:48 PM

Dennis van der Stelt said:

Erwyn, definitly not those Amstelveen guys on my project right now! ;) And those are my only reference! :)
# November 1, 2004 8:56 AM

Dennis van der Stelt said:

Hehehehe, already seen it mate! :)

I'd post the url here, but it's released today, so we can wait a few hours more for some extra quality! :)
But thanks for the link!
# November 8, 2004 10:34 AM

Dennis van der Stelt said:

Oooooh, so cool.

How about a .NET bloggers/programmers movie trip to the premiere? Would be even cooler.
# November 8, 2004 9:32 PM

Dennis van der Stelt said:

This really makes me wanna see the movie. The sound of Darth Vader still sends shivers down my spine.
# November 9, 2004 7:35 AM

Dennis van der Stelt said:

Thanks! :)
# November 15, 2004 8:15 AM

Dennis van der Stelt said:

As a true developer i think its a cool site! And its realllly realllly good looking! But a good site also needs visitors! So people, come and visit !!
# November 18, 2004 12:52 PM

Dennis van der Stelt said:

Why are you using Feedreader? RssBandit works better for me. A major plus for RssBandit is that you can post feedback on an rss item from within rssbandit so you do not have to use the websites feedback panel.

By the way.. having some bittorrent rss feeds in your reader is so cool! :-) But I guess that this will not be new for you Dennis.
# November 22, 2004 11:28 AM

Dennis van der Stelt said:

Sounds good, gonna read this one....
# November 24, 2004 11:20 AM

Dennis van der Stelt said:

Indeed interesting this is (afterall we will have to get in the mood again...)

Yes RUP has a LOT of overhead. Luckily, not everything is needed on all projects. Personally I like the way they explain iterated development. Very understandable for *most* educated people.

The difficulties you are writing about in communication are problems that will never go away. That is why iterated development is such a winner! Specs will never be complete. I don't really believe in much more efficient methodoligies. It would be much better if documentation will be more integrated in the the design and developent life-cycle. Like the tools that Rational provides but with more (automated) flow control and review cycles. When I update or add code in a source tree the item should be marked for documentation update or vice versa together with 'must update' deadlines that will automatically be reported to team/projectmanagers.

Indeed current and future project are much about integration just as the webservice hype was and still is.

I don't believe in BIG architectures for HUGE integration projects. Never seen one being very efficient or flexible. Just compare it to an airport. Much planes (data) from different companies (vendors) and different sources (applications) that all have to work together in the same airport (company). This will never be one big system.. it wouldn't work.. and if it could work the costs would be too high.

Small systems, which are up-to-date and that only have lifecycles for max. 4 years and have very good documentated and interoperable interfaces are key elements in software developement that I believe in. Just as software developers in europe.. will our fate be the same as the dinosours because of offshore development? No.. because we aren't dinosaurs:) we are intelligent and this MUST result in high quality (with a software development environment like above) and efficiënt systems that can be build quick (with copyrighted, licensed highly extendable buildingblocks that need high educated employees) and comply with current interoperable standards.

Strange how I manage to write about RUP and end with comparing dinosaurs with our job....
# November 26, 2004 11:50 AM

Dennis van der Stelt said:

It's interesting that you mention off-shoring. I think that some technology like LOP will help to reduce off-shoring because it will reduce the amount of simple 'implementation' (i.e. drudgery) that must be done. The design will much more naturally be expressed in code in DSLs, so work will remain creative, and we will 'off-shore' a lot of the drudgery to the computer rather than some other country. Many programmers who now do more-or-less boring implementation tasks will be freed up to do much more valuable and creative high-level design tasks (which will still be programming; the source code is the design).
# November 26, 2004 9:26 PM

Dennis van der Stelt said:

In your second sentence I believe you say that the 'simple implementation' is done off-shore. Later you say the this will be gone and we'll do much more design, which will be our new code.

But I don't believe off-shoring is based on us not wanting to do that boring implementation work! ;)

I think, in the end, the designing you mention, can also be done off-shore, meaning there will only be work left for a small percentage of developers. Like building the DSLs.

The point I think I can agree on with Ramon is the BIG frameworks he's referring to. I once (or twice) heard another developer say that currently a lot of people are developing the framework for the framework, not for any application. Once the application is supposed to be developed, we've got a LOT of overhead. Optimizations can also be a little tricky, because of the overhead in the framework. Maybe rewrite some, maybe take out some.

Also the iterative about RUP should be great, as it is a great solution to all miss-communication. But still, the projects I work on, do all iterations without any communication between people, teams and client(s). :)
# November 29, 2004 8:08 AM

Dennis van der Stelt said:

bedankt dat je mn naam hebt gebruikt!
# November 29, 2004 2:02 PM

Dennis van der Stelt said:

Ziet er goed uit. Thanks voor de tip!
# November 30, 2004 1:30 PM

Dennis van der Stelt said:

@Rob:

Yes generating code based on designs is crucial for future software development. These that we create better maintainable software. The power of the architect usually results in multiple layers of abstraction within code. A lot of these pieces can be generated. In the past we didn't have these abstraction layers thus only typing a piece of code once. These days you do it once in some kind of generator or modelling tool to generate all that code. I think it takes about the same time to do either one. Biggest mistakes our sector made was to do all that abstraction stuff by hand.

But code generation and frameworks have one very big disadvantage and that is that you must follow the rules of the creators. The biggest advantage here? Very maintainable code and high quality code. Which just graduated developers can even read and alter. The biggest disadvantage is that userinterfaces aren't made with the (real) end-users in mind. That is why real-time prototyping with end-users is still one of my favorite parts of my job. This just cannot be generated because it will lose flexibility. And IF it can be generated with the framework it has that many parameters and options to create as Dennis stated a framework for the framework.

That is why I don't like BIG software designs. I like code generation though. Don't get me wrong! But my vision is small very well designed optimized solutions wih VERY good standardized interfaces. This solutions could contain generated code or even 'spaghetti' to just get the job done fast but with high quality interfacing in mind. Which could be communicating to other systems of with the user in some sort of graphical of textual form.

I believe in stitching too with automated ways of communicating between systems. But not in the big picture as in one big software design that contains ALL corparate data, dataflows, storage, interfacing, transactions, etcetera..

Again.. just like a normal company hierarchy would be. The CEO really doesn't know all what is going on below in the hierarchy... If managers report that their division is doing ok that they will probably be ok (the interface). Small divisions are much more flexible and better suited for their kind of work within the company or with corperate relations. This is the way I see software development succeed in the future.

@Dennis:

Yes communication must be done properly, often and without too much hassle. I once had a project where EVERYONE attended one meeting a week. Developers, architects, end-users, projectmanagers. Really.. everyone. It was great for the team spirit. Everyone had the feeling that they were important and that they would be heard if they had a good suggestion. Biggert hurdle was that this was becoming reality!! I still compare it with a big group of women that are deciding which dry-cleaner is best :)

I want to remind you that this is strictly MY vision and not that of my employer :)
# December 1, 2004 12:00 PM

Dennis van der Stelt said:

Definitely recommended. Have been using it during the past half year and it makes testing and debugging code a pleasure (ok, nearly...)
# December 2, 2004 2:21 PM

Dennis van der Stelt said:

test
# December 16, 2004 3:00 PM

TrackBack said:

# December 20, 2004 9:04 AM

TrackBack said:

# December 20, 2004 9:06 AM

Dennis van der Stelt said:

Can't wait..
# December 20, 2004 3:43 PM

Dennis van der Stelt said:

Which 64K intro DIDN'T have marching cubes or blobberdieblob blobs? ;)
# December 20, 2004 4:55 PM

Dennis van der Stelt said:

Hehehehe... But the color combination was quite exlusive for this one and it's one of my most loved, untill now.

It had something to do with cloning. As a small hint! ;)
# December 20, 2004 9:56 PM

Dennis van der Stelt said:

Works now !
# December 27, 2004 3:40 PM

Dennis van der Stelt said:

Have you been active in the Commodore 64 crack/demo scene?
# December 27, 2004 9:15 PM

Dennis van der Stelt said:

Definitly not! I myself was a true MSX crack! :)

Owned a 8020, 8245 and 8280. The 8245 had 256Kb and the 8280 had 512Kb which costed me a fortune! I played a lot of Japanese games after Philips declared MSX dead. SD-Snatcher is one of my alltime favorites. A Konami, I played it all the way through just seeing Japanese characters.

And of course the Metal Gear and Metal Gear : Solid Snake games. Awesome!
# December 27, 2004 9:26 PM

Dennis van der Stelt said:

LOL why does MS owe you a explaination for something that isn't even out yet? Longhorn's not out till 2006 at the earliest.. and MS already said WinFS was going to be late.. and now it's going to be later why do they owe you a explaination? It's not like you went out and bought Longhorn installed it and found out it's not there, they are telling you 1 1/2 before the release that it's not going to be there.
# December 29, 2004 6:00 AM

Dennis van der Stelt said:

The reason that there are such a lot of hotmail accounts is because of the popularity of MSN Messenger. People that want to chat create a hotmail account. Most people just don't know that they can make a MS passport account to use that for MSN messenger.
# December 29, 2004 10:01 AM

Dennis van der Stelt said:

b.t.w.. we don't need WinFS at all. That is just 'good' PR!
# December 29, 2004 10:04 AM

Dennis van der Stelt said:

@Hellsbellboy; Maybe I said it wrong. They don't need to give me an explanation, but when someone like Scoble does, it should be better then what he comes up with.

If they want to respond, do it good. Not like the way he/they did now. I'm talking about 'they' as he's Microsoft. And I know he has the "not my employers thoughts" disclaimer, but he's referring to other Microsoft employees, departments, etc in his post. And about what he hears in the hallways. I think this can be better.

In Frans Bouma's comments Alex James is also responding. He has some quite good thoughts on the subject. Probably Google was ahead of them with desktop search, and the devs at Microsoft want WinFS to be perfect, with all the available toppings on it. But they can't deliver on time, and as Alex says : "started to focus on immediate threats like Google."

@Exyll; I dunnow what WinFS exactly is. If ObjectSpaces heavily relies on WinFS, as Microsoft has claimed, I want to know what WinFS is more. Also, it's probably the first solution we can use to search files that isn't based on indexed files, like every other solution currently provides.
# December 29, 2004 12:57 PM

Dennis van der Stelt said:

RUP is Cap-only and as other mentioned, not everything is needed. It creates overhead but keeps the project on the right track (if done the right way).

Communication and time-boxing are the most important parts of a succesful project.
# December 29, 2004 5:35 PM

Dennis van der Stelt said:

That is because WinFS does the indexing then... And as we all know... adding alot of indexes makes mutations slow. So this probably means that you can index directories in a different way just like an ordinary datebase to keep stuff running at an acceptable rate.

It is nice that you can put plug-ins to a filesystem. But the power lies in the plug-ins that get developed..

Well Objectspaces had the suffers from the same strategy as WinFS. Maybe this is just nice PR candy to get us on the .NET wagon. Because these are things developers were waiting for and now we have to wait even longer...

The result is that we still have to do the good old thing that we probably could have even done faster in a certain other very competitive programming environment :)

# December 29, 2004 8:52 PM

Dennis van der Stelt said:

It is too easy to complain about Microsoft showing interesting new technology and then scrapping (parts of) it when it is time to deliver something to keep there customers (especially the ones with enterprise agreements) happy enough.

Microsoft's traditional stance has been to not say much about future plans. That is prudent from vendor perspective but makes life harder/unsatisfactory for people who are trying to plan further into the future (think IT departments and outsourcing parties for example). Microsoft have changed the level of openness in their aproach of Longhorn and has always made clear that what you see now is not a firm promise for the future. The direction is fairly clear but the exact timing of deliverables/features always comes with an inevitable uncertainty.
# December 30, 2004 12:30 AM

Dennis van der Stelt said:

Btw, the registration page at my website doesn't really do well with hiding and unhiding the divs. :)
# December 31, 2004 12:19 PM

Dennis van der Stelt said:

Ek folle lok en seine! :)
# December 31, 2004 9:00 PM

Dennis van der Stelt said:

Your forgot Battlefield 2!
# January 3, 2005 1:27 PM

Dennis van der Stelt said:


Well although Team System is a Nice Idea, it isn't that great at all.
If you are using serious stuff like BizTalk there is NO support at all..

# January 6, 2005 8:07 AM

Dennis van der Stelt said:

I think VS.NET alone is pretty serious already. And isn't BizTalk integrated into VS.NET? So for everything you coded, there must be source control, bug tracking, unit tests, etc.

Of course BizTalk is a little different and a lot of things probably work a little different then the usual source code. So that's probably why some stuff isn't integrated.
# January 6, 2005 1:02 PM

TrackBack said:

# January 12, 2005 5:29 AM

Dennis van der Stelt said:

Okay, it seems after a lot of copy-n-paste some < characters were missing. And according to Kaisa, the word "site" was missing in the google url, so I added these as well...

Should work now like a charm. :)
# January 12, 2005 12:17 PM

Dennis van der Stelt said:

Just to inform the people who have implemented it already: The post is edited with some extra tweaks such as escape and 'site:'

I'm happy to see how many people find it usefull and easy to implement :)
# January 12, 2005 12:29 PM

Dennis van der Stelt said:

As it is here, thanks...
# January 12, 2005 1:03 PM

Dennis van der Stelt said:

If you did read any futher in the installation manual you will see that you need different machines, with both the same requirement.
The Data Tier (DT) can not be installed on the same machines as the Application Tier (AT).
The Client Tier (CT) (readL visual studio 2005) can be installed on either the DT or AT.
# January 12, 2005 9:50 PM

Dennis van der Stelt said:

Beta 3 is already available for download.
# January 14, 2005 10:40 AM

Dennis van der Stelt said:

That's only the forums, not the new blog.
# January 14, 2005 11:43 AM

Dennis van der Stelt said:

It's very difficult to choose because there are a lot of good subject. I think i would probably choose:

- VS Teamssytem - walkthrough (pre-conference)
- Getting personal with ASP.NET 2.0
- Software factories
- Enterprise applications with EntLib
- Test Driven development

But of course i also might not be going, it also depends on Mark.
# January 14, 2005 2:12 PM

Dennis van der Stelt said:

Dutch devdays are so useless... They charge you over 100 euros for 2 days of marketing blabla about tools which will be released late in 2005!. Well, I don't know about you but PAYING money to listen to marketing goo is the other way around. If Microsoft wants to sell some propaganda about upcoming goods, don't ask a fee at the door.

Needless to say, I won't go :)
# January 14, 2005 5:01 PM

Dennis van der Stelt said:

Hmm. my name isn't present in previous comment.. arrgggg saucereader.. #)(*$&#@(*$&@()
# January 14, 2005 5:02 PM

Dennis van der Stelt said:

Hey Dennis.. You will probably find my there too :-)

My collegue Marcel will do the VSTS pre-talk. If you haven't seen anything from VSTS then be amazed.

You can probably find me at the D track.

So Dennis.. lets meet again. Too long ago that we have spoken each other in person.
# January 14, 2005 5:06 PM

Dennis van der Stelt said:

@Frans: I know the feeling. I've been to TechED and it is more of the same. But still.. just go to the topics that you are not familiar with. It isn't only the marketing blabla.. It is also networking and sharing toughts with other attending people.

Just like a demo party.... It is much cooler to talk to people then watching the demos :-)
# January 14, 2005 5:10 PM

Dennis van der Stelt said:

About the money, my boss pays for it Frans, so no worries there. And my boss pays those tickets anyway, so it would be kind of crazy if I decided not to go because it is a waste of money.

And you also went to the TechED, same shit, only bigger. TechED they can go much deeper into the subject, because of the length of the presentations. And as Exyll says, if you're not familiar with some of the topics, it's nice to visit a presentation. Same reason why I like watching webcasts, because sometimes they explain more with images, then with a 1000 words. And most webcasts I scroll through to skip the boring parts! :)

And for example TDD I wanted to read a book on, but if I can get a presentation of it at DevDays, I'll know if I want to read more on the subject.

And chatting is cool as well. More collegues will go, and if I'm going, I'll meet Exyll again! ;)
# January 14, 2005 8:14 PM

TrackBack said:

# January 17, 2005 8:01 AM

Dennis van der Stelt said:

I've done research on almost every reader you can think of, and RssBandit is by far the most buggiest of all, even though it has nice features.

Currently I'm on Saucereader 1.10beta, which works ok and is free too. There are a lot out there, but frankly, almost all of them are simply crap, including the commercial ones. Some can do this, but can't do that, others can't do that but can do this... some can't show inline images etc. etc... the main item among the rss readers is that they add features only people who don't know what a computer is would like, but no features a normal person would like. For example: desktop alerts only on a few feeds, not all of them. Flagging items so that they're added to a separate folder so you can keep track of them easily. Newsgator can do this, if you have just 1 mailbox, but if you have more, it's useless (and very slow).

Rssbandit has nasty bugs in the threading code: during the day it hangs itself up and won't refresh feeds. It also overwrites xml internally somewhere which makes feeds to fail with obscure errors the faster your computer is.

Sharpreader can't jump to bloglinks with a '#'. This is typically annoying as the support forums we use have rss feeds on the forums and the postnumber is in the item url so you can jump directly to a message...

Omea reader is as buggy as rssbandit, perhaps even more buggy. It can also do a lot of other things you don't need.

Saucereader is ok, but also has some bugs, for example it uses infragistics grids, which are buggy by default (column resizing shit...) and it';s pretty slow, even on my 3Ghz xeon box

Feeddemon is ok too, but the programmer definitely didn't understand that if you write a READER you should add functions for READING / handling the information, not all kinds of crap features which have more to do with WRITING than with READING. Oh well.. ;)
# January 17, 2005 5:19 PM

Dennis van der Stelt said:

I am currently using the lastest rssbandit. This is my favorite. Saucereader is a heavy recource application but looks quite good.

I also like rssbandit because I can post reaction's on compatible blogs.

I never have problems with rssbandit. I just run it.. update it each 30 minutes and keep the data for 7 days. It gets a little slow when having lots of blogs in a category and purging data older then for example 2 months. Took me quite some time before I discoverer that :)

@Otis: Nice workstation specs by the way ;-)
# January 17, 2005 6:12 PM

Dennis van der Stelt said:

Great, only now do I discover that all text is blue. Man, do I love BlogJet. To bad I can't post on multiple locations with it, and that I cannot post articles with it.

I'm more seriously think about writing my own blogging system every day. A new version of .Text is about to be released, but as far as I can tell from what Telligent Software employees tell us, it's gonna include the forum and the galley in one package. Now that's definitly not what I want! :(

And MetaBlogApi isn't all that great as well. I need much more features. Uploading images through the webservice would be nice as well.
# January 17, 2005 7:28 PM

Dennis van der Stelt said:

Go for EntLib!!! :) And it's more or less confirmed that it will be released to MSDN on the 28th this month.
# January 19, 2005 9:38 PM

Dennis van der Stelt said:

Other info: I added an important notice to the post about Google terms and rumours about sites being removed from the index, please check it out and decide for yourself :)
# January 20, 2005 10:37 AM

Dennis van der Stelt said:

- Visual Studio Team System - A complete walkthrough

- Integrating the Enterprise
- Software Factories, although I also wnna go to the Indigo update session
- Enterprise applications with EntLib
- Test Driven Development met VS 2005
# January 21, 2005 6:25 PM

Dennis van der Stelt said:

I fail to see why people like this tool so much. They must drink a lot of coffee during the day :). The problem with resharper is that all of a sudden you add a line of code and it decides to reanalyze the class. *freeze*... wait... ah, I can continue. Especially with large gui classes (which always tend to grow out of proportion) this is so annoying...

Whenever I want to type code or open a class, I want to do that instantly, no tool has to come into my way or it is gone.

On small codebases it 's perhaps a great tool, the features are ok, it's just that to utilize these features, you need to have a lot of patience...
# January 22, 2005 10:23 AM

Dennis van der Stelt said:

Frans is right, Resharper works fine as long as the amount of code is acceptable. I use it to reformat the code written by other team members and simple refactorings. Other than that, the slowdowns are well worth the wait imo.
# January 23, 2005 7:47 PM

Dennis van der Stelt said:

Well, currently I work in VS2002 with 1.0, and ReSharper doesn't work well with 2002. In fact, it won't install! ;-)

But I've tried it at home a few months back when it was really buggy. I've tried the final version for a night now, and it seems stable. There are some minor waits and I guess things will indeed slow down when you're working with a lot of code and files. I'll have to see that for myself.

For now, I haven't got a clue what it all does, as I've just been coding without using much of the features.

I'll give it a try, see how it enhances my coding experience, and then I'll decide if it's worth the waits or not.
# January 24, 2005 7:15 AM

Dennis van der Stelt said:

Actually guys, I found the slowness the most irritating part of it as well. Almost deinstalled because of it. However, all of it is because of the code highlighting. Just turn it off (go to options/highlighting).

You do have to be patient while loading your solution, but after that it's fast again. Do try the ctrl-N and ctrl-shift-N shortcuts to open files directly. I found that a huge help in bigger projects where you do not want to use the solution explorer to find your files. Also the 'Find usages' feature is about the greatest thing known to earth.
# January 24, 2005 9:54 AM

Dennis van der Stelt said:

Frans has a point that resharper probably works better on small codebases. Our codebase is pretty large here, and when I started our solution I had to wait like 5 minutes before it analyzed the code. Besides that, I now realize that the intellisense and other on the fly analysis features of resharper slow things down. So i de-installed resharper :). Back to basics for me.

That doesn't mean everything is fast now but if your working on a project that had 15 developers on it for 2 years and XDE is part of the sollution what can you expect :). Ruurd here still loves it but he mainly uses the refactoring features.
# January 24, 2005 10:26 AM

Dennis van der Stelt said:

I just installed it and love it already. I'm working on a fairly large project and I haven't noticed any performance issues so far. But then, I am working on a 2.8HT with 1 gig of memory.... guess that helps :-)

The 'Find usages' and the refactoring features are great. But also some small thing like the 'Close all but this'-option on the tabs I'm enjoying already.

The code formatting feature lacks allignment of assignments. We have a coding standard that says that all the '='-characters in a block should be alligned at the same position.
# January 24, 2005 10:29 AM

Dennis van der Stelt said:

TDD just is the way software development should be. I have been doing this for months. Together with dailybuilds, fxcop, coverage, etc. you have daily statistics available for developmers, managers, etc.
# January 25, 2005 11:53 AM

Dennis van der Stelt said:

ReSharper 1.X is for VS .NET 2003 -- it does not support VS 2002 ....

As for performace issues, this is one that is highly debated, as most people don't see problems, while a few do -- however, as was noted, IF it's because your project is extremly large, this may be the reason -- if this is the case, then turn off the IntelliSense features. Since it does on the fly analysis, this *could* in theory cause problems are very large projects; however, how long does it take you to complie/run/compile/run? The analysis find the problems before you compile, so you shouldn't have to do it more than once ... it's a give/take solution ... much of this will also change once the ReSharper IDE comes out -- for those of you who want to migrate ... ReSharper 1.5 is due out soon, and some more tuning has been done ... stay tuned.

David Stennett
JetBrains, Inc.
# January 25, 2005 2:49 PM

Dennis van der Stelt said:

Will version 1.5 be a free update when you purchase the current version? We're considering to get some licenses for our project, but if there is new and faster version comming out, we might wait a little.
# January 26, 2005 8:33 AM

Dennis van der Stelt said:

Hey, Dennis. Thanks for the link (and the email)! You may have already seen this, but Dennis just posted on creating a 0.97-sort of .text only build.

http://thomasfreudenberg.com/blog/archive/2005/01/26/513.aspx

You're absolutely right about Chrissy's work. I just saw that yesterday and need to investigate further.

# January 26, 2005 4:24 PM

TrackBack said:

I was told that DonXMl has mailed Scott about my previous post. Well, I think the main point of my posts:...
# January 26, 2005 5:17 PM

Dennis van der Stelt said:

D'oh! Just noticed my mistake. I meant THOMAS just post on an 0.97. sorry.
# January 26, 2005 5:49 PM

Dennis van der Stelt said:

I know, I've been in contact with Thomas and we're thinking of joining our efforts and adding new features to .Text together. I was thinking about mailing you as well. Of course nobody is forced to do anything, but the (or at least my) idea is to keep it open source, although we will be adding stuff ourselves.

Another reason not to use CS::Blogs is that you have to register to add a comment. Of course this would keep the spam away (although spammers could create an account also) but most people will find it's too much trouble to register before adding a comment. So as on my personal site (sphear.demon.nl) I think you should be able to register and get enhanced features (like subscribing to comment-threads) and no one will be able to post under your name anymore. But unregistered users should also be able to post.
# January 27, 2005 11:34 AM

Dennis van der Stelt said:

I agree, you shouldn't have to register to leave a comment.

Interesting thoughts on comment subscriptions. I implemented that on my blog, described here

http://dbvt.com/blog/archive/2004/09/28/279.aspx

but I find I have to refine it over time to make it more serviceable (remove pre-registration, for one) and lately see the need to dress-down the emailed comment to subscribers of the thread. It's rich HTML with site branding additions at the moment. It should contain little more than the comment only, I think.

This sharing of .text mods is a very interesting topic that we'll be discussing further.
# January 27, 2005 4:03 PM

TrackBack said:

Dennis van der Stelt reviewed Community Server
# January 27, 2005 5:18 PM

TrackBack said:

# January 28, 2005 5:55 PM

TrackBack said:

# January 28, 2005 8:43 PM

TrackBack said:

# January 28, 2005 8:44 PM

Dennis van der Stelt said:

I am quit happy with JetBrains <a href="http://www.jetbrains.com/omea_reader/">Omea Reader</a>. I just started using RSS some days ago and I gave Omea a try because their IDEA and Resharper is way cool. RSS reading is only one of Omeas features, but it's the only part that is really interesting for me. Their is a limited time offer to get a free licence until March 2005.
# February 1, 2005 4:14 PM

Dennis van der Stelt said:

Q: How many people can read hex if only you and dead people can read hex?

A: 57006
# February 4, 2005 10:11 AM

Dennis van der Stelt said:

NO KIDDING!

But do you have (and understand) the answer?
# February 4, 2005 11:09 AM

Dennis van der Stelt said:

duh....

DEAD (hex) = 57005 + me = 57006
# February 4, 2005 11:29 AM

Dennis van der Stelt said:

Sure, wear it at DevDays. Make's it easy for us to spot you at lunch.

There are 10 kinds of people: those that can read binary and those who can't.
# February 4, 2005 12:23 PM

TrackBack said:

# February 8, 2005 12:36 PM

Dennis van der Stelt said:

Tweakers.net disaggrees :

Soma Somasegar, vice-president of Microsofts Developer Divisision told today that the next CTP of VS.NEt 2005 will become available this april :)

http://www.tweakers.net/nieuws/36132 (sorry dutch)

But after reading the source and your interpretation i guess tweakers.net is wrong after all :)
# February 8, 2005 3:10 PM

Dennis van der Stelt said:

Versant's O/R mapper is in beta for quite some time. It's one of the most overrated and expensive pieces of software I've ever seen. But then again, some people just want to pay way too much for software ;)

# February 8, 2005 3:43 PM

Dennis van der Stelt said:

Dennis! You are here? I am too. Let's meet. email me. clemaire@gmail.com :)
# February 8, 2005 7:06 PM

Dennis van der Stelt said:

@Frans : Hehehehe, I can't believe them either! Some are even willing to pay to see a product presentation of some large company. I have heard... ;)

But seriously, never heard of the product. My guess however is, that whenever the product is released, there will be a pretty amount of marketing, also sponsored by Microsoft. Then everyone will believe that's the product to have, because of the MS "support" and every other OR/M will be judged based on Versant's tool! :)

Kinda sucks, doesn't it?! ;)
# February 10, 2005 11:09 AM

TrackBack said:

Visual Studio 2005 Team System
# February 11, 2005 10:09 AM

Dennis van der Stelt said:

Did... I'll mail you the tracks I'll be attending to.
# February 11, 2005 10:38 AM

Dennis van der Stelt said:

No, it is not a bug in Bandit. The feed contains only a summery of the post(s), not th full article text.
# February 15, 2005 8:31 PM

Dennis van der Stelt said:

Check the image below to see that they've changed the entry.
http://bloggingabout.net/dennis/files/teched.jpg

Now it is correct. I haven't compared the xml/rss but they DID change something so that it works now.
# February 15, 2005 9:05 PM

Dennis van der Stelt said:

It's a shame LCMG employees can't enter the contest....
# February 18, 2005 11:28 PM

Dennis van der Stelt said:

Heb ik ff mazzel;-)
# February 19, 2005 12:31 PM

TrackBack said:

# February 21, 2005 2:30 AM

Dennis van der Stelt said:

damn....of gewoon ff uit dienst treden....;-)
# February 21, 2005 3:32 PM

Dennis van der Stelt said:

You've probably read it elsewhere by now, but in fact Indigo and Avalon WinFX CTP is scheduled to be released before Beta 2 of Visual Studio 2005 and the .NET Framework 2.0. As such the WinFX CTP will be based on a different build of the .NET Framework 2.0. And it also means it will ship with an older build of VS 2005 that is tuned especially for Indigo and Avalon.

If I interpret the post http://blogs.msdn.com/brada/archive/2005/02/09/369802.aspx by Brad Abrams correctly, the WinFX CTP will be released within the next few weeks.

# February 21, 2005 9:37 PM

TrackBack said:

# February 22, 2005 1:17 PM

Dennis van der Stelt said:

# February 22, 2005 9:27 PM

Dennis van der Stelt said:

Certainly a very nice article!

I love people (and companies) that try to widen technical boundaries.
And trying to make webapps more user friendly this way looks very promising...

But I'm stuck with a few questions:
1.
Is the ajax engine a standard tool? If not, does this mean every company has to build its own?
2.
It relies heavily on Javascript, right? (and probably XHTML, CSS and DOM manipulation)
Then I must oppose Jesse James by saying that a big challenge will be technical. Just try to make a perfect website for MSIE6, FireFox and Safari (Apple), the most popular browsers and you will run into more than one problem...

Anyhow, I DO like this Ajax, and I hope it forces MSIE, FireFox and Safari to agree on the same implementation of the W3C standards.

BTW: does anyone have a ready-to-use Ajax engine I could 'borrow'...?
# February 24, 2005 3:01 PM

Dennis van der Stelt said:

AJAX = Old technology ;) At the bank I work for we have used a similar approach since 2000. We call our framework R***SCO. SCO stands for Server Communication Objects and R*** stands for part of the name of the Dutch bank that is to remain anonymous. Hard guess, hey?

Our technology dates back from before the XmlHttpRequest days. We designed a method using posting requests to and from hidden frames and returning data as client-side JavaScript code generated with ASP with server-side JavaScript. This can be fast because Internet Explorer is very good at parsing and interpreting JavaScript. With this data dynamic parts of the page presentation are generated using DHTML.

The reason we did this back in 2000 because we were confronted with the demand that the output of dynamic web pages could not be larger than 5-10 kB due to very strict bandwidth restrictions. So we had to separate presentation code from data. Static code was preloaded on proxy servers at remote locations. Some applications loaded some 400 kB of static HTML and JavaScript code from the proxy server or the browser cache on startup and just a couple of kB with dynamic data from the web server.

Unfortunately this technology is proprietary to the R*** bank so it cannot be borrowed. Heavy use of frames and clientside JavaScript has fallen out of favour with the enterprise architects of the bank. Also our code is very IE4-6 specific. So now we use plain old ASP.NET ;)
# February 24, 2005 9:48 PM

Dennis van der Stelt said:

I know there are examples of stuff that's like Ajax, pre Ajax or anything that resembles Ajax in any other ways. I did not know you guys at R*** created such a framework. Must've been h*** to create it, and all because of the low bandwith.

As you know, I'm at R*** as well, and our security webservice was transfered to another location in our little counrty. Some stuff takes 1000% longer to process! ;)
# February 25, 2005 7:41 AM

Dennis van der Stelt said:

I'll be there too, and I also used your image.
Maybe I'll see you there...
# March 1, 2005 1:32 PM

Dennis van der Stelt said:

We will ship a standalone tool which we're tentatively calling "Team Explorer". It's basically the very same Team Explorer window you currently see in the VSTS client IDEs. It'll let the "casual stakeholder" check in, check out, manage work items, etc.

Thanks for a great time in Holland!
# March 6, 2005 6:23 AM

Dennis van der Stelt said:

Got any pictures of the women? ehhh i mean of the Golden Earring?;-)
# March 17, 2005 11:47 AM

TrackBack said:

Ajax en ASP.Net
# March 23, 2005 7:33 AM

Dennis van der Stelt said:

Also a very nice Ajax blog: www.ajaxian.com
# March 23, 2005 12:26 PM

Dennis van der Stelt said:

>> So when yours blows up in your face, you'll get a new one!

A new XBox or new face (courtesy of Brandwondencentrum Beverwijk...)?
# March 23, 2005 1:05 PM

Dennis van der Stelt said:

"soldier joints"?

What have you been smoking! (solder)
# March 23, 2005 1:43 PM

Dennis van der Stelt said:

haha soldier joints... :)
# March 23, 2005 2:23 PM

Dennis van der Stelt said:

Oh btw, it's "...because light travels faster THAN sound".
# March 23, 2005 2:24 PM

Dennis van der Stelt said:

Thank you very much people! Cache sometimes sucks! I fixed it, but it won't show up in the post just yet! :) I see it's showing now.

Frans, I'll see if I can still find the image and fix it. It's been there for months by the way! :) Otherwise I'll just use something like Brain.Core.Dump.ToString() as people really seem to like those! ;)
# March 23, 2005 2:28 PM

TrackBack said:

# April 4, 2005 2:37 AM

TrackBack said:

# April 4, 2005 2:38 AM

Dennis van der Stelt said:

You have to choose because Microsoft thinks that your current MSDN Universal subscription is only one version worth. If you want it all (the Team Suite, that is), you have to pay it all (read, double the price you pay now). Check this out http://msdn.microsoft.com/howtobuy/vs2005/compare/.
# April 4, 2005 10:33 AM

Dennis van der Stelt said:

You're right, I didn't know the suite was available as well. Just read about the three role editions.
# April 4, 2005 10:38 AM

TrackBack said:

Visual Studio Team System

Today, we have a double-header of Team System webcasts:

9:00 AM PDT &ndash;...
# April 5, 2005 6:07 AM

Dennis van der Stelt said:

I can tell you from persoanl experience; once you have the MTBlacklist mod Chrissy made up and running, you will almost certainly NOT need CAPTCHA. Or any other spa-blocker methods for that matter...
# April 9, 2005 5:28 AM

Dennis van der Stelt said:

Nice tool!
There are some small things that could use some tweaking, but the idea is great. I'm using it over here now, and I think I'll keep this one on my comp...
# April 14, 2005 5:17 PM

Dennis van der Stelt said:

And that "double" in price is going to cause a lot of complaint from those of us who don't work in big teams.

Make us pay for the Team System Server, OK, but don't start holding back tools that are needed for developement
# April 16, 2005 8:02 PM

Dennis van der Stelt said:

Indeed a nice tool!

I still use ALT+TAB more then the F9 button, but still a funny tool. $9.95 is just to much for such things that don't are really functionally.
# April 19, 2005 2:02 PM

TrackBack said:

# April 20, 2005 5:18 AM

Dennis van der Stelt said:

Requirement Management tools will increase requirements definition phase by:

providing more administrative functions for BA's

overcomplicating the simple analyst activities (Adam & eve stages of scratching around drawing models)

creates more documents

decreases productivity with unnecessary system burdens

employing a very user unfriendly interface for end users

irritating to use, very idiosyncratic

Other points:
Respected industry professionals steer clear of these tools (such as Craig Larman)

Software development is not predictive manufacturing but new product development, therefore re-use at best is negligible

Low tech tools such as paper and pens are faster, easy to use and can be performed anywhere

BA's typically talk, workshop and write up requirements, therefore MS Word is perfect for this

Customers buy working software, not glossy specs or models

Facilitates documentation development, not software development!

Software development is about great people working close, not great tools working for "me".

In the wash up it won't improve software end products for customers. People and OO training do!

Creates:
beaurocratic steps just to set up and maintain documents

has many unnecessary "add ins" such as advanced traceability and version control.

most source code it generates is unusable

Cons:
Doesn't control scope, just creates more hurdles to document and maintain scope

Are over-priced drawing tools with sub standard workflow

Is incredibly expensive per staff head

Conflicts with many departments use of a document repository
# April 20, 2005 6:34 AM

Dennis van der Stelt said:

I'm in a project at the moment where they use SCRUM. From what I can see, it works fine, as long as your development requests are well-defined. This still means, that the customer needs to know what he wants (which is sometimes only partly true). It also requires development teams that are capable of extracting all missing information at the start of a SCRUM period.

The problem with any type of development method is getting the requirements straight. Once you have that, you can decide which development method can be used. I've been in (semi)RUP projects, and that method worked.

But the SCRUM method I have to use now is fine for the project I'm in. We need to implement small functional components for each SCRUM and most things are functionaly clear.

It's just that every new method seems to make the older one obsolete. And it takes time to see, that each has it's own use.
# April 20, 2005 4:13 PM

Dennis van der Stelt said:

Goede post gozert ;-)
# April 22, 2005 10:21 AM

Dennis van der Stelt said:

Over here RUP should've been the holy grail for all the projects. But our experience is that you need to have an experienced RUP projectmanager to make sure RUP is used as it supposed to be. So it doesn't need to be an artifacts hell that people think it is, but you need experience to see that.

I'm more of an XP/Agile kinda guy. And I believe that programmers who love to write documentation is a paradox. But as with RUP you need experience to see how much documentation is good enough to bring a project to an end succesfully.

RUP is a very well documented, and Rational is very willing to sell you the "right" tools to do the job. I think in the Agile world you're more dependant on the solution suppliers who have experience with implementing the Agile methodology.
# April 22, 2005 12:07 PM

TrackBack said:

# April 22, 2005 2:45 PM

Dennis van der Stelt said:

I'd feel bad, but isn't that the way the world works? If there's something a lot of people like (and use) there's always someone who knows a way to earn money off of it. Apparently, RSS is interesting enough ...
# April 26, 2005 2:00 PM

Dennis van der Stelt said:

Spammers should be castrated. I was really angry when spammers started to move from email to weblogs. And now rss feeds.

Maybe it's the way the world works, but that doesn't mean i have to accept this sort of thing from happening. And apparently a growing number of governments feel the same way. Only a week ago, a spammer in the US was convicted in court.
# April 26, 2005 2:31 PM

Dennis van der Stelt said:

I love google adds, because they are related to the content of the page and provide me most of the time good advertisement. Some websites need the adds to stay running.

Putting advertisement in the RSS feed is not a bad idee. But i only like advertisement when it doesn't get a spammy look.
# April 26, 2005 2:47 PM

Dennis van der Stelt said:

Cool Dennis. Thanks for the link
# May 3, 2005 6:36 PM

Dennis van der Stelt said:

Hi, I'm from Otaku Software, the guys who make TopDesk.

Dennis: Thanks for the blog post :)

Rick: I'd be interested to hear what you'd like tweaked...It'd be great if you could post your ideas on our forums at http://www.otakusoftware.com/forums.
# May 4, 2005 6:17 PM

Dennis van der Stelt said:

Hi Dennis... That DVD is for the EMEA region, but its only orderable... I couldn't find any download link on that page, also tried the english and spanish versions of the page, and there is no download link...

Did you saw that link to download the contents?
# May 4, 2005 7:08 PM

Dennis van der Stelt said:

Minor? performance issues

Are they nullable then ?
# May 5, 2005 9:18 AM

Dennis van der Stelt said:

Me too I couldn't find the download link.
I ordered it.
# May 7, 2005 1:25 PM

Dennis van der Stelt said:

Sorry folks, Gordo said it was for download and I didn't check! :)
It is indeed only for ordering.

USA can get it here : https://www.getthebetas.com/
EU, Afrika & Middle East here : http://www.microsoft.com/emea/msdn/betaexperience/
# May 7, 2005 9:30 PM

Dennis van der Stelt said:

Looks like you've beaten me to it ;)
# May 11, 2005 3:44 PM

TrackBack said:

# May 11, 2005 4:48 PM

TrackBack said:

# May 11, 2005 4:50 PM

TrackBack said:

# May 13, 2005 3:58 AM

Dennis van der Stelt said:

Dennis,

Nice but old news ;-)

Look at this post: http://bloggingabout.net/ernst/archive/2005/05/18/4120.aspx

And do you remember this post?
http://bloggingabout.net/ernst/archive/2005/02/16/2238.aspx

LOL
# May 25, 2005 9:21 AM

Dennis van der Stelt said:

Yeah, kick his ass! ;)
# May 25, 2005 9:28 AM

Dennis van der Stelt said:

Hehehehe...

I like my post better then yours, whereas I explain it a bit further and even have some nice screenshots! :D
# May 25, 2005 9:30 AM

Dennis van der Stelt said:

Looks like more people love SWROTS: http://www.viewaskew.com/news/sith/
# May 26, 2005 9:29 AM

Dennis van der Stelt said:

Aaaah, Silent Bob! Excellent review!
# May 26, 2005 10:14 AM

Dennis van der Stelt said:

Did you say Store Wars? ;-)

http://www.storewars.org/flash/index.html
# May 26, 2005 1:39 PM

Dennis van der Stelt said:

I like episode III too! Good movie, excellent special effects, good plot. The only thing I didn't like was the very short plot to episode IV. Especially where Joda says "O, by the way.. I will tell you something while we are travelling." or something like that :-).
# May 27, 2005 12:52 PM

Dennis van der Stelt said:

Hele intressant post moet ik zeggen. Ik heb tot vandaag nog twijfels gehad, maar ik moet toegeven na het lezen van je post dat ik toch maar tegen stem, dus NO :)

Alleen jammer dat onze eerste inversteerders in het bedrijf de EU was, maar vooruit.
# June 1, 2005 9:04 AM

Dennis van der Stelt said:

Well dennis.....

I haven't seen good reasoning in this article.
Vote no because We pay a lot to the EU.... ( voting NO won't fix that), And the Euro has nothing to do with this voting.

I would vote YES because i think it's better to do so.. ( the Unions etc all say we must vote Yes )

But i won't vote. I feel like my vote doesn't count at all. We have been suffering for 10 years of 'Vuile gore regentenpolitiek' by the dutch government. The haven't been listening to the people at all. I don't think they will listen this time either... If it's a no we are voting again in a year...

No I don't vote because i don't wanna vote. I don't feel we live in a democratic country anymore... ( vuile zakkevullers zijn het allemaal !!!!)


# June 1, 2005 9:04 AM

Dennis van der Stelt said:

That's one reason I forgot. You cannot vote Yes because the unions are all saying you should. You cannot believe that everything will be fine some time.

I've read abotu someone voting yes because he says "Hey, people have thought about it for long." I ask you, might they be wrong? Are they ever? I present the Euro, the "betuwe-lijn", etc, etc, etc... The examples are endless where they f*ck up totally. And we must vote yes because our government says so? Come one!

And I think I've explained the reasons pretty well. If you cannot find reasons in my post, I ask you to give me your reasons why you'd vote yes. And you cannot come up with "because a lot of smart people have thought about it". I want real reasons.
# June 1, 2005 9:12 AM

Dennis van der Stelt said:

Yes!
Europe is necessary to make a stand against upcoming big countries and economies, like America, China and Russia. Togehter we can make a stand and the strong can help the weak. Of course we are now contributing more to Europe than some other countries, but that's the only way we can even the level of all countries. Together, European countries can help each other out and we can compete with the other big boys in class.
United we stand, divided we fall.....

There are so much reasons to vote yes:
- The European army will cost less (per rato) because of less overhead
- Other economies are overtaking us (China, Russia)
- Each country WILL keep it's own laws and rules
- ...

NOFI Dennis, but I feel like you want to vote no, because you think the reasons given to vote yes aren't compelling enough. Maybe you should base your vote on the contents of the constitution in stead of what someone (anyone) has to say about it...
# June 1, 2005 9:48 AM

Dennis van der Stelt said:

Rick, finally someone who has given me reasons why he votes yes.

First, I'm not voting NO because of what you say. I've read a lot about the constitution on many, many (political) websites and by those I've come to my conclusion.

This doesn't mean however, I'm against Europe! I am however against the current standing of the constitution. Might it be guidelines, might it be the final draft, whatever.

I agree that Europa is (or at least can be) good for our European economy. But that doesn't mean I have to vote yes.

The most important reason I have is not that I don't believe that our country isn't keeping our own laws and rules, but the fact that we loose a lot of our sovereignty.
# June 1, 2005 9:59 AM

Dennis van der Stelt said:

This constitution is a bad one. It's promoting privatisation of state property, and what's very bad is that the rules how things are decided in the EU don't really change: the EU council can ignore (and will ignore, see software patents) the EU parliament if it wants to, even with the new constitution. A country which isn't agreeing with it can't veto it anymore, it has to obey the law formulated by the EU council, and can only go to the EU court. But... that can take years, and an EU court can't decide for a country if something is right or wrong, it can only test if something is against the law or not.

Stupid.

Make no mistake: WHICH laws will be formulated is up to the countries, if the majority of countries find the dutch drug laws too soft, they WILL make a law and the dutch have to obey it.

The silly thing is, no-one of the 'yes'-camp talks about this, the article is also in the 400 range (almost at the end of the 423 pages of the constitution).

What I also don't understand is why Groen Links is in favor of this constitution and why it campaigns for the right-wing airheads now in control. Let those blue suits do their own campaigning.

I'll vote NO! today.
# June 1, 2005 10:02 AM

Dennis van der Stelt said:

"Each country WILL keep it's own laws and rules "
No, they won't. NOW, a country can use its veto if it wants to. AFTER that, it can't. If the group of countries which want a given law is large enough, a country can't stop it: it first has to find 5 (I think, could be 4, have to look that up) other countries which will stop this law. If that fails, it's all over. If they succeed, these 6 countries can give a Yellow card. But that yellow card is stupid, the EU council can simply ignore it. The EU parliament can vote on a law, but the EU council can still ignore it. Then what? Well, the country can then go to the EU court. Though that will AND take years, AND the outcome is very uncertain, probably the EU court will decide it can't make a judgement (because, based on what?).

-> law in effect, country can't do a thing about it.

People forget that the EU is mostly an economical institution. It should stay that way. It's undoable to force a law on the netherlands because right-wing catholic maniacs in Ireland and Poland thought it would be good for our filthy society.
# June 1, 2005 10:09 AM

Dennis van der Stelt said:

Whatever your opinion. This post does not belong on the main feed. Only a few weeks ago, another blogger was reminded of this. I think it was Ernst Wolthaus in that case. So please remove it from the main feed.

On the subject. I vote No. Not because I'm against the EU, but only because nobody can explain what is new in this so-called constitution. According to the politicians, 90% is consolidating current agreements. But they failed to mention what the new 10% is.
# June 1, 2005 10:27 AM

Dennis van der Stelt said:

I will vote NO this evening because:

* The Netherlands will lose weigth in Brussel. Especially when the union will expand. This is ofcourse the way it should be in a democracy. But our country has some controversial things like abortion, softdrugs, taxes. When our politicians want to overrule brussel because they think this is a foreign affair then this is only possible it 1/3 of the union thinks that it is a foreign affair.

* It would be much better to have a union minister for finance then one for foreign affairs. How on earth can you have one statement about foreign affairs to other continents when the countries within the union are so different?

* Voting yes will NOT make intelligence agencies spread more information between countries to fight 'terrorism'. Local intelligence agencies are not even informing the ministries or presidents :-)

* Countries wil have their local laws & rules until more then 2/3 of the union thinks it would be better to do this on a global level.

* Having one union will not make us be more competitive against cheap-ass countries as China. We just have to live with the fact that in 30 years there wont be a rich small 'western'. It really isn't worth the effort to fight against this.

* It will not make it more transparent what they are doing in Brussel in the europian parlament. A lot is currently decided on pressure from big multinational corporations or movements.


and not because:

* The euro.. the euro is one of the best things for europe. Although it made the life of normale people more expensive. The europian union lives on export. Espescially Holland with al that cheese and flowers :-)

* That I think our current cabinet makes a mess of it. They aren't archieving much at the moment but if they would then I would still vote No.

* Voting no won't make Dutch financial contributions less. As this is the same for voting yes. There are already treaties in place just as a whole lot of other stuff currently mentioned in this new european constitution.
# June 1, 2005 10:37 AM

Dennis van der Stelt said:

This is a very interesting post and will lead to a lot of discussion.
Personally I don't read any argument in the post to vote for no. These so called arguments are also used by the Socialist Party.
They vote no for the exact same non-related reasons.

Others say we will lose our veto right.
Can you tell me the last time we used it?
Exactly, an empty argument.
The european union can't move on with the veto right for every nation.

I will vote for YES!.
In my opinion the constitution isn't the best in the world, but it is better to take a bad decision than no decision at all.
With the constitution we will see economic growth because our country is a stable one. Investors like that.
Without it, is will remain uncertain what OTHER members of the european union will decide what to do with our 'no' vote.
In what position will be end up with our 'no'?
I don't think we will be able to change the laws if the other 23 countries voted yes..........
# June 1, 2005 10:41 AM

Dennis van der Stelt said:

STOP THE EU MADNESS!

I'm gonna vote NO!
and I'll tell you why...

FIRST (and most important)
The proposed constitution removes the veto rights for countries for many issues.
This means that in a lot of cases, individual countries will be overruled by a majority of votes by Germany and France.
This is NOT imaginary! It's a well known fact (like Dennis already showed) that Germany and France like to get together to make up their minds and then impose them on the EU.

For example: when Germany and France crossed the 3% deficit border on the stabilisationpact for the Euro, the European commission didn't intervene. About a year ago, the Dutch budget also was in danger of crossing the 3% margin. The European commission immediately warned the Netherlands about a pending penalty.

Nice detail: when the Euro stabilisationpact was made, Germany insisted on a penalty for the countries who crossed the 3% margin.
But when Germany itself crossed it, it simply ignored the European Commission. When our minister of Finance (Zalm) tried to maintain the rules, he was overruled by.... (you guested it!) Germany and France.

Another example:
The UK gets a discount of 4.4 Billion Euro's every year!!! Just because they refused to cooperate if not. That's the power of large countries that we as Dutch will suffer from with the new voting system. (in fact, we already are "at the short end of the stick")
Meanwhile, Barosso wants to make the Netherland 1 Billion more. And we already pay per head more than any other EU member!

Yet another example:
Just a bit of history; De Gaulle (ex-French President) once said: "Frankrijk heeft maar 1 belang en dat is zelfbelang" (roughly translated: "French only serves itself...")
This is the way the EU will work with the new constitution! The small countries will have to follow while the large countries will make up the rules.

SECOND
Despite everything our politicians say, the proposed constitution will lead to a superstate. It takes away government power and rights and places them in Brussel.
I DON'T want a superstate... The Netherland will be reduced to a german province.
Something we were saved from in '45 ;)

THIRD
A lot of people throughout Europe think the European proces is going to fast. So, by voting NO to the proposed constitution we'll stop that proces.
Even if you're not really opposed to the proposed constitution, a NO will make politicians listen more to the people they represent (I hope).

FOURTH
Our politicians said a NO will be negative for our economy. They're lying!!!
The best performing economies in Europe are those outside the Euro and the stabilisationpact, like the UK en Denmark.
In fact, 'thanks' to the EU, we in Europe have the lowest economic growth rate in the world.


That's my 50 (euro)cents.
# June 1, 2005 11:22 AM

Dennis van der Stelt said:

@Patrick,

Quote: "Vote no because We pay a lot to the EU.... ( voting NO won't fix that)"
Voting NO will remember politicians they should listen more to their voters!

The current EU proces is based on the political elite and totally regards what the people in Europe want.

And Patrick, if you're really so negative about our democracy, why don't you use your democratic rights to show our government that they wrong!
# June 1, 2005 11:29 AM

Dennis van der Stelt said:

@Ernest:
The SECOND point is exactly what the no-camp is doing. Digging into the past to scare the voters.
Why?
Because they don't have real arguments.

The UK example is exactly why you should vote for Yes. Without the veto right (which the UK is threatening with), europe could make the UK pay more without the discount.

Final and FOURTH point.
You cannot prove that without, what you call the EU', the economic growth would be higher in the Netherlands.
It is so easy to claim you were right afterwards.
# June 1, 2005 11:31 AM

Dennis van der Stelt said:

@ Jean-Paul, I don't know whether you're Dutch. But in Holland PvdA and Groen Links are "socialist parties", and they want you to vote YES! In Holland the "extreme" left wing SP and extreme right wing (Geert Wilders) want us to vote no.

I'm NOT going to vote cause I really didn't dig deep in what the things are that would change.

For the Dutch voters check : http://www.referendumwijzer.nl/referendumwijzer/

It helped me with creating a better view about what were talking about here.
# June 1, 2005 11:31 AM

Dennis van der Stelt said:

@Saber : It has been proved by multiple parties that the referendumwijzer doesn't give a clear picture about the constitution. It has questions that everyone (!) would agree upon, but have side effects that (in my opinion) everyone would disagree upon, that they leave out in the question.

@Jean-Paul : No offense, but the arguments of the yes voters haven't been really good. War, fall of economy, saying yes because france says no and can't dictate what we must/should do? The latter is exactly the reason why I say no, because I don't want them to dictate what we must do.
# June 1, 2005 11:35 AM

Dennis van der Stelt said:

@Jean-Paul,

You didn't address my first (and most important) point.
The new voting rules will work in favor of large countries and against small countries.

Second,
I'm not digging in the past. Again I say, this takes away government power and rights and places them in Brussel.
Why don't you address that issue?

Finally,
No, I can't "prove" that our economy suffers by the EU. But it's remarkable, to say the least.
Especially when our so called 'leaders' made agreement in Portugal that the EU would be the strongest economy in 2008(?). Why are they failing miserable?!?!?!
# June 1, 2005 11:39 AM

Dennis van der Stelt said:

Referendumwijzer is sponsored by our government.

How about that for objectivity?
# June 1, 2005 11:40 AM

Dennis van der Stelt said:

I'm sorry...
I forgot a very important point...


Ome more reason why I'm against further integration of the EU memberstates:

We now have 25 memberstates. There's absolutely NO WAY that it will be possible that policy, made in Brussels, will be effective.

So, the EU will always have (literally) compromised legislation by nature. It's just not possible to write legislation where all countries will agree upon.
Therefore, it's an illusion that this constitution will work (for the Netherlands).
# June 1, 2005 11:45 AM

Dennis van der Stelt said:

Basically I don't see why people should vote. Why? Because I haven't heard ONE good argument that I should vote No or Yes. The new constitution is just too damned complex for a simple Yes or No.
# June 1, 2005 11:48 AM

Dennis van der Stelt said:

Referendumwijzer is van het IPP.

En dit staat op hun site:
"Het IPP ontvangt voor een deel van zijn projecten subsidie van het ministerie van Binnenlandse Zaken en Koninkrijksrelaties (BZK) en genereert daarnaast een substantieel deel van zijn inkomsten uit opdrachten van overheden, overheidsinstanties en particuliere organisaties. Het Instituut heeft momenteel ongeveer 35 vaste en tijdelijke medewerkers in dienst. De partners van het IPP zijn maatschappelijke organisaties in binnen- en buitenland, overheidsinstanties op Europees, landelijk, provinciaal en lokaal niveau en burgers die zich individueel of in groepsverband inzetten voor een democratische samenleving."

Objectieve bron? Ik dacht 't nie....
# June 1, 2005 12:02 PM

Dennis van der Stelt said:

@Dennis:
I agree that the 'yes' arguments told by our ministers are very very bad. They took it way to lightly and should have informed the people much better. The light doesn't go out and there will be no war. They just weren't able to explain to the people why to vote for yes.

@Saber:
Yes, I'm dutch and I meant the SP

@Ernest:
If we want to become the United states of Europe, and I think we have to in order to remain a continent with some influence, we have to make sure to centralize some power in Brussels. I think foreign affairs, defence, Justice, Environmental affairs and Economic affairs are suitable for centralized coordination. And 25 countries is only half of the number of states the US is managing
Your first point was the Veto right. We don't use it now, so why don't we get rid of it to have other also not being able to use it. Maybe we're too scared to use it, but we don't so there is no problem with throwing away.
Another point is larger countries ruling us. That doesn't change when you vote no. In a united europe there will always be more influence from the larger countries. We're not that big so we must not make the mistake to think that we have as much influence as France. However with the constitution we can easier get a majority for our ideas than we can now.
# June 1, 2005 12:08 PM

Dennis van der Stelt said:

Leon de Winter : How come the US constitution can fit on a few pages, when the EU constitution must take almost 500 pages?!

This must mean our constitution is based on mutual distrust.
# June 1, 2005 12:12 PM

Dennis van der Stelt said:

The biggest mistake was to call it a constitution, because it really isn't.
It is a treaty which defines some basic rights.
# June 1, 2005 12:14 PM

Dennis van der Stelt said:

@Jean-Paul,

You just demonstrated my point, talking about "United states of Europe".
That's just what I DON'T want, a superstate like that....

So you vote Yes, thinking about the "United states of Europe" when politicians tell us it won't lead to an United states of Europe. ;)

Rethink, maybe you should vote NO!
# June 1, 2005 12:40 PM

Dennis van der Stelt said:

France voted No, the Dutch citizens will probably vote No but that will not mean that the government will say No. I don't think they will do this coz that would be their death penalty at the next elections.

This means 2 countries will vote NO. When at least 6 countries vote NO then this constitution/treaty will be rejected in the whole union. If less then 6 vote NO then the other countries will decide what they are going to do.

Well.. France won't be in the union so I think the other countries will also reject it.

Let's face it.. they should have cut up this constitution/treaty. First make sure that everyone agrees with the constitution.. the rest will follow.

Europe bigger, better, tougher, rougher, in other words sucker there is no other :-). This couses unfair trade between Europe and for example Afrika. So please.. I really don't want to be part of a wealthy nation that has such an aggrasive attitude against other poor nations.

I know one europe would be better in the long run.. but that doesn't mean I would be proud to be a part of it.
# June 1, 2005 12:50 PM

Dennis van der Stelt said:

@Ernest:

It is an illusion to think that the Netherlands will stay the same.
As a small nation it is important to be part of a bigger union.

I want europe to become the united states of Europe so I vote YES.
# June 1, 2005 12:51 PM

Dennis van der Stelt said:

b.t.w. I agree with Jan Schreuder that this post should be on the mainfeed. But because of this shitty blog engine you probably cannot change the blogitem anymore :-)
# June 1, 2005 12:53 PM

Dennis van der Stelt said:

Correction.. should -> should not
# June 1, 2005 12:54 PM

Dennis van der Stelt said:

Too bad for you all this isn't a democratic blog, so I vote no to your arguments about the main feed... :D

But seriously, I've had discussions about what to put on the frontpage and not, and it's up to the people who post stuff. I'm not moderating posts. Only thing is, when I get complaints from other people that half naked woman are in the mainfeed, I send an email :)

It's up to the poster at all times. Well, at least most of the times. Porn and such is not allowed in our republic. :)
# June 1, 2005 1:02 PM

Dennis van der Stelt said:

I promise btw my next one will be technical! :D
# June 1, 2005 1:16 PM

Dennis van der Stelt said:

SLECHT PLAN!

ANP nieuws van vandaag:

Brussel: eind aan hypotheekrente
De Europese Commissie wil dat het Nederlandse kabinet de aftrek van hypotheekrente moet afschaffen. Dit om onze balans op langere termijn ook evenwichtig te houden. Het gaat om een advies. Op zich heeft Brussel niet de bevoegdheid om in te grijpen in de belastingaftrek, waarvan vrijwel alle huiseigenaren profiteren. Indirect zijn er echter genoeg pressiemiddelen.
# June 1, 2005 2:16 PM

Dennis van der Stelt said:

Gaat toch een keer gebeuren hoor, dat ze daar in gaan snijden. Den Haag roept het al jaren. Wordt alleen een probleem voor mensen die hun huis alleen kunnen betalen dankzij die aftrek.
# June 1, 2005 2:22 PM

Dennis van der Stelt said:

Als ze de hypotheekrenteaftrek afschaffen, dan gaat de inkomstenbelasting omlaag.
Zo doen ze dat ook in andere landen.
No big deal en per saldo maakt het niet zoveel uit.
Echter de overgang van de ene naar de andere situatie is een beetje tricky.

Ik ben het wel met je eens dat dit een ongelooflijk knullig moment is om mee te komen. Wacht er dan een week mee ofzo. Nu weet ik zeker dat het nog invloed op het referendum heeft. Minkukels. *ARGH*
# June 1, 2005 2:42 PM

Dennis van der Stelt said:

M.a.w. je stemt nu NEE?! ;-)

Maar goed, blijkt maar weer hoeveel verstand men daar bezit. En er zijn dus heel veel stemmers die JA stemmen met de gedachte dat er wijze mannen zitten die overal wel over nagedacht hebben. Erg naief!

He, lekker... Straks naar huis. Eventjes NEE stemmen. Biertje pakken. Lekker hoor. ;)
# June 1, 2005 2:53 PM

Dennis van der Stelt said:

Natuurlijk stem ik nogsteeds JA.

Door een nee wordt dit ook niet anders.
Doordat het zo duidelijk gericht is op het beinvloeden van het referendum zal het wel een opzetje van het nee-kamp zijn.
Die bedienen zich wel vaker van dat soort praktijken.
# June 1, 2005 2:57 PM

Dennis van der Stelt said:

LOL! Ze hebben ook in het JA kamp humor, dat valt me dan toch weer mee! :)
# June 1, 2005 3:05 PM

Dennis van der Stelt said:

Door nee te stemmen blijft dit een advies van de EC :-)

Van mij mag die hypotheekrente aftrek best weg. Maar dan ook minder belastingaftrek op m'n salaris en de bpm van de auto's weg. Tevens wil ik compensatie voor de waardedaling van mijn woning evenals een compensatie voor de halvering van de waarde van mijn auto.
# June 1, 2005 3:06 PM

Dennis van der Stelt said:

quote:
"Doordat het zo duidelijk gericht is op het beinvloeden van het referendum zal het wel een opzetje van het nee-kamp zijn. Die bedienen zich wel vaker van dat soort praktijken."

LOL
# June 1, 2005 3:07 PM

Dennis van der Stelt said:

Het nee-kamp heeft zich heel erg gericht op de euro als argument om tegen te stemmen.
Dat valt natuurlijk goed bij het gros van de bevolking terwijl dat helemaal niets met de grondwet te maken heeft.
Jammer dat ze geen faire campagne willen voeren.

Overigens is het waarschuwen voor oorlog en 'dat het licht uit gaat' ook niet echt iets wat met de grondwet te maken heeft, maar daar zijn ze dan ook goed onderuit gegaan en wonderlijkerwijs de nee-ers voor de euro niet........
# June 1, 2005 3:13 PM

Dennis van der Stelt said:

Dat is wat het ja-kamp zegt, dat het jammer is van bijv. die euro. Maar ondanks dat het inderdaad niet is waarom mensen nee moeten stemmen, vind ik het wel valide als mensen het toch doen.

Lees bijvoorbeeld het volgende stuk eens erop na. 200% overdreven, maar mét kern van waarheid. http://www.geenstijl.nl/mt/archieven/005213.html#more

Lees meteen dan even dat je snel een tent moet kopen! ;)
http://www.geenstijl.nl/mt/archieven/005229.html#comments
# June 1, 2005 3:25 PM

Dennis van der Stelt said:

Ik vind het dus niet valide als mensen stemmen om de verkeerde reden. Dan misbruiken ze hun stemrecht.

# June 1, 2005 3:38 PM

Dennis van der Stelt said:

Het ja kamp heeft niet uit kunnen leggen waarom je Ja moet stemmen. Het is heel simpel. Het is een verdrag waarin allerlei afspraken staan. Ik had best Ja willen stemmen als iemand mij had kunnen vertellen wat er t.o.v. de huidige situatie nieuw is. En dat wordt niet gedaan.

Zoals ik al eerder zei, 90% van deze "grondwet" is een consolidatie van de huidige afspraken. Als dat alles was, dan had ik graag Ja gestemd. Ik denk dat een groot Europa nodig is, zeker als economisch blok. Maar de andere 10% is mij niet duidelijk. En omdat ik dat niet kan overzien, en omdat niemand mij kan uitleggen wat die 10% is, wil ik niet anders dan Nee stemmen.

@jean-paul. Er zijn altijd mensen die om verkeerde redenen stemmen. Als is het maar omdat mensen met redenen stemmen die jou (of mij) niet aanstaan. Dat mag je alleen niet zien als misbruik. Ik heb ook al mensen horen zeggen dat een groot deel van de bevolking niet begrijpt waar het over gaat. En ik denk dat dat zo is. Maar zou je dan niet moeten gaan stemmen? Ik denk dat het beter is als er een keer wordt uitgelegd waar het over gaat.
# June 1, 2005 4:29 PM

Dennis van der Stelt said:

@Jan
Ik ben het helemaal met je eens dat het ja-kamp niet goed heeft kunnen uitleggen waarom mensen ja moeten stemmen.
Ze hebben het veel te licht opgevat.
Veel mensen realiseren zich niet dat stemmen een krachtig recht is. Als mensen dus tegen de grondwet stemmen, omdat vandaag de gehaktballen niet in de aanbieding zijn, dan vind ik dat misbruik maken van je stemrecht.
Daarmee verpest je het voor de mensen die wel dat recht serieus gebruiken. Ik ben dan ook van mening dat je in dat geval niet moet gaan stemmen.
# June 1, 2005 6:03 PM

Dennis van der Stelt said:

Hi i need help from u with WoW if u could help me. here is my email davidchainho@hotmail.com thx
# June 1, 2005 8:35 PM

TrackBack said:

# June 3, 2005 9:05 AM

TrackBack said:

# June 3, 2005 9:07 AM

Dennis van der Stelt said:

Eeehm... VS.Net 2002, there is no 2001 version. At least not that I know of, maybe ou have a secret elite version. ;)
# June 3, 2005 11:12 AM

Dennis van der Stelt said:

At my current location, they were early adaptors, so they got an 2001 version. It's that good, that we don't upgrade to 2003. But this also means we can't use ReSharper...

(Of course you're right on this, I just won't admit it! ;)
# June 3, 2005 11:14 AM

Dennis van der Stelt said:

Maybe something went wrong during the upload. The home page looks really messed up!!!
# June 3, 2005 3:16 PM

TrackBack said:

Visual Studio Team System


Bill Sheldon from InterKnowlogy has an item in the June 3rd edition of...
# June 5, 2005 2:06 AM

Dennis van der Stelt said:

You're not at the client when writing this?! :)
They seems to filter some javascript content and that's why you cannot acces the page. I've contacted them about it, and they are looking into it. Normally, when you have javascript disabled, they transfer you to an alternative site (backbase.com/go I believe). But currently, they don't detect our problem/issue.
# June 6, 2005 8:28 AM

Dennis van der Stelt said:

Ok looks cool but doesnt work on Mac IE, anyobody got a solution for that?
# June 6, 2005 4:25 PM

Dennis van der Stelt said:

Tessie...

Dennis van der Stelt
http://www.bloggingabout.net/dennis/
# June 9, 2005 9:31 AM

TrackBack said:

ASP.NET Development Helperooeess
# June 13, 2005 4:51 PM

TrackBack said:

Test Driven Development with a Databaseooeess
# June 13, 2005 5:02 PM

TrackBack said:

NotNullooeess
# June 13, 2005 5:03 PM

TrackBack said:

Visual Studio 2005 beta experienceooeess
# June 13, 2005 5:23 PM

TrackBack said:

Google in your RSSooeess
# June 13, 2005 5:27 PM

TrackBack said:

TopDesk : A super top desk applicationooeess
# June 13, 2005 5:31 PM

TrackBack said:

Enterprise Library - Configuration AB Memory Leak Patchooeess
# June 13, 2005 5:43 PM

TrackBack said:

Comment Spam Iooeess
# June 13, 2005 5:45 PM

TrackBack said:

NotNullooeess
# June 14, 2005 5:46 AM

TrackBack said:

Visual Studio 2005 beta experienceooeess
# June 14, 2005 5:48 AM

TrackBack said:

Google in your RSSooeess
# June 14, 2005 5:56 AM

TrackBack said:

TopDesk : A super top desk applicationooeess
# June 14, 2005 6:07 AM

TrackBack said:

Enterprise Library - Configuration AB Memory Leak Patchooeess
# June 14, 2005 6:09 AM

TrackBack said:

Comment Spam Iooeess
# June 14, 2005 6:13 AM

TrackBack said:

na
# June 17, 2005 1:06 AM

TrackBack said:

Test Driven Development with a Databaseooeess
# June 17, 2005 1:11 AM

Dennis van der Stelt said:

Wanneer heb je het af... over een uurtje ;-). Hopelijk is het snel gefixed dan kan ik eindelijk eens wat gaan bijdragen.
# June 28, 2005 3:48 PM

Dennis van der Stelt said:

Goed gedaan Dennis!!!!
# June 28, 2005 3:53 PM

Dennis van der Stelt said:

Just wondering. Do we, as bloggers need to do anything after the server has been upgraded?
# June 28, 2005 3:58 PM

Dennis van der Stelt said:

Just saw a demo here at TechEd on Beat Schwegler's toolkit.

very impressive !
# July 4, 2005 3:56 PM

TrackBack said:


On Language Workbenches:

Martin Fowler’s original post x and additional readings x
Brad Appleton’s...
# July 4, 2005 8:26 PM

TrackBack said:

# July 5, 2005 6:57 AM

Dennis van der Stelt said:

I trust you Dennis! (except in BF2 when you are on the other team;-))
# July 5, 2005 1:41 PM

Dennis van der Stelt said:

Even then, you can trust I'll blown you from the face of the ... map... :)
# July 5, 2005 1:44 PM

Dennis van der Stelt said:

To keep it simple: GOED VERHAAL!
# July 5, 2005 2:22 PM

TrackBack said:

As some of you may have noticed, ever since I moved Community Server to the root of nino.net, I have...
# July 6, 2005 3:43 PM

Dennis van der Stelt said:

Vertrouwen is helaas vaak weinig te vinden en contracten worden vaak ook op basis van de knikkers opgesteld zodat beide partijen het zo min mogelijk euries gaat kosten.

Maar vertrouwen moet je ook winnen. Begin klein en in een stevig fundament c.q. kader en zorg dat dit kleine brokje gewoon slaagd! Niemand investeerd ergens miljoenen in om het vervolgens niet in de gaten houden als je niet weet of je die partij kan vertrouwen.

Maar wederom een sterke post Dennis.. straks ga ik je dev blog nog elke dag raadplegen ;-)
# July 6, 2005 4:06 PM

Dennis van der Stelt said:

There _are_ RSS Aggregators/Readers, Ramon.
You could subscribe to the RSS Feed here! :)
# July 7, 2005 7:40 AM

Dennis van der Stelt said:

I wrote a similar utility, though as an httpHandler that you can plug into .Text:

http://communityserver.org/forums/483517/ShowPost.aspx
# July 7, 2005 9:56 AM

Dennis van der Stelt said:

Yes I could.. but unfortunately not at the project that I am currently at :-)

Those webbased readers just suck...
# July 7, 2005 12:48 PM

Dennis van der Stelt said:

Hi Dennis,

It's great to see another blogger talking about this stuff. I think it's importance has been underestimated for a long time.

Interesting point about trust between developers and project managers.

One of my current projects is an interesting blend of formality and trust - perhaps I should blog about it sometime. It does have deliberately open specs. It's the trust (and not the formality) that keeps the project working.
# July 8, 2005 8:59 AM

Dennis van der Stelt said:

You definitly should! I'm very, very interested in real life experiences of people that know what they're talking about.

It's a little bit like the SOA hype that so very many dutch bloggers are writing about, now that TechEd is running. It still seems like a lot of theory there, but so little implementation discussions.

As with Agile software development, although I believe the theoratical examples are better and easier to understand. That's possibly because of the long time (several decades) Agile is being used now, and because everyone knows the domain people are talking about. Everyone has done projects and know where lots of them fail. SOA is another discussion, because it's a whole new way of thinking, although a lot of the implementation stays the same. And people want to know where the differences are.

That's the same with me and Agile. I want to know what the differences are between (for example) RUP and Agile, and where Agile is best used. After that, it's just doing my best to convince people to do projects the Agile way. Which will be very hard when RUP is currently almost the holy grale for projects at my company.
# July 8, 2005 9:10 AM

Dennis van der Stelt said:

Have you read Alistair Cockburn's "Crystal Clear" book? If not, I'd recommend it. I think you'd like it because his whole approach to agile development is based on studying real-world projects. The book includes examples from real projects, and even has a whole chapter devoted to a case study of his methodology in action.

You can find a page about the book on my web site.
# July 8, 2005 10:54 AM

Dennis van der Stelt said:

I'll try to give it a shot. Got a lot on my hands currently, .NET 2.0, VSTS, Agile and also BattleField 2! ;)

But I'll have a look, thanks for the suggestion.
# July 8, 2005 11:07 AM

Mischa Kroon said:

Why not try to integrate the new version of FTB in my personal opinion it's better then FCK editor ( when i tried it anyway )

And it's version 3 is cross browser compatible.
# July 17, 2005 5:54 AM

Dennis van der Stelt said:

Hmmm, maybe you are right and I should've installed FTB 3.0! :)

I'll have another look and perhaps let the users decide.
# July 19, 2005 7:04 AM

Rick van den Bosch said:

That's great news! Altjough ReSharper 1.1 is a great piece of software, there are some problems with it. Especially when opening really big projects or sourcefiles, it sometimes gets (too) slow. So I'll have a go at it.

Thanks for the heads up, Dennis!
# July 21, 2005 5:59 AM

Ramon Smits said:

I just mentioned ReSharper yesterday in my post about the fxCop rule. Didn't know there was a new version. Downloading it now to see how it works compared to 1.5.
# July 21, 2005 6:36 AM

Gump's blog said:

Dennis blogged about it earlier today, and as soon as I saw that I couldn't help myself: I had to try...
# July 21, 2005 6:56 AM

Gump's blog said:

Dennis blogged about it earlier today, and as soon as I saw that I couldn't help myself: I had to try...
# July 21, 2005 6:58 AM

Pabes said:

The three developers in a row situation was indeed very nice. Also because the project manager was place on the other side of the room where he had the "overview". And what an overview that was.
# August 15, 2005 6:28 AM

Paul Gielens said:

Received my copy a couple of months ago. We do 2x2 in two blocks, program manager 3m away.
# August 15, 2005 1:40 PM

Erwyn van der Meer said:

Interesting idea. I'll observe the table setup at my current project and what kind of interactions it encourages and discourages. But table setup does not garantee proper communication amongst team members. For instance, some people primarily communicate through e-mail (even silly one-lined questions) when they are only two desks away! And I've noticed not all people seem to like it when I declare openly that their code could be nominated for the daily WTF ;)
# August 15, 2005 2:36 PM

admin said:

Hahahahaha, no kidding they don't like that!

About the one-line questions, I sometimes deliberately email people because I want the answer to be logged :)

But you are right, people indeed do that. A lot of people need to learn how to communicate within a team. Everyone learns how to fill in timesheets, how to report to a PL, but not how to communicate with team members. Perhaps this is also something that cannot be taught and should be checked when they apply for the job at your company.

Anyway, let me know about your observations :)
# August 15, 2005 11:12 PM

Nathan Pledger said:

Good thought, and I agree with you that promiximity of developers to each other is vital for communication and knowledge sharing - and also to encourage a decent working environment.

Now consider where I used to work ... where desks were positioned according to the decisions of a Feng Shui consultant. On my arrival, this meant 3 people, in two rows of 2 desks, facing the window. The lead developer was behind me, and could see my screen. This was frustrating as (a) I resent people peering over my shoulder all day - I know for a fact he wasn't that type of person, but still and (b) I had to endlessly pivot 180degrees to talk anything technical and couldn't hear when he spoke! So, I begged for my desk to be turned round so we were facing each other - a perfect development environment for a very small team.

However, boss man was uncomfortable as we were facing each other and this encouraged opposition. Introduce another Feng Shui consultant, and we are now facing a particular direction, slightly at angles to each other - which worked quite well - except boss man was behind both our shoulders. (Picture the bridge on Star Trek) This was making us both very uncomfortable. (A boss man with no knowledge of IT looking over your shoulders is a recipe for unnecassary questions like "Aren't you supposed to be doing this?")

So in your quest for an Agile workspace, I advise you all to not consider Feng Shui.

Although, put a crystal under your monitor and it reduces the EMF.
# August 16, 2005 10:58 AM

Jan Schreuder said:

Assertions are just as easy to read as your if statements. At least, that's what I think. But I'm not sure what happens to assertions when you compile a project for Release mode.

I know from experience with C/C++ compilers that assertions only raise an error in Debug mode. The following link also suggests that this is the case for C#: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdiagnosticsdebugclassasserttopic1.asp

You if statement check however will always work. So I think you should keep using that.
# August 23, 2005 5:57 AM

Patrick Wellink said:

Well dennis......

I really have to agree with you on this one....
Only I would like to add a nuance....

If you are a BAD programmer you will hate testers, cause he will keep popping up at your desk..... With very annoying cases.....

But if you are a GOOD programmer you probably will appreceate a GOOD tester. Cause if you as a programmer want to improve your product you really have to listen to the testers...

I have done LOTS of testing, and with a good programmer, it was good fun. We could solve bugs in minutes....

# August 25, 2005 6:39 AM

Dennis van der Stelt said:

You can be a good programmer and have a bad tester and hate them as well.

And you don't have to be a good programmer to find/solve bugs in minutes, having a photographic memory and being the only developer on a project probably will. Because you'll know pretty fast where the bug occurs, what to fix and how to fix it, so the rest of the app won't break.

It's not just a good/bad programmer thing.
# August 26, 2005 3:01 AM

Erwyn van der Meer said:

And unfortunately the referrals also show that blogging about Visual Basic 9.0 pays off. My VB 9.0 post has held the #1 position in Google for the query "Visual Basic 9.0". Now it has dropped to #2. That VB 9.0 post has probably disappointed a lot of the newcomers as it did not contain much detail (as the details are still kept secret by Microsoft until the PDC).
# August 26, 2005 3:41 AM

Erwyn van der Meer said:

BTW: Team Foundation really doesn't need four 2.2 GHz CPUs, 150 GB harddrive space and 4 GB of memory upon installation. If you look more closely at the post you linked to, you'll see Team Foundation would be happy with a single 2.2 GHz CPU, 8 GB harddrive space and 1 GB of memory. This will work for up to 20 users. The requirement you mentioned is for 250-500 users ;)
# August 26, 2005 2:40 PM

Dennis van der Stelt said:

No kidding!

You know there are lies, damn lies - and statistics. This was kind of an example. I took the worst-case-scenario on purpose! :)
# August 26, 2005 2:59 PM

Nathan Pledger said:

Oh, sounds interesting. Maybe a better editor?
# August 30, 2005 10:23 AM

Dennis van der Stelt said:

You don't like the editor?! I installed it myself over FreeTextBox 0.1 or something :)
# August 31, 2005 1:51 AM

P.J. van de Sande said:

The screenshot created a big smille on my face!

I think this is the first Unit Test in Excel :)
# September 1, 2005 6:29 AM

Erwyn van der Meer said:

You got the best seat in da house! Your own ;)

Yep, Max is a really cool "Avalon" app. How was the quality of the webcast? Does Max run smooth on your PC?
# September 13, 2005 2:30 PM

Dennis van der Stelt said:

My system
CPU : AMD 2000+
Memory : 1GB PC2700
Gfxcard : nVidia 6800 AGP
Harddrive : pretty slow :)

It runs okay, but has a lot of hickups, because of the harddrive. It's very usable though. But browsing for folders with loads of pictures in it, and in its subfolders, takes a while to load all pictures. But while loading the pictures, the window/listbox scrolls like a charm.

The 3D photos and then sliding from one set to another goes way too fast though. I had the idea it went much smoother during presentation.

The webcast itself was okay. The sound was pretty good, video as well, but code was pretty unreadable due to artifacts.
# September 14, 2005 12:37 AM

Dennis van der Stelt said:

My bad... The scrolling that I thought was too fast, was when you press the "next" and "previous" buttons. When you just wait it out, it slides much more smoothly. So it's actually very good that it slides much faster when you press those buttons. Excellent app!
# September 26, 2005 4:23 AM

Edward van Steenderen said:

Come on Dennis. You know that most of them have the implementation of Agresso as their frame of reference on how quickly things can be arranged. So I can't blaim them.
# September 26, 2005 6:37 AM

P.J. van de Sande said:

Allways nice to see that some poeple doesn't know what an application can do for you!

Here intern there was someone who copy/pasted the address information for 100+ clients to put on a address sticker.
When I told here I could at a function to print address sticker she couldn't beleave me that it was posible.
# September 26, 2005 6:44 AM

Patrick Wellink said:


It were probably managers ?
# September 27, 2005 12:46 AM

P.J. van de Sande said:

I are allways managers ;)
# September 27, 2005 11:43 PM

Dennis van der Stelt said:

Not sure if the manager could've caused the problem, but this time it wasn't. It was a secretary.
# September 27, 2005 11:48 PM

Ramon Smits said:

And it's database limit is also twice the size of MSDE :-)
# September 29, 2005 1:08 AM

Ramon Smits said:

... and it probably has the same kind of license as MSDE. Mostly MSDE is free because of a Office license within the company.

If not.. then this is really a good alternative for other db's.
# September 29, 2005 1:13 AM

Alex Thissen said:

Dennis,
Because I didn't phrase that clear enough: MSDE had no connection limits. It was just that only 10 of them could perform simultaneous work. That limit is gone in SSE. It's just that you only have 1 GB of RAM to work with. That's your main limit.
And as far as I know, you can use and distribute SSE for free, without any small print (just like MSDE).
# September 29, 2005 6:46 AM

Nathan Pledger said:

But will it come with maintenance tools like Enterprise Manager - or whatever the SQL Server 2005 equivelant is?
# September 29, 2005 10:13 AM

Dennis van der Stelt said:

As said : Also the SQL Express Manager is a stripped down version of the full SQL Server Manager. :)

Only this stripped down version isn't there yet. But there'll probably some others tools around. Problem is that their most of the time, not nearly as good.
# September 29, 2005 2:04 PM

Super Secretary said:

I am very sure it wasn't a secretary... aren't they always the best!
# September 30, 2005 7:17 AM

Patrick Wellink said:

A list of bloggers sorted by number of entries.....
Just like we had in the good old days.......
# October 4, 2005 1:00 AM

Mischa Kroon said:

Here here !!
# October 5, 2005 5:59 PM

Blogging About .NET said:

As you could see I've completed too the migration from nGallery to CommunityServer, without major incidents...
# October 6, 2005 1:18 AM

Blogging About .NET said:

As you could see I've completed too the migration from nGallery to CommunityServer, without major incidents...
# October 6, 2005 1:22 AM

Erwyn van der Meer said:

Finally found the time to give Microsoft Max a spin. Dennis blogged about this WinFX application on the...
# October 6, 2005 3:09 PM

Erwyn van der Meer said:

Yeah, you probably drank too much beer ;) The LEAP program has nothing to do with the MCAP program. The LEAP program is about marketing products. The MCAP is about real certification!
# October 12, 2005 1:52 AM

Dennis van der Stelt said:

Hahahaha, good thing I looked it up then, before just making some stupid statement about LEAP being the architecture certification program :)
# October 12, 2005 2:31 AM

Joris said:

So I wonder, what was the goodie at the end? Or did they cut down on that :-s ?
# October 12, 2005 5:19 AM

Chi Wai Man said:

I liked the WIndows Vista preview very much. It really impressed me and I immediately started to download Windows Vista.

But the VSTO presentation was kinda boring for me. Yes we can now start programming office applications in the .net enviroment. But it still feels like your programming vba. Actually they build a wrapper around the com objects. No big deal right?

When he started to use the superclass Globals it kinda gives me the creeps. It was like using the Database object in Access.
# October 12, 2005 12:36 PM

Dennis van der Stelt said:

When reading the latest posts about XP == DATT by Paul Gielens, I noticed him mentioning UML as Sketch....
# October 13, 2005 1:13 AM

Dennis van der Stelt said:

When reading the latest posts about XP == DATT by Paul Gielens, I noticed him mentioning UML as Sketch....
# October 13, 2005 1:13 AM

Erik van der Wel said:

I enjoyed it as much as you did and next year, by living and being well, you can come with me as a quest! :-)
# October 13, 2005 1:14 AM

Dennis van der Stelt said:

We call that "Deo Volente", don't we? :)

But thanks in advance. Then I'll drive and be the BOB! ;)
# October 13, 2005 1:32 AM

Ramon Smits said:

Don't exactly understand that magical Visio 12 feature. But when I read the previous article you seem to refer functionality in the Poseidon UML design tool from Gentleware.

I like the tool very much! Only bummer is that it is written in Java and isn't as snappy and smooth as most Win32 applications.
# October 13, 2005 2:25 PM

Dennis van der Stelt said:

I didn't mention it here, so people will read the previous post as well! ;-)

Let me explain. You've just thrown a class onto your sheet. When hovering over it with your mouse, four arrows show up for all four directions (up, down, left & right). When pressing one of those, in that direction, a new class will be created, with an assocation link between them.

I'm not sure about what kind of link, because the presenter used a random shape, it wasn't a UML shape.

It's a really simple feature, but when sketching (!) your UML, it's really usefull because you can quickly sketch something. And that's why I like using Visio!
# October 14, 2005 2:35 AM

Dennis van der Stelt said:

Erwyn, seems I'm right after all!

LEAP stands for Lead Enterprise Architecture Program!
# October 14, 2005 9:35 AM

Sander van Kemenade said:

The original posting of Jeffrey is not available anymore: "We are currently unable to serve your request". And VS2005 RTM still isn't showing up on MSDN, so I think Jeffrey was wrong...
# October 17, 2005 11:28 PM

Dennis van der Stelt said:

You're right... Too bad :)
# October 18, 2005 1:47 AM

Dennis van der Stelt said:

Unfortunately Visual Studio 2005 RTM isn't online, as Jeffrey Palermo 'promised'. Strange enough his...
# October 18, 2005 2:31 AM

Dennis van der Stelt said:

Unfortunately Visual Studio 2005 RTM isn't online, as Jeffrey Palermo 'promised'. Strange enough his...
# October 18, 2005 2:32 AM

Frans Bouma said:

It seems the Agile/XP/TDD movement cooks up acronyms / names by the minute. WTF is 'BDUF' ? :)

All this bitching about VSTS not doing TDD... I really wonder how these people think you should TDD with a team of say 500 people, you know the target audience of VSTS.
# October 18, 2005 6:31 AM

Jeffrey Palermo said:

Yep, the 15th came and went with no Whidbey. Now the date floating around is Oct 27th, but I've given up counting on dates. It comes when it comes.

Great info on method generation. I did a lot of exploration with the Beta1, and it couldn't do method generation from tests, and when I went to Tech Ed, I specifically asked a few speakers about this. They always demoed generating tests from production code, and when asked if it worked the other way around, they said "no", so I haven't tried to prove them wrong. I'm glad this capability does, in fact, exist because I'll need it.

In the Microsoft guidelines for TDD, steps 5 and 6 are:

5: Define the interfaces and classes for your feature or requirement. You can add a minimum of code, just enough to compile. Consider using the Class Designer to follow this step. For more information, see Designing Classes and Types.

6. Generate tests from your interfaces and classes. For more information, see How to: Generate a Unit Test.

This is the part that is backwards from what TDD really is. With this method, you have already designed your class and then generate tests from it. That's the part I have a problem with. Their step should be:
1. Write a test. Generate a method from it. Red, Green, Refactor. Rinse, Repeat.

Other than that, I'm fine with it.

I like Uncle Bob's book as well. I learned Agile from that book. Great book.

Thanks for keeping me in line. :)
# October 18, 2005 8:43 AM

Dennis van der Stelt said:

@Frans : BDUF = Big Design Up Front, something you've probably heard of. Otherwise, look it up in Ward Cunningham's wiki or Wikipedia.

Besides that, it's perhaps also confusion about VS2005 and VSTS. I'm not sure what VSTS is, but I know what VS2005 and what VS Team Foundation (Server) is. You don't need Team Foundation to use TDD and develop applications. So no need for a target audience for 500 people! ;)
And yes, there have been projects done with XP and such with a large number of people, be it developers or other specialists. They were just divided by smaller teams. I've never ever come across teams of 500, and don't think I'll ever will. The largest one was 50 people, and on those were 15 developers or so. They'd be able to do TDD for sure.

@Jeffrey : Generating tests from your classes is indeed wrong, you're right about that. What I did, is having no code in my classes, just enough so I could generate the method from my test.

That's working out GREAT!
# October 19, 2005 12:57 AM

Marco said:

I wish you the best with this new opportunity!! See you in battlefield or wathever you feel like playing!
# October 19, 2005 1:12 AM

Alex Thissen said:

Now it is my turn to congratulate you on a new job. Welcome to the club! See you soon. How about this as a first mission for the new-comers at Class-A: gaming night?
# October 19, 2005 1:37 AM

Chi Wai Man said:

Good luck and do your best!
# October 19, 2005 1:37 AM

Frans Bouma said:

Hey congratulations! You finally left the Duurbetaalde Galeislaven (tm) toko ;) :P

# October 19, 2005 3:17 AM

Novita said:

I wish you all the best with your new job. I really enjoyed working with you!
# October 19, 2005 5:03 AM

Jan Schreuder said:

A big challenge. Hope you get as much satisfaction in teaching/coaching as you did in developing. All the best.
# October 19, 2005 5:26 AM

Patrick Bes said:

Good luck at your new job m8. I'm really going to miss you here. Especially your legendary remarks during company meetings ,Yeah baby :) But i have no doubt that we will stay in touch.
# October 19, 2005 8:03 AM

Saber Karmous said:

Gefeliciteerd, veel plezier en succes met je nieuwe baan!!!
# October 19, 2005 9:34 AM

Nathan Pledger said:

Best of luck in your new position.

I recently changed positions and finally got a permit to work in the Isle of Man. Not nearly the career development, but I am happy everyday looking out over awesome sunsets and the Island set out before me as I ride over the mountain.

Hope you enjoy yours as well as I enjoy mine! (though probably for different reasons!)
# October 19, 2005 2:14 PM

Erwyn van der Meer said:

Let me chime in here as well. I wish you all the best in your new job!

BTW: Glad to see you got the PNG fix working in IE6 ;)
# October 19, 2005 2:24 PM

Edward van Steenderen said:

Dennis, best of luck and God's speed.

A presentation on TDD? That's all nice but when are you going to do that presentation on Battlefield 2?
# October 20, 2005 2:27 AM

Dennis van der Stelt said:

It was only recently that I blogged about the Five Pound Bag. Now Ron Jeffreys explains why making the...
# October 20, 2005 4:23 AM

HuppelFiets said:

Excellent!
# October 20, 2005 6:22 AM

Paul Gielens said:

To learn and share, sounds good! Enjoy your new job.
# October 20, 2005 11:47 PM

Dennis van der Stelt said:

@Marco : Definitly!
@Alex : Can you tell me those laptops can run BattleField 2?
@Frans : No comment :)
@Edward : Blame Carlo, he wouldn't let me!

Whoops, gotta fix this skin, my submit button is gone.
# October 21, 2005 1:22 AM

Mischa Kroon said:

Gefeliciteerd :)

Heel veel succes bij je nieuwe baan :)
# October 21, 2005 3:37 AM

Nix's Blog said:

Les blogs CodeS-SourceS viennent d'&#234;tre migr&#233; sur CommunityServer. (Peut-&#234;tre avez-vous remarqu&#233; un &quot;l&#233;ger&quot;...
# October 21, 2005 5:51 AM

Dennis van der Stelt said:

During MIND, a colleague asked the audience if they were developing sexy shit. Bob Koss says it more...
# October 24, 2005 1:08 AM

Nix's Blog said:

Les blogs CodeS-SourceS viennent d'&#234;tre migr&#233; sur CommunityServer. (Peut-&#234;tre avez-vous remarqu&#233; un &quot;l&#233;ger&quot;...
# October 27, 2005 12:15 PM

Martijn Veken said:

It's probably a matter of definition, but most statistics say that Appache is by far the most used webserver. According to Netcraft some 23 million sites are being hosted by Appache, so I guess that there must be a few hackers interested in that. Go look for yourself:

http://news.netcraft.com/archives/2005/10/04/october_2005_web_server_survey.html

And I think that IIS 6.0 was introduced with Windows 2003 so it's roughly running websites for 2 years now.

But you're right, all kids use Linux and all grown-ups use Microsoft ;-)

Anyway, who cares! Use the tools you like best, relax, have a cup of coffee and build some "sexy shit".
# November 3, 2005 10:31 PM

Dennis van der Stelt said:

Anko Duizer, who will&amp;nbsp;be my colleague (and boss ;-) in a couple of weeks, has entered the Blogosphere....
# November 7, 2005 3:21 AM

Dennis van der Stelt said:

Anko Duizer, who will&amp;nbsp;be my colleague (and boss ;-) in a couple of weeks, has entered the Blogosphere....
# November 8, 2005 12:20 AM

Mischa Kroon said:

I found it a bit confusing, the way they are free for a year isn't very orthodox... but it all does seem logical.

They will probably throw out a new version by that time.
# November 8, 2005 7:14 AM

Dennis van der Stelt said:

You think 3.0 is ready by then?! ;-)

But seriously, they were thinking of a price of $49 for one VS Express edition. That's a price hobbyists can afford. But now having it free for one year, is even better.

And from a Microsoft point of view, more and more developers will start creating small programs on a great IDE. (If it doesn't bug.) Which means more and more people will start installing .NET 2.0.

That is what Microsoft wants. And we, as those are also our customers! :)
# November 9, 2005 2:17 AM

Paul Gielens said:

Is is posible to compile for net1.1 correct? Cause that is all we need.
# November 9, 2005 4:19 AM

Erwyn van der Meer said:

Dennis, I think "When not specified, your applications will run in the latest version available." is not quite right.

The behavior actually is: "When the application is started up on the .NET Framework 1.0, 1.1 or 2.0, the CLR (mscoree) looks at the .NET Framework version recorded in the application and tries to run the application on the version of the .NET Framework that the application was compiled with. If that version is not installed on the machine, the CLR will attempt to start the application on the latest .NET Framework and CLR, for example, an application compiled for .NET Framework 1.0 running on a machine with only .NET Framework 1.1 will be rolled forward to run on the .NET Framework 1.1. Likewise, an application compiled for .NET Framework 1.1 running on a machine with only the .NET Framework 2.0 will be rolled forward to run on the .NET Framework 2.0."
# November 9, 2005 4:43 AM

Dennis van der Stelt said:

@Erwyn : You're quite right. During lunch I thought about it and figured it'd be pretty weird to implement it like that. I rechecked and it and made a reading mistake in the table in the compatibility article. The table says it quite right, but while going through all the articles I got it mixxed up. The thing I 'quoted' was when your addin runs in a native app like Office or IE.

@Paul : I don't get it. Compile what in where? If you mean what Erwyn just pointed out... Everything works fine when just compiling applications in 1.1 and having 1.1 installed.
# November 9, 2005 5:16 AM

Thomas Freudenberg said:

Yes, you can develop .NET 1.1 applications in Visual Studio 2005! See Scott Hanselman's post "Building .NET 1.1 Projects using Visual Studio 2005" at http://www.hanselman.com/blog/BuildingNET11ProjectsUsingVisualStudio2005.aspx
# November 10, 2005 4:24 AM

Dennis van der Stelt said:

Thomas, thanks for the link. I didn't know that.

It's still a work in progress though, just an announcement that they'll create MSBEE, nothing more yet. It's funny though. But for developers it'll be hard not to use the .NET 2.0 features.
# November 10, 2005 12:10 PM

Dennis van der Stelt said:

I know about Apache, was just making a joke. Notice the smiley :)
# November 11, 2005 1:23 AM

Developer Testing said:

Dennis van der Stelt lead me to this article by Bob Koss where he defined Refigerator Code: What’s that? It’s code that you’re so proud of that you want to take it home and hang it on the refrigerator, right...
# November 17, 2005 9:23 AM

Nathan Pledger said:

This is just scarey!
# November 17, 2005 10:24 AM

Ezequiel Espíndola said:

Old news already, Google renamed their Urchin service to Google Analytics and made it free for everyone. I just played a little with it and it's cool. Little scary though, you're giving all your website usage precious data to Google, the company that wants to dominate the world's information! ;)
# November 20, 2005 7:38 PM

Edward van Steenderen said:

I agree with Ezequiel. If, or more likely 'when', sites that have this script implemented get higher rankings the power struggle will really begin.
It will give valuable knowledge to Google which will make their search engine even more effective in time. Other search engines should probably follow this as soon as possible. That way the adding of such scripts to sites can be done all at once.
Or the data should be made public.
# November 20, 2005 11:41 PM

Chi Wai Man said:

It's kinda strange that it detects my screen resolution as 1280x800. Coz I always use 1680x1050. maybe it's someone else?
# November 21, 2005 1:59 PM

Dennis van der Stelt said:

Unfortunately Visual Studio 2005 RTM isn't online, as Jeffrey Palermo 'promised'. Strange enough his...
# November 21, 2005 11:09 PM

Dennis van der Stelt said:

Perhaps even so! :)
When I saw the resolution, you were the first I thought about who could've possibly use that (and be happy ;-) But 1680x1050 is even better by far. Good for you! I envy you! :)
# November 21, 2005 11:11 PM

Ezequiel Espíndola said:

Rob Howard wrote about Google and the same issue I mentioned on my post about Google Analytics.
I have...
# November 22, 2005 8:44 PM

Ezequiel Espíndola said:

Old news already, Google renamed their Urchin service to Google Analytics and made it free for everyone. I just played a little with it and it's cool. Little scary though, you're giving all your website usage precious data to Google, the company that wants to dominate the world's information! ;)
# November 22, 2005 8:54 PM

Ezequiel Espíndola said:

I have to start watching live webcasts again. I must be missing a lot
of interesting info like the one...
# November 23, 2005 7:40 PM

Cory Foy said:

Thanks Dennis! I appreciate the comments. I should cross-post it over to here as well (since it *is* about .NET :) )
# December 13, 2005 7:24 AM

Dan Bunea said:

Hi Dennis,

I really like your presentation, as it is simple and it touches all that needs to be touched about TDD.

For dependency injection/Invertion of control I use Windsor, from www.castleptoject.com, as well as MonoRail (a Ruby on rails .net port) and ActiveRecord (on top on NHibernate, and AR implementation) all developed by the same castle extraordinary team. All are developed using TDD, and make TDD easier. The amount of code compared with ASP.NET/ADO.NET is much less and much simpler. I hope to be able to write a small article about using MonoRail and implementing TDD on web applications using Selenium (http://selenium.thoughtworks.com )


Thanks,
Dan
# December 15, 2005 12:23 AM

Dennis van der Stelt said:

Hi Dan,

Thanks for the comments. In the talk I've spoken about options as frameworks for mocking. I've also touched IoC and stuff. But I only had an hour or so, with the coding taking up half an hour.

Initially I had the MVP pattern shown with DI, but in front of a test audience, we decided this was too much. So I changed it into a simple business and data object and I had already decided not to touch a lot of those other topics.

Personally I'm definitly still learning a lot though, especially from posts like yours.
# December 15, 2005 2:40 AM

Patrick Wellink said:

Dennis,

Does this apply to a BizTalk solution as well ?
I find it really hard to place BizTalk inside a kind of unit test.

Cause a unit tests a small unit of work, but hjow do you write a unit test for an orchestration (or a series of related orchestrations)

Does unit testing apply at all to a BizTalk solution ?

Patrick Wellink
# December 15, 2005 11:17 PM

Dennis van der Stelt said:

Patrick,

I have no idea how BizTalk orchestration works. But think about a database. When you start automated testing your database, you also have to make sure there's some fixed data, when retrieving it. If you do something like select x from tableA where y = 2005 then you have to know what is returned.

The same probably goes for BizTalk. When you insert something, you should know how things will pass through the system, with or without (complex) orchestration.

TDD principles are however about test-first. So when you want to insert something into BizTalk, you should write a test first, and then think about how to implement this in BizTalk. I'm not sure if this is as possible as with a database, for example.
# December 16, 2005 12:59 AM

Dennis van der Stelt said:

# December 16, 2005 1:13 AM

James Shore said:

Fit (fit.c2.com) is the original tool, which runs from the command line and uses any HTML source document; FitNesse is a third-party fork that integrates a Wiki. Both have C# versions.

Cheers,
Jim
# December 17, 2005 3:39 PM

Patrick Wellink said:

Well dennis,

That's the problem i know there are people out there that think that you should test a BizTalk solution.
But the problem is....

A bizTalk orchestration is Quite a Big unit, it's not like a function but more a complete library. So with 6 orchestrations you can build quite a complex solution.

So my problem is how big can a unit get before unit testing becoms integration testing.... ( cause that's what i think i should do...)

Furthermore it is almost impossible to test an orchestration... Since we are dealig with XML you cannot test all instances of the XML. We can try a couple that will trigger the happy flow and a couple that trigger the unhappy flow but that's basically it.....




# December 18, 2005 12:14 PM

Sam Gentile said:

Hi Dennis,

I took a quick look at the deck and you did a good job.
# December 18, 2005 4:19 PM

Dennis van der Stelt said:

Testing BizTalk ís integration testing. It crosses a major boundary! But this doesn't (have to) mean you cannot test it with nUnit, VS2005 Team System or anything else.

And 6 or 100 orchestrations, my custom code can in theory be a thousand times more complex. And if code is testable, orchestrations are testable as well :)
# December 18, 2005 11:40 PM

Dennis van der Stelt said:

>I took a quick look at the deck and you did a good job

Thanks, good to hear I'm not that far off the mark anymore! ;-)
# December 20, 2005 1:10 PM

Bill Morein said:

The feature that you are describing does work with any shapes, including the UML solution that ships with Visio and Pavel Hruby's UML shapes that you mention. The connection that is added is a dynamic connector (the same as if you had used the connector tool in Visio).

There is a button to turn the feature on and off (it does not make sense in diagram types that don't include connections) but you can enable it in any template by default.
# December 21, 2005 1:29 PM

Dennis van der Stelt said:

Cool, can't wait to see it.
# December 22, 2005 6:22 AM

Dennis van der Stelt said:

Thanks for the clarification! :)
# December 30, 2005 12:46 PM

Nathan Pledger said:

Hi Dennis,

I certainly am. We are looking at a workflow solution and I have put this on the agenda (we are eventually going to invest in VS.NET 2005 in due course anyway, lets buy into this and spend nothing extra and see what we get before committing thousands of pounds on the software we have seen so far)

Our concerns centre around it hinging around two unproven platforms. .NET 2.0 is still too new for our liking and WWF is absolutely unproven. Also, there is the old MS experience that v1 is crap, v2 is marginal and v3 follows a purchase and is awesome. We don't want to be on that painful journey.

But, I personally prefer this option, so I would be very interested in your experiences.
# January 16, 2006 11:24 PM

Chris Slatt said:

I was under the impression that Windows Workflow Foundation didn't have a go-live license yet... is that true?
# January 17, 2006 8:49 AM

Dennis van der Stelt said:

Since this beta 1.2 (or beta 2 as some other Microsoft sources call it) there's also a go live license for both WF and WCF.

You can find it here : http://msdn.microsoft.com/winfx/getthebeta/golive/downloads/default.aspx
# January 18, 2006 11:32 AM

Marc van de Wert said:

W00T!
# January 18, 2006 1:48 PM

Raymond Lewallen said:

nice
# January 18, 2006 1:51 PM

Pabes said:

HAHAHAHAHA!
# January 19, 2006 12:06 AM

Jan Schreuder on .Net said:

I had just read Dennis's post about the switch statement. The code ofcourse is amusing, but&amp;nbsp;I think...
# January 19, 2006 3:45 AM

Jan Schreuder said:

Now why does Community Server add another comment to post A when you edit post B which contains a link to post A. Sorry Dennis ;-)

And what's this? Code inspections? I thought no one ever did that :-P
# January 19, 2006 3:48 AM

jayson knight said:

Now that's a strange CS bug, though I think I've seen it before. How many times did you edit the post?

That code is worthy of a DailyWTF!
# January 20, 2006 2:11 AM

Dennis van der Stelt said:

You never heard me say that! :)
# January 20, 2006 4:22 AM

Dennis van der Stelt said:

@Jayson : Hehehehe, standard CS behaviour. You're the one with the CS knowledge here! :)
# January 23, 2006 6:37 AM

Erwyn van der Meer said:

Now Windows Presentation Foundation should get it's own website as well. windowspresentation.net has been registered by Microsoft but is not in use yet.
# January 25, 2006 1:19 PM

Luis Du Solier G said:

Thats a good one, thanks for the tip!, laughing...
# January 26, 2006 10:48 AM

Chi Wai Man said:

Owh man.. I don't think my boss will let me go to barca:(
# January 26, 2006 1:10 PM

Erwyn van der Meer said:

How can a company make life so beautiful for some and do nothing to better the lifes of others by withholding them all of its goodness? I am talking about google.cn. Not that Microsoft is any better in that respect...
# January 26, 2006 2:00 PM

Dennis van der Stelt said:

Sometimes I'm reading up on my subscribed weblogs and just see so much that I want to share. Inspired...
# January 26, 2006 2:20 PM

Chi Wai Man said:

I remember the good old days when I started to code my first spaghetti application in Turbo pascal.
# January 26, 2006 11:43 PM

Dennis van der Stelt said:

You're absolutely right. A strange choice they made. The sorry ass excuses don't make up for their choice.
# January 28, 2006 1:10 PM

Ramon Smits said:

Turbo Pascal.. damn that's a long time ago :) I have good memories developing our cool applications as our school assignments. We were definately ahead of our class back then. It was pretty cool that you could do inline assembler too and remember that we made some sort of G-Force intro :). Too bad I lost all that code when my computer fell out of that van :(
# January 30, 2006 4:32 AM

Dennis van der Stelt said:

Hahahahaha, that was indeed cool... I've got some old HD's laying around, perhaps there's some code on one of them.

I still remember exactly the pointer assignment I got from Klaverweide. That ***! Giving me a 1 because it crashed on his machine, whereas I had warned him and given a thousand warnings throughout the program that it could do this if your computer did not support something, I build in. He told me in advance he had a 80386, which I was sure of it would work on. Seemed his home-pc was MUCH older.

The pc's at school worked like a charm with my app. It was one of the most beautiful apps I ever build.
# January 30, 2006 5:15 AM

Albert said:

It's a bit more than just an anouncement. Although it does not have IDE integration the MSBEE does build 1.1 applications.
You have to remove the typical 2.0 stuff like the references to generics but it let's you build a 1.1 application.
The nice thing about it is it let's you use VS2005 for your new applications and with the help of the MSBEE for your legacy 1.1 code.
# January 30, 2006 2:51 PM

Jamie Cansdale said:

Hi Dennis,

I'm happy to say code coverage is now available in *all* versions of Visual Studio. There is now integration with NCover and NCoverExplorer.

More details here:
http://www.kiwidude.com/blog/
http://weblogs.asp.net/nunitaddin/

Have fun, Jamie.
# February 3, 2006 2:57 AM

Dennis van der Stelt said:

As said before, we're using Windows Workflow Foundation (WF) to support flexible processes within our...
# February 7, 2006 7:26 AM

Dennis van der Stelt said:

In my previous post, I gave a small introduction into System.Transactions and the TransactionScope object....
# February 10, 2006 4:11 AM

Jeffrey Palermo said:

That's a very interesting capability, but, this is integration testing. You are making an out-of-process call to the database. For these tests to pass, you'd have to ensure your environment is set up every time.

Unit tests don't call out to environmental dependencies.
# February 10, 2006 7:27 AM

Dennis van der Stelt said:

Hi Jeffrey, you're absolutely right, that's why I mentioned it in my post

"it’s also wise to have integration tests, and see if your application is still accessing the database correctly. Common practice is to do this on a daily build server"

Perhaps I could've chosen my title a little wiser. But in my experience, people don't really know the Agile/TDD principles about unit testing and testing small units. Or care, for that matter. :)
# February 10, 2006 10:47 AM

Marc Jacobi said:

I think any application that uses a server connection (web services or other) should be able to provide some functionality without that connection. The old 2-tier apps that opened a database connection on startup and forgot to close them on shutdown ;-), but couldn't work without one, are an example of how NOT to do it.

In my view you have a Service Agent interacting with the service on behalf of the application. It is more work but possible to cache data from the service on the client (offline store). Then even when the service is not available you can still have a meaningfull client application. Outlook is a great example of this.

A Smart Client takes that best features of a traditional Desktop App and the best features of a web app and combines them. I must say that Microsoft evangelizes this view on an architectural level (http://msdn.microsoft.com/smartclient/understanding/definition - note the "offline" paragraph ;-), but provide little support and guidance for it (Updater AppBlock, CAB & SmartClient on GotDotNet). Its easy to say, the app should this and that, quite another matter to build it, let alone have a customer pay for it.

In practice I would look into offline support only when the customer specifically asks for it. Your Smart Client App should always be able to handle connection errors gracefully, though.
# February 16, 2006 1:18 AM

Karijn Wessing said:

>> Some will probably interpret the “intelligently connecting” as offline capabilities, but for me it’s the connecting intelligently to my server via webservices. Securely, encrypted, reliable and what else you want.

What else do you want?
Offline behavior of course!

Mobile applications should work mobile, also when there is no connection to the office available. A salesman for example wants to pick orders, also when he is in the desert, in the middle of the ocean or on every other place where he can sell something. He doesn’t want to depend on being online.
# February 16, 2006 1:47 AM

Pascal Naber said:

The smart client architecture and design guide tells us the following:
Smart client applications often have very diverse requirements, and so vary greatly
in design and implementation. However, all smart clients share some or all of the
following characteristics:
● Make use of local resources
● Make use of network resources
● Support occasionally connected users
● Provide intelligent installation and update
● Provide client device flexibility
Many applications do not need all of these characteristics. As you design your smart
clients, you will need to carefully consider your application scenario and <b>decide
which of these characteristics your smart client application requires</b>. Incorporating
all of these characteristics into your application will require very careful planning
and design, and in many cases you will need significant implementation resources.

# February 16, 2006 1:52 AM

Dennis van der Stelt said:

@Marc : I agree with the connection errors.

@Karijn : I want to solve a business problem. My customer wants an application that can be very easily deployed, and look at data that changes every 15 minutes, and all data on a central server. The central server must be accessable over the internet, port 80.

I'm building a Windows Forms application that's deployable via ClickOnce. It retrieves data over port 80 via xml/soap. Connection occurs intelligent because the location of the server can change, and via configuration it can be secured, encrypted and made reliable.

But according to some (read : you) it's not Smart Client because it doesn't support offline-capabilities.

I think my application has a client and it's pretty smart also, because it can see when it needs to update and has a lot of other smart capabilities.

Therefor, I call it SmartClient. Thanks for letting my explain! :)
# February 16, 2006 4:58 AM

Erwyn van der Meer said:

I just love (not!!) the definition in which Microsoft Office suddenly became a smart client: http://msdn.microsoft.com/smartclient/understanding/definition/

Well, I call Outlook 12 messing up my other e-mail client on installation a not so smart form of deployment.

For me, I've always viewed easy deployment over HTTP without installing something (other than the .NET framework) as the most important strong point. But I guess the term smart clients should be viewed as not necessarily related to "Zero Touch Deployment" (.NET 1.0 and .NET 1.1) and its more advanced version "ClickOnce" (.NET 2.0).

Maybe the term "smart client" is already fubar, like SOA.
# February 16, 2006 11:28 AM

Dennis van der Stelt said:

For who wants to know, I got the definition I quoted from the survey they presented when I entered the MSDN Smart Client site.

Normally I don't do these things, but for some reason I felt like it! :)
# February 16, 2006 1:21 PM

Patrick Wellink said:

Dennis, this has nothing to do with Sql 2005.
All the things you mention are valid for almost every database.

Therefore there is nothing new about it.....

You can see the SQL Server performance Website for very good explanations of the do's and dont's.

However I am GLAD at least 1 developer is staying away from the GUID's in the future...
( have a look at my blog http://bloggingabout.net/blogs/wellink/archive/2004/03/15/598.aspx
Read the comments and read who posted them...( you should know some of them)
Then RE-Evaluate those persons with this new knowledge....)

Patrick W.
# February 19, 2006 12:54 AM

Frederik Gheysels said:

Patrick,
I've read your blogpost about 'guid is not always good'.
I agree with you that you should not put a clustered index on a GUID column. However, this does not mean that you never should use a GUID as primary key. As long as your primary key GUID is not a clustered index, I think there's nothing wrong with it.

I also think that the statement that is in the BoL (haven't verified it) should be 'a primary key creates a clustered index by default', instead of automatically. You can always override this clustered option.

The biggest problem of using a GUID as a clustered primary key index, is, that a clustered index determines the fysical order of your records. Since a GUID has no logical incrementing sequence, this means that with every insert, your clustered index will have to be rebuilt, and since the clustered index determines the way the records are ordered within that table, those records will have to be 'repositioned' as well. That's the primary reason why a GUID can detoriate the performance.
So, I would say, if you use a GUID, be sure that you *never* put a clustered index on that GUID-column.
# February 19, 2006 7:37 AM

Patrick Wellink said:

Well if you have read the ENTIRE postings...
somebody put a script there showing that guids WILL affect the search times as well ( i dont recall exactly but about 35 % faster if you use int), this is completely logical since a guid is 4 times as big as a int.

# February 21, 2006 11:28 PM

Jason Haley said:

# February 22, 2006 5:44 AM

Henk Simmelink said:

Gefeliciteerd! Ik heb 70-315 en 70-316 binnen. Ik moet dus alleen 70-320 nog halen...
# February 24, 2006 2:05 AM

Marcel said:

Steph,

I also thought that ViewState shouldn't be needed but I hadn't thought of the Request object. Some of my DropDown lists have almost 1000 entries in them and this fix has reduced the HTML considerably.

Thanks,
Marcel.
# March 3, 2006 2:13 PM

Erwyn van der Meer said:

I think there will be a version that can be downloaded from MSDN. The Team Editions of Visual Studio 2005 come with a license for a version of Team Foundation Server that can be used by up to five users.
# March 17, 2006 6:22 AM

Erwyn van der Meer said:

Here is a link with more information about the TFS version limited to five users: http://blogs.msdn.com/robcaron/archive/2005/09/01/459290.aspx
# March 17, 2006 6:25 AM

Erwyn van der Meer said:

Sorry about the comment spam, but this blog entry says it all: http://blogs.msdn.com/robcaron/archive/2006/03/16/553121.aspx
# March 17, 2006 6:34 AM

Dennis van der Stelt said:

spam spam spam...

You're right about the 5 users, I totally forgot. That'll be a nice version to install at home. But at work, we'll probably need more. We're working with three feature teams on a product, and our team consists of five developers. So projectleader, testers, etc can't login, and neither the other teams. Bit of a shame! ;)
# March 20, 2006 12:08 AM

Erwyn van der Meer said:

If you have over 5 users, than you need to shell out some money! TFS Standard Edition should cost less than 3000 euros.
# March 20, 2006 1:57 AM

Dennis van der Stelt said:

In two previous posts, I told how great the TransactionScope of the System.Transactions namespace is....
# March 20, 2006 2:31 PM

Dennis van der Stelt said:

In two previous posts, I told how great the TransactionScope of the System.Transactions namespace is....
# March 20, 2006 2:31 PM

Dennis van der Stelt said:

After a month we finally got to hear the results and at what place we finished in the Rad Race Alex Thissen...
# March 29, 2006 10:44 AM

Patrick Wellink said:

Well done dennis,

And btw i guess you would have done better with Mygen.
cause mygeneration generates more than only the datalayer, complete web/windows forms or whatever.

Have a look at entityspaces, also very promising and from the guys whou brought you Mygen, same simplicity (or should i say Productivity)
# March 29, 2006 12:22 PM

Dennis van der Stelt said:

MyGen is not the silver bullit to everything, simply because there is none. I've used it, and still prefer LLBLGen Pro.

We could only generate about 15% of the modules, so no, we would not have done better with Mygen.
# March 30, 2006 11:38 AM

Dennis van der Stelt said:

At my current project we've been working with the Visual Studio 2005 Web Application Project since some...
# April 6, 2006 2:56 AM

Peter's Gekko said:

In a recent post I described how easy it was to turn your website into a spamming tool provided you know...
# April 7, 2006 2:59 AM

Lennard said:

And where is the firewall which block all unwanted connection from the evel internet?

Besides a right configuration (only relay from localhost) also a firewall which prevents connecting to port 25 is needed. A configuration mistake, or a fast-needed-easy-to-relay-for-everybody-because-i-need-to-test mailserver cannot be abused :)
# April 11, 2006 1:55 AM

Aaron said:

Thanks for this solution. Worked like a charm.
# April 11, 2006 11:29 AM

Remco van Dalen said:

Enjoy your pitiful 4th place. We'll give you a shout out next year, when Paul and me are the number 1 team :p
# April 13, 2006 5:42 AM

Dennis van der Stelt said:

I have a sprinkler installation at home, so I don't need a firewall. :)
# April 13, 2006 6:26 AM

Dennis van der Stelt said:

Cool mate! Excellent!

And nCoverExplorer, does it already work with Team Editions of VS2005? Because it's really cool tho have code-coverage available in another app/window when I'm creating my unit tests.
# April 13, 2006 6:28 AM

Peter's Gekko said:

In a recent post I described how easy it was to turn your website into a spamming tool provided you know...
# April 13, 2006 8:06 AM

Patrick Wellink said:

Well it looks really nice but i couldn't find the Weeknumber anywhere on the screen, and i couldn't find it in the settings either....

This is crucial functionality for every calender program....

Maybe they should have rethinked it a little ....

PW ;-)
# April 13, 2006 10:58 PM

Jan Schreuder on .Net said:

I had just read Dennis's post about the switch statement. The code ofcourse is amusing, but&amp;nbsp;I think...
# April 18, 2006 4:13 AM

Jan Schreuder said:

Loving it, using it. I guess the weeknumber will come soon enough :-)
# April 20, 2006 6:38 AM

Chi Wai Man said:

Cool i will give it a try. I just installed tfs rtm just a few weeks ago. To bad they don't support interdev.
# May 6, 2006 1:32 AM

Dennis van der Stelt said:

MSSCCI is some kind of protocol, or whatever it's called. Multiple IDE's use it. Every IDE that uses it, should be able to connect to TFS Source Control now. So who knows Interdev will also support it. Perhaps Microsoft haven't tested it yet, because of lack of support these days, or something.
# May 8, 2006 6:58 AM

Dennis van der Stelt said:

For all bloggers at BloggingAbout.NET, a lot of skins won't function anymore in Community Server 2.0.

To reduce the work for us, and errors for your weblog itself, you could select the default skin before we upgrade. :)

Depending on the work the upgrade will take, we might not reset everyone their chosen skin. Community Server is kind of sucking in persisting your settings, so it's really hard to do this with a single query. And when we don't reset your skin, your personal blog might report an error when visiting it. You can solve this by going to the Control Panel and selecting a new skin, once the upgrade is complete.
# June 12, 2006 2:01 AM

Jan Schreuder said:

Dennis, we all know how busy you are. And we really value this effort to upgrade the weblog engine. But could you give us a date? To prevent us, the simple users, from nagging about the weblog not being available ;-).
# June 12, 2006 4:55 AM

Ramon Smits said:

My oppinion is that it is slow! And the opensource portal is ofcourse sourceforge and not gotdotnet :)
# June 13, 2006 12:43 AM

Dennis van der Stelt said:

I said the website is blazing fast! :)

I tried to connect, but perhaps it takes a while for your username gets into TFS, or you have to be a member of some team to logon or so, because it would not work.

And what is sourceforge? Is that something from World of Warcraft!? ;)
# June 13, 2006 3:12 AM

Community Server Daily News said:

J-O Eriksson writes a thorough description of blogging by email, complete with screenshots. To prove
# June 13, 2006 11:08 AM

Community Server Daily News said:

J-O Eriksson writes a thorough description of blogging by email, complete with screenshots. To prove
# June 13, 2006 11:09 AM

Community Server Daily News said:

J-O Eriksson writes a thorough description of blogging by email, complete with screenshots. To prove
# June 13, 2006 11:17 AM

Community Server Daily News said:

J-O Eriksson writes a thorough description of blogging by email, complete with screenshots. To prove
# June 13, 2006 11:18 AM

Community Server Daily News said:

J-O Eriksson writes a thorough description of blogging by email, complete with screenshots. To prove
# June 13, 2006 11:42 AM

Community Server Daily News said:

J-O Eriksson writes a thorough description of blogging by email, complete with screenshots. To prove
# June 13, 2006 11:44 AM

P.J. van de Sande said:

Keep your fingers crossed!
# June 16, 2006 12:44 AM

Erwyn van der Meer said:

Thanks for the upgrade!

BTW: Is it now possible to remove files from the personal images folder? Previously I could only add files and not remove or update them.

I regularly use the galleries for large screenshots, because of the nice autoresizing feature. I show a smaller version in the blog post and link to the full version in the galleries.
# June 16, 2006 4:08 AM

Dennis van der Stelt said:

It's possible to remove images now, yes.

Your usage of the galleries is excellent! No comments about it there. It's just for the small images like the one used this post. At codebetter.com they're using the gallery for those pics as well, and I think the gallery becomes really ugly there. I like our gallery as it is! :)

Update
Another GREAT feature! You'll get an email now when a comment is posted! And as owner of the weblog you're able to edit them! Yay! ;)

# June 16, 2006 4:12 AM

Erwyn van der Meer said:

It's great that the e-mail notifications are working! That was definitely one of the things I missed most in the previous version.

I am having some issues with my UserFiles directory though. The URL has changed from http://bloggingabout.net/UserFiles/Erwyn to http://bloggingabout.net/UserFiles/Erwyn%20%van%20der%20Meer. Is that change permanent or a temporary issue?
# June 16, 2006 4:17 AM

Dennis van der Stelt said:

Permanenet, sorry. I've talked about the issue with some people, and it's not (somewhat easily) possible to retrieve the name of the weblog directory, as was in 1.1.

Your userfiles folder had the same name as the folder your weblog was in. I've had to change every post in the database. Had to create some application that loaded the entire weblog posts table and change every reference in there. I hope everything worked. Just the personal settings, site news, etc. I haven't changed.

In short : Yes, it's permanent
# June 16, 2006 4:22 AM

Erwyn van der Meer said:

Okay, thanks for the explanation. I've changed my personal settings and that clears up the issues I was having with the UserFiles change. Great that you already updated all blog posts!
# June 16, 2006 4:32 AM

Jan Schreuder said:

Great job Dennis. So far no problems. Didn't check my files and images yet, but I guess they'll all be fine ;-)
# June 16, 2006 4:43 AM

Erwyn van der Meer said:

Dennis has just upgraded
BloggingAbout.NET to use the Community Server 2.0 platform.
This post is...
# June 16, 2006 4:44 AM

P.J. van de Sande said:

Dennis, i disslike the copy ctor because a couple of reasons.
First of all, when you add an new member to the class you should also add this to your copy ctor. This is something that you can forget when you have some release stress.
When you classes are marked as serializable, you can serialize and deserialize them to create a copy. Advantage of this is that is is easy to implement and generic. A disadvantage is that everything must be serializable.
Second, why don't you use the MemberwiseClone method? Then a subclass should implement the ICloneable interface if a shallow copy is not appropriate.
# June 16, 2006 5:57 AM

Jason Haley said:

# June 16, 2006 7:42 AM

Community Server Daily News said:

J-O Eriksson elaborates further on a topic discussed here a few days ago, duplicating content on your
# June 16, 2006 12:22 PM

Alex Thissen said:

The copy constructor is less known in .NET, because the Framework has the Object.MemberwiseClone (for shallow copies) and the ICloneable interface for your own cloning operation (a deep copy if you feel like it). The latter is preferred if you do not wish to expose a public constructor.
# June 16, 2006 1:02 PM

Chi Wai Man said:

Wow cool! Thanx for all the hard work Dennis. I still have a request. It would be nice if we can upload our pictures by using the meta api interface. Would that be possible for in the future?
# June 16, 2006 2:55 PM

Dennis van der Stelt said:

As far as I know the meta api doesn't support that. If so; no, it's not possible. We can only hope Telligent Software will create it's own api/webservices that support uploading images. And then we need a client that supports this functionality.

There are other options however which I need to investigatge. If I find something interesting, I'll let you know.
# June 16, 2006 2:59 PM

Jan Schreuder said:

It's been out there for a couple of days, and I found no problems. In fact, it's even better than before, because I can finally write posts at the client I now work for.

One "complaint" though. I don't like the current aggregate page at http://bloggingabout.net. There's only room for the first 6 entries. The old version allowed for a lot more. Can that be changed?
# June 18, 2006 11:48 PM

Joris Arts said:

All I can say is thanks Dennis, but I just returned the favor :-)
# June 19, 2006 4:34 AM

Dennis van der Stelt said:

Hehehehe, you think I'll get financial compensation for your favor from my employer?! :)
# June 19, 2006 4:38 AM

Paul Gielens said:

I'm not in favor for using a constructor to deep copy an instance. One of the principles for good object modeling is the Minimum Parameter Rule, only properties and collaborations necessary for an object to exist should be passed into the object's construction method.

Another thing is... the whole reason for using a copy constructor is the level of control you get by sitting on top of the implementation details of the Customer class and the fact that you do not want to use the derived property (FirstName). The developer implementing the copy constructor has to know both the implementation details of the object's storage and derived properties, which is acceptable in the context of the deep clone task. A bigger problem is that every other task resulting in changes in the customer class (forces working on the derived properties) has to know about the deep clone responsibility too.

So, should the customer class be responsible for the deep clone?
# June 26, 2006 2:10 AM

Dennis van der Stelt said:

Perhaps I should've mentioned MemberwiseClone. I don't feel happy with the ICloneable interface, but that's probably my problem. I know of no advantage of using that interface. And for some reason, I like the copy constructor over the Clone method.

PJ is right about the serializable part, but for me still no reason to throw away the copy constructor. Deep copies aren't possible.

Paul and PJ both raise the concern about keeping up with the copying and adding new members/properties/whatever. Some words about it.

1. When you agree on copy constructors, you just have to make sure it's always up to date. Some goes for some Clone() method. Exact same behavior. With good code reviews, you can pay attention to this.
2. Another rule is the single-responsibility principle. Although this probably isn't truly part of that principle, I do believe it's the responsibility of the class itself to be able top create either a shallow or deep copy of itself.
3. And when the Customer class changes, I don't like some helper class to be changed as well. It's much harder to keep track of changes in two classes, than in one class.

But of course I'm not all knowing :)
# June 27, 2006 12:30 PM

P.J. van de Sande said:

Dennis, I totally agree with number three. The last thing that I want is to update my helper class when my Customer class changes.

So I totally disagree with Paul Gielens, making a class smarter will raise the IQ of the total family and makes it much easier to maintain.

And for the ICloneable interface, this will be used by the MemberwiseClone method if implemented! So that is a great advantage of it.
# June 29, 2006 5:35 AM

Paul Gielens said:

"making a class smarter will raise the IQ of the total family and makes it much easier to maintain."

It depends ;) I’ve seen lots of smart unmentionable classes in my short career :D

I'm not saying it shouldn't be responsible... just questioning. I'm leaning towards "for the copy task responsibility" since the Customer class is the place where all the gory details live. But still I dislike the fact that if I change the internal storage I have to worry about the deep copy behavior, from a developers perspective.
# June 30, 2006 7:52 AM

Jan Schreuder said:

Dennis, I can't see the image upload buttons you show in your post when I try to edit a new post. In fact, I don't see any of the icons in the toolbar in the lower left hand corner.

Any clues?
# July 5, 2006 12:38 AM

Dennis van der Stelt said:

Jan, click on your name (top right) and go to "Site Options" tab. Choose HTML Rich Text Editor (for editors) and you'll have your icons :)
# July 7, 2006 6:58 AM

Dennis van der Stelt said:

"still I dislike the fact that if I change the internal storage I have to worry about the deep copy behavior, from a developers perspective"

Depends. If you want (perhaps need) deep-copy behavior I'd really want it in the specific class. Because if I need to change internals, I'll check the class itself for 80% or 90% for sure. It's much harder to say other classes that might do the deep-copy (is this at all possible?) will be checked and adjusted.
# July 7, 2006 7:03 AM

P.J. van de Sande said:

Another advantage of putting the deep-copy behavior in the class, is that you can read the private member values without using reflection and i geus it is the first place where i and others will look for the logic.
# July 11, 2006 3:44 AM

Dennis van der Stelt said:

Community Server just keeps getting better and better, providing more features then I could even imagine

# August 14, 2006 5:56 AM

Jan Schreuder said:

1 - Too bad the front page is gone. It was a great way to see what was new, although some users wanted more info than the 5 or six that were shown.

2 - How did you manage to get this skin wider?

# August 14, 2006 6:01 AM

Dennis van der Stelt said:

It never crossed my mind to show more then five new posts, as you can still see new posts at http://bloggingabout.net/blogs/

On making this skin wider, I'm writing a post on it now! :))

# August 14, 2006 6:18 AM

P.J. van de Sande said:

The new skin looks great! But the front-page is empty enough to place the most recent post on it. Below the text.
# August 14, 2006 7:52 AM

Erwyn van der Meer said:

Thanks for the upgrade Dennis. It is a nice improvement over CS 2.0.

I have had a lot of comment spam in the past and I have deleted quite a lot of comments. I am not sure if you saw those in the reports as they are gone already. Turning on comment moderation for anonymous comments and turning off commenting on the most heavily targeted posts has reduced the flood quite a bit.

Please keep the latest blog posts on the home page. I know some people (including myself when I don't use an RSS reader ;) that just type bloggingabout.net in the address bar to see the latest posts.

# August 14, 2006 10:29 AM

Paul Gielens said:

It's just too bad that your blog doesn't fit on 1024x768 anymore ;) "Paperclip Cactus" is pretty easy to customize, feel free to rip any custom css from my blog.
# August 14, 2006 1:53 PM

Dennis van der Stelt said:

It's hard to figure out how wide something really is, when you're on a widescreen monitor with 1680x1050! ;) It can go higher, but than everything becomes too small for me I guess.

Anyway, you're not actually on 1024 anymore now, are you? :)

# August 15, 2006 1:22 AM

Jan Schreuder said:

Thanks for the info Dennis. I changed the skin for my blog this morning, and I'm pretty happy with the result. And I made sure to set my width to 1024 ;-)

# August 15, 2006 5:39 AM

Ramon Smits said:

This makes use of the construction that each statement has a return value.

int a,b,c;

a=b=c=6;

Now all three value types will be 6 :)

Just excellent c behaviour that we have inherited.

# August 15, 2006 8:23 AM

Ramon Smits said:

Or like copying stream data into another.

static void Copy(Stream source, Stream destination)

{

■■■const long Size = 1024;

■■■byte[] buffer = new byte[Size];

■■■long readBytes;

■■■while(0<(readBytes=source.Read(buffer,0,readBytes))

■■■{

■■■■■■destination.Write(buffer,0,readBytes);

■■■}

}

ps. This code could contain errors as I just typed it in by hand.

# August 15, 2006 8:29 AM

Paul Gielens said:

With a background in C++ ?? makes perfect sense.
# August 15, 2006 11:09 AM

Paul Gielens said:

Actually I changed the resolution on my Dell 2007FPW (1680x1050 native) for non-functional testing of your weblog :D
# August 15, 2006 11:27 AM

Jason Haley said:

# August 15, 2006 7:02 PM

Dennis van der Stelt said:

Hahahahahaha! :)

# August 15, 2006 11:21 PM

Remco van Dalen said:

eeeeeeeeeeeeeeeeuuch !!! What total retard came up with the idea that it was necessary to shorten 6 characters (==null) to 2 characters(??). And what's even worse, it looks like the statement doesn't go between the normal {} but between (). I'm boycotting this thing for life.
# August 17, 2006 12:35 AM

Dennis van der Stelt said:

Remco, thank you for your objective comment! :D

I'll go contact Blizzard if they can add this most beautifull ?? operator into the World of Warcraft scripting language! That'll be the way to get you over the edge! :D

# August 17, 2006 1:01 AM

Ramon Smits said:

Aaaaaah.. the good old days of the demoscene :) Funny that most demos that are transcoded to VLB's are only a few megabytes in their original form. Paper was a 64k demo if I remember correctly.
# August 17, 2006 4:05 AM

Matthijs Hoekstra said:

Awesome, thanks for the heads up, That paper demo is very cool. I quit that scene around the time pc came up and everything got filled 3d, to much mathematics :) Good memories on the demo parties, coding till late night on the good old amiga 500
# August 17, 2006 6:58 AM

Bryant Likes's Blog said:

I decided that I would like to change the top graphic on the paperclip theme which I'm using as a skin
# August 17, 2006 3:54 PM

Ramon said:

Although I like this kiss solution to always have your build quality perfect I don't really see this working when your having more then 5 full-time developers working on your trunk :( Our current project has 15 developers this would create really big locks on the repository thus this creates wait time and you don't want to let developers wait! My personal experience is that you have defined good development cycles to take place before checking. But this can only work good if you can run a full test for your part if it can be run in approximately 5 minutes max! Any longer and it get's difficult to check in as often as possible with complete changes where those workitems are as small as can be possible. My personal experience with large development teams is that you really need development branches to keep the train rolling at high speeds like the french TGV's :)
# August 18, 2006 3:40 AM

Paul Gielens said:

Impressive!
# August 18, 2006 11:51 AM

Dennis van der Stelt said:

We're getting some serious comment spam at the moment. Just today I've already received a couple of hundred

# August 22, 2006 8:26 AM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server Hooray for Jose! Hooray for Jose!

# August 22, 2006 12:50 PM

{ public virtual blog; } said:

I last posted about the null coalescing operator in .NET 2.0 and just had to post a follow up. I came accross a post on Born 2 Code .NET (via Dennis van der Stelt) where several examples of ?? syntactic sugar are listed to demonstrate how the null coalescing

# August 22, 2006 2:21 PM

{ public virtual blog; } said:

I last posted about the null coalescing operator in .NET 2.0 and just had to post a follow up. I came accross a post on Born 2 Code .NET (via Dennis van der Stelt) where several examples of ?? syntactic sugar are listed to demonstrate how the null coalescing

# August 22, 2006 2:53 PM

Jan Schreuder said:

Thanks Dennis!!!

# August 22, 2006 11:59 PM

TrackBack said:

# August 23, 2006 6:03 AM

TrackBack said:

# August 23, 2006 6:05 AM

Lennard Bakker said:

Tijd om askimet te implementeren.. .NET 2.0 api: http://www.joel.net/code/akismet.aspx En de implementatie voor wordpress http://akismet.com/
# August 28, 2006 1:09 AM

Dennis van der Stelt said:

There's already an implementation for Community Server which I'll probably install...

The question I keep having is, does Jan have problems with being mailed about spam messages, or do spam comments keep sliding through the blocker into his normal comments?!

For the first problem, there's the solution to setup that you don't want to be emailed. I haven't tested it, but you'll probably won't get any emails at all anymore. Also not about the normal posts you have to moderate.

The second problem requires setting up the spam blocker more effeciently. For example try out the Akismet blocker.

# August 28, 2006 1:15 AM

Jan Schreuder said:

It's mostly the mail. And I tried setting the custom level for spam to lower values, but then I get mailed about almost each comment a bonafide commentor wants to add to a blogpost. And it's difficult to distinguish between the two just by looking at the mail. And please don't get me wrong. I'm very happy with the effort Dennis is doing with keeping us bloggers at BloggingAbout.Net happy. Keep it up Dennis!!! It's those pesky spammers I hate! May their motherboards melt and their broadband connections shut down permanently.
# August 28, 2006 2:34 AM

Chris said:

Object reference not set to an instance of an object. :D
# August 28, 2006 6:00 AM

Dennis van der Stelt said:

In the not so distant past I was bold enough to call Jan and Patrick whiners. But currently I have to

# August 28, 2006 7:24 AM

Remco van Dalen said:

If I'm not mistaken that TriState enumeration is used for tristate checkboxes. You know the ones I mean, they can be not checked, checked, or grey (usually because only some of the underlying children are checked)
# August 28, 2006 9:45 AM

Dennis van der Stelt said:

Good call, but why is it in Microsoft.VisualBasic namespace?! And why do they use it for something that has nothing to do with a checkbox?

And main problem was the magical Active, matching that against an enumeration. Why not use an enumeration from that start? Or explain what's done here?! :)

# August 28, 2006 12:09 PM

Mischa Kroon said:

I guess you missed a new somewhere :P
# August 28, 2006 1:26 PM

Dennis van der Stelt said:

"I guess you missed a new somewhere"

Hahahahaha

# August 28, 2006 1:47 PM

Ramon Smits said:

Das idd rete irritante die meldingen van een Nederlandse framework installatie :S
# August 28, 2006 2:16 PM

Jason Haley said:

# August 28, 2006 7:26 PM

Jason Haley said:

# August 28, 2006 7:36 PM

Jan Schreuder said:

<p>I've been doing VB.Net over the last couple of months, and I stopped wondering why things were in the Microsoft.VisualBasic namespace.</p>

<p>But this is just abuse of an enumeration which was meant for something completely different. I know I whine at times, but this should have been detected before the product was released.</p>

# August 28, 2006 10:55 PM

Patrick Bes said:

Hehehe... I understand what your going through :P
# August 28, 2006 11:22 PM

Ramon Smits said:

uuuuhm.. I won't respond to the second paragraph of this message ;)

# August 29, 2006 10:31 AM

J-O Eriksson said:

Dennis, I've answered your comment on my blog regarding being spammed by e-mail.
# August 31, 2006 3:59 AM

Dennis van der Stelt said:

At this community with some beautiful members who like to blog here, we had a serious problem. Spam comments.

# August 31, 2006 4:43 AM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server Announcing http://clicked.msnbc.msn.com/

# August 31, 2006 12:40 PM

Thomas Freudenberg said:

The URL for My Email Settings (step 4) is wrong. It's http://example.com/ControlPanel/Blogs/GeneralOptions.aspx, not http://example.com/ControlPanel/Blogs/PostOptions.aspx
# August 31, 2006 3:51 PM

Dennis van der Stelt said:

You're right, copy-n-pasted it wrong :)

Thanks

# August 31, 2006 11:03 PM

Community Server Daily News said:

from the editor occasional messages that don't fit anywhere else We'll be adding a weekly recap of the

# September 1, 2006 12:21 PM

Announcements said:

Welcome to our first installment in bringing you the week's top news stories from the Community Server

# September 2, 2006 8:56 AM

Erwyn van der Meer said:

Hi Dennis.

Are we already running the latest Telligent.SpamRules update? http://communityserver.org/files/folders/spam_rules/entry546534.aspx

# September 3, 2006 11:14 AM

Dennis van der Stelt said:

Not yet... I'm running an ASP.NET 2.0 version locally now, with those installed. I am planning to upgrade asap. (We're currently running on ASP.NET 1.1).

But as that'll take a few hours, I'll have to see when it's a good time to upgrade. And perhaps do something about that frontpage :)

# September 3, 2006 11:27 PM

Dennis' Blog said:

EINDELIJK weer nieuws over Team Fortress 2. Het heeft 9 jaar geduurd sinds de eerste meldingen over TF2

# September 4, 2006 6:41 AM

Ramon Smits said:

Looks promising. But I already mailed you about the portal engine some weeks ago in my funlist :).
# September 4, 2006 7:22 AM

Dennis van der Stelt said:

Nowhere did I say I didn't see the portal already, I just said it's cool that TF2 comes with HL:EP2 with the portal technology :)

Two for the price of One.

# September 4, 2006 7:30 AM

Paul Gielens said:

There's a get together on the horizon :D
# September 4, 2006 2:05 PM

Dennis van der Stelt said:

Hahaha, I'll hold you to that and tell Alex you said that! ;)

Perhaps we should arrange something at Class-A or something. Lots of room there! :)

# September 4, 2006 2:10 PM

Dries said:

It's so easy in order to look good, be hilarious about things and/or be cynical.
# September 5, 2006 5:23 AM

Dennis van der Stelt said:

WHAT?!

# September 5, 2006 5:39 AM

Erwyn van der Meer said:

Sunday, I am going on a one-week trip to the South of France, near Carcassone . The trip is organized
# September 8, 2006 2:21 AM

Dennis' Blog said:

Although I've written articles for magazines before, it had never crossed my mind to create an article

# September 14, 2006 3:12 AM

Harish Ranganathan said:

Check out if you are using Template Fields in your GridView. In that case, you cannot use e.NewValues. You need to do a findcontrol of the TextBox or Label in the TemplateField and typecast it into a dynamic Textbox or label and get the value from it. The e.NewValues works only with Bound Columns. Thanks.
# September 15, 2006 4:34 AM

RJ said:

A key wasnt a problem; Beta 2 keys work fine in RC1 (i've got RC1 running fine with such a key for about 2 weeks now) I guess getting the software was/is a problem.. Only registered beta testers and MS connect members can/could download RC1.
# September 19, 2006 5:50 AM

Dennis van der Stelt said:

When registered, I got a key and download link, so this is it! You're chance! Download it now! :D

# September 19, 2006 6:38 AM

Erwyn van der Meer said:

I am back already ;) Let me recap the Vista story to clear up any confusion. The number of downloads of the pre-RC1 (build 5536) image was limited to 100,000 by Microsoft. The RC1 (build 5600) image was released shortly afterwards. At first it could only be downloaded by TAP and Beta Program participants. However other people (I won't name names ;) found alternative means of getting the image. After a week anybody could download the ISO, but you needed to have a product key to activate Vista. The Beta 2 keys work for both the pre-RC1 and the RC1 build. So I you already had a key through the Beta Experience or an MSDN Subscription and you had the ISO, you were good to go. The new thing now is that anybody can request a product key for RC1. And indeed as Dennis said, make sure you get one early. On previous occassions Microsoft closed the preview program after millions of people had registered and you had to pay to get access after that.
# September 19, 2006 10:40 AM

Dennis' Blog said:

I've blogged about the .NET 2.0 System.Transactions namespace before (toc at the bottom of this post),

# September 27, 2006 7:39 AM

Dennis' Blog said:

I've blogged about the .NET 2.0 System.Transactions namespace before (toc at the bottom of this post),

# September 27, 2006 7:39 AM

Dennis' Blog said:

I've blogged about the .NET 2.0 System.Transactions namespace before (toc at the bottom of this post),
# September 27, 2006 7:39 AM

Dennis' Blog said:

I've blogged about the .NET 2.0 System.Transactions namespace before (toc at the bottom of this post),

# September 27, 2006 10:05 AM

Alex de Groot said:

I definitelly hope Microsoft wakes up and releases a 2005 Project Model which supports 1.1. Most of the users have now both versions installed which is quite annoying and it doesn't provide more functionaly. Licenses aren't the problem as nearly everybody receives the software from their MSDN subscription. Guess we have to e-mail Scott Guthrie :).
# September 28, 2006 2:43 AM

Jan Schreuder said:

@Alex. Have a look at MSBee (http://msdn.microsoft.com/vstudio/downloads/tools/msbee/default.aspx). It allows you to develop for the .Net 1.1 framework using VS 2005.

But I simply cannot understand why VS 2003 is not supported on Vista and VB6 is?!?!?! I hope it means that they haven't tested it yet, so they don't know if it works. Rediculous!!!

# September 28, 2006 3:01 AM

Ramon Smits said:

Not supported is not the same as in that it won't run :) I've not yet read articles about that it didn't install on vista at all. But msbee is quite nice. VS2005 is also a much nicer ide then VS2003. Just combine it with msbee and tdd.net and your done.
# September 28, 2006 3:43 AM

Alex de Groot said:

MSBee isn't a solution. It's just an ugly workaround which allows you to speak with the old MSBuild. I think it's a disguisting solution. Also there are several problems with IntelliSense. And I want MS support, not some community stuff for my primary buildproces. As I can't fallback to patches, garantees, support, etc.
# September 28, 2006 3:46 AM

Dennis van der Stelt said:

Ramon, here's the story from Scott Guthrie. I'll include it in the article as well.

The big technical challenge is with enabling scenarios like advanced debugging. Debuggers are incredibly invasive in a process, and so changes in how an OS handles memory layout can have big impacts on it. Vista did a lot of work in this release to tighten security and lock down process/memory usage - which is what is affecting both the VS debugger, as well as every other debugger out there. Since the VS debugger is particularly rich (multi-language, managed/native interop, COM + Jscript integration, etc) - it will need additional work to fully support all scenarios on Vista. That is also the reason we are releasing a special servicing release after VS 2005 SP1 specific to Vista - to make sure everything (and especially debugging and profiling) work in all scenarios. It is actually several man-months of work (we've had a team working on this for quite awhile). Note that the .NET 1.1 (and ASP.NET 1.1) is fully supported at runtime on Vista. VS 2003 will mostly work on Vista. What we are saying, though, is that there will be some scenarios where VS 2003 doesn't work (or work well) on Vista - hence the reason it isn't a supported scenario. Instead, we recommend using a VPC/VM image for VS 2003 development to ensure 100% compat. Hope this helps - even if the answer isn't entirely what we'd all like it to be, Scott

# September 28, 2006 5:10 AM

Robert McLaws said:

NP. I'm working on modding the image drop folder for the next release... which should happen before the end of next week. RE: the other add-ons... the reason everything is in a single assembly is because of the cost associated with the runtime loading so many assemblies. The cost of a few K in the DLL is far better than the load time if you were running all of my add-ons. Just an FYI.
# October 1, 2006 12:36 AM

Jan Schreuder said:

Ever since the first release of WLW I have been writing my posts with WLW. Uploading images had to be done seperately, which was annoying. But finally it works from inside WLW. Fabulous news!

# October 1, 2006 11:35 PM

Zupancic Perspective said:

# October 3, 2006 9:54 AM

Chi Wai said:

Whatttt uploading images within the writer? This is stunning news man! I've been waiting for this so long!
# October 5, 2006 3:28 PM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server J-O Eriksson adds to the Stockholm

# October 6, 2006 1:16 PM

ASB said:

Good wishes, I really like 2 and 3.
# October 6, 2006 2:26 PM

Nathan Pledger said:

Better markeup.

And a decent text editor that produces better markup.

I found the admin controls to be clunky too. Much prefer Telerik's controls.

Also, I find it very difficult to find my own blog!

Oh, and the search is near useless. I searched for "Mindstorms" on here, knowing someone blogged about Lego Mindstorms a while back and it came back with nothing.

# October 10, 2006 6:10 AM

Jan Schreuder said:

Better hope he likes Brown beans ;-)

Congratulations Dennis!!!!

# October 13, 2006 5:20 AM

Marco said:

Damn, he looks like you Dennis!! Grats! Also from the rest of the guys at Communited!
# October 13, 2006 5:22 AM

Frans Bouma said:

Congratulations!!! :)
# October 13, 2006 5:53 AM

Erwyn van der Meer said:

Congratulations! You have already given him a five star rating, so there is no need for me to do the same ;) I wish you and your family all the best.

# October 13, 2006 5:55 AM

Ramon Smits said:

Hey kerel. Gefeliciteerd! Wist niet dat er een derde opkomst was :)

# October 13, 2006 5:55 AM

Philip Stevens said:

Congratulations Dennis, enjoy some vacation now :)
# October 13, 2006 7:29 AM

Dennis van der Stelt said:

@Jan : Brown beans?!?!?!

@Marco : Are you kidding me or are you for real? Because he does, but then they all do :) All three have my brown eyes from the birth, while that's nearly impossible as all kids start with blue when born. :)

@Erwyn : I wouldn't dare. Honestly :) As I said in my CS 3.0 wishes, I'd wish you could track people that have rated the post or something. Or be obliged to enter a comment when you're rating or so.

@Philip : Those first three months or so are (as far as I concern) the hardest of their entire lifes. Up all night and that kind of stuff. We'll see how this one behaves ;)

# October 13, 2006 2:06 PM

Paul Gielens said:

Congratulations!
# October 14, 2006 7:56 AM

Jan Tielens said:

Congrats for you and your family!
# October 14, 2006 3:30 PM

Mischa Kroon said:

Congrats :)

# October 15, 2006 9:32 AM

Rutger de Vries said:

Van harte jongen; eigenlijk wist ik wel dat het een jongen zou worden, je stond zo te glunderen woensdag 8)

# October 15, 2006 11:56 PM

Jean-Paul said:

Gefeliciteerd!
# October 16, 2006 1:37 AM

Dennis' Blog said:

I want to begin with a conceptual explanation about services. A service always has at least one endpoint,

# October 18, 2006 7:20 AM

The Mit's Blog said:

Et oui, si vous jeter un oeil sur mon blog, vous remarquerez que l'entete diverge un peu du theme montagne

# October 19, 2006 12:15 AM

Marc van de Wert said:

Hartelijk Gefeliciteerd!
# October 19, 2006 2:06 AM

Mike Glaser said:

I think you're configuartions is messed up again. Cause I can select multiple feeds and select the Mark as Read and it works.

Try to open one readed RSS Article and select the Mark as Unread in the RSS Article. Close it and now the options you mentioned above must work. Very strange workaround.

# October 19, 2006 4:09 AM

Michael Gerasimov said:

Dear Dan, Thank you for the note. I've corrected the link on JetBrains and you can download the update from there. Sorry for these troubles. Michael Gerasimov, JetBrains, Inc.
# October 19, 2006 6:03 AM

Marc Brooks said:

You CAN import a feed list into IE7, but it's buried pretty deeply. First, turn on your menu-bar using the "Tools/Menu Bar". Then select "File/Import and Export...", which starts the wizard... now click "Next", select "Import Feeds", click "Next" and then browse to your OPML file. When you click "Next" again, it'll ask you where to root the imported list (so you can import someone else's OPML under its own folder. Hope this helps... though honestly I use RSSBandit.
# October 19, 2006 10:12 AM

jayson knight said:

I was thinking the same thing about an hour ago...I too am a loyal omea user but was thinking of switching to Outlook 2007 for RSS stuff. There is one glaring problem: Outlook doesn't implement either CommentRSS or CommentAPI, 2 glaring omissions. Perhaps they'll get it in for the RTM, but if not there is no way I'll switch.
# October 20, 2006 10:48 PM

Chi Wai Man said:

Ha leuk man! Van harte gefeliciteerd!

# October 24, 2006 12:26 AM

Dennis' Blog said:

As seen in the previous article, we need an address, binding and contract to complete the WCF ABC. We'll

# October 31, 2006 1:00 AM

Dennis' Blog said:

In the past, I used Colin Coller 's CopySourceAsHtml in Visual Studio.NET 2003. Once Visual Studio 2005

# October 31, 2006 3:11 AM

Jan Schreuder said:

Yep, I tried this new one as well. Works like a charm!!!

# October 31, 2006 4:03 AM

Dennis van der Stelt said:

You're not blind, it was a really simple solution completely fixed for my project. So not worth sharing.

# November 2, 2006 11:13 PM

pabes said:

Nice.. especially the prison "de Schie" in the lower left corner. I hope you never have to "work" there.. :)
# November 3, 2006 12:55 AM

Dennis van der Stelt said:

Very sharp Bes, very sharp! I'm crossing my fingers for not going to "de Schie"!

# November 3, 2006 2:21 AM

Margriet said:

Geweldig mooi kindje. Wat zul je trots zijn! En dan straks.... Baaaaaaaaaaahaaart!!!! Ruim je speelgoed toch eens op!
# November 4, 2006 2:19 AM

Marko said:

The idea sounds great! Is it possible to share your xlUnit with the rest of us?
# November 4, 2006 7:29 AM

Moreno Borsalino said:

I have also converted FotoVision in C# by hand. You can download for free the source code and look a web site dample here: http://www.mybackgrounds.tk
# November 5, 2006 10:10 AM

Erwyn van der Meer said:

Very nice Dennis. I blogged a sample of my Amsterdam skyline pictures at http://bloggingabout.net/blogs/erwyn/archive/2006/11/05/View-over-Amsterdam.aspx (not syndicated on the main feed ;)
# November 5, 2006 12:56 PM

Dennis van der Stelt said:

Hmmm, seems I've deleted a comment by accident, the one before the "You're not blind" one.

Anyway, it wasn't a framework, just some methods. A main method (behind the start button in the screenshot) just executed all other methods. There was (for example) an Assert.Equals method that compared two parameters to see if the result was expected, including a parameter to let the assert method know what row it should show a red or green light. All functions in the screenshot were on a fixed location, so that was the row I had to give the Assert.Equals function.

Just plain and simple. Like KIS (Keep It Simple). :) But I had fun doing it.

# November 5, 2006 11:17 PM

Dennis van der Stelt said:

lol @ erwyn! :) I thought I had excluded it from main feed, but seems I forgot one checkbox or so...

# November 5, 2006 11:18 PM

Mike's Blog said:

Introduction CopySourceAsHTML will give you an error while using it in a Microsoft Virtual PC (I'm probably

# November 6, 2006 12:16 PM

Mike's Blog said:

Not so long ago, my colleague blogged about an error on the MSDN site. He blogged about their password

# November 6, 2006 10:55 PM

fedrok said:

Dennis! You're mithycal! For 2 days I've broken my head against wall... Thx!
# November 9, 2006 6:43 AM

Dennis van der Stelt said:

Hehehehe, you're welcome :)

# November 9, 2006 6:53 AM

Dennis' Blog said:

Finally .NET Framework 3.0 RTM'd , so I don't have to run in my VMWare anymore. A good time to see if

# November 9, 2006 1:39 PM

Dennis' Blog said:

Finally .NET Framework 3.0 RTM'd , so I don't have to run in my VMWare anymore. A good time to see if

# November 9, 2006 1:39 PM

Dennis' Blog said:

Last time we saw how we could create an instance of our service by hosting it using some configuration

# November 9, 2006 1:39 PM

Dennis' Blog said:

Last time we saw how we could create an instance of our service by hosting it using some configuration

# November 9, 2006 1:39 PM

Community Blogs said:

Dennis van der Stelt posted some fine articles about Microsoft's new way of doing communication between

# November 10, 2006 2:48 AM

Community Blogs said:

Dennis van der Stelt posted some fine articles about Microsoft's new way of doing communication between

# November 10, 2006 2:48 AM

Community Blogs said:

Dennis van der Stelt posted some fine articles about Microsoft's new way of doing communication between

# November 10, 2006 2:48 AM

Community Blogs said:

Dennis van der Stelt posted some fine articles about Microsoft's new way of doing communication between

# November 10, 2006 2:49 AM

Community Blogs said:

Dennis van der Stelt posted some fine articles about Microsoft's new way of doing communication between

# November 10, 2006 2:49 AM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server Ken Robertson reports that the San

# November 10, 2006 2:02 PM

Jan Schreuder said:

You may be pleased to know that Microsoft will release a service factory for WCF services next month!!!

# November 13, 2006 1:56 AM

Dennis van der Stelt said:

I'm not sure I care... From what I've seen so far, the service factory isn't my kind of thing.

You made a post that at TechEd they had a service up and running in 10 minutes. I can do this by hand in under 30 seconds!

# November 13, 2006 2:06 AM

sinm said:

thanx. for my request your page was first in list in google
# November 13, 2006 12:56 PM

Waseem Sadiq said:

Dennis,

There might be an easier way for doing this (works with peerChannel, not sure about regular callbacks), check it out:

http://blogs.msdn.com/kevin_ransom/archive/2006/06/10/Automatic-port-number-generation.aspx

# November 14, 2006 6:55 AM

Jan Schreuder said:

I saw the duplex option at Tech-Ed. I was really impressed with that option.

# November 14, 2006 7:02 AM

Dennis van der Stelt said:

Waseem, I tried the port 0 in code, as I read somewhere else (not a WCF reference) that it would use any available port. But it returned an error.

Will try it again using config though, perhaps it'll work than.

# November 14, 2006 12:28 PM

Jean-Paul Smit said:

Interesting contest.

About the refactorings Billy mentions, I found the following useful URL:

http://www.refactoring.com/catalog/

# November 15, 2006 6:17 AM

Mike's Blog said:

Since my colleagues Dennis and Alex are writing articles by the minute, it was time for me to do the

# November 15, 2006 9:39 AM

Jan Schreuder said:

And then you manually change NewWriteDocumentElements to a more useful name? Or am I missing the point here :-)

# November 16, 2006 5:59 AM

Dennis van der Stelt said:

Hahahaha, indeed it is! :)

The green bars are there so you'll immediatly notice where the name is referenced. The shift-alt-f12 from your last article ;)

When you change one green element, all elements change with it. And it doesn't matter which element you change. Also they keep active and linked, until you press [Enter]. Pressing [ctrl]+[enter] will disconnect only one link.

A bit better than the Visual Studio 2005 refactoring options, but I don't want to start another bitslapping ;)

# November 16, 2006 6:03 AM

Dennis van der Stelt said:

One thing worth mentioning is the fact that Refactor! Pro is a DevExpress tool.

# November 16, 2006 6:07 AM

Dennis' Blog said:

Last time we generated the client and configuration file. Whereas in the asmx world we had a proxy class,

# November 16, 2006 2:11 PM

Dennis' Blog said:

Last time we generated the client and configuration file. Whereas in the asmx world we had a proxy class,

# November 16, 2006 2:11 PM

Dennis van der Stelt said:

Be sure to have the WCF/WF extensions installed! You don't need the >1GB SDK installed.

# November 17, 2006 2:00 AM

Frans Bouma said:

aha! YOU are the reason my dl stalls around 30KB / sec !! ;) Btw, the pages to obtain the key are dead, so happy installing without a key! ;)
# November 17, 2006 2:52 AM

Dennis van der Stelt said:

Hehehehe.. I know, it sucks. I know someone who HAS a key already, he was real early. So the system was up! >-(

# November 17, 2006 3:08 AM

RJ said:

Ever heard of a phone? :)
# November 17, 2006 3:18 AM

RJ said:

This afernoon I installed the SQL Server 2005 client tools without a problem. It upgraded the tools from the SQL 2005 Express edition to the normal SQL Server 2005 edition. You don't have some UAC /access-rights problem?
# November 20, 2006 6:39 AM

Dennis van der Stelt said:

@RJ : Not that I'm aware of. I ran the setup with my user in the admin group, I ran it with that user using "Run as administrator" ánd I enabled the administrator account and installed it with that user. Nothing worked.

# November 20, 2006 11:17 PM

RJ said:

Have you tried it again with the UAC turned off? Windows button + R, "msconfig", click continue, click on last tab, scroll down, select 'disable UAC', click Launch, restart Yesterday I couldn't add a printer while having my UAC turned on... after I disabled the UAC, adding the printer worked fine...
# November 21, 2006 2:03 AM

Dennis van der Stelt said:

No I haven't, thanks for the tip.

It's definitly a personal problem, I figured so far. No one else is having problems like mine.

I installed the latest (SP2 enabled) SQL Express btw, which installed fine. I have the Express Management Studio running now, so I can still access data.

# November 21, 2006 2:06 AM

Frans Bouma said:

You really like this cpu intensive crappy sidebar in vista over Konfabulator? I fail to see what the vista sidebar has to offer over Konfabulator. Really bad that a core OS part BSOD's.
# November 22, 2006 12:56 AM

Nick Sevens said:

I installed Vista myself two days ago.

And, as I had with the RC1 and RC2, my video card (x800xt pe) isn't recognized ... meaning I dont have the Aero theme running atm :( that sux

I had it in Beta 2 (i think :s), and I really liked that thing tbh :)

Hope it's fixed in the final release of the Catalyst drivers, or maybe a Windows Update ...

# November 22, 2006 3:35 AM

Dennis van der Stelt said:

@Frans : Hmmm, I thought I'd written a reply already, but maybe I didn't press the submit button or so.

Well, I had installed Konfabulator in the past and did it again today. But all widgets differ in size, there's no sidebar and I don't see any widgets I like. I just want the clock and calendar. Perhaps in the future some widget to plan meetings and such, with Google Calendar and Outlook integration or so. Whatever. Thing I want most right now is that it sticks to my desktop when I press Window+D

@Nick : I've read there are ways to enable it anyway. Perhaps you should check it out. I've already got TweakVI running, which offers the option to run Aero in software mode, if I'm correct.

# November 22, 2006 4:16 AM

Daily News Faq List said:

Dennis van der Stelt modifies the new MetaBlog API released only yesterday to support George J. Capnias'

# November 22, 2006 7:50 AM

Daily News Faq List said:

Dennis van der Stelt wishes upon a Telligent Star on what he'd like to see in Community Server 3.0. Topics

# November 22, 2006 8:08 AM

Daily News Faq List said:

Fresh off a marriage proposal based on his expert knowledge of the CS Spam Blocker (see yesterday&#39;s

# November 22, 2006 8:20 AM

Daily News Faq List said:

Dennis van der Stelt with a step-by-step guide on how to disable email notifications of Spam , linking

# November 22, 2006 8:25 AM

Daily News Faq List said:

Dennis van der Stelt with details on handling spam in Community Server .

# November 22, 2006 8:28 AM

Daily News Faq List said:

BloggingAbout.NET taken off 24/7 Upgrade Watch . Successfully upgraded to CS 2.0. Good job, Dennis!

# November 22, 2006 8:54 AM

Daily News Faq List said:

Another site on 24-hour Community Server 2.0 Upgrade Watch. Dennis van der Stelt tells his community

# November 22, 2006 8:55 AM

kg said:

Did you figure this out? I'm using templatefields. And the event is not firing.
# November 22, 2006 5:49 PM

Dennis van der Stelt said:

I should post that, shouldn't I?

It isn't possible though, and I forgot what I actually used to get the values. If I'm not mistaken, I'm using the Request object to get the values myself. If you're really interested, I could look up the code. Send me a mail via my contact form. (mail button top-left corner of this page)

# November 22, 2006 11:46 PM

Frans Bouma said:

"However, what are my positive experiences? Only on the graphical side. I absolutely LOVE the new graphics system. Watching a video, hovering over the video in the taskbar and seeing a 2nd window playing the video and then pressing alt-tab to see a third window playing the video just gives me warm feelings. I love those kind of things. So when that's working, it really makes me wonder why in full-screen the video is so much slower." try that on a fancy PC with a big videocard: your videocard fan will kill your hearing after a few hours. Also, isn't that video crap simply marketing gobblygook? I mean: only ADHD people will alt-tab through windows when playing a video because they lost attention to the video they were watching...
# November 23, 2006 3:59 AM

Dennis van der Stelt said:

Frans, I wasn't talking about 3D tabbing, because I never use that.

And what about a fancy PC with a fancy videocard, instead of a big videocard? THe only fan I hear is from my power-supply and I've already got a quiet one lying around. Just have to install it.

# November 23, 2006 4:57 AM

Dennis' Blog said:

Because I'm doing presentations, demos and the WCF article series , I host a lot of WCF services inside

# November 28, 2006 5:33 AM

Dennis' Blog said:

We'll return once again to the WCF ABC and in this part we'll examine what we can do with the address

# November 29, 2006 6:33 AM

Dennis' Blog said:

We'll return once again to the WCF ABC and in this part we'll examine what we can do with the address

# November 29, 2006 6:33 AM

Adel Khalil said:

Usualy Oracle known as the most secure database since decade but this truth is now changed in dramatic

# November 29, 2006 10:17 AM

Jason Haley said:

# November 29, 2006 7:57 PM

ISerializable - Roy Osherove's Blog said:

Could it be true? A research shows that there were no security flaw fixes in SQL 2005 since its release

# November 30, 2006 5:12 PM

Dennis' Blog said:

Almost a year ago, January 26, I tried to start a short list of links that I found interesting, and called

# December 1, 2006 6:36 AM

Erwyn van der Meer said:

I am glad to see support for CardSpace arising. Sadly, Microsoft doesn't seem to use it themselves yet. I am hoping I can sign in to Microsoft properties using CardSpace instead of Windows Live IDs (aka .NET Passports) really soon.

The voice capabilities of Exchange Server 2007 are pretty impressive for both Dutch and English! I am hoping for a Windows Vista version that can recognize both Dutch and English as well.

# December 2, 2006 5:37 AM

Jason Haley said:

# December 2, 2006 5:01 PM

Mohamed Amine AZZI said:

Hi Dennis, Did you use a web client or windows forms clients for your chat application? I need to know how to make a dual communnication when using asp.net pages. Regards
# December 5, 2006 7:53 AM

The private life of Alex Thissen said:

Round 1: compile offense, LX defending Colleague Dennis (irl, compile in CS and WoW ) tries to give a

# December 6, 2006 12:01 PM

Alex Thissen Weblog Build 1.15.10.1971 said:

Round 1: compile offense, LX defending Colleague Dennis (irl, compile in CS and WoW ) tries to give a

# December 6, 2006 12:52 PM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server Dennis van der Stelt gives us another

# December 7, 2006 2:15 PM

Daily News List Blog said:

Dennis van der Stelt gives us another example of an integrated IE7 Search Provider we saw on Andrej Tozon's

# December 7, 2006 2:56 PM

Ramon Smits said:

Happy happy joy joy! :-) Seems like a cool toy with a solid design but I don't want to have a player that restricts me in my format choice or having a player with wifi that doesn't allow normal filetransfers.

# December 8, 2006 12:49 AM

Pieterd said:

Pascal van Paridon, Avanade colleague, bought one at DevConnections in Las Vegas a few weeks ago. At least you're one of the first to have one in the Netherlands. Looking forward to reading your experience zune...
# December 8, 2006 3:55 AM

DK said:

works for me on Firefox 2.0!
# December 9, 2006 1:39 PM

Patrick Wellink said:

Dennis,

I have a question and since you are into WCF maybe you know the answer....

When you right click on an app.config it should be possible to open the file with the SvcConfigEditor.exe as an option in the context sensitive mnu.

But I couldn't find that option. Do you know how i can add it ?

# December 11, 2006 12:12 AM

Dennis van der Stelt said:

@Patrick : You have to install the WF/WCF extensions to Visual Studio. You can find them here :

http://www.microsoft.com/downloads/details.aspx?FamilyId=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en

More info in an article from Mike Glaser :

http://bloggingabout.net/blogs/mglaser/archive/2006/11/06/.NET-Framework-3.0-has-been-released_2100_.aspx

However, this doesn't include everything. For example, the trace utility is in the SDK, which is 1 GB large! :) I hate that!

# December 11, 2006 12:50 AM

Dennis van der Stelt said:

@Ramon : It does restrict in format, although the transfer tool converts other formats into Zune formats. The normal file-transfer is possible though via a simple registry setting.

@Pieterd : Hmmm, I think I'll just delete your comment and live by the thought that I'm the first! ;)

# December 11, 2006 2:08 AM

Jason Haley said:

# December 13, 2006 8:52 PM

Erwyn van der Meer said:

The Plus in Professional Plus stands for the addition InfoPath and the Office Communicator.

# December 14, 2006 1:13 AM

Dennis van der Stelt said:

I know, but normally Plus was for some Christmas additions and a new screensaver in Windows :)

I just questioned the name.

# December 14, 2006 2:56 AM

Adel Khalil said:

I ran into another problem, the Dataset designer, in other word if you open xsd file to play with the tables.. a little.. the VS IDE will frezz every time you try to move any element from the xsd editor surface (TableAdapters) and unfrezz after few seconed but will frezz again with the next move.. so useless

:(

# December 14, 2006 2:07 PM

Adel Khalil said:

I ran into another problem, the Dataset designer, in other word if you open xsd file to play with the tables.. a little.. the VS IDE will frezz every time you try to move any element from the xsd editor surface (TableAdapters) and unfrezz after few seconed but will frezz again with the next move.. so useless

:(

# December 14, 2006 2:07 PM

TrackBack said:

# December 18, 2006 1:22 AM

TrackBack said:

# December 18, 2006 1:23 AM

TrackBack said:

# December 18, 2006 1:26 AM

jayson knight said:

I tried this a while back and IIRC creating a new account was disabled, however it looks like weblogs.asp.net shares member info w/ *.asp.net, so you can create a new account from the other pages as well and it will be shared across the entire TLD.

Regardless, good find...quite a few asp.net bloggers have anon comments disabled so this'll help out quite a bit!

# December 18, 2006 3:51 AM

Dennis' Blog said:

Download code &amp; sql scripts here I got a question today about setting the isolationlevel on a transaction

# December 18, 2006 1:13 PM

Dennis' Blog said:

Download code &amp; sql scripts here I got a question today about setting the isolationlevel on a transaction

# December 18, 2006 1:13 PM

Dennis' Blog said:

Download code &amp; sql scripts here I got a question today about setting the isolationlevel on a transaction

# December 18, 2006 1:13 PM

Dennis' Blog said:

Download code &amp; sql scripts here I got a question today about setting the isolationlevel on a transaction

# December 18, 2006 1:13 PM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server Eric A. Duncan is good on his word

# December 18, 2006 2:06 PM

Daily News List Blog said:

Dennis van der Stelt lists the default login and create new account page links at weblogs.asp.net and

# December 18, 2006 2:56 PM

Ramon Smits said:

I just read Dennis post about his adventures in isolation level land . He says he does not know a good

# December 19, 2006 1:26 AM

Sahil Malik said:

Wow your blog looks nice man. Good going !!

# December 19, 2006 6:01 AM

Dennis van der Stelt said:

Hehehe, it is that I know your name, or else I would've thought this would be spam. I get a LOT of comments with just "Wow, good site! Check out mine!" ;)

But thanks for the comment.

# December 19, 2006 6:07 AM

<Chinese>Sahil Malik</Chinese> said:

Wow, good site! Check out mine!! ^-^

# December 20, 2006 11:25 PM

Dennis' Blog said:

Just recently Service Pack 1 was released for Visual Studio 2005. Back then, the Vista update had a link,

# December 21, 2006 5:13 AM

Matthijs said:

Remember it's not the final version yet, but a beta.

# December 21, 2006 7:12 AM

Dennis van der Stelt said:

You're right! Miguel's post made me believe for some reason it was the final version. Updated the post. Thanks.

# December 22, 2006 1:04 PM

blyons said:

hiho,

The branded Rational Unified Process provides a ton of artifacts that a team can use when developing software.  And there is little talk on collaboration or even how people are expected to work together.  The early version of SPEM (the Software Process Engineering Metamodel from the Object Management Group) used to describe the process leads one to think of a situation where "I do task X alone and create artifact A, you then pick up artifact A and do task Y alone which produces artifact B, then someone else...".

That is not how it has to go, but the content provided by that version of the Unified Process can lead people to think of it that way.

A group of people have been authoring an open source version of the Unified Process that takes an agile perspective.  It has the end-to-end process structure recognizable from the Unified Process.  It treats it as lightweight as possible.  It includes guidance on various collaborative and other humanistic perspectives of developing a system.  It includes roles for the sake of defining required skills, but does not have a strict perspective on roles or top-down tasking (i.e. promotes self-organizing teams).  It folds in various agile techniques such as TDD, Refactoring, Continuous Integration, and even applies a Scrum-like technique for project planning.

You can download it at http://www.eclipse.org/epf/ of view the 0.9 version of it published at http://www.numbersix.com/openup/.

                ------- b

# December 26, 2006 9:20 AM

Daniel Moth said:

No hacks, but if you want to live dangerously, just launch explorer elevated and then any file you double click will open its associated application elevated too...

# December 29, 2006 12:27 AM

prasad said:

hi

its very helpfull

# January 1, 2007 2:51 AM

Jason Haley said:

# January 2, 2007 7:01 PM

miguel jimenez en español // MVP C# said:

Denis van der Stelt me ha marcado con un tag . Sabía que esto iba a alcanzarme tarde o temprano, así

# January 3, 2007 12:51 PM

Alex Thissen Weblog Build 1.15.10.1971 said:

The blog tagging game is still going on. With all the big names and blog-gurus tagged, eventually the

# January 3, 2007 1:38 PM

Erwyn van der Meer said:

Couldn't think of a better subject, so I just used Dennis' subject. Dennis tagged me and yes, as Alex

# January 3, 2007 3:30 PM

Damien Guard said:

5 people?  I make that 8!

[)amien

# January 3, 2007 6:16 PM

Dennis van der Stelt said:

@Damien : I didn't think anyone would actually count them! ;)

# January 4, 2007 12:07 AM

Pascal Naber said:

I've been tagged by Dennis van der Stelt . So... 5 personal things about me: 1 Two weeks back, on the

# January 4, 2007 2:12 AM

Jan Schreuder on .Net said:

I've been tagged by Dennis van der Stelt . So here are 5 personal things you might not know about me:

# January 4, 2007 4:33 AM

Mike Volodarsky said:

Actually, I am an ASP.NET / IIS7 bloke :) Glad to help!

Mike

# January 4, 2007 9:17 AM

Dennis van der Stelt said:

Hehehehe, okay, thanks! I hope everything with Vista & VS2005 will work soon! Keep up the good work!

# January 4, 2007 2:12 PM

Dennis' Blog said:

So I've been playing around with my new Zune player . I've listened to a ton of music, converted and

# January 5, 2007 4:23 AM

regimages said:

this seems to be what your looking for:

http://www.regimages.com/

# January 5, 2007 4:39 AM

Patrick Bes said:

I am able to upload my old MP3 music to my IPod. But my problem was i always had to use the crappy ITunes software. I could upload mp3 using the file system but the Ipod would not recognize it as a music file. After a tip from Elias i updated my IPod with a new firmware and I now use RockBox, i'm now able to upload Music file using the file system and not through ITunes, this is much better.. But i have to say Dennis his Zune looks and works great!

# January 5, 2007 5:58 AM

Dennis van der Stelt said:

I know Patrick, but updating firmware isn't something I prefer. I also don't think ordinary people will update their firmware.

The latest Zune firmware caused a significant performance improvement for browsing the music library. I wouldn't want to miss out on it.

On the other hand, I _do_ like RockBox and it's blue/white MSX ascii look ;)

# January 5, 2007 6:57 AM

Dennis' Blog said:

There's been a lot of talk about web 2.0. Personally I see difference between web 1.0 and web 2.0 as

# January 5, 2007 7:51 AM

Dennis' Blog said:

There's been a lot of talk about web 2.0. Personally I see difference between web 1.0 and web 2.0 as

# January 5, 2007 7:51 AM

Dennis' Blog said:

As I've been pretty busy, it's been a while since my last post in the WCF series. But let's have a look

# January 5, 2007 1:40 PM

Dennis' Blog said:

As I've been pretty busy, it's been a while since my last post in the WCF series. But let's have a look

# January 5, 2007 1:40 PM

Dennis' Blog said:

I'm starting a series of posts about Windows Communication Foundation (WCF). The goal of the series is

# January 5, 2007 1:43 PM

Mike Glaser said:

Great post. I can hardly wait till you start your first project on which you'll use WCF in a real life app.

Keep us informed.

# January 5, 2007 2:41 PM

Alex Thissen Weblog Build 1.15.10.1971 said:

Round 1: compile offense, LX defending Colleague Dennis (irl, compile in CS and WoW ) tries to give a

# January 7, 2007 7:05 AM

Chi Wai Man said:

I didn't update my firmware and I still can upload my mp3's without any problems. Just use Xplay! Xplay Rules.

# January 8, 2007 11:28 AM

Alex Thissen Weblog Build 1.15.10.1971 said:

Round 3: LX on offense, compile still recovering See the previous rounds ( 1a , 1b , 2a , 2b ) in this

# January 8, 2007 12:02 PM

Alex Thissen Weblog Build 1.15.10.1971 said:

Round 3: LX on offense, compile still recovering See the previous rounds ( 1a , 1b , 2a , 2b ) in this

# January 8, 2007 12:02 PM

Daniel Moth said:

>>

The sidebar I've never ever used. It's useless up until now. Especially because going to the desktop means the sidebar will hide as well.

<<

Right click->Properties->check "Sidebar is always on top of other windows"

(particularly useful on wide screen monitors)

Also drag your gadgets on the desktop and set their opacity to 20% (again, via contextmenu)

# January 9, 2007 1:04 AM

Thomas Freudenberg said:

"Especially because going to the desktop means the sidebar will hide as well."

Not, if you press Win+M to minimize all applications.

# January 9, 2007 1:14 AM

Dennis van der Stelt said:

@Daniel : I know, but I don't want it on top of the other windows, I want it on top of my desktop.

@Thomas : I know, but dialog windows aren't always minimizable which means I won't see the desktop, but the dialog windows. And depending on the order of the app with the dialog, other apps won't minimize as well. Therefor I've grown used to Win+D which is the only thing that works.

# January 9, 2007 3:53 AM

Alex Thissen said:

Man, chickening out of this as well.

Well, anyway, if switching between different options is so easy for you, I wonder why it takes you so long to switch to VS2005 unit testing. :P

# January 9, 2007 8:45 AM

Dennis van der Stelt said:

@Alex : HAHAHAHAHA! Don't kid me! It is EXACTLY like Vista. I was using NUnit and wanted to try the great and famous VS2005 unit testing. After a few tries, I switches back a.s.a.p!

# January 9, 2007 11:35 AM

Dennis' Blog said:

I just blogged that I'll be switching back to Windows XP . One of the problems I forgot to mention is

# January 9, 2007 11:35 AM

Adel Khalil said:

Hello Dennis, i was shocked with the number of BSOD you got since you installed Vista.. i'm now over 30 days with vista RTM BUILD 6000 as my full time development station running VS SP1 with no problems till now, i didn't recall any forced restart.

my machine is P4 3.06 HT x86 with 1GB DDRAM and GeForce ship with 256 MB and my Vista score is 2.3

I didn't even saw the screen on your post before.

# January 9, 2007 3:06 PM

Erwyn van der Meer said:

My Vista blues isn't over yet either. No blues screen though. Just crashes on hibernate and sleep.

Worse is that a timebomb in the beta device driver for my SoundBlaster Audigy 2 sound card will go off on January 12, 2006. Creative has retracted their statements about availability of Vista drivers for this sound card. People in the support forums sound pretty pissed about this.

Not having sound in Vista is pretty unacceptable to me, so I either have to buy a new sound card or switch back to XP :(

I also get the feeling that XP is way more stable (if more insecure) than Vista for me.

# January 9, 2007 3:38 PM

Dennis van der Stelt said:

@Adel : I'm using it as full time dev station as well. It's a Dell Latitude D810 with 2GB memory.

Did you do web development? Besides the fact that IIS7 and Vista security vs. VS2005 still doesn't work excellent, it's also a problem for me that I have to release on Win2003 with a different IIS version. Although we have an OTAP cycle, it sucks that I have to double-check all IIS settings before I can release something. My customer currently has very short release cycles.

Maybe I just request too much from my Vista environment. But hey, XP delivered. Vista might be great for average users (I'm not saying you are ;) but I am quite demanding ;)

# January 9, 2007 10:55 PM

Dennis van der Stelt said:

Oh, by the way, when I pressed the "check for solution" button, some server was contacted for info... nice progress bar... suddenly it disappeared and I heard nothing from it since then. So I guess there's no solution to BSODs ;-)

# January 9, 2007 10:56 PM

Rick van den Bosch said:

I've had my share of BSoD's with Windows XP. Especially when XP was just out, and lots of people upgraded their old computers to XP. When it started crashing, they would ask me why...?

Every new version of an OS (Windows or other) has got higher hardware requirements. And I think it is 'normal' that the new OS doesn't work 100% perfect with older devices or older drivers. Adel's is a nice example that there are configurations that run Vista without any BSoD's popping up.

I will be upgrading my workstation shortly (hardware-wise). As soon as that has been done, I'll start running Vista. Any and all findings will be recorded at my blog...

# January 10, 2007 1:13 AM

El Bruno said:

Buenas, mis amigos Eugenio y Fran , me han apuntado con un láser desde un satélite espía anotado en una

# January 11, 2007 10:27 AM

El Bruno said:

Buenas, mis amigos Eugenio y Fran , me han apuntado con un láser desde un satélite espía anotado en una

# January 11, 2007 10:28 AM

Jean-Paul Smit said:

What is the extra you get by adding an 'mex' endpoint?

I noticed you can generate a client by just adding a behaviour and have the 'httpgetenabled' set to true.

Can you tell a bit more about what the mex is for?

# January 16, 2007 1:19 PM

Dennis van der Stelt said:

The Metadata behavior will generate your WSDL and XSD. It kind of crawls over your contracts, looks at them and generates these xml documents.

When you want to provide this through HTTP you must specifiy HttpGetEnabled. But when you use the service-util (svcutil.exe) you don't need the http-get.

In the old days (before the June 2006 Beta) the MEX endpoint was added automatically. I figure about 80% of the demo-code available on the internet, doesn't comply anymore to the MEX endpoints you now have to add manually. :)

Anyway, MEX endpoints are more than http-gets, you can also support https, tcp, etc. Where in the asmx days, you always had your WSDL via HTTP. You can also choose to NOT have a MEX endpoint and provide your customers with a WSDL and XSD's of your own.

# January 16, 2007 2:52 PM

WebColin said:

_rowUpdating event will not firing, when dynamic create GridView. not only findcontrol but also no value e.NewVlaues too. is that any other way to get the values from GridView?

# January 23, 2007 12:01 PM

Richard said:

Someone is reading. Someone is also smiling at the grilling Dennis apparently gave himself?

Thanks for the tip. One can forget the simple things.

# January 24, 2007 5:25 AM

Erwyn van der Meer said:

Huh? XBAP = WPF. I mean XBAP is just a form of deployment of a WPF application. So you can't meaningfully list the differences between WPF and XBAP. That would be like listing the differences between a car and a steering wheel.

# January 30, 2007 7:50 AM

Erwyn van der Meer said:

BTW: We found that ClickOnce is often a better way to deploy an WPF application than XBAP. If you also use WCF in your application, you require FullTrust and you don't want to be in an XBAP sandbox.

At LogicaCMG we've created two cool ClickOnce deployed WPF applications that use WCF to fetch data from services, yet they also work offline. However, they are deployed on our Intranet so I can't easily show them ;(

For an example of a simpler yet cool ClickOnce deployed WPF app, check out Vista Flickr Uploader (http://www.matthijsdubbeldam.nl/app/VistaFlickrUploader/ and http://www.codeplex.com/vistaflickruploader). It was created by my colleague Matthijs.

# January 30, 2007 11:17 AM

Dennis van der Stelt said:

XBAP is indeed a form of deployment, so the differences between XBAP and WPF are mostly just that. The details are listed in the article. And indeed with XBAP you run in a sandbox with partial trust, which WCF doesn't support.

# January 30, 2007 12:16 PM

Walt Ritscher said:

I wrote the XBAP/WPF [1] post so I going to jump in to the discussion.

Yes, XBAP is really just a built in WPF mechanism to deploy your WPF application.  Since it runs in the Internet Zone it is constrained to the security limitations of the zone.  Which is why you can't make WCF calls.  The *.xbap file is just a deployment manifest and the xbap extension is registered with IE during the .NET 3.0 install.  As Erwyn says, you can easily create your own ClickOnce deployment to request Full trust.

I keep getting questions about XBAPs though, so I wrote the article for quick comparsion of the two.

I think there is some confusion, because XBAPs show up as a Visual Studio project type.  So developers want to know what the difference is between a WPF app and XBAP.  Is it like the difference between a Winforms app and an ASP.NET Web application for instance.

BTW Dennis.  My name and phone are in the Contact section - the bottom of the right column <g>.

[1]

http://wpfwonderland.wordpress.com/2007/01/28/comparing-wpf-applications-and-xbap-whats-the-difference/

# January 30, 2007 1:06 PM

Erwyn van der Meer said:

Hi Walt. Your post, to which Dennis linked, indeed makes clear what you are comparing: standalone WPF applications versus XBAP deployed WPF applications.  This was paraphrased by Dennis as "list of differences between XBAP and WPF", which is a little too short of a description ;)

# January 30, 2007 11:48 PM

Dennis van der Stelt said:

lol, there's a list of differences and I can't call it by its name?! :)

# January 31, 2007 12:38 AM

Erwyn van der Meer said:

The global launch of Windows Vista yesterday brought a large number of updates with it. Yesterday I installed

# January 31, 2007 9:19 AM

Lee said:

I'm having a similar problem. When using a GridView whose DataSource is set manually in code-behind, e.NewValues contains nothing (even with BoundFields).

Markup:

<asp:BoundField DataField="QuoteText" ** other attrs **/>

Code-Behind:

gridview_RowUpdating(... sender, ... e)

{

 // e.NewValues.Count == 0    :(

}

# February 7, 2007 8:25 AM

John Inabnit said:

I get the BSOD daily... i upgraded to vista last week and it doesnt stop....as for creative retracting their drivers.... i got them from creative on feb 3rd and they work fine.... and this morning i got caught in a continuous blue screen reboot loop after my system installed an automatic update....so i went into safe mode and removed it and turned of auto update and all is good again...well at least good till i install something else.... i have never had a blue screen on xp unless i way over worked the os (which was done intentionally to see what it could really handle) so as nice as vista looks, microsoft needs to get off their butts and not make us wait a year for a service pack to fix these issues.

# February 8, 2007 6:52 AM

Lee said:

My current workaround is to have the user redirected to an edit page when attempting to edit a GridView row. This isn't ideal, but frankly it allows me add customizable edit code (large TextBox, etc.).

# February 9, 2007 9:06 AM

Adel Khalil said:

Hi Dennis,

 Just coming to your post to tell you that i rolled back to XP few days ago.

As I'm not doing Web Development... so on the development side i haven't experience show stoppers but still lake of drivers and incompatibility with many other softwares got me back to XP again.

# February 10, 2007 4:49 AM

James said:

I've admittingly had a couple of BSODs but my score is only 3.7 cos of my crap graphics =[

# February 15, 2007 12:04 AM

Dennis van der Stelt said:

I had Vista on a pretty decent laptop, on which only the videocard wasn't all that. My score on graphics was a 2. And a 3.7 is a really decent score, I must say!

# February 15, 2007 9:14 AM

what is hydrocodone said:

news

# February 20, 2007 5:35 AM

Lyn said:

15 BSOD? Wow. I only got that once, and it was during the installation stage. Everything went smoothly thereafter. Maybe some of your problems are driver-related perhaps? In case it is, go to http://www.radarsync.com/vista for the appropriate driver. If it's not a driver problem, then I think it's time to call Houston :)

# February 21, 2007 6:42 AM

Jeff said:

It's actually fairly easy to get the info you want once you know the trick.  When dynamically binding to the GridView, use the following code in the RowEditing event:

  GridView gv = (GridView)sender;

  gv.EditIndex = e.NewEditIndex;

  gv.DataBind();

To populate the NewValues collection, put the following code in the RowUpdating event:

  GridView gv = (GridView)sender;

  for (int i = 0; i < gridView.Columns.Count; i++)

  {

     DataControlFieldCell cell = gv.Rows[e.RowIndex].Cells[i] as DataControlFieldCell;

     gv.Columns[i].ExtractValuesFromCell(e.NewValues, cell, DataControlRowState.Edit, true);

  }

Then you can use the NewValues collection as you would if the GridView was bound to a SqlDataSource.  This works with both bound fields and template fields.

# February 28, 2007 1:41 PM

Mike Glaser said:

Nice SQL statement

For Additional info about Shrinking a SQL Server log

check my blog http://bloggingabout.net/blogs/mglaser/archive/2007/01/12/sql-server-tip-shrinking-a-sql-server-log.aspx

# March 1, 2007 12:25 PM

Community Server Bits said:

Dennis van der Stelt gives us another example of an integrated IE7 Search Provider we saw on Andrej Tozon's

# March 12, 2007 4:58 AM

Community Server Bits said:

Dennis van der Stelt modifies the new MetaBlog API released only yesterday to support George J. Capnias'

# March 12, 2007 5:17 AM

Community Server Bits said:

Dennis van der Stelt wishes upon a Telligent Star on what he'd like to see in Community Server 3.0. Topics

# March 12, 2007 5:51 AM

Community Server Bits said:

Fresh off a marriage proposal based on his expert knowledge of the CS Spam Blocker (see yesterday&#39;s

# March 12, 2007 8:30 AM

Community Server Bits said:

Dennis van der Stelt with a step-by-step guide on how to disable email notifications of Spam , linking

# March 12, 2007 8:31 AM

Community Server Bits said:

Dennis van der Stelt with details on handling spam in Community Server .

# March 12, 2007 8:35 AM

Community Server Bits said:

Another site on 24-hour Community Server 2.0 Upgrade Watch. Dennis van der Stelt tells his community

# March 12, 2007 9:11 AM

Shashanka said:

Hi Jeff,

I have a similar problem too. I have GridView with that gets data from table (using a dynamic sql....creating Views on fly). So I donot know the table structure thats going to bind with the GridView.

But anyways the first three columns are known, the last among which is date.

I have created a TemplateField (Say DataGridCalenderControl)implementing ITemplate interface.

Unfortunately I am not able to CAST the DataGridCalenderControl to DataControlFieldCell

DO you have any suggestions

Thanks

# March 15, 2007 5:22 PM

Chris Bowen's Blog said:

Two more stops made and one more to go on the first tour of Bob &amp; Chris' MSDN Roadshow! Portland,

# March 18, 2007 8:06 AM

Shawn Lauzon said:

I'm so glad I found your presentation! I would like to take it, make a couple changes, and present it to a group at work (with proper credit of course!) That ok with you?

Also, I think a good addition would be an example of using a mock object; I added a slide with jMock in my own version.

# March 21, 2007 4:05 PM

Dennis van der Stelt said:

Shawn, sure you can. I'd love to see what you've changed, especially the mocking stuff! If you can, send me an email via the contact page. I'm not that happy displaying me email address here for all bots to take and spam me crazy. Thanks

http://bloggingabout.net/blogs/dennis/contact.aspx

# March 22, 2007 1:38 AM

Nick Sevens said:

I'm currently implementing a workflow into a project, also using the sequential workflow.

Main reason is indeed the ammount of information found on the net. Actually, I simply don't know the difference between the two types ...

# March 23, 2007 5:19 AM

Rick van den Bosch said:

Thanks for the heads up. I think my current project might benefit from this one...

Kind regards, Rick

# March 28, 2007 8:02 AM

priyak said:

when i update a grid view i dint know how to assign it to a variable......

because i can update a sqlserver database in update command where i need to give

update table-anme set fields='"+.....+"'

# April 3, 2007 10:38 PM

Erwyn van der Meer said:

Congratulations! Should be a great conference.

This will be your first trip on a plane, right?

# April 10, 2007 4:42 AM

Dennis van der Stelt said:

Yep, I'm soooo excited ;-)

I'm taking my laptop on board and hopefully have at least one spare battery with me.

# April 10, 2007 4:56 AM

Alex Thissen said:

Not into the *** Cat Dolls? Tssseess, get your priorities straight, Dennis. Go see Nicole, before she leaves the PCD.

Anyway, have fun going there, and check out the Circus Circus that had a large arcade (video games) section last time I was there.

# April 10, 2007 3:38 PM

RJ said:

Congrats, Dennis; Have fun!

Circus Circus also has that big funny indoor adventure park!

Be sure to behave over there, Dennis ;)

# April 11, 2007 3:18 AM

Ralf's Sudelbücher said:

Recently I needed to set up some simple code to demonstrate WCF (as an alternative to some other means

# April 14, 2007 3:22 AM

miguel said:

Hi Dennis!!

At last. I'll be attending Mix'07 also. Leaving from  London on 27 and coming back on the 3rd

Hope to see you over there! We have planned a cool party agenda :)

# April 16, 2007 12:30 PM

Umer said:

jeff?

i did that u posted ? but its not working

i m not getting any value? i m using itemtemplete/edidttemplete , i m stuck here for many days, i cant get values on text ( after we click update)

and how could we call updated? rahter than updating

u can email at umer.khan@systemsltd.com just bug me ,i ll reply with simple code i did

# April 18, 2007 12:20 AM

Guy Burstein said:

You can also find the Beta 1 download links in my blog.

# April 20, 2007 10:15 AM

Chuck Sndyer said:

Thanks for the information.  The databind in the row editing event did the trick.  Trying to enable/disable a control depending on the user rights.

Thanks.

# April 20, 2007 2:11 PM

jigna said:

code for rowupdating event

# May 2, 2007 2:40 AM

fernando said:

sorry, but that's not deep-copying either, if firstName was a referenceType (such as a StringBuilder) it would just copy a reference to the original.

Sallow Copy - copies ValueType only (such as strings)

Deep Copy - copies ValueType and ReferenceType

# May 3, 2007 10:40 AM

Olaf Conijn said:

Geen workshops over EntLib 3?

.... dan toch maar naar U2U ;-)

# May 6, 2007 11:01 AM

Dennis van der Stelt said:

Hahahaha, sufferd! :D

Dat doe jij toch op CodeCamp? Dan hoef ik dat niet meer te doen! :D

# May 8, 2007 1:19 PM

Ralf said:

If I inspired you to boil down your previous code to come up with an even simpler scenario to introduce WCF, I´m happy. Maybe we should start a competition on how few lines are necessary to use get started with WCF? ;-)

However, you mentioned twice you wanted to abstain from commenting my sample. Why? What´s wrong with it? I don´t think using two processes is necessary for a WCF introduction. It just makes it more difficult to get the whole thing running. WCF makes process boundaries pretty transparent, so I don´t think they are needed.

Rather much more important I deem separating contract from implementation - which you neglect. Also a WinForms application does not make WCF easier to understand.

Also, do you think meta data exchange makes understanding WCF easier? Hm...

But anyway, I´m happy you took up the challenge ;-)

Cheers

Ralf

# May 14, 2007 12:00 AM

Dennis van der Stelt said:

Hi Ralf,

The single project to get everything going isn't what WCF is about, I think. So that's why I always need at least two projects.

The thing I ment was you were creating client and service by means of multi threading. That doesn't make the example easier to understand, just a lot harder.

The other thing about process boundaries. I'm not sure what you mean there. With WCF you ALWAYS have two process boundaries, because your service/host and client aren't on the same process. In WCF vNext that might be possible, but currently it isn't. Even though you only have 1 project and start everything on multiple threads, still everything is serialized into XML and send cross process boundaries.

# May 14, 2007 10:51 AM

Hazem Salem said:

Hi Dennis, I'm also interesting to use this dual application with wep.net page, did you make it before?

best reards

# May 17, 2007 10:44 AM

Dennis van der Stelt said:

@Hazem: I seriously have no idea what you're talking about, sorry :)

# May 17, 2007 2:33 PM

Travis Laborde said:

Hi Dennis!  I'm very excited about this feature.  However, I'm unable to install IE7 and .NET 3.0 here yet...

Is there any way that you could grab just this addin and post or email me those bits?  Would it even work in plain vanilla VS2005?

As an aside, I'm doing a "tools" talk at our Philly.NET Code Camp tomorrow, and I'd *LOVE* to show off this thing :)

Thanks!

Travis

# May 18, 2007 5:33 AM

Ralf said:

Hi, Dennis,

I understand what you say, you need two projects. And I agree in the end WCF mostly will be used in such scenarios. But two projects are less easy to set up in VS than one ;-) That´s the only reason I used one project or even just one file. I´m just concerned about getting a WCF sample up and running with the least number of steps and with the least number of files. So I guess we can agree that this is possible only with multithreading like I did it ;-)

In addition, though, I think, WCF is not about a particular "distance" of client and service. It´s perfectly fine to use WCF within the same process, e.g. to cross AppDomain boundaries. And it´s a means to hide "distance" in general so I don´t have to care whether code is running in the same or a different AppDomain or in another process or on another machine. So letting two threads communicate using WCF for me is perfectly valid - albeit maybe a little bit unusual.

What you say about process boundaries does not seem 100% correct to me. You´re right in that messages are always passed between client and service (host). Data always will be serialized. But a process boundary - as you can see in my example - is not necessarily crossed. My client and service host live in the same process and that´s just fine with WCF. However, in a larger scenario I would not just provide a TCP endpoint for intranet communication but also a named pipe endpoint for fastest communication on a single machine - possibly within the same process.

But again: I was not concerned with a real life example of WCF usage but a most easy demonstration.

-Ralf

# May 19, 2007 11:43 AM

Mikes2nd said:

# May 24, 2007 8:44 PM

Ray said:

Be aware with what jeff posted, it will function okay but not as okay it should be, you need to know that null and empty strings will give you big headeach in the new collection :)
# May 30, 2007 1:35 PM

Mike said:

Try this instead: IPEndPoint endPoint = new IPEndPoint(IPAddress.Any, 0); using( Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)) { socket.Bind(endPoint); IPEndPoint local = (IPEndPoint)socket.LocalEndPoint; return local.Port; }
# June 1, 2007 8:40 PM

Uriah said:

Getting a broken link on the image. Also the link to the visual studio extensions for WCF still shows them in CTP, is there a final release somewhere now?
# June 4, 2007 10:15 PM

Dennis van der Stelt said:

Uriah, you're right, I'll have a look at the image. Thanks for your comment.

Also the CTP is the final version for Visual Studio 2005. There won't be any new version. For the next Visual Studio (currently codenamed "Orcas") these will be integrated...

In other words, it's safe to download the latest CTP.

# June 5, 2007 8:59 AM

Dennis' Blog said:

At MIX07 new stuff was announced , at TechEd 2007 in Orlando names of products have been announced. Visual

# June 5, 2007 9:51 AM

Jack Jiang said:

I am testing a web service for inserting into database, how is transactionscope going to come in place, is it going to rollback the database after the insert or not? Thanks
# June 8, 2007 9:09 PM

Dennis van der Stelt said:

@Jack: It depends on what you're doing. Are you starting the transaction inside the unit test or inside the webservice.

Inside the webservice means you'll have to tell your webservice to rollback the transaction

Inside your unit test is a different thing. If you're using .ASMX webservices, there's no change the transaction will flow over the webservice. Even with WSE 3.0 it's impossible.

If you're using WCF services it is possible, but you'll have to alter the design of your service if it doesn't already support flowing transactions into it. And transactions aren't always a good design for your services.

Normally for these kind of integration tests you should setup a specific test database. Just before running the scripts you restore or create that database with a fixed set of test-data in it. You run the tests and assert the data that's returned. On the next test-run, you again restore the database. That's a much better practice for these kind of tests then using transactions. :)

If you want more info, just reply here or contact me personally.

# June 8, 2007 10:33 PM

Craig Mellon said:

Just like to say thanks for a great article. I just started looking at WCF today, and your article has really helped me get started.
# June 9, 2007 12:05 AM

Paul Gielens said:

You tell him :D Couldn't find your stand for a quick chat, talk to you in a couple of weeks.
# June 16, 2007 3:24 PM

Dennis van der Stelt said:

Hehehehe...

Definitely! Heard you're coming by! Looking forward to it!

# June 16, 2007 10:41 PM

Dennis van der Stelt said:

Oh shit, totally forgot this one...

I have installed BizTalk Services on my laptop and I think they can be installed seperately. If you mail me, I'll send them.

bloggingabout.net/.../contact.aspx

# June 17, 2007 10:42 AM

Marco Stolk said:

Yeah baby Yeah!!

Here a little extra for the players of LOTRO, the ABC-song of the imperial march (en.wikipedia.org/.../The_Imperial_March)!

X:1

T:Imperial March

C:Translated by Earacorn

M:4/4

L:1/4

Q:100

G G G ^D3/4 ^A/2 G2/3 z/2 ^D3/4 ^A/2 G z/2

d d d ^d3/4 ^A/2 G2/3 z/2 ^D3/4 ^A/2 G z

g G g ^f/2 f/2 e/4 ^d/4 e ^G2/3 ^c c/2 B/2

^A/4 A/4 ^A ^D/2 G3/4 ^D3/4 ^A/2 G ^D ^A/2 d z

g G g ^f/2 f/2 e/4 ^d/4 e ^G2/3 ^c c/2 B/2

^A/4 A/4 ^A ^D/2 G3/4 ^D3/4 ^A/2 G ^D3/4 ^A/2 G

# June 18, 2007 3:29 PM

Jonathan van Rij said:

haha i'll try it when i'm gonne log on. First i have to finish NWN2 :)
# June 18, 2007 8:47 PM

patrick said:

Hahaha, You can see that Robbert Jan is a real fan doing the "force choke".. It could be just a coincident but i felt the dark side when that picture was taken.
# June 19, 2007 8:49 AM

Dennis van der Stelt said:

I thought for a "force choke" you didn't actually need to touch your victim! :)

force choke

or did you mean something like this?!

# June 19, 2007 10:38 AM

University Update-Bill Gates-The state of shared vision said:

Pingback from  University Update-Bill Gates-The state of shared vision

# June 20, 2007 3:06 PM

Earle Beach said:

Thanks a lot! After crashing and burning with MS's "Technology Samples," it's really a great feeling to be able to build a sample that works the first time.
# June 22, 2007 10:38 PM

Julian said:

Seeing the comments I think I would like the presentation as an inspiration for my presentation this week, but I cant download it could you send it to me? julian_hessels@hotmail.com is my e-mail box

# June 24, 2007 6:06 AM

Mike Blaak said:

I've recently used WF in combination with SharePoint 2007, and built a custom statemachine workflow because the process required a loop between several tasks.

If you can't predict how often you want to loop around, a statemachine workflow is easier although you could model a while activity in a sequential workflow.

I would say you use a sequential workflow when the possible paths your process has are straightforward (more like a decision tree) and contain no or little looping around.

Another thing is that inside the individual states of a statemachine workflow, you model sequential flows of activities to get things done (I guess without any form of sequential workflow that would not be possible) or you have to write custom activities to handle all this

# June 24, 2007 1:05 PM

Marco Stolk said:

Nice..... and for the link: http://www.goasoft.com/

# June 25, 2007 1:47 PM

Dennis van der Stelt said:

And thank you Marco! :)

# June 25, 2007 4:32 PM

ap said:

Hi,

it is not working for me, im trying to read the value of a bounded field during edit mode. i tried the ExtractValuesFromCell but getting thye following in the watcher: Expression has been evaluated and has no value. what should i do?

thank

# June 25, 2007 7:17 PM

Dennis' Blog said:

A while ago I wrote some articles on System.Transactions and the fact that it&#39;s almost impossible

# June 28, 2007 3:25 PM

Ramon said:

Well what would YOU want it to behave then? How else then to use MSDTC when you want one transaction over two connections?

If you would System.Transactions to re-use the previous connection then you must link connections to the current transactionscope and release these until the transaction scope gets out of scope.

And then again.. what about another thread gets released connection before the current thread re-claims it??

Seems to me like an almost impossible job to do in a very leightweight and fast manner.

Just don't drop your connection until your really out of scope for your current task and you won't suffer from this 'problem'.

# June 28, 2007 4:35 PM

Dennis van der Stelt said:

First a counter-question...

What is the point of System.Transactions when you look at the LTM. I know the advantages for developers and their code, but why was the LTM introduced? Tell me! Because it's only used in a single-connection scenario and then we'd better use TRANSACTION BEGIN

To answer your question, this is the list that Microsoft has given us to know when the transaction is promoted:

1 Resource manager is used without single-phase support

2 Two resource managers are used in same transaction

3 The transaction spreads over multiple AppDomains

This means our transaction shouldn't be promoted, but it is! Are we using another resource managers? And if so, should it?!

When you look at the System.Transaction articles, in the 3rd of 4th I'm pointing to a simple class that can solve the problem. But if it's _that_ easy, why didn't Microsoft build a cleaner solution that's tested and just works?

It should work and it's a known bug, also known as "By design" in Microsoft speak. It just hasn't been solved yet.

# June 28, 2007 5:02 PM

Ricardo Pinto said:

Hey!

I have a page where the user clicks a linkbutton, opening a javascript calendar popup. When the users clicks on a date, it inserts the selected value to a dropdownlist. This works and I can see the items being added to the dropdownlist.

Later on I must save data and, when I click the save button, my code behind sees no items in the combobox (Me.lstExceptions.Items.Count is 0)!!! This means that I'm changing the items on the client-side, but cannot syncronize the changes to the server side, failing to save the changes. I believe that I must explicitly set EnableViewState=True to solve this... Is this correct?

Thanks!

# June 29, 2007 11:01 AM

dylan H said:

Hi,

I just wanted to thank both Dennis and Ralph for your examples. By attempting to create simple example in different ways,  you appeal to varied audiences. Looking at both of your examples will has help get closer to delima I am faced with with.

Thanks

# June 30, 2007 11:50 PM

Dennis' Blog said:

On my WCF Introduction post I received a trackback to an example that should be really simple to start

# July 6, 2007 9:54 AM

Florin Lazar said:

What LTM is seeing when two SQLConnections are opened is two different enlistments. There is no way at LTM level to tell they are enlistments to the same datastore. In an ideal world, the second connection should detect there is already a connection enlisted with the transaction and not enlist again.

As for advantages provided by LTM, it provides the same programming model for both single-connection and multiple-connection scenarios. It also allows future enhanced versions of System.Data or other database drivers to improve their lightweight-ness without the need to change the user code.

# July 11, 2007 7:30 AM

Dennis van der Stelt said:

"As for advantages provided by LTM"

Then Microsoft should've told us that. I still see new (!) articles in MSDN Magazine not discussing the 'issues' that are definitly there. The single programming model isn't caused by the LTM, as far as I'm concerned. It's System.Transactions that does this. But by telling everyone how cool your LTM is, people might believe they have ultra-fast transactions, while probably every time they have MSDTC transactions. And you and I both know it's not easy switching programming models. And believe me, not a lot of people know that they're using MSDTC transactions or care... They'll probably only look when they already have performance problems.

And while you say it's not easy, a Microsoft employee already presented a way around (blogs.msdn.com/.../532026.aspx) so why can't you add the same way around in System.Transactions or the LTM?

# July 11, 2007 9:14 PM

David T. said:

I wouldn't normally make a WCF project as only one project, so the example of two projects is useful.  However, Ralf's example showed how it could be done in a multi-threaded way - something I would not have known to do.  Thanks to both of you.

# July 19, 2007 4:04 PM

livientje said:

wij gebruiken Serv-U gemakkelijk om snel in 1-2-3 een accountje te maken met de nodige rechten. Je kan ook een tijdspanne aanduiden zodat na die tijd alles voor die account gewoon verdwijnt en bovendien is er een remote management console voorzien

# July 22, 2007 1:03 PM

Arumugam Shanmugam said:

Mike Blaak,

I am encouraged to see your comment here. We are attempting to implement a Business Process like Accounts Payable using WF in combination with Sharepoint 2007. The MSDN documentation is restricted to sequential workflows in web environment. Any help is appreciated.

Best Regards

Aru

# July 24, 2007 12:43 AM

powerpointer said:

This feature is not new, at all! It is at least 5 years old, it was already included in my Office XP...

# July 24, 2007 9:29 AM

Dennis van der Stelt said:

Don't just make that statement, tell me where! :)

I've never ever seen it and I believe this was one of the new features presented on a blog, but I could be mistaken

# July 24, 2007 9:34 PM

Jeffrey Chilberto said:

WCF example application using headers to pass information between host and client.

# July 26, 2007 3:34 AM

Jeffrey Chilberto said:

The following is an example of passing information in WCF&#39;s operation context message headers. In

# July 26, 2007 3:52 AM

Jeffrey Chilberto said:

The following is an example of passing information in WCF&#39;s operation context message headers. In

# July 27, 2007 1:14 AM

Jeffrey Chilberto said:

The following is an example of passing information in WCF&#39;s operation context message headers. In

# July 27, 2007 1:22 AM

University Update-Microsoft SQL Server-Cannot drop database because of replication said:

Pingback from  University Update-Microsoft SQL Server-Cannot drop database because of replication

# August 3, 2007 3:06 PM

Hisham Samara said:

Seq WF has a start and end points but state machine does not usually!

based on that take your decision.

Regards

# August 6, 2007 6:40 PM

Anja said:

Ik ben net begonnen met visual basic 2005

ik heb overal lopen googlen maar kon nergens hier iets over vinden

Ik heb een command button gemaakt en die wou ik graag linken naar een website. Wat ik wel kan is met de shell execution een programma of bestand openen maar hoe open ik een website?

Alvast bedankt

careliyim@gmail.com

# August 7, 2007 6:43 PM

Dennis' Blog said:

As said before , we&#39;re currently on location at the &quot;middle of nowhere&quot;, creating material

# August 7, 2007 11:59 PM

Marco Stolk said:

I hope you have time to play some games!;-)

# August 8, 2007 7:44 AM

billb said:

Jeff's suggestion worked like a champ.  Thanks Jeff!

# August 8, 2007 6:52 PM

Marc Jacobi said:

When you've seen (and done) z80/68000/x86 assembly, C/C++/VB6/C# (VBA/VB-script/Jscript), Win32/(D)COM(+)/.NET and MFC/ATL/.NET(1.0-3.0) Fx and Programmers Workbench/Visual Studio 1.0-8.0 you just know that enough is enough!

I'm there right with you. NO MORE!

:-D

# August 9, 2007 8:48 AM

Marco Stolk said:

What does it mean to be to be ALT.NET? In short it signifies:

1. You’re the type of developer who uses what works while keeping an eye out for a better way.

2. You reach outside the mainstream to adopt the best of any community: Open Source, Agile, Java, Ruby, etc.

3. You’re not content with the status quo. Things can always be better expressed, more elegant and simple, more mutable, higher quality, etc.

4. You know tools are great, but they only take you so far. It’s the principles and knowledge that really matter. The best tools are those that embed the knowledge and encourage the principles (e.g. Resharper.)

source = laribee.com/.../altnet

# August 9, 2007 4:31 PM

powerpoint said:

Yes, this option is nothing new.

How to get to it in previous versions:

Slide Show > Set Up Show... > Show Presenter View

# August 10, 2007 11:50 PM

University Update-Microsoft Visual Studio-Just to late: WF & WCF beta 2 samples said:

Pingback from  University Update-Microsoft Visual Studio-Just to late: WF &amp; WCF beta 2 samples

# August 11, 2007 10:48 PM

.Sitecore » Running trough my bloglist said:

Pingback from  .Sitecore &raquo; Running trough my bloglist

# August 14, 2007 1:49 PM

Mischa Kroon said:

I thought that alt.net was a combination of tools which people use instead of the standard MS stuff so:

Testdriven.net, nant, mbunit, Castle, etc

instead of VSTS bits.

# August 14, 2007 9:11 PM

Dennis van der Stelt said:

@Micha, Marco Stolk sums up the list you are measured against. (No idea why he did this though ;)

It's too bad they already added a list of technology related stuff. They should've instead kept this empty as in 3 years open source and agile could very well be ... well, let's just say "sooooo 2007" ;)

# August 14, 2007 9:31 PM

Amol Wankhede said:

Iam using Beta 2 For the Orcus. Any Idea / Steps How do I Invoke the test client for a service created and Hosted in IIS?

Thanks

Amol

# August 15, 2007 12:50 AM

Ian MacGillivray said:

Hey Dennis,

Love the technology, now I can pretend I put lots of thought into the next round of birthday presents for relatives, without having to cover my carpet in glue!

Ript should also stop me from cluttering up my desktop with .txt files on a million and one subjects.

Trackbacked at: tiedyeina.blogspot.com/.../ript.html

Cheers,

Ian.

# August 20, 2007 6:52 PM

Sanjay said:

Hi Dennis,

Thanks for ur example.

My quest for understanding WCF finally ended by ur example.

# August 21, 2007 12:05 PM

Robin Paardekam said:

This theme is definitely an improvement compared to the previous one. Good work!

# August 21, 2007 3:27 PM

Jonathan said:

Indeed, it looks good :) especially the header, nice buttons :)

# August 21, 2007 11:00 PM

Rick van den Bosch said:

Looks kinda nice Dennis! Keep up the good work...

# August 22, 2007 10:40 AM

Rick van den Bosch said:

Pretty nifty tool. I'll look into that, especially now that I'm taking more and more pictures (because of my new camera ;) ).

# August 22, 2007 10:47 AM

Marc Jacobi said:

# August 23, 2007 8:03 AM

Dennis van der Stelt said:

I've got those, but they only have 1 task to check on changes in a workspace. I need tasks to checkout, checkin, etc.

# August 23, 2007 8:08 AM

Mischa Kroon said:

I like it :)

# August 27, 2007 5:31 PM

Roberto Calcagno said:

Hi,

I am an electrical engeneer student from Chile.

I have to design a device who mesure the power and that can put the datas on internet.

In particular my job should be to design the internet conncetion.

Do you have any idea of the way  i can do that?

thanks

roberto

c20ster@gmail.com

# August 28, 2007 1:05 AM

Dennis van der Stelt said:

No I don't... A device isn't neccesarely mobile so maybe this isn't what you're looking for. There are so many things I don't know about the requirements I couldn't give you anything as for how to solve it.

Sorry :)

# August 28, 2007 12:08 PM

Careliyim said:

Ik heb weer een vraag :D

Ik ben bezig geweest met een M-Player in visual basic 2005

Maar omdat een player niet zo windows achtig maar meer zoiets als windows media player 11 moet zijn wil ik overstappen naar

Auto Play MediaStudio

Maar nu zit ik weer met dat

if en else commando

In visual basic werkt het als

If listbox.text = "" then

.....................

Maar in autoplay media studio kom ik er niet uit is er iemand die mij a.u.b kan helpen want ik zit er al meer dan 12 uur aan te goochelen

Please HELPP :(

E-mail: careliyim@gmail.com

# August 30, 2007 6:57 AM

Dennis van der Stelt said:

You should check the scripting guide.

www.indigorose.com/.../ams60

In 2 minutes I found out the following

if "dennis" == "Dennis" then

-- this will never be executed

elseif "dennis ~= "Dennis"

-- this is always executed

-- because ~= ignores case sensitivity

else

-- this won't happen because the previous was true

end

# August 30, 2007 7:40 AM

careliyim said:

this works only if you work white 1 command

but what i want is

Select a item in the listbox and everytime a difrent name in the listbox is selected the button will make a differend command

Example

Listbox items

shutdown computer

Close application

When in the listbox the item shutdown computer is selected the button wil shutdown computer

When in the listbox close application is selected

the button will close the application

I can't see anything like this in the scripting guide

Thanks for taking the time Dennis

Hope you can help me white this

# August 31, 2007 3:31 AM

Justin Mason said:

Can you run WcfTestClient.exe from VS 2005?  Is there a way to download and use it or is it only for the 2008 beta.

Thanks,

# September 10, 2007 8:37 PM

Dennis van der Stelt said:

I have no idea if it can be run from VS2005. It's available in .NET 3.5 so it might not be. I haven't checked yet if it has parameters or anything. VS2008 does have to provide the info to the tool, so it might. I'll have to check it out yet. Maybe I'll write some more about it.

Although in time I didn't like both tools as much as before though. Console apps still rule my world.

# September 11, 2007 2:02 PM

Ryan said:

Jeffs comment works superb for NewValues, I guessed a way to extend it to fill OldValues, mind you, it didn't take much imagination:

gv.Columns[i].ExtractValuesFromCell(e.OldValues, cell, DataControlRowState.Edit, true);

Cheers Jeff

# September 12, 2007 11:26 AM

Rick van den Bosch said:

Hi Dennis,

That's good news! And I don't mean you write all your training exercises without using tests ;).

I can't wait to use VS2008, so I guess I'll have to go and set up a virtual PC image...

Kind regards, Rick

# September 12, 2007 4:49 PM

Klaus said:

I've found two excelsheets, where you can test your units.

sourceforge.net/.../vbaunit

www.richardjones.info/.../downloads.html

Bye

# September 13, 2007 1:14 PM

Evil_T0NY said:

Hello there....I'm Evil_T0NY (as the INTRO to my Video starts off!)

I would like present to you all of you Team Fortress Bloggers/Readers/Viewers to take a look at a CUSTOM video I had made of Myself (Evil_T0NY) interviewing the Heavy Weapons guy of Team Fortress 2

Hope you ENJOY IT

<a href="teamfortress2.pcgamearticles.com Team Fortess 2: Heavy Weapons guy WITH Evil_T0NY!</a>

# September 14, 2007 2:50 AM

Brian Sutherland said:

Worked a treat, thanks.

# September 17, 2007 2:36 AM

Lorenz said:

The client can be run from VS2005. Only VS 2005 is required. You will, however, uncover several issues with this setup. VS Orcas contains several improvements such as auto attaching the debugger to services. You have to do all of these things manually in VS2005. That’s why we chose to ship the tool only in VS Orcas.

# September 17, 2007 9:50 PM

Sivakumar said:

Very nice example with explanation

# September 19, 2007 11:11 AM

irfan said:

jeffs comment did not work! :( yes i get some values to e.NewValues but unfortunately they are not the NEW ones. they are the old ones. I am stuck here!

# September 21, 2007 9:56 AM

Ryan Rinaldi said:

Not until I see my mom SHIFT + click or CTRL + click.  Once that happens I'll drop the target attribute like a bad habit.

# October 1, 2007 5:17 PM

Dennis van der Stelt said:

Hehehehe... Have you tried EXPLAINING her?

And how does she currently open websites in a second window when the target isn't there? And perhaps she just finds all these windows popping up irritating like ... Kinda like I do! ;)

# October 1, 2007 8:35 PM

Erwyn van der Meer said:

I had taken this online typing test before on a laptop while sitting on the couch. Tonight I was sitting

# October 1, 2007 11:10 PM

Brian Schmitt said:

I know its not the point of your article, but did you know you can 'middle' click your mouse wheel and open pages in a new tab?

# October 4, 2007 2:32 AM

Dennis van der Stelt said:

@Brian : No I did not know that! Thanks!

# October 4, 2007 9:22 AM

Yardy said:

Probably there is no complete solution for these spam comments or messages. As far as Spam Filters are concerned, I always use to feel that Spam Filtering may reduce the number of spam for a short while but you cant say that it is an ultimate solution to Spamming. The reason is that the Spammers are aware of these filtering techniques whether it is Filtering with BogoFire, Akisment or some other. There are many websites available that are providing the information on Anti-Spamming Solutions but most of this information is either irrelevant or not useful. I have recently visited a website that I would like to suggest  

<a href="http://www.anti-spam-info.com" title="Spam Filtering">Spam-Filtering, Comment Spam, Anti-Spam, Anti-Spam Solutions</a> Website

# October 4, 2007 11:59 AM

Richard P said:

First of all, you can control your build by editing the TFSBuild.proj file in the source repository (at least in TFS Orcas, back me up on 2005)

Second off, all the custom tasks can be found in C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets

# October 8, 2007 9:01 PM

Dennis van der Stelt said:

Yeah, I know...

But do you use Continues Integration outside of Visual Studio/TFS? Because I'm on TFS v1 and CC isn't included. So I'm using CruiseControl.NET but it's very hard to run and test this. As far as I know, it must be done on the server itself and cannot be tested locally... Kind of a bummer, as you screwing up the build when you're adding new stuff. And besides that you might also mess with other build process along the way.

That's why I chose to stay of TeamBuild and stay with MSBuild for now and ignore the TFS build possibilities until I find a better way.

# October 8, 2007 9:56 PM

Jean-Paul said:

Souds great, but is there also going to be a non-hotel version?

Like just in Barneveld or so?

It will be easier to attend for developers with kids...

# October 9, 2007 9:48 AM

Dennis van der Stelt said:

The trainers for the .NET 3.5 class are Alex, Pascal and me. We respectivly have one, two and three kids and we'll definitly be there! :D

Sorry, but there isn't going to be a non-hotel version for now. We will be redelivering this training, but probably in custom versions and there might not be a complete update to 3.5 training like this is. We're definitly covering everything there is to talk about. :)

# October 9, 2007 2:14 PM

Meher said:

Hi... Dennis

I started 3.0 recently and was confused how to start the WCF. Your article is so helpful

Thanks

# October 10, 2007 3:17 PM

Raul Macias said:

I am new to TDD and I've found your presentation very helpful. Thanks!

# October 10, 2007 9:02 PM

Dennis van der Stelt said:

No problem, glad people still find my stuff helpful! :)

# October 11, 2007 8:42 AM

Stefan said:

Hoi,

als je wilt kun je via http://xml.fileindex.nl een actuele en zeer uitgebreide filemelding van NL zo gebruiken (onder bronvermelding). Wellicht handig voor je tool. Verder leuk.

Groeten

Stefan

# October 18, 2007 12:11 PM

icon » Wat zegt Dennis? said:

Pingback from  icon &raquo; Wat zegt Dennis?

# October 19, 2007 6:13 AM

Pasquale said:

I couldn't use the example until I had installed not only Visual Studio 2005 and .Net Framework 3.0, but also the "Windows SDK" for .Net (Vista version) and most importantly "Visual Studio 2005 extensions for .NET Framework 3.0" available at: www.microsoft.com/.../details.aspx

Neither this example nor anywhere else I looked explained that.

I can't help wondering where the world will be in 5 years when everyone needs to upgrade from WCF and we are all captive the black magic of this technology.

# October 19, 2007 3:15 PM

Dennis van der Stelt said:

@Pasquale : Just updated the article, you're right, it should've been in there. Other people can thank you for it now. :)

However, you don't need the SDK and your link is to the WF extensions, not the WCF/WPF extensions.

# October 19, 2007 3:28 PM

Pasquale said:

Right, I'm told both WF and WCF/WPF extensions are needed.  Here's the link to the WCF/WPF extensions:

www.microsoft.com/.../details.aspx

# October 19, 2007 3:49 PM

SK said:

Great, Just one word.

ThankYou

# October 25, 2007 5:08 PM

Paul Gielens said:

Great game indeed. Unfortunately I got myself the 360 version. Let's hope additional maps will be available on live soon.

# October 26, 2007 10:53 AM

kenny said:

Thank your example, it is pretty helpful and clear to understand the WCF structure in inline code.

you are right, To separate the host and client to different projects makes the route and the concept much more clear, even I modified the binding address from 'localhost' to other '192.168.xxx.xxx' and run the service on other machine, it will be better.

one thing need notifiy is service reference name 'localhost' would be customized to other name by changing the reference name or in its property, it made me confuse at the begining.

Do you have other example using IIS to host the service,config and expose it in web.config? I would like to enjoy it.

# October 31, 2007 4:13 PM

Dennis van der Stelt said:

Kenny, good idea! I'll create an example and tutorial for that. But it'll probably be next week.

# November 1, 2007 10:32 AM

Yolanda Parker said:

how many keystrokes is 4000 worrds per minute

# November 1, 2007 7:21 PM

Annie said:

Ryan's comment about OldValues didn't work on mine.

Both OldValues and NewValues are New ones in this way.

# November 1, 2007 9:35 PM

Drew said:

I also check back regularly to see if the Weighted Companion cube is in stores yet. I already bought the Portal t-shirt. I was a bit disappointed that it was so generic and the logo "now you're thinking with portals" isn't nearly as good as "the cake is a lie".

# November 2, 2007 4:35 PM

Cubey said:

The still alive song is from the companion cube. Not from GladiOS. (final boss)

# November 3, 2007 1:54 AM

Dennis' Blog said:

Normally I get flooded with messages about stuff like the official release-date for .NET Framework 3

# November 5, 2007 10:11 AM

Erwyn van der Meer said:

Sam Guckenheimer (product planner for VS) stated last week in Redmond that he expects VS2008 to be downloadable from MSDN in November and general availability before the end of the year. This wasn't an official statement though.

The launch date is February 2008. But launching and releasing are completely separate things for Microsoft.

# November 5, 2007 11:16 AM

Daniel Moth said:

Hi Dennis

Thanks for reading :-)

Can you be more specific about the setup issue? AFAICT, setup projects work fine both for v2.0 via VS2008.

Cheers

Daniel

# November 6, 2007 3:23 PM

Dennis van der Stelt said:

I created a .NET 2.0 application in VS2008 and made a .cab file and a setup project so I could run the setup on my desktop. I developed everything in a VPC (yeah, the one that expired 1/11/07 ;) and copied it to a non-.NET3.5 machine and ran the installer. The first thing it tried to do was install .NET 3.5 on my desktop.

# November 6, 2007 3:56 PM

Daniel Moth said:

When you created the setup, did you change the combobox in the properties to indicate v2.0 instead of the default of v3.5?

# November 6, 2007 4:31 PM

Dennis van der Stelt said:

As far as I know, I double-checked this, because after noticing the installer was .NET 3.5, I created another installer, to recheck this.

But as always, when you're asking, you can't be too sure! ;) But I'm 99.9% sure that I did change the combobox to .NET 2.0.

# November 6, 2007 5:15 PM

blue portal said:

lyrics:

you broke my heart and killed me

and tore me to pieces

and threw every piece into a fire

sounds more like GladiOS to me

# November 7, 2007 3:08 PM

Alex Thissen said:

Hi Dennis,

VS2008 will be released before the end of November 2007 (from TechEd Barcelona 2007 keynote). I've heard rumors of .NET 3.5 being just before that release. VS2008, Windows Server 2008 and SQL Server 2008 will have a combined launch on February, 27th 2008. Like Erwyn said: Launch != Release. ;)

Alex

# November 8, 2007 9:06 PM

Daniel Moth said:

Dennis, I just wanted to confirm that you are able to create setup projects with .NET 2.0 only, in VS2008.

•Right click on your setup project – View – Launch conditions

•Select your .NET Framework Launch condition

•Open properties (F4)

•Version is the fourth property; it is a drop down which you can change to the available versions.

When you get the RTM bits, let me know if you still face an issue.

Cheers

Daniel

# November 14, 2007 11:11 PM

Rutger van Hagen said:

Ha Dennis,

Ik ben nu juist op zoek naar de PPT iconen!

Zou je ze met mij kunnen delen?

Alvast bedankt!

Rutger van Hagen

rutger(@)vanhagen.eu

# November 16, 2007 10:49 AM

sculter said:

ik probeer dus een media player te maken met visual basic. als ik dit opzoek op het net dan krijg ik altijd helpfiles maar dit is allemaal met windows media player 5.0 of 6.0 ofzo. nu zitten we al aan media player 11. We  kunnen die niet verwijderen omdat dit bij de windows hoort...

suggesties?

danku

# November 16, 2007 2:09 PM

Dennis van der Stelt said:

It's amazing to see how many people can find this blog entry via Google but don't provide any comments or anything! :)

# November 20, 2007 10:38 PM

Dennis van der Stelt said:

Man, is VS2008 fast on my new laptop. :)

.NETCF development is an even greater joy for me now!

# November 21, 2007 8:22 AM

Alan said:

Yes i ran sn.exe -Vr svcutil.exe but now i get the error "Error: Cannot obtain Metadata from localhost/.../mex"

this comes from a wcf project where i press run without changing any of the generated code.

Microsofts needs to get it's act togeather as it relies on to much black magic to get things working

# November 22, 2007 8:51 PM

Dennis van der Stelt said:

When Microsoft takes a great idea from someone else, they always enhance it. They call this &quot;borrow

# November 23, 2007 2:08 PM

dan said:

I have a zune player.I just want to know how to convert various video formats into WMV format.Is this software free.

# November 24, 2007 6:12 AM

Dennis van der Stelt said:

Dan, I have no idea. I used commercial software but found it hard even with software that was called "DVD2Zune" or "AVI2ZUNE" convertors. They converted to something, but when syncing the converted files with my Zune Player, it started converting them AGAIN...

# November 26, 2007 10:15 PM

Dennis van der Stelt said:

I got an e-mail with the question how to turn off automatic checking for updates, when you&#39;re doing

# November 28, 2007 2:40 PM

Brent said:

Yeah those are GlaDOS's words, not the cube.  The woman who voices her said so in the developer commentary.

# November 29, 2007 7:01 PM

Frosty said:

Hey Drew, take a look at these portal t-shirts:

www.edwardchase.org/.../portal_shirts.html

# December 2, 2007 7:40 PM

V said:

The code of Programmatically must apply the baseAddress

like this:

using (ServiceHost host = new ServiceHost(type, baseAddresses)){}

But you only do it like this

using (ServiceHost host = new ServiceHost(type))

# December 3, 2007 5:21 PM

Dennis van der Stelt said:

V, you're right, thanks...

# December 4, 2007 8:22 AM

Pieter Joost van de Sande said:

I totally agree with you, this is a must read for everyone who is into pair programming, tdd and patterns and principles.

If you talk about single responsibility, you talk about object modeling, if you talk about object modeling, you talk about: Object Design: Roles, Responsibilities, and Collaborations [www.amazon.com/.../ref=sr_1_1]

# December 4, 2007 6:58 PM

Dennis van der Stelt said:

Hmmm, I could probably get rid of either the foundAt or startIndex variable.

# December 5, 2007 10:26 PM

TrackBack said:

# December 6, 2007 9:38 AM

TrackBack said:

# December 6, 2007 9:49 AM

Mark said:

Why not just compile against .NET 3.0? It's backwards compatible, right?

# December 6, 2007 3:06 PM

Dennis van der Stelt said:

They're not (just) backwards compatible, they are exactly the same. It's a single runtime for .NET Framework 2.0 and upwards. Again, in .NET Framework 3.5, you're still coding against the .NET 2.0 Runtime!!!

In .NET Framework 3.5 however, you get a much smarter compiler and a lot of library classes.

Just start a new project and choose Console Application in .NET Framework 3.5 !!! The project template automatically adds System.Core assembly. Remove it and do a single Console.WriteLine("Hello world from a .NET 3.5 application.");

Now compile and copy to a computer with .NET 2.0, but without .NET Framework 3.5

# December 6, 2007 3:35 PM

Dennis van der Stelt said:

For those that are still curious after my previous post about using C# 3.0 features in .NET 2.0 . You

# December 6, 2007 3:40 PM

Dennis van der Stelt said:

For those that are still curious after my previous post about using C# 3.0 features in .NET 2.0 . You

# December 6, 2007 4:20 PM

TrackBack said:

# December 6, 2007 7:37 PM

Mark said:

I do understand that the difference between 3.5 and 2.0 is just the class library and the compiler, thats what makes it "backwards compatible".

But still, my question remains, why should you go through all the trouble of creating your own ExtensionAttribute, LINQ classes, etc? When all this is available in .NET 3.5?

# December 7, 2007 8:16 AM

Rob C said:

Re: Ricardo Pinto adding items to a Drop Down List.

I don't think you are going to get anywhere with this even if you set the EnableViewState property to true.

This is because the normal HTML form post data does not include all the values in a drop down ... only the selected value.

Your best bet is to add the data to a text box or hidden form field and then parse it on the server.

If you need the user to simultaneously select one of the values then also add it to a ddl for selection. But you will have to use the Request.Form technique described above to get the selected value.

Hope this helps but since you posted a long time ago I'm sure you have sorted it out yourself by now!

# December 7, 2007 11:05 AM

Dennis van der Stelt said:

Because almost no one is building using .NET Framework 3.5 yet? Still a large amount of our customers are working in .NET 1.1 !!! Of course not anymore after we've left ;-)

# December 7, 2007 3:15 PM

TrackBack said:

# December 7, 2007 3:23 PM

Pankaja said:

I have a gridview in which I have 8 templated field columns which are dynamically created and has only OnDataBinding event attached to them. Besides I have 4 bound field that were created at design time for the page which are sortable. When I sort, even though I remove the templated columns and re-add them still the grid shows only the 4 bound fields and everything else is empty (i.e. the data rows). This is I think due to the OnDataBinding not getting fired for the templated fields on sort. Any help is appreciated, as soon as you can, since I have a monday deadline (12/10/2007). Thanks and you can respond to pankaja_shankar@ml.com

# December 7, 2007 6:23 PM

Delf said:

3.5 is based on 3.0 which is based on 2.0... try to use WCF in the console application and run it on framework 2.0... outch!

# December 7, 2007 11:43 PM

What is a good way to specify requirements? | Technology said:

Pingback from  What is a good way to specify requirements? | Technology

# December 11, 2007 10:15 AM

Dennis van der Stelt said:

I blogged about new Unit Testing features in Visual Studio 2008 , but missed the following features back

# December 11, 2007 4:30 PM

Antonio said:

Hi,

This post is really interesting. I'm researching on clickOnce to see if we can using in my job. Everything looks great, but I have a problem. For some policies of the company, I need to change the installation path. I can't have clickOnce to install my apps per user in the cache folder.  In my research I found that this is not possible. So I wonder if I can make a classic msi installer to setup the app for the first time (and have it installed where I want), but still using clickOnce for checking updates using your code example.

How can I make the app to 'think' that has been deploy using ClickOnce, so the NotDeployedViaClickOnce status says so?

Is this possible?

# December 11, 2007 6:18 PM

TrackBack said:

# December 11, 2007 8:10 PM

Delicious & Moist said:

The still alive song is from the companion cube. Not from GladiOS. (final boss)

"It makes me GLaD I am not you"

"I am doing science and I'm still alive"

"We just keep on trying until we run out of cake"

Yeah, it's definitely GLaDOS

# December 12, 2007 8:14 AM

TrackBack said:

# December 13, 2007 8:37 PM

TrackBack said:

# December 13, 2007 8:37 PM

The Promenade Blog » Blog Archive » My Nerdy Christmas Tree said:

Pingback from  The Promenade Blog  &raquo; Blog Archive   &raquo; My Nerdy Christmas Tree

# December 14, 2007 2:22 AM

Alan said:

One or Two project samples are nice so long as it's short and simple like this one and i don't see what the fuss is about.

# December 18, 2007 4:03 PM

Dennis van der Stelt said:

Alan, what do you mean with 'the fuss'?

# December 19, 2007 8:26 AM

Jon E. Ronnenberg said:

@Alan: You have to have your mex bindings in place... You can easily add them with WCF Service Configuration Editor.

Tools -> WCF Service Configuration Editor -> Ctrl+O -> choose your web.config file

In the editor, choose Services and click on Create a new Service Endpoint... -> Choose the contract you want to expose -> Existing binding configuration, choose the appropriate mex* binding -> choose the endpoint address (can be the same as your contract endpoint) -> Finish

# December 21, 2007 9:36 AM

TrackBack said:

# December 24, 2007 10:05 PM

TrackBack said:

# December 24, 2007 10:31 PM

Matt said:

I just used this where my template field is a lable

GridView grd = (GridView) sender;          

       Label lbl = (Label) grd.Rows[e.RowIndex].FindControl("lblempIDe");

# December 27, 2007 3:36 PM

Matt said:

I just used this where my template field is a lable

GridView grd = (GridView) sender;          

       Label lbl = (Label) grd.Rows[e.RowIndex].FindControl("lblempIDe");

now use the

lbl.Text

to find the value

# December 27, 2007 3:36 PM

Rick van den Bosch - Blog said:

Dennis already blogged about it : we had some problems with the availability of BloggingAbout since last

# January 9, 2008 6:57 PM

flitsers | Dot info news said:

Pingback from  flitsers | Dot info news

# January 19, 2008 7:44 PM

Stephan Sokolow’s Blog » More Portal Fun said:

Pingback from  Stephan Sokolow&#8217;s Blog &raquo; More Portal Fun

# January 26, 2008 3:45 AM

Rajkishore Gupta said:

Thanks

it was very helpful. since few days i was facing this issue.

# January 30, 2008 1:39 PM

Hilton Giesenow's Jumbled Mind said:

WARNING &amp; DISCLAIMER: This is a long post, split over a series, as it discusses some old, well-entrenched

# February 1, 2008 12:50 PM

Douglas Ross said:

Hi,

Thanks for the article, it is exactly what I am looking for..... Unfortunately, I am not that good a coder, and do not understand exactly where to make these changes.

I also cannot find where MS Studio makes the wizard changes (other than in properties).

I thought that if I found the default stuff set up by the wizard then I should be able to overwrite it with the delegations you have written above.

Would you be able to post an example forms C# project, that shows exactly where you place this code.

Apologies in advance, if I am being terribly simple and the answer is obvious.

Douglas

# February 3, 2008 10:10 AM

Dennis van der Stelt said:

Hi Douglas,

I'm giving a training today. If I find the time between practices or so, I'll create and upload a solution.

# February 4, 2008 8:50 AM

Manual check for updates with ClickOnce - Dennis van der Stelt said:

Pingback from  Manual check for updates with ClickOnce - Dennis van der Stelt

# February 4, 2008 1:47 PM

Dennis van der Stelt said:

Seems like I did it faster than I expected. I added the example for VS2005 without the BackgroundWorker.

The link is just below the article, as UPDATE 2.

If you want one with the BackgroundWorker included, or anything else, let me know.

# February 4, 2008 1:51 PM

bala said:

i had one problem that is when we click the edit button the updating template is coming but not refelected in the database

# February 6, 2008 11:42 AM

TrackBack said:

# February 8, 2008 11:06 AM

Jeroen de Zeeuw said:

Hi,

I was googling for a solution for the problem as described in the referenced article, concerning the "Launching Application" dialog.

Indeed, when un-checking the "The application should check for updates" check, the dialog is supressed until I call the CheckForDetailedUpdate() method in the ApplicationDeployment class. If I choose not to update the application, the dialog is back when restarting the application.

Is this a bug or am I missing something here?

However, nice walkthrough!!

Jeroen.

# February 14, 2008 12:37 PM

Hasan Akram said:

Hi,

I am using visual studio 2008. I have two questions regsrding this feature of hosting a WCf service library and text cleint.

1. is it possible to disable this feature of automatically hosting while debuging? i am hosting all my services in another project, so i need to disable them.

2. is it possible to use this service host in run time, that means do i need to host services separately or can i use this feature for hosting all my services?

# February 16, 2008 10:48 PM

Dennis van der Stelt said:

Pfew, I had almost uploaded Reflector, but than I saw this link at the bottom

www.microsoft.com/.../cpyright.mspx

;)

# February 20, 2008 3:50 PM

Hilton Giesenow's Jumbled Mind said:

Considering I&#39;ve put a few posts up about LINQ To SQL, I realised I&#39;ve never shared some of the

# February 20, 2008 5:07 PM

Jeroen Vos said:

You couldn't find a link anywhere you said. That led me to believe you would actually supply one yourself. Its in the picture ofcoure, but nothing clickable ;-)

www.visualstudiogallery.com

# February 22, 2008 8:49 AM

Dennis van der Stelt said:

Hahahaha, my bad! I'll update the post! Thanks! :)

# February 22, 2008 9:30 AM

Daniel Moth said:

Personally, I wouldn't do that. The protection I get is worth 1-2 extra clicks per day. "Protection" is also the awareness of new software I install in terms of their admin demands ;). BTW, if you are getting more than 2 clicks you should consider an elevated cmd where you do your admin stuff.

Additionally, note that with Vista SP1, the number of elevation-related dialogs is reduced for file system operations :-)

Finally, the only thing I personally tweak on secpol.msc is the "switch to secure desktop" - that is truly annoying!

# February 22, 2008 7:13 PM

TrackBack said:

# February 23, 2008 1:17 PM

TrackBack said:

# February 23, 2008 1:21 PM

Dennis van der Stelt said:

Hasan,

1. I don't know but I don't think so. You should however create a class library instead of a WCF Service Library.

2. I'm not entirely sure what you mean here. Do you want to use this host on production? Is that wise? Because how would you be able to monitor that host, see when it fails and why? If you mean starting it seperately from VS2008, I don't know. It might be possible, but I don't know how.

# February 25, 2008 8:15 AM

Sangram said:

Good One

# February 27, 2008 12:54 PM

Adel Khalil said:

yes, but is software is the kind of product to promote with models !!!

maybe if i met Sare at DevConnection i may have changed my mind, untill then :)

# February 28, 2008 3:21 AM

Dennis van der Stelt said:

It&#39;s been a while since I blogged about one of my favorite topics, Windows Communication Foundation

# February 28, 2008 9:52 AM

TrackBack said:

# February 28, 2008 8:09 PM

TrackBack said:

# March 3, 2008 8:43 AM

TrackBack said:

# March 3, 2008 8:45 AM

WCF Part 0 : Introduction - Dennis van der Stelt said:

Pingback from  WCF Part 0 : Introduction - Dennis van der Stelt

# March 4, 2008 4:01 PM

SDNET - all about .NET and computing ?? Url Redirect and IIS7 said:

Pingback from  SDNET - all about .NET and computing ?? Url Redirect and IIS7

# March 5, 2008 9:13 AM

Mischa Kroon said:

Als de data al in de DataTable zit dan zie ik eigenlijk niet echt de meerwaarde van LINQ niet.

Maar dat kan aan mij liggen.

foreach DataRow dbrow  in dataTable.Rows

 Console.WriteLine (dbrow("ClientName"));

of iets dergelijks.

# March 5, 2008 11:43 AM

New Technology » Blog Archive » MIX08 announcements said:

Pingback from  New Technology  &raquo; Blog Archive   &raquo; MIX08 announcements

# March 5, 2008 11:33 PM

New Technology » Blog Archive » New Technology ?? Blog Archive ?? MIX08 announcements said:

Pingback from  New Technology  &raquo; Blog Archive   &raquo; New Technology ?? Blog Archive ?? MIX08 announcements

# March 7, 2008 10:57 PM

New Technology » Blog Archive » New Technology ?? Blog Archive ?? New Technology ?? Blog Archive … said:

Pingback from  New Technology  &raquo; Blog Archive   &raquo; New Technology ?? Blog Archive ?? New Technology ?? Blog Archive &#8230;

# March 8, 2008 10:44 PM

Movies and Film Blog » Getting started with Silverlight 2 said:

Pingback from  Movies and Film Blog &raquo; Getting started with Silverlight 2

# March 11, 2008 9:39 AM

Waqt said:

Good one it helped me a lot thanx

but can u provide the steps for WCFClassLibrary also

# March 12, 2008 1:16 PM

fmonroy said:

Hello Jeroen de Zeeuw, I've the same problem. It behaves like a bug.

Did you find a workaround?

# March 17, 2008 8:14 PM

newbie said:

Nice sample!!!  yes this is what i have been looking for too, nice and simple.  would you happen to have a WF State machine simple sample too?

# March 21, 2008 2:34 AM

Sharad said:

Hi

Is it possible to set MSMQ message priority at client?

Thanks

# March 25, 2008 5:42 AM

Miron said:

this is nice useful feature. However, there is it possible to have default value to a properties ?

equivalent to:

private string _title = "Hello";

 public string Title

 {

   get { return _title; }

   private set

   {

     _title = value;

   }

 }

# March 25, 2008 10:24 PM

Dennis van der Stelt said:

I have something against setting these values in class-scope. Just doesn't feel right! :)

My way would be to do it like this:

class MyClass

{

 private string _title;

 // constructor

 public MyClass()

 {

   Title = "Hello world";

 }

 public string Title

 {

   get { return _title; }

   set { _title = value; }

 }

}

which in automatic-property world would result in

class MyClass

{

 // constructor

 public MyClass()

 {

   Title = "Hello world";

 }

 public string Title { get; set; }

}

# March 26, 2008 8:44 AM

Dennis van der Stelt said:

Nope, that's only possible with the msmqIntegrationBinding. But know what you're choosing for when selecting that binding. Is it really neccesary to set message priority?

# March 26, 2008 9:15 AM

jeff said:

Trying to use this with VS 2008 and I cant seem to set the ref to the host service while it is running. Any ideas? All the options on the Client project are grayed out when the host is running.

# March 28, 2008 7:41 PM

Dennis van der Stelt said:

Jeff, check out the following post I just wrote for the solution:

bloggingabout.net/.../quot-add-service-reference-quot-is-disabled.aspx

# March 28, 2008 9:17 PM

Jeff said:

Thanks for the quick solution!

# March 28, 2008 9:33 PM

Rick van den Bosch said:

Hi Dennis,

Some of us have built up quite a history over here, which might cause them to stick around. I think that bloggingabout.net won't get (so much) new bloggers when there's going to be a monthly fee to be payed. And I think there might be some of us that will leave BA.

As you know I've thought about setting up a blog for myself / leave bloggingabout. There are several free weblog providers available. And although something like 10 dollars is not much, it might be enough to push some of us away.

Kind regards.

# April 1, 2008 7:27 PM

Rick van den Bosch said:

nice april fools message by the way ;)

# April 1, 2008 7:36 PM

Dennis van der Stelt said:

GOTCHA! :)

# April 1, 2008 8:34 PM

Mischa Kroon said:

Ik vind em persoonlijk ietwat misplaatst als 1 april grap maar goe ...

# April 1, 2008 9:48 PM

Jean-Paul said:

I think it is a great joke, it even looked for real when read on april 2nd. :-)

# April 2, 2008 8:31 AM

ernst said:

Hé Dennis,

Long time no see!

Dacht, ik geeft "Dennis" een kans op mijn HTC p3300.

Helaas... ik krijg de volgende foutmelding:

Fetching data...

Something went wrong! An error message cannot be displayed because an optional resource assembly containing it cannot be found

Enig idee?

# April 3, 2008 11:57 AM

Dennis van der Stelt said:

I know, I know...

The application does screenscraping somewhere and the HTML on the page changed.

I'm working real hard on a new version that uses a WCF service to get its data. Then when something changes, I'll only have to update the service and not all clients.

So until then, you'll have to wait...

Sorry.

# April 3, 2008 12:34 PM

Jan Schreuder said:

Thanks Dennis!

# April 3, 2008 12:57 PM

Pieter Joost van de Sande said:

ghehe! Priceless, you fooled me :)

# April 5, 2008 1:29 PM

Mike said:

Hi,

Is this deployable to other computers? (other than your own dev computer?)

If not, how would a deployable Windows Service be made?

Thanks.

Cheers,

Mike

# April 5, 2008 5:23 PM

Dennis van der Stelt said:

Yes, this should be deployable on any machine running .NET Framework 3.0

# April 7, 2008 10:22 AM

cubemaniac said:

i got the companion cube to talk on the ps3 version

if you pick it up and drop it real fastrepeatedly  after you beat the game numerous times it will say "ouch that hurts"

# April 8, 2008 9:39 PM

BB said:

# April 8, 2008 9:41 PM

Tulasi Adhikari said:

Is it possible to Unit test C++ unmanaged code in Visual Studio 2008?

# April 10, 2008 7:47 PM

Tim said:

Thanks... quick and easy.

# April 11, 2008 5:37 PM

Rare Groove Rider said:

Where did my Property Snippet go in Visual Studio 2008?

# April 13, 2008 3:49 AM

jjamdog said:

i just got a zune and i cant put songs on it they dont play well please help me the songs dont even know how to upload them

# April 13, 2008 10:39 PM

Dennis van der Stelt said:

Hi Tulasi, sorry for the late reply...

Unfortunatly not.

It's possible for managed code though, read this article for more information:

www.codeguru.com/.../c11893

# April 15, 2008 11:16 AM

Pieter Joost van de Sande said:

Great news! Now I can enjoy BlogginAbout.NET even faster then before \o/

By the way: http://dennisvanderstelt.nl is looking great!

# April 15, 2008 8:00 PM

nicolas said:

Hi,

How can I manually specify the update location.

The application will be installed in multiple clients where internet is not available. So I need the administrator of each of our clients to manually copy the files to a specific location so that all clients can be updated.

# April 21, 2008 8:57 AM

Dennis van der Stelt said:

If you want to know, this was my upgrade script:

1. Place app_offline.htm

2. Copy all /web/ files to website

3. Convert

4. Check for non-copied files in centralized storage

5. IIS7 Integrated Pipeline (give site its own app pool)

6. Bit of web.config

<system.webServer>

 <security>

   <requestFiltering allowDoubleEscaping="true" />

 </security>

</system.webServer>

7. delete faulty users from removed communities

SELECT *

FROM cs_SectionMembers sm

join cs_Sections s on sm.SectionID = s.SectionID

left outer join cs_UserProfile p on sm.UserID = p.UserID and s.SettingsID = p.SettingsID

WHERE p.SettingsID is null

DELETE FROM cs_SectionMembers

FROM cs_SectionMembers sm

inner join cs_Sections s on sm.SectionID = s.SectionID

left outer join cs_UserProfile p on sm.UserID = p.UserID and s.SettingsID = p.SettingsID

WHERE p.SettingsID is null

8. delete /golfcoasting/ en /default/ in /themes/

9. Turn off Groups until I figure out what's added to the community.

# April 21, 2008 9:07 AM

Tom said:

The download does not work. Great article.

# April 23, 2008 1:47 PM

Dennis van der Stelt said:

Tom, thanks for the comment... I'll look into it.

# April 23, 2008 1:52 PM

Ludwig Stuyck said:

Thanks for the article. It's a nice summary on the subject. Hosting a service in a windows service is also the thing I'm after (that is, in windows server 2003).

# April 26, 2008 10:23 AM

Richard101 said:

Worked a treat with SQL2000, I backed-up secondary PUBS to disk then restored, changing the name.

# April 28, 2008 12:47 PM

Florin Lazar said:

There is nothing that System.Transactions can workaround for this matter. System.Transactions is doing what is supposed to do: promote on the second enlistment; this is required in order to ensure the ACID properties for two different enlistments. The workaround or fix will have to be done in System.Data. Hopefully the latest update (blogs.msdn.com/.../extending-lightweight-transactions-in-sqlclient.aspx) solves most of the cases.

PS: one thing I don't like about commenting on blogs is that I don't get notified about someone responding to my comment; the chances that I will come back to the page are small without a notification

# May 3, 2008 12:47 AM

Rupak Ganguly said:

I had other issues with Vista SP1, VS 2005 and IIS 7 and I have written a post here developershelf.blogspot.com/.../problem-loading-iis7-hosted-wap.html

# May 6, 2008 3:57 PM

Morgan said:

Hi Dennis,

Your articles look good.  Your zip file for this project seems to be corrupt or the upload was broken.  Could you please upload again? Cheers

# May 8, 2008 11:49 AM

Rob Kent said:

The main issues I have with ClickOnce are the install directory and config overwrites. Let's assume I want my users to be able to manually update the app.config - firstly, how do they know where it is? Secondly, what happens on next update and I have made changes to the central copy - this would overwrite the customer's changes.

I've looked at lots of ClickOnce articles and have still not seen a satisfactory solution to this problem.

# May 14, 2008 11:40 AM

ash said:

just wasted 3 hours and you helped me with a 2 second fix. Thanks

# May 15, 2008 8:39 PM

Robbie Huttenhower said:

Great article.  I like simple.

# May 22, 2008 10:50 PM

planetthoughtful said:

Great example, but I think you have a small error in this line:

OleDbDataAdapter dataAdapter = new OleDbDataAdapter("SELECT * FROM [Sheet1$]", strConn);

I think "strConn" should be "connectionString".

Thanks again,

pt

# May 23, 2008 12:03 PM

Sujith said:

Great one, It was really helpfull

# June 3, 2008 8:55 AM

Piter said:

Hi!

I have problem.

i's my function delegate.

void GV_RowUpdated(object sender, GridViewUpdatedEventArgs e)

       {

rowID = e.RowIndex;

                wartoscId = ds.Tables[nazwa_tabeli].Rows[rowID]["Id"].ToString();

                GridViewRow row = GV.Rows[rowID];

                drCurrent = dt.NewRow();

                drCurrent = dt.Rows.Find(wartoscId);

                drCurrent.BeginEdit();

                drCurrent["Pole1"] = ((TextBox)(row.Cells[2].Controls[0])).Text;

                drCurrent["Pole2"] = ((TextBox)((GridView)sender).Rows[e.RowIndex].Cells[3].Controls[0]).Text;

                drCurrent.EndEdit();

                OleDbCommandBuilder objCommandBuilder = new OleDbCommandBuilder(adapter);

                adapter.Update(ds, nazwa_tabeli);

           GV.EditIndex = -1;

           GV.DataBind();

}

It's ok but value drCurrent["Pole1"] it'S STILL old.

How I can get new value?

# June 3, 2008 4:30 PM

turn off automatic update notifications said:

Pingback from  turn off automatic update notifications

# June 4, 2008 10:47 PM

stan said:

if you dont have vista/4.0, how can you know which messages are your's when playing back a dead letter queue?

# June 5, 2008 3:23 PM

David Rogers said:

Nice simple article. However, I ran into a gotcha immediately:

"HTTP could not register URL http://+:8080/. Your process does not have access rights to this namespace (see go.microsoft.com/fwlink for details)."

Apparently, metadataexchange requires elevated privileges? Is this something I am getting because this is VS2008? Vista Ultimate? Any ideas on how to be able to tell Visual studio to debug with elevated privileges?

Thanks,

David

# June 8, 2008 11:23 PM

Amit Dave said:

Hi

First of all would like to thank you for such an encouragin example;

and am sure this is just a begining would like to have more detail and indepth use of WCF, could you just let us know that how wsdl and wcf are inter-related with each other and more inportantly scenarios suitable for WCF...

thanks again and expect such articles in future as well...

# June 9, 2008 10:55 AM

Waldek Mastykarz said:

Personally I would change the snippet type to SurroundWith, so you are able to select the code you want to measure and then surround it with the snippet using CTRL+K, S.

# June 13, 2008 9:23 AM

Dennis van der Stelt said:

You're right, I'll have to change it... Thanks!

# June 13, 2008 9:35 AM

Loosely Coupled Human Code Factory - A.K.A. Mercenary Engineer said:

Nope, gotta do it. I went around and hit Google for some links. At this point the key links...

# June 13, 2008 6:08 PM

Manny said:

Thank you Dennis for this post. You are absolutely right that the State Machine WF really should be the most natural one to use in the myriad examples MS and others put out. After all, the biggest benefits of workflows come from implementing <strong>long running</strong> processes in organizations. Limiting most examples to simple sequential WFs really undermines the perceived power of the toolkit (especially in the minds of people who have not delved into WF development before).

# June 16, 2008 5:16 PM

Jayakrishnan R said:

very very nice and clean article. good starting point for studying WCF

# June 16, 2008 7:35 PM

malik said:

How to get the values of gridview cells in

a button click event when the grid view contains both boundfields and template fields

# June 19, 2008 9:23 AM

Dennis van der Stelt said:

@David : It's a Vista 'problem'. Run VS2008 as administrator (which I always do), or check out this article : blogs.msdn.com/.../addressaccessdeniedexception-http-could-not-register-url-http-8080.aspx

@Amit : There are more articles on my weblog, just click the "WCF" tag in the tag-cloud.

I'll make a post about WSDL and MetadataExchange in the future to try and explain it the simple way! :)

For now I can say the "WSDL" is the "WebService Description Language". You can enable it via the metadata service behavior. WSDL is like an "addon" feature on MetadataExchange so that consumers (clients) that don't support metadataexchange are still able to retrieve the WSDL.

# June 24, 2008 12:18 PM

RJ said:

Where shall we meet? :)

# June 26, 2008 4:14 PM

An Phu said:

Hi Hasan Akram,

Yes you can disable the service host.

blogs.msdn.com/.../disabling-the-visual-studio-service-host.aspx

# June 27, 2008 1:00 AM

abhishek said:

Is automatic property assign default values while initialing property .In old property we can do it by setting default value to private value

# July 8, 2008 8:17 AM

chandru said:

Thank you very much.Its really useful for beginners in WCF.This real time exmaple helped me to understand better.

# July 9, 2008 8:49 AM

Anthony said:

I just wanted to give you a heads up of some updates we’ve made to the Visual Studio Gallery (www.visualstudiogallery.com) to support RSS feeds, Tagging, HTML editor for details pages and other new features.

# July 10, 2008 11:09 PM

Venkat R Y said:

I am new to WCF this example has helped to understand how WCF works... Thanks very much Dennies.

# July 13, 2008 10:22 AM

Keyvan Nayyeri said:

Dennis,

Thank you for the mention and for the kind words about Waegis. I hope that you have a good experience with Waegis for a long time.

Please let us know about any problem or any suggestion that can make Waegie better.

# July 13, 2008 6:43 PM

Ryan said:

Great example!  This is just what I needed to get started with IIS 7.

# July 21, 2008 8:00 PM

prabhu said:

Thank you, Simple example has helped lot to understand WCF

# July 24, 2008 6:40 AM

Pratiksha said:

Very good article.For the first time i have been able to run WCF.

Thanks

# July 24, 2008 10:42 AM

Aravinthan said:

Hi Dennis,

Thanks a million. I am a newbie to the WCF and simply couldn't get a clue of how and where to start. Your simple example gave me a solid starting point. Once again.. thanks a lot and keep up the good work.

# July 24, 2008 1:27 PM

Mattie said:

Well i have made my own companion cube and i take it every where with me, why spend all that money when they only cost may be £2 to make and they sell them for something stupid like £24.99 ridiculas i made my cube from wax, yes from candle wax and it stays with me all the time :-)

# July 28, 2008 7:05 PM

Jan Schreuder said:

Never had to deal with creating PDF myself. When I needed that, I usually could create a report with (sorry Dennis) Crystal Reports or Reporting services. You can tell those applications to export the result to PDF format. I obviously have no idea what cound of documents you need to create, but I think that one of these report engines should be able to handle that for you.

In my current project, we need to report monthly reports to operating units for my current client and we do that by generating a PDF using Reporting Services. We even send those reports out to management at the operating units using the SMTP support in Reporting Services.

# July 30, 2008 9:48 AM

Jan Schreuder said:

Come to think of it, you are reporting from a database. You export tables. Sounds like a reporting engine will suit you just fine ;-)

# July 30, 2008 9:49 AM

Dennis van der Stelt said:

I start itching when I think of Crystal Reports or SSRS! ;)

Currently I need to generate thousands of PDF documents automatically on a server and place them all in a folder.

In the future I will only generate a few each day and e-mail them automatically.

# July 30, 2008 10:19 AM

Kenneth Nielsen said:

I too have been in the situation where i needed to create PDF documents.

I ended up using the component ABCpdf from websupergoo you can find a trial here.

www.websupergoo.com/abcpdf-1.htm

# July 30, 2008 10:50 AM

HJ Meulekamp said:

We are using two ways:

1) Having a report, which is retrieved as PDF from the SSRS using the webservice.

2)Aspose components: word templates with mailmerge functionality (Can give param arays or datatables), and SaveAsPDF option to export the generated document to PDF for downloading(, HTML for emailing or DOC for printing)

The first option is in use to generate the monthly invoices for customers, (thousands) and is working very well.. (Except for the initial report designer part).

The second one is very easy in creating new document templates (just use word and mailmerge fields).

Regards

HJ Meulekamp

# July 30, 2008 12:56 PM

Dennis van der Stelt said:

@HJ : But than I'd have to install Word on the server? Not something I'd prefer.

My preference is a good PDF library for 100% total control and extra PDF features. Creating links, annotations, etc, etc, inside your PDF documents.

But it's awefully slow and there are all sorts of problems that every library has. Bugs and/or features that just aren't possible.

# July 30, 2008 1:14 PM

HJ Meulekamp said:

Not at all, no Word or office components required. You just reference the aspose.word and the aspose.pdf library and thats it, two files extra in your bin folder. (we have a site license embedded as resource into our client library which is using the aspose components. Site license was about 2k dollars, but this is covering distributing our application (parking/permit system) with embedded aspose license) to a lot of clients)

Check www.aspose.com and check the sample code, as far as I know it has all the functionality for word... (And I'm using the SaveAsPDF only to send the PDF file to the browser) So I have not used the PDF API myself that much to know how easy it is to use advanced PDF functionality.

As far as our concerns go, the word documents convert to PDF nicely, and word documents are very easy to edit to modify tables, links, markup, embedded images etc.

# July 30, 2008 1:47 PM

Jan Schreuder said:

Then what's wrong with using a report generator? Because it sounds like you're creating reports of some sort. I'm assuming the data is supplied by running queries and then displaying the results? What's the special need for you to do it in code? Just out of curiousity ;-)

# July 30, 2008 1:51 PM

Dennis van der Stelt said:

@HJ : It does look like a very powerfull solution! I'll have to have a better look at this! Thanks for the advise!

@Jan : Currently it's a very basic report. But those PDF libraries have special features like annotions, extra security, forms, merging of documents. We might not use forms, but the other features we will use.

# July 30, 2008 1:59 PM

Mischa Kroon said:

+1 for websupergoo.

If you've tried it and didn't like it please do share what you didn't like about it.

# July 30, 2008 11:01 PM

Nick said:

Thanks Klaus vbaunit is good

sourceforge.net/.../vbaunit

# August 2, 2008 3:54 AM

Gerke Geurts said:

Apache FOP on IKVM?

# August 4, 2008 9:56 AM

abraham said:

Dennis,

Your's was the first WCF example that I was able to get working successfully, Thank you.

I have been trying one example after another in the hope that I could better wrap my head around WCF concepts once I had a working model to play with.

Your example creates a temporary web service. How does one go about deploying the service to IIS 5 & 6?

Appreciate the hand-holding.

# August 5, 2008 8:44 PM

kakalot said:

Thanks.It's useful to me.

# August 6, 2008 8:45 AM

VS said:

Apache NFOP used in .net seems to be good to generate PDF's we used it and works well, with XSLT .

# August 6, 2008 5:06 PM

André Boonzaaijer said:

Hi Dennis,

I have some very good experiences with ITextSharp (itextsharp.sourceforge.net). It suited me very well for simple applications (including table generation etc.).

# August 8, 2008 11:30 AM

alastair said:

jtleigh.com site seems to be dead.

# August 8, 2008 3:10 PM

Kenneth said:

Thanks for the great example. But I wonder if you can tell me why my service reference will not update. I have changed the endpoint addresses to a foreign machine's address and I can view the output in a browser when I navigate to that ip. However, when I try to do "Update Service Reference," it errors out. It is not a firewall issue as I can browse to the machine, but what else could it be?

Thanks.

# August 13, 2008 4:12 PM

sandhya said:

Really this is very nice example for those who started 3.0

can u please give some more examples

thanks and regards

sandhya

# August 14, 2008 3:36 PM

Joe said:

>> Seq WF has a start and end points but state machine does not usually!

This is totally foolish. Every state machine had its own initial state and finals states.

# August 16, 2008 9:47 PM

WCF and MSMQ part 1 « Sukasom said:

Pingback from  WCF and MSMQ part 1 « Sukasom

# August 18, 2008 2:00 PM

Patrick said:

You can try this too:

www.binitex.com/TypeMaster

# August 18, 2008 4:15 PM

Thurein said:

Thanks for your article. That's what I'm exactly looking for.

# August 22, 2008 6:34 PM

Laughing John said:

I've created an MS connect request to have the old snippet reinstated and also to add initialization to automatic properties. Vote/comment if you're interested!

connect.microsoft.com/.../ViewFeedback.aspx

# August 24, 2008 1:44 AM

Dennis van der Stelt said:

@abraham: I'll try and post something soon about that.

@Kenneth: Normally you can only see the nice HTML page when going to the service when you're browsing locally on the machine (or server). Maybe you don't have a MEX endpoint on the server so it can't update?

Either way, when from development the service its interface hasn't changed, you should be able to change the url of the service in the web.config or app.config and be fine. You don't have to actually update the service reference, that's just for updating the underlying proxy code, for when you've changed your interface (ie. added new operations, changed parameters, etc).

# August 24, 2008 6:20 PM

Guus Beltman said:

Hi Dennis,

We use ExpertPDF Html-2-PDF for creating PDF documents. (http://www.html-to-pdf.net/)

What we basically do is serialize an entity to XML convert it with an XSLT (so this is your template) to the HTML layout that you want and than convert it.

Best regards,

Guus

# September 5, 2008 11:17 AM

James Hodges said:

Dennis,

You need to bind your drop down list in the Init event of the page. You can then retrieve the selected value in the load or prerender events.

Turning on viewstate simply allows the selected value to be determined in the Init event.

Using Request.Form(MyDropdownList.UniqueID) is a good way to get the selected value early on in the init event without having to turn on viewstate which creates a lot of heavy overhead. Otherwise, if you can wait until the load or render events you don't need to do this.

# September 10, 2008 5:45 PM

jimi said:

hi,

   i m trying to use Duplex channel factory along with te to create a IClientChannel to create a pda chat client. both are not support in .net 3.5 WCF. Any one has done a WCF chat app ?

jimi

# September 11, 2008 11:36 AM

Craig Updegrave said:

I am a student intern trying to learn the world of sql database administration and space issues seem to come up frequently.  This is a different method than I had been shown before to backup the log with no truncate then use dbcc shrinkfile.  Very interesting, thanks!

# September 11, 2008 5:46 PM

Lobelt said:

I faced the problem using SQL2000. Then I took the database offline without problems and I could delete the offline database. The data and log files had to be deleted manualy.

# September 12, 2008 2:49 PM

Niels Olsen said:

How to get data the other way around? I mean from SQL Server using Linq to Excel. I have tried using a web page to publish the result of the Linq query, and then import using Excel's import from web page. It works but the performance is poor. Is there a way to "convert" the Linq query to a ODBC connection to avoid all the ASCII conversions?

# September 15, 2008 4:30 PM

Dennis van der Stelt said:

@Niels : Could you be a little more specific, because I don't really understand what you're doing.

If you want to exchange OLEDB for ODBC, I wouldn't recommend that, because normally (I said : normally :) OLEDB is always faster.

But I don't understand from where to where you're importing and exporting stuff. Are you getting info from Excel into a dataset or vice-versa?

# September 16, 2008 10:55 AM

Bill Jones MVP said:

Dennis- Don't let the replies sting too much.  I've been doing serious presentation work with Power Point since day one and I managed to miss it too.

THANK YOU.  I'm involved in a very heavy schedule thru first quarter and this little feature just knocked my socks off!

 Bill J

# September 18, 2008 12:14 AM

Dennis van der Stelt said:

As I’ve said before, years ago on some project I first got the opportunity to work with FinalBuilder

# September 18, 2008 9:13 PM

Dennis van der Stelt said:

As I’ve said before, years ago on some project I first got the opportunity to work with FinalBuilder.

# September 18, 2008 10:04 PM

Sharif said:

Can this be a research idea?

# September 19, 2008 4:06 AM

Sosh said:

This works.. Thanks for your help!

# September 21, 2008 2:02 PM

Constandinos Iezekiel said:

Very helpful article Dennis. It helped a lot :)

# September 22, 2008 10:39 AM

Paul Tierney said:

Do not use the SessionState to store the information if all you want is the SelectedValue.

Visit

www.harvardinnovations.com/.../DropdownlistEnableViewStateProblem

for a detailed article on the subject

# September 24, 2008 3:13 PM

Arjen Bloemsma said:

Hi Dennis,

This is the first time i hear about Velocity. Sounds very cool. Hope you can tell us more about it after the PDC ;)

# September 25, 2008 10:13 AM

hoodwing said:

Is there any emulator that can be used on Pc to brows the internet free of charge?

hoodwing@yahoo.com

# September 25, 2008 2:18 PM

Arjan`s World » LINKBLOG for September 29, 2008 said:

Pingback from  Arjan`s World    » LINKBLOG for September 29, 2008

# September 29, 2008 9:34 PM

Luke Bailey said:

I've used a heavyweight commercial SGML pagination engine for years which supports PDF output but recently we have switched to PDFLib which has become really very advanced and supports very sophisticated tables etc.  

It's very much multi platform so although there is a .NET SDK it 'feels' like a C API.

# September 29, 2008 11:09 PM

baski said:

To get the modified (edit) values in Row Updating event in GridView

protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)

   {

      GridViewRow grv = GridView1.Rows[e.RowIndex];

      int intPhoneId = Convert.ToInt32(((TextBox)(grv.Cells[1].Controls[0])).Text);

      string strPname=  ((TextBox)(grv.Cells[2].Controls[0])).Text;

      string strMname = ((TextBox)(grv.Cells[3].Controls[0])).Text;

      string strCname = ((TextBox)(grv.Cells[4].Controls[0])).Text;

}

# September 30, 2008 6:18 AM

Erwyn van der Meer said:

Yes, we used .NET 3.5, LINQ and LINQ to SQL on my previous project. I highly prefer LINQ to SQL over just plain ADO.NET. You can even still use stored procedures with LINQ to SQL if you really want to...

# October 1, 2008 5:12 PM

Michiel Borkent said:

I've used LINQ2XML and LINQ2SQL myself in my previous jobs and projects. .NET 3.5 because of the lambda expressions, anonymous types and automatic properties. It's just a little more comfort, not something I couldn't do without. Hope to learn some more cool LINQ stuff at the Data Access course at Class-A. Won it at CodeCamp 2008 :).

PS, I'm available for a job right now in the neighbourhood of Amersfoort. Anyone reading this, if interested I could send you my CV. Just send a msg to michielborkent@gmail.com.

# October 2, 2008 9:08 AM

Dennis van der Stelt said:

@Michiel : Congrats! You'll definitely learn more LINQ at the Data Access course!

And rofl at the job you're available for! :) Good luck with it!

# October 2, 2008 9:47 AM

Steve Campbell said:

We are using 3.5 (ok), and LINQ to SQL (nice), and straight LINQ (amazing) for a new project.

# October 2, 2008 6:47 PM

Robb said:

I have been used LINQ to SQL, LINQ to XML and LINQ to Objects on large production enterprise sites for the last 9 months.

# October 2, 2008 8:12 PM

Ransom Meade said:

Maybe you can use Ibex from XMLPDF.  You have to create XSL:FO from database or whatever and feed it to their pdf generator.  I use XML from SQL database (for XML) styled with XSL-T into FO.  Altova's XMLSpy is also an excellent XML IDE to facilitate XML technologies development.

www.xmlpdf.com

www.altova.com

PS - thanks for your example code WCF-MSMQ.

# October 2, 2008 9:16 PM

Ramon Smits said:

NHibernate in 80% of all stuff I do with databases. I haven't found any really good reason to use linq2sql or any other ms framework at the moment.

And yes of course I'm using 3.5! Sometimes I open 'legacy' projects and start using 3.x features and wonder why it can't compile :P

I'm using linq *very* frequently but thats more because it makes it sooo easy to process hiearchical in memory data.

# October 4, 2008 12:13 AM

Jens said:

We're using .NET 3.5 and Linq To SQL for a new project we're currently working on.

# October 6, 2008 8:54 AM

Chris Lomax said:

Excellent, been looking for an example of this!

# October 6, 2008 4:42 PM

Kris said:

Our apps are converted to 3.5, but we're not using any of the new features yet.

# October 6, 2008 11:20 PM

Martin S. said:

We're using LINQ2SQ, it's really great to have this power directly in the language. Beats the alternatives.

# October 6, 2008 11:36 PM

infocyde said:

I don't buy the whole ad-hoc queries are just as fast as stored procs, especially complex ones.  From my understanding is is all about caching/compiling execution plans, which you again from my understanding you can't do with ad hoc queries.  As far as being against logic in your data tier, that is you choice.  I think in heavy data centric environments you almost have to put some logic into stored procs for various reasons.  One being the database might be more available for changes then the code base.  Two with really complex normalized data models good luck trying to put all that logic in code rather then in a stored proc.  Often times you will end up making six or seven trips to a database so you can accomplish what could be done with one trip in a stored proc.

My two cents.  I don't claim to be either a code nor SQL guru.  I think as far as a development choice...more LINQ and less Stored Procs, or vice versa, is really a matter of choice for most developers.  Let's face it, most of us aren't pushing the limits of acceptable performance for most projects anyway. Its always a best practice to code like we are, but sometimes cost/time/comfort level/knowledge plays into the equation as well.

# October 7, 2008 12:04 AM

pb said:

Using LINQ for objects all the time, awesome. Sorting, grouping, etc. without it is a pain.

# October 7, 2008 12:14 AM

Jorge Diaz Tambley said:

Subsonic: I am a recent convert and quite satisfied

regards

# October 7, 2008 3:05 AM

Dennis van der Stelt said:

@infocyde : about compiling and caching execution plans, read SQL Books Online and you'll know. It's there somewhere, I don't feel like looking it up :)

Your DBMS is better in working with large sets of data. If that's what you need to do, keep it in the database. Don't get many MB's of data into code to enumerate over the results.

I put 99.9% of all logic in my code, simply because I can. Only for large dataset optimizations I turn to the database.

Of course its still a choice. But since O/RM and/or Linq-to-SQL, I don't see any business logic anymore in my database. Now even if inline queries were slower (which they aren't) I'd sacrafice that to having all business logic in code.

# October 7, 2008 11:00 AM

Dennis van der Stelt said:

But how about eager / lazy loading in Linq to SQL? Does no one feel the pain I feel there? Or other issues?

And from the above results, 100% of the developers use LINQ and most LINQ to SQL. How come I don't see this reflect in the real world? Anyone has any reason not to use LINQ and .NET 3.5?

# October 7, 2008 11:01 AM

Andy S. said:

This example was very helpful.  Here is my VB.NET version:

' Imports System.Data.OleDb

Dim filename As String = "C:\myfile.xls"

Dim connectionString As String = String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=Excel 8.0;", filename)

Dim dataAdapter As OleDbDataAdapter = New OleDbDataAdapter("SELECT * FROM [Sheet1$]", connectionString)

Dim myDataSet As DataSet = New DataSet()

dataAdapter.Fill(myDataSet, "ExcelInfo")

Dim dataTable As DataTable = myDataSet.Tables("ExcelInfo")

Dim query = From r In dataTable.AsEnumerable() _

           Select New With _

           { _

               .RelationNr = r.Field(Of Double)("RelationNumber"), _

               .ClientName = r.Field(Of String)("ClientName") _

           }

For Each item In query

   Console.WriteLine(item.ClientName)

Next

# October 7, 2008 9:41 PM

Dennis van der Stelt said:

Thanks Andy, that's awesome!

# October 7, 2008 9:45 PM

Jakob Bjerre Jensen said:

In the example you reference the class 'Hello' twice. Both in code (Type type = typeof(Hello)) and in the app.config (<service name="Classa.Wcf.Samples.Hello">).

I was wondering, if that is necessary? Why does it have to be in the code, if it is in the config file and vice versa?

And another issue: What is the behaviour if you change it to some other contract implementation in the app.config file?

Best regards,

Jakob Bjerre Jensen

# October 9, 2008 2:17 PM

Dennis van der Stelt said:

Hi Jakob,

The typeof(Hello) is because you have to tell the servicehost that you're hosting a service and that this class holds your implementation. The ServiceHost also needs some configurtion though. You _can_ do this all in code, but config is preferred, because you can change it later. It can find the config for that implementation by going to name="Classa.Wcf.Samples.Hello".

It needs to be the fully qualified name (Classa.Wcf.Samples.Hello) in the config. It also needs the fully qualified name in the code (the typeof(Hello)) but it can infer the fully qualified name itself.

So it needs to be in both so the ServiceHost can find the corresponding configuration. You can actually start multiple ServiceHost objects all with their own service implementation and all with their own configuration.

If you change the contract in the configuration, it will fail to start the service.

Don't hesitate to ask more questions!

And take a look for the ServiceHost without configuration in my post "WCF simple example": bloggingabout.net/.../wcf-simple-example.aspx

Regards,

Dennis

# October 9, 2008 8:32 PM

HANK said:

I have my WCF service hosting in Windows Service as well but I have the problem If I install the WCF service in diferent server where the client is (Sharepoint 2007) this stop to work and I get the error :"The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.9843750'.=>The write operation failed, see inner exception."

I am not sure is timeout because I incresea to 10 hrs and still I get the same error.

The other problem that I have is with the auto-disconnect feature in WCF. If the user has the ASPX form Open for more than the time define the WCF server stop to work and I have to reset the IIS.

Do you have some idea??

Regards

HANK

# October 9, 2008 9:32 PM

SDW said:

I've got to build a workflow and I'm just off the sharepoint training.  The sharepoint training only covers sequential workflows yet I read that state machine are by far the most useful. I've been searching on the web and the biggest problem I have with all of the examples is the step by step instructions seem to mainly consist of renaming components (something that gets very confusing as the names aren't very generic or easy to remember) and they spend little time explaining why you're doing that step (as it may not be relevant to my workflow).  I've got several books too and they're not helpful either. At this rate I'm going to end up using a sequential workflow because the help out there is much better and they are simpler to understand.  We need to find someone who can convert all of the state machine workflow jargon into english and explain it to those of us that are new to this.

# October 11, 2008 11:44 AM

Erwyn van der Meer said:

No! The release time was still pretty decent: 11 PM PDT (8 AM CET)! I managed to grab the RTW download here in the Netherlands around 9 AM CET. It actually is the same build as the RC0 developer runtime ;)

# October 14, 2008 2:20 PM

Dennis van der Stelt said:

Okay, I admit, I was kinda lying, I was looking at the Scott Guthrie post. He wrote it at 3 AM :)

# October 14, 2008 2:41 PM

Erwyn van der Meer said:

Yeah, ScottGu often blogs in the middle of the night...

# October 14, 2008 4:08 PM

Dennis van der Stelt said:

Well, if he blogged this in Asia, it's not that bad!

# October 14, 2008 4:13 PM

Alex said:

thank you, very helpful article !

# October 23, 2008 6:05 PM

Suresh said:

Suresh .... where's the Choclate?

# October 24, 2008 10:38 AM

Muttly said:

Hi,

It's an interesting article Dennis.

Without sounding like a complete retard (I have my moments!), what files do we need to put where to set up updates?

Thanks in advance for your help!

Muttly

# October 28, 2008 6:11 PM

Suresh N said:

I have used different named database, of the same database having equal db structure worked fine.Hope this helps. You need not have to create a new database!

# October 28, 2008 7:34 PM

La Web de Programación said:

Como está siendo el PDC 2008 de Microsoft , lógicamente multitud de novedades al respecto. Versiones

# October 28, 2008 8:58 PM

Sam Gentile If (DeveloperTask==Communication && OS==Windows) said:

Another rollup post from trusted folks... Update 10/29 A whole boatload more links!! Keynote/Windows

# October 29, 2008 2:24 PM

infocyde said:

One other element you aren't factoring into your test is the client (meaning web server) processing hit to handle business logic that might be done faster in a stored proc. I see that missed a lot in test.  I also see a lot of speed test run with really simple data manipulations, I wish I could see more complex test posted.  Plus for some operations if you are doing things in code you will have to make multiple trips to the db, which could degrade performance signifigantly.

I know some execution plans might be faster if generated on the fly rather then cached depending upon various parameters.  For complex operations I would bet cached execution plans would almost always be faster, but I guess I could be wrong.

Anyway, if your apps do what they should do and the users of your apps are happy with them (and it sounds like they are), you are doing a great job and no one has the real right to question your design choices, so I will shut up.  Success is my measurement of what works best and what doesn't.  

# October 29, 2008 6:11 PM

shool said:

I have a MSMQ and service, but the problem is the service is not picking up the message from MSMQ, i tried different security settings in config file but not able to figure it out..What should i be doing in this situation?

# October 29, 2008 6:27 PM

ernst said:

Hey dude! Give my regards to Marco!

Enjoy the PDC!

# October 30, 2008 7:39 PM

SQL Administrator said:

The simple solution for me was to take offline and delete the files. Thanks for the tip.

# October 31, 2008 2:28 PM

Articles on Oslo « MyNotePad said:

Pingback from  Articles on Oslo « MyNotePad

# October 31, 2008 4:32 PM

Vijay Santhanam said:

Looks nice, but what does the calling code in C# look like?

Does the WService publish a wsdl that can be used to create C# proxy classes from? How does this work for simplifying/automating calling code?

# October 31, 2008 6:49 PM

Dennis van der Stelt said:

@Vijay : That's the good part, there is no C# code generated. It's immediately handled by the runtime

I don't know about the WSDL, if it does that right now. But eventually it should be possible.

As for calling code, that hasn't changed.

Remember that this is extremely pre-alpha bits. I don't know if you can even play around with MService yet.

# November 1, 2008 6:52 PM

Pooja said:

HTTP could not register URL http://+:8080/ because TCP port 8080 is being used by another application.

I am getting this exception for each and every WCF example that I try to run.

I am a student and rwally need somebodys help.

Please tell me how to go about it in detail since I am a student I really understand only if told me in detail please.

Thanks

# November 1, 2008 9:13 PM

ALEXANDER BYNDYU said:

Мантра TDD - Red-Green-Refactoring. Всегда начинаем с красного!

# November 2, 2008 6:56 AM

Dennis van der Stelt said:

@Pooja : That's the problem with students, if you don't tell them in detail, they won't know. That's not what we need at companies! Nah, just kidding! ;)

Anyway, only one application can host something at a specific port. So if some other tool is using 8080, use a different port. You can also use 81, or 8081 or any number. I also like port 1337 :)

It's also possible that Vista doesn't allow you to open the port and that VS2008 (or .NET actually) reports a strange message. Are you running Vista? And if so, are you running VS2008 in Administrator mode?

# November 3, 2008 2:05 PM

Dennis van der Stelt said:

@shool : I really have no idea with the info you're giving, although it could be security indeed. Have you tried setting everything open? All rights to "Everyone", running as administrator, run everything locally?

# November 3, 2008 9:59 PM

abraham said:

"@abraham: I'll try and post something soon about that."

Just a reminder if you can make the time.

I admit once I got your example working I was able to implement a nice prototype that involves queuing messages on MSMQ and processing them asynchronously.

I still have run into trouble deploying to IIS however :(

Thanks for getting us all started.

# November 4, 2008 12:34 AM

Dennis van der Stelt said:

@abraham: You're right, and promised is promised. I'll set a reminder in Outlook

# November 4, 2008 8:28 AM

Dennis van der Stelt said:

I am preparing a post about doing builds with FinalBuilder, explaining also the entire process that needs to be done if you'd do this by hand.

Hold on for it, I'll finish it any time soon.

# November 4, 2008 10:26 AM

Colin Jack said:

One thing I'm struggling to understand is what you do if MusicItem is to contain behavior, how do you factor that in?

# November 4, 2008 1:00 PM

Dennis van der Stelt said:

One thing I'm struggling to understand is how you'd build a full application with this. I've asked it to people from the Oslo team (can't remember the name) but everyone evades the answer. As if they did not think of this. Weird.

In the MService post however (bloggingabout.net/.../m-and-mservice.aspx) you can see how behavior is inserted into the model. My responding question would be, how to insert this using Quadrant... Probably some custom views with the appropriate properties.

It's only a few weeks after PDC, I've thought some stuff over and have many, many, MANY more questions than initially at the PDC.

# November 4, 2008 4:00 PM

System.Blog.Martens.Ben said:

Microsoft "Oslo" Resources " Oslo" Developer Center Download the "Oslo" SDK Ask a Question About "Oslo

# November 4, 2008 9:00 PM

System.Blog.Martens.Ben said:

Microsoft "Oslo" Resources " Oslo" Developer Center Download the "Oslo" SDK Ask a Question About "Oslo

# November 4, 2008 9:00 PM

System.Blog.Martens.Ben said:

Microsoft "Oslo" Resources " Oslo" Developer Center Download the "Oslo" SDK Ask a Question About "Oslo

# November 4, 2008 9:01 PM

Tapan said:

I have vs 2005 and I am updating to vs 2008 so how to update my defalt proerties.

thanks

# November 5, 2008 5:55 PM

Dennis van der Stelt said:

@Tapan : You don't really have to... The new automatic properties are translated by the compiler into normal properties, as you wrote them in VS2005.

You'll still write properties the old way when you want to add behavior to them. But if you just have a getter and setter which get and set the _whatever value (the backing-field) you can use the new automatic properties.

In other words, don't change anything, it'll all keep working. Just use the new properties from now on in new code.

# November 5, 2008 9:15 PM

Jeff said:

Excellent example for demonstrating the basics of WCF.  Just what I needed - thanks!

# November 5, 2008 10:42 PM

GiulianoMX said:

Great article, thanks for taking your time an putting it together.

# November 5, 2008 11:50 PM

Javier Rodríguez J said:

Hi, normally in the step "in your project you can add the app.config, right-click it and select 'Edit WCF Configuration...'" in some visual studio installations are mising the "Edit WCF Configuration.." so to activate this option go to the Visual Studio Menu->tools->WCF Service Configuration... open this option and closed, and there is the option active in the app.config file! i hope help us!

# November 6, 2008 4:35 PM

Dennis van der Stelt said:

# November 7, 2008 7:11 AM

darge said:

I am using visual studio 08

I created the host and tried to test it using IE7 but it returns an error.

any solution......

# November 7, 2008 10:44 PM

Sam Gentile If (DeveloperTask==Communication && OS==Windows) said:

Another rollup post from trusted folks... Update 10/29 A whole boatload more links!! Keynote/Windows

# November 8, 2008 5:36 PM

Dennis van der Stelt said:

darge : You seriously can't expect me to help you with so little information.

# November 8, 2008 9:27 PM

Ravi Vaswai said:

Nice Article..Thanks Dennis van der Stelt

# November 13, 2008 8:42 AM

Faheem Sial said:

hi m using this code and i m getting Invalid Application PAth error.i m passing it following value;

app.Path = "c:\inetpub\wwwroot\mydomain\www";

could u please help me out and also tell me the important list of properties to set or list of all website properties.Thanx

# November 14, 2008 2:48 PM

Marius said:

Hello,

Jeff's code it's not working when the autogeneratecolumns = true because the Collumns.Count it's always 0.

# November 17, 2008 12:20 PM

Dennis van der Stelt on "Oslo" « .Net Braindrops said:

Pingback from  Dennis van der Stelt on "Oslo" « .Net Braindrops

# November 18, 2008 2:51 PM

Dennis van der Stelt on "Oslo" « .Net Braindrops said:

Pingback from  Dennis van der Stelt on "Oslo" « .Net Braindrops

# November 18, 2008 2:51 PM

Dennis van der Stelt on "Oslo" « .Net Braindrops said:

Pingback from  Dennis van der Stelt on "Oslo" « .Net Braindrops

# November 18, 2008 2:51 PM

Dennis van der Stelt on "Oslo" « .Net Braindrops said:

Pingback from  Dennis van der Stelt on "Oslo" « .Net Braindrops

# November 18, 2008 2:52 PM

Dennis van der Stelt on "Oslo" « .Net Braindrops said:

Pingback from  Dennis van der Stelt on "Oslo" « .Net Braindrops

# November 18, 2008 3:00 PM

Dennis van der Stelt on "Oslo" « .Net Braindrops said:

Pingback from  Dennis van der Stelt on "Oslo" « .Net Braindrops

# November 18, 2008 3:00 PM

António Cruz said:

It is not easy to keep pace with Microsoft projects and products naming. There are literally dozens of

# November 19, 2008 11:31 PM

maurizio said:

I i'm from italy.

real intresting this discution on gridview.rowupdating.

i have a strange problem. i'm not use sqldatasource,

just write by myself update method.

i use template field and with findcontrol i get the right value BUT (and  made me crazy) the rowupdating event FIRE two TIME!!!!! so second time all  object is NOTHING and i have server/error.

anyone can explain me WHY this event fire two times?

# November 26, 2008 1:02 PM

Dennis van der Stelt said:

You might run into a problem that the assembly was signed by a different key than the manifest. You'll get this error:

"Reference in the manifest does not match the identity of the downloaded assembly xxx.exe"

The answer can be found here : geekswithblogs.net/.../117449.aspx

Go to project properties, see the section "Resources" in the application properties and in the icon manifest options, set it to "Create application without a manifest".

# November 27, 2008 11:19 AM

Waseem Sadiq said:

We also use FinalBuilder for building Inbox2, but we simply call visual studio from the command-line to build & deploy the clickonce application.

See: msdn.microsoft.com/.../ms165431(VS.80).aspx

Your tutorial does offer a lot more flexibility though :-)

# November 27, 2008 4:37 PM

F£ö said:

Thanks a lot, works great

# November 27, 2008 5:05 PM

Brent's blog said:

If you want to automate the deployment of ClickOnce apps in FinalBuilder, Dennis van der Stelt has posted an excellent tutorial on bloggingabout.net. Check it out and if you have any questions, conta ...

# November 28, 2008 12:22 AM

Colin Jack said:

Its interesting that the REST example uses the language "service" and "operation".

# November 29, 2008 11:21 AM

Dennis van der Stelt said:

@Colin : Because? Check out the following link btw for more MService code. bloggingabout.net/.../m-and-mservice.aspx

# November 29, 2008 7:02 PM

Robert Hess said:

Yeah, running into the "Tag Cloud" problem when spaces are in the tag name on my site.

I made the change you recommended here, and I had seen repeated somewhere else, but that didn't fix it, so I assume that the applicationhost.config file needs changing... but since I'm running at GoDaddy.com, I'm sure they'll say "No." :-<

Any ideas of how this might be fixed outside of that? Since I'm running the "Express" edition, I don't have sources to modify.

-Robert

# December 1, 2008 10:56 PM

Kiri kamal said:

We are using Nettiers for last 2 years. Now moving to SubSonic...

# December 4, 2008 8:07 AM

Dennis van der Stelt said:

That's probably because GoDaddy turned off the feature that you can change IIS settings from the web.config.

So there's probably no way to fix this, unless you'd contact GoDaddy yourself

# December 9, 2008 2:32 PM

Sunil Kurian said:

Thanks Dennis,

This is a very cute and rich example to start with. Expect more examples to lead us to grow better on different scenarios.

Really appreciate for what you deliver.

regards

Sunil Kurian

# December 9, 2008 6:24 PM

Sugath said:

use the following reference if ServiceMetadataBehavior is not worcking in vs 2008

using System.ServiceModel.Description;

# December 10, 2008 12:14 PM

Ran said:

Thanks !

This help to understand

# December 10, 2008 12:39 PM

Joe said:

I struggled with this for a while before finally figuring out what was going on.  The CheckForUpdate() and CheckForDetailedUpdate() methods persist the results of the update check to disk.  The next time the application runs, the ClickOnce mechanism sees that an update is available and prompts the user with the unwanted window.  Apparantly the update is a two step process.  Step 1 - Check the deployment location for updates and persist the information about what it finds to the local ClickOnce update cache.  Step 2 - Check the local ClickOnce update cache and prompt the user with the update window if there an update is indicated.  Unchecking "The application should check for updates" option seems to only cause ClickOnce to skip step 1.  Step 2 still occurs.  The CheckForUpdate() and CheckForDetailedUpdate() methods have the same effect as step 1 - the data is persisted to disk, so the next time the application is run, Step 2 sees the update and displays the update window.  The trick is prevent CheckForUpdate() and CheckForDetailedUpdate() from persisting this information to disk.  This can be done by useing the parametered overload (CheckForDetailedUpdate(persistUpdateCheckResult)) and set the parameter to false (CheckForUpdate(false) or CheckForDetailedUpdate(false)).  The MSDN documentation for the persistUpdateCheckResult is weak at best and doesn't explain this at all.

# December 10, 2008 4:51 PM

Vaishnavi said:

All the steps till 8 were successful however I dont find localhost.map and localhost.cs file under Service Reference. app.config is available though. I am stuck with the button event coz of that.

I am using VS 2008. I could see those files in your downloaded code after successfully opening in VS 2008.

Please help.

# December 16, 2008 12:54 PM

Dennis van der Stelt said:

@Vaishnavi : Were you able to create the "Service Reference" in VS2008 in your client project? ie Client Project being the project that would call the service?

# December 16, 2008 1:25 PM

Sujith Balakrishnan said:

Cooollllllllllllllll

# December 17, 2008 8:18 AM

Paul said:

You can also use the Linq to Excel open source project (code.google.com/.../linqtoexcel) to easily get data from Excel. It takes care of the OleDB connection for you and you can use the where clause. All you have to do is create a class with properties corresponding to the excel column names. Here's an example:

IExcelRepository<Client> repo = new ExcelRepository<Client>(@"C:\myfile.xls");

var largeClients = from c in repo.Worksheet

                  where c.Employees > 200

                  select c;

foreach (Client client in largeClients)

 Console.WriteLine(client.ClientName);

# December 27, 2008 1:03 AM

Dennis van der Stelt said:

@Paul : That's a cool project! Thanks for the info!

# December 27, 2008 1:58 PM

Akhil Jadhav said:

Can you tell me. Why my service is going in faulted state? I have implemented IErrorHandler to handle the service and restart the service when reciveretry count exhaust(and when service goes in faulted state). can you suggest me why when my service is goes in faulted state even after restarting the service service is not picking the next message.

Please reply me.

# December 31, 2008 7:28 AM

abraham said:

Dennis,

I referenced your arrticle in a submission to CodeProject.

www.codeproject.com/.../WCF_MSMQ_Integration.aspx

Hope that's ok.

# January 4, 2009 6:32 AM

Dennis van der Stelt said:

@abraham : no problem, of course!!!

# January 5, 2009 10:43 AM

Dennis van der Stelt said:

I just love ZoomIt!!!

# January 16, 2009 2:14 PM

arun said:

Hey how can i host service and client on different machines please provide me a url if u already hav a sample on it

# January 19, 2009 11:32 AM

Dennis van der Stelt said:

@arun: Just run the service on another machine and change the url in your web.config on your client... If that's what you mean?

# January 19, 2009 12:34 PM

Sai said:

Thanks dude... It works for me.

# January 29, 2009 7:11 PM

charlie said:

I implemented a solution similar to yours but I've run into an issue. Everything works OK except when OnStop is called, the _host variable is always null. It seems the class derived from ServiceBase doesn't maintain state. I don't know if the service is being shut down and cleaned up properly.

# February 2, 2009 12:22 PM

Dennis van der Stelt said:

The only thing I can think off immediately, is that you're using the "using" keyword. As in:

using (ServiceHost host... )

{

}

At the closing } the .Dispose() method is called and your ServiceHost is closed. Loose the using statement.

# February 2, 2009 1:18 PM

Camiel said:

Saw your tweet about *Chirp a couple of days ago, and installed it right away. Unfortionatily, its not working at my machine.. :( And it keeps awfully quit (although I saw @chirpapp gave some sign of live just now). Well, I guess I have to be patient. :)

# February 3, 2009 10:08 PM

David Frankland said:

"Too bad the computer hasn't got Windows Vista"

I never thought I would hear you say that, Dennis.

# February 6, 2009 12:02 PM

Dennis van der Stelt said:

A lot can change in a few weeks, David! ;-)

# February 6, 2009 1:13 PM

Neeraj said:

What a great example for a beginer.

Thanks alot for this article.

# February 9, 2009 5:16 PM

Pandurang Jagtap said:

how to store values in view state which are selected from dropdownlist

# February 10, 2009 9:09 AM

alex hatcher said:

#4 should be first, and it should be described as,  IF your shop doesn't have a DBA, then continue. otherwise, setup a meeting.

# February 15, 2009 7:37 PM

Erwyn van der Meer said:

It probably wasn't you ;) I've seen multiple reports of severe problems.

# February 20, 2009 9:56 AM

Erwyn van der Meer said:

# February 20, 2009 9:57 AM

Dennis van der Stelt said:

@Erwyn : It would be a great opportunity and a first time for me to bring down 100s of machines at once ;)

# February 20, 2009 10:08 AM

Dominios y Demonios said:

Confieso que soy un adicto a los blogs y a las distintas variantes que existen de los mismos. De entre

# February 21, 2009 10:55 PM

Eli Lopian said:

Great post Dennis.

Did you know that you don't have to call the extension type, but can call the extension method directly on the extended type.

// Arrange

var dummy = new SomeType();

Isolate.WhenCalled(() => dummy.SendTo("")).WillReturn(SendResult.Sent);

# February 22, 2009 10:05 AM

Dennis van der Stelt said:

Thanks Eli for the remark, added the info to the post.

Also added a solution to download and see what's actually happening.

# February 23, 2009 9:08 AM

sam said:

Which is the best binding to use for heavy automatically reading messages from queues msmqIntegrationBinding or NetMsmqBinding?

Should your sample work in the same way if we change the binding from the config file?

# February 26, 2009 10:57 AM

Dennis van der Stelt said:

@sam, msmqIntegrationBinding is for communication with MSMQ and clients that don't use WCF. For example when a client that was build 3 years ago, who puts messages into MSQM, you want to retrieve those messages with WCF, because WCF is just plain cool! ;) That's where you'd use msmqIntegrationBinding.

For everything else, use netMsmqBinding. I have no idea of the other one could possibly be faster, but I doubt it. The idea is that there are messages in MSMQ and both WCF or you would have to deserialize the messages.

netMsmqBinding is extremely easy to setup, I'd always prefer that binding.

# February 27, 2009 9:12 AM

Peter Karouzos said:

hi

been looking at your example. when I run the client with no host, no messages are added to the queue.

Im running on Windows XP. Everyone and my account have full control on the queue. running everything locally.

Any thoughts?

Thanks

# March 1, 2009 5:38 AM

Dennis van der Stelt said:

@Peter : Does this mean that running _with_ host are processed? My first thought is that you're not running via MSMQ but still directly. That'd mean the client would not be able to connect and would crash.

If you're running via MSMQ, the messages should most definitely show up in the queue, especially with the host turned off. When the host is on, it might process messages faster than you can see them coming in :)

# March 2, 2009 9:47 AM

Ben said:

I am a DBA + .Net developer. I got certified in SQL 2005 and .Net 1.1. I can tell you that the stored procedure offers much more functions than LINQ

1. Use of Lock Hint. A common example will be inserting an unique email into the login table. Most people do the following:

IF NOT EXISTS(SELECT * FROM Login WHERE EMAIL = @email)

INSERT INTO LOGIN(email) SELECT @email

the correct way to do is

BEGIN TRAN

SELECT * FROM Login WITH (UPDLOCK) WHERE EMAIL = @email

IF @@ROWCOUNT=0

INSERT INTO LOGIN(email) SELECT @email

COMMIT

The reason is to stop duplicate email to put into Login table. There are many other scenarios where LOCK hint is the ONLY solution.

2. Prevent of deadlock in stored procedure. Writing deadlock free query requires the queries to be runnning in "specific order"

3. Use of recursive SQL with CTE

4. Use of SQL 2008 new data type

5. You can assign a query plan to a specific query or specify query hint. It can solve the Parameter sniffing issue

6 You want to do a SELECT sql using ORDER BY COLLATE <collation> the column by different collation in sql. This important especially working with 2 different db with 2 different collation. Especially in different language, the sorting order is different

# March 3, 2009 12:13 PM

Barney said:

I'm a VB.NET programmer and have managed to convert your example, albeit the following line.

localhost.HelloServiceClient proxy = new Client.localhost.HelloServiceClient();

Vb does'nt recognise 'Client.localhost.HelloServiceClient()

Can you help?

Thanks

# March 5, 2009 5:28 PM

Dennis Doomen said:

Foei Dennis. Het prefixen van member fields is al sinds de introductie van C# afgeschaft. Kijk maar naar de Microsoft Design Guidelines.

# March 6, 2009 8:26 AM

Dennis van der Stelt said:

@Dennis : Dit artikel komt uit 2004!!! Hoewel ik het er nog steeds mee eens ben en gewoon blijf volhouden! :)

Sinds C# 2.0 heeft Microsoft die _ weggelaten, want daarvoor deden ze het juist wel.

# March 6, 2009 9:33 AM

Tomas Restrepo said:

Wouldn't it be a good idea to also export your settings so that you can import them when you repave? That's what I usually do.

# March 6, 2009 2:15 PM

Dennis van der Stelt said:

@Tomas : Or that! :)

But I keep forgetting stuff like that. Lost my entire RSS Feeds database. It's not that bad to loose every post, but the feeds themselves. I collect a LOT of them over time and filter out the good posts.

# March 6, 2009 2:42 PM

PHenry said:

I've found myself in similar situation sometimes with VS.  I've also written a blog post about my settings.  I hope you visit and enjoy the read.

www.pchenry.com/.../Default.aspx

# March 6, 2009 7:42 PM

Dennis van der Stelt said:

@Barney : Maybe remove Client or Client.localhost altogether. If it does recognize localhost.HelloServiceClient then you're okay, because you need exactly the same on the other end :)

# March 6, 2009 9:45 PM

Sally said:

Hi dennis...I'v successfully done a simple wcf application using your code. I needed to use a wcf service using java client though..Can you help me in this by providing the client code of your apllication in java????

# March 7, 2009 3:49 PM

Dennis van der Stelt said:

@Sally : Java? What's that? :) But seriously, I could not tell you how to do that as I have no idea. But if you lookup how to connect to ASP.NET Webservices from Java or how to do SOAP 1.1 or SOAP 1.2 style services, than you should be okay.

Some examples:

www.codeproject.com/.../WSfromJava.aspx

stackoverflow.com/.../301120

forums.sun.com/thread.jspa

and from MSDN

msdn.microsoft.com/.../ms953968.aspx

As far as I know, you do need some extra framework though. It's not by default in java.

# March 9, 2009 7:40 AM

sally said:

thanks a lot neways...i'l check out d refernces

# March 9, 2009 6:47 PM

Thomas Freudenberg said:

"I got this from somewhere on the web, but forgot where. If I find out, I’ll of course post it here."

I guess it was me, since I referred to you then ;)

thomasfreudenberg.com/.../Auto_2D00_attaching-to-aspnet_5F00_wp.exe.aspx

# March 10, 2009 4:39 PM

Dennis van der Stelt said:

@Thomas : lol, and from you to Roy Osherove, to Kevin... I'll provide links to everyone! :)

# March 10, 2009 9:40 PM

Barney said:

Thanks Dennis - did you mangage to get this example to work across two different machines?

So far i've been unable

# March 11, 2009 11:37 AM

Dennis van der Stelt said:

@Barney : Sorry mate, but your last comment can't be approved by the system. Maybe it's because it suspects HTML in the comment. I'll have to look into it.

But... Is your service actually running? If the service isn't running (ie. the host project should be started and doing it's work) than no one will ever be able to find the service.

About the last comment, yes I have! :)

First try to get it working with basicHttp and if that's working, try other bindings. A lot of bindings can give problems with security. For example netTcp is secure by default, but if you don't know that and/or the service is in another domain or in a workgroup, you can run into all kinds of problems.

If you want to use authentication, try to use Windows authentication as it's the easiest. Almost everything else needs X509 certificates.

# March 12, 2009 9:00 AM

Dennis van der Stelt said:

I suddenly remember that Azure can supply you with analytics on how your services and storage is doing

# March 12, 2009 10:04 AM

Dennis van der Stelt said:

I suddenly remember that Azure can supply you with analytics on how your services and storage is doing,

# March 12, 2009 10:54 AM

Erwyn van der Meer said:

I have had a Windows Azure app running in both staging and production since november 2008, so I crossed the 2000 VM hours limit a long time ago. Doesn't seem to have had any effect ;)

# March 12, 2009 4:23 PM

Trevor Benedict said:

Look @ EnvDTE80.Transport to specify the

Dim dbg2 As EnvDTE80.Debugger2 = DTE.Debugger

   Dim trans As EnvDTE80.Transport = dbg2.Transports.Item("Default")

   Dim dbgeng(2) As EnvDTE80.Engine

   dbgeng(0) = trans.Engines.Item("Managed")

   dbgeng(1) = trans.Engines.Item("Native")

   Dim proc2 As EnvDTE80.Process2 = dbg2.GetProcesses(trans, "DELL-09").Item("WebDev.WebServer.EXE")

   proc2.Attach2(dbgeng)

# March 13, 2009 1:41 AM

gOODiDEA.NET said:

.NET NP .NET Profiler – a tool is designed to assist in troubleshooting issues such as slow performance

# March 13, 2009 2:17 AM

gOODiDEA said:

.NETNP.NETProfiler–atoolisdesignedtoassistintroubleshootingissuessuchasslowperf...

# March 13, 2009 2:18 AM

Gil Zilberfeld said:

Thanks for the kind words!

# March 13, 2009 9:19 PM

laxman said:

@Peter : If you want to view a list of messages going through the queue, you might want to enable the "Journal" property.

@Dennis : I am looking at developing a WCF based snmp agent which runs as a windows service. The snmp manager was built using Java and targeted for the Solaris 10 platform. Any suggestions on the architecture of the application?

# March 13, 2009 10:05 PM

Dennis van der Stelt said:

@laxman : an SNMP agent in WCF? I had to look up what SNMP actually is! :)

But this means tweaking WCF from top to bottom and that's a LOT of work. I've done some tweaking, but never add protocols, encoders, etc. like you seem to need.

I also don't think from the requirements you specify I can give suggestions for an architecture. Is it for all clients connecting to the WCF SNMP agent, etc, etc. A lot of questions. What WCF concern, just start writing the binding, encoder, etc. And if I were you, I'd look into WAS (Windows Process Activation Services) that's hosted in IIS. Much more capabilities than Windows Services.

# March 14, 2009 1:00 AM

Didier M said:

Your simple example was very helpfull. Thanks for making my day.

Didier M

# March 14, 2009 4:13 PM

Alex Thissen said:

Dennis,

you have got to be kidding me on Refactor Pro not invading your Visual Studio! Didn't you notice the big arrows, strikethroughs and animations ALL over the place? :P

# March 14, 2009 11:40 PM

DotNetShoutout said:

Thank you for submitting this cool story - Trackback from DotNetShoutout

# March 15, 2009 12:04 AM

Danielle said:

Thanks providing the great review.

# March 16, 2009 12:54 AM

Lori MacVittie said:

Not all application requests are created equal

# March 17, 2009 12:41 PM

Marius said:

Hi,

Installed all Net.3.5 SP1 VC 8, wcf framework,

Still getting

------ Build started: Project: wcf_node, Configuration: Debug Any CPU ------

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL\System.Core.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL\System.Data.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL\System.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL\System.ServiceModel.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL\System.Xml.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\wcf_node.exe /target:exe Program.cs Properties\AssemblyInfo.cs

D:\_FL\wcf_node\wcf_node\Program.cs(11,6): error CS0246: The type or namespace name 'OperationContract' could not be found (are you missing a using directive or an assembly reference?)

D:\_FL\wcf_node\wcf_node\Program.cs(11,6): error CS0246: The type or namespace name 'OperationContractAttribute' could not be found (are you missing a using directive or an assembly reference?)

D:\_FL\wcf_node\wcf_node\Program.cs(8,2): error CS0246: The type or namespace name 'ServiceContract' could not be found (are you missing a using directive or an assembly reference?)

D:\_FL\wcf_node\wcf_node\Program.cs(8,2): error CS0246: The type or namespace name 'ServiceContractAttribute' could not be found (are you missing a using directive or an assembly reference?)

# March 18, 2009 8:05 PM

Dennis van der Stelt said:

@Marius : Did you use "Using System.ServiceModel" at the top of your code as I point out in bullet 4?

When your cursor is on the OperationContract or ServiceContract attribute, a small red line should appear, if you didn't include the "Using System.ServiceModel". The text should also be black if you didn't. You can then press CTRL+. (So press CTRL and the . at the same time) and it should popup a small menu that allows you to add the using statement.

If you _did_ use the using statement, both attributes should display in a bluish or greenish color, just like the code snippet 5 displays.

# March 19, 2009 8:56 AM

Dennis van der Stelt said:

@Alex : Every plugin into Visual Studio "invades" Visual Studio. But it's obvious when Refactor! Pro does some work.

The other tools I mentioned show all kinds of icons and Resharper even shows a lot of replacments for popup/context menus. I can't even show what the original version looked like. That's what I ment by invading.

With Refactor! Pro, if I don't want my "viewers" to know I've installed it, they probably won't notice.

# March 19, 2009 8:59 AM

MMG said:

I have been using presenter view for some time in XP. I now have ppt 2007 - There is one task I [And I'm sure many others] would like to be able to do with ppt 2007 - ADD NARRATION using presenter notes.....As soon as you go into add narration you end up with a full screen - so notes not visible - go to presenter view - you have the presenter notes on prime monitor - but you cannot click 'Add Narration' Am I missing something here?

# March 26, 2009 9:04 PM

Typemock said:

Thanks for the mention.

Note that we have released a new version of Isolator

www.typemock.com/Downloads.php

# March 27, 2009 12:05 PM

Vagif Abilov said:

Thanks Dennis, this is exactly what I was looking for!

# April 2, 2009 9:10 AM

aro said:

Hi Guys,

  If you guys are looking for a more up-to-date tool that you can use to do Functional and Performance testing on WCF Services, check this out.

blog : geekswithblogs.net/.../130664.aspx

direct download : www.fileden.com/.../WcfStorm-Setup.zip

# April 2, 2009 9:21 AM

Barney said:

Dennis

Thanks - got it working over different servers - forgot to amend the app.config to new server name.

Brilliant example by the way

Thanks

# April 2, 2009 12:49 PM

Jo said:

Thanks.....its really useful for the beginners..

# April 14, 2009 11:02 AM

Robbert said:

Hi Dennis,

You can find some good explanations here:

codeidol.com/.../Callback-Operations

In the book Programming WCF Services written by Juval Lowy, there is some code, that can let you set the port to any free port.

It can be done by attributes, but the simple thing is do it programmaticly with a helperClass.

  public static class WsDualProxyHelper

  {

     public static void SetClientBaseAddress<T>(DuplexClientBase<T> proxy,int port) where T : class

     {

        if(proxy.State == CommunicationState.Opened)

        {

           throw new InvalidOperationException("Proxy is already opened");

        }

        WSDualHttpBinding binding = proxy.Endpoint.Binding as WSDualHttpBinding;

        Debug.Assert(binding != null);

        binding.ClientBaseAddress = new Uri("http://localhost:" + port +"/");

     }

     public static void SetClientBaseAddress<T>(DuplexClientBase<T> proxy) where T : class

     {

        lock(typeof(WsDualProxyHelper))

        {

           int portNumber = FindPort();

           SetClientBaseAddress(proxy,portNumber);

           proxy.Open();

        }

     }

     internal static int FindPort()

     {

        IPEndPoint endPoint = new IPEndPoint(IPAddress.Any,0);

        using(Socket socket = new Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp))

        {

           socket.Bind(endPoint);

           IPEndPoint local = (IPEndPoint)socket.LocalEndPoint;

           return local.Port;

        }

     }

  }

After declaring the proxy, just assign clientBaseAddress like this:

WsDualProxyHelper.SetClientBaseAddress(proxy); or WsDualProxyHelper.SetClientBaseAddress(proxy, 3000);

# April 15, 2009 12:18 PM

jojo said:

I just wanted to thank you a lot for this article.

It really helps !

# April 16, 2009 6:25 PM

Goran said:

Hello Dennis,

Your sample is excellent and I'm wondering if it's possible to use it in Silverlight application? I've tried that, but there's HelloWorldAsync method that accepts string argument, but returns void. Do you happen to know how to overcome this?

Thank you in advance.

Goran

# April 17, 2009 8:33 PM

Dennis van der Stelt said:

Hi Goran,

Yes I do. In Silverlight they don't allow you to wait for the result, because that would mean the screen would lock up. Therefor everything is asynchronous.

There should be an event, called HelloWorldCompleted. You recognize it in the intellisense list by the lightning icon. Select it, type += behind it and press [TAB] a few times.

A new method should be created in which you can handle the return value.

It should look something like:

public void MyButtonClick()

{

 HelloServiceClient svc = new HelloServiceClient();

 svc.HelloWorldCompleted += new EventHandler<HelloWorldCompletedEventArgs>(svc_HelloWorldCompleted);

 svc.HelloWorld("dennis");

}

public void svc_HelloWorldCompleted(object sender, HelloWorldCompletedEventArgs e)

{

 string result = e.Result;

}

But that's from the top of my head, so I could be wrong somewhere.

If it doesn't work, let me know.

# April 17, 2009 9:04 PM

Garrett said:

While using the presenter view, can you be away from your laptop and use some type of remote presenter click device?  I can't seem to get mine to move the slides up and down, although it will darken and reverse the screen.

Thanks for your help

# April 24, 2009 2:10 AM

kakalot said:

Hello Dennis Van der Stelt,

I have a question to ask you? I have a program, window application, And I want my program can communication together in different computers. I can use tcp/udp, socket in .net 2.0. However, I would like to use new technique WCF. So, Can you tell me more about WCF in this situation? I hope to hear from you.

thanks

# April 24, 2009 6:44 AM

Dennis van der Stelt said:

@kakalot : That's a really, really long story... But basically...

If they're in the same domain, use nettcp and windows authentication because it's fast and easy.

If Windows Authantication isn't available, but you do need security, go for X509

If you can't use TCP/IP for some reason (firewalls, nat, etc) you might want to try out .NET Services with its service bus. BizTalk Services is 't predecessor and probably still running.

Most of the time, port 80 is open and you'll be able to use wsHttpBinding.

But that's not all... Do you need duplex? Do you need peer-2-peer? It depends on a lot of stuff waht's the best binding and such for you.

# April 24, 2009 1:14 PM

Dennis van der Stelt said:

@Garrett : Probably the monitor with the presenter view has focus or something. Perhaps you should click on the audience screen and set it's focus so the remote presenter will work.

If not, you can use shortcuts like left + right or pgup & pgdn or something. But that's not what you're looking for :)

But why use presenter mode when you're not behind the keyboard?

# April 24, 2009 1:15 PM

aro said:

The WCFStorm site is up : http://www.wcfstorm.com.  You can download the tool there.

# April 25, 2009 6:12 AM

Garrett said:

Dennis,

Why use presenter mode when you're not behind the keyboard?

It's nice to be able to walk away from the podium from time to time.

thanks for the tips.

Garrett

# April 26, 2009 4:38 AM

kakalot said:

Dear Dennis Van der Stelt,

Thank you very much for your sharing. If you have free time, I hope you tell more detail about: When we should use nettcp, when we should use WCF and what are different between them. I think It is the interesting topic which a lot of people would like to discuss.

# May 12, 2009 12:31 PM

Ozan said:

If I understand right, we dont make any changes in machine.config at all. All the changes are made in what we copy and paste to web.config...

# May 19, 2009 2:31 AM

Harry said:

This post really answers a lot of my problems. Thanks a lot.

# May 20, 2009 2:51 AM

Hubert Hickey said:

I have net 1.0, 1.5, 2.0, 3.0, and 3.5 on my computer using up a heck of a lot of disk space.  I was able to remove 1.0 and 1.5, but 2.0 refuses to be removed because it will affect other applications.  If this is so, then what does 3.0 and 3.5 do?  I just want some of my disk real estate back!

Hubert

# May 21, 2009 4:42 PM

madhav said:

right click on local subscriptions and click on subscripton properties in the right pane click on publication databases and unmark all the databases that are being used

# May 26, 2009 1:22 PM

Dennis van der Stelt said:

Why would you want to install 1.0 and 1.1? It's probably only a couple of MB's, where as Windows takes up thousands of MB's

And you need 2.0, 3.0 and 3.5 because they're linked. 3.5 can't work without 2.0 and 3.0. Long story, but read the following posts

www.danielmoth.com/.../net-framework-35.html

www.danielmoth.com/.../top-10-things-to-know-about-visual.html

# May 26, 2009 1:45 PM

Joost said:

Bang on the spot Dennis. The overtime thing can be limited by learning to say "no" but admittedly, this is sometimes very hard. In all my experience I met only a few (as in two or three) really good project leaders. They tend to take a facilitating role. One literally said "my role is to guard the planning, make progress reports, pick up the phone, receive beatings from the customer, and generally making sure that things stay quiet in this office so YOU technicians can do the actual WORK". ;-)

# May 29, 2009 12:43 PM

Motley Queüe said:

Windows Communication Foundation (WCF) provides a powerful programming model to develop service-oriented

# June 1, 2009 5:40 AM

Wilbert van Dolleweerd said:

Dennis,

Nice session. I would use a different source control structure and branching strategy, but our requirements are different (and the team is a lot larger).

# June 2, 2009 9:48 AM

Dennis van der Stelt said:

As Dennis Doomen , I was quite happy with how the session went. Some stuff went by pretty fast, mainly

# June 3, 2009 11:24 AM

Akash said:

Its Good ..But  I have a Question .. There is no Performance Loss of Visual Stdio 2008/2005? or not ..

# June 5, 2009 10:01 AM

Dennis van der Stelt said:

FinalBuilder is an external tool

Typemock Isolator kind-of as well

Refactor! Pro could give performance loss, but I never notice the difference on any machine.

# June 5, 2009 10:10 AM

Dennis van der Stelt said:

Unfortunatly, it didn't work a day later.

So I still have the problem. Only on my machine, no other machine has it. Sigh

# June 10, 2009 8:24 PM

karthikeyan said:

Its very good example.

# June 17, 2009 2:11 PM

Cephalopod said:

I've been researching a similar problem that affects only certain machines. From what I've seen, the error itself is pretty generic, but is often happens when working with something external to the CLR (in my case, print drivers, in a lot of other people's cases, databases).

# June 19, 2009 3:20 PM

Dries Marckmann said:

Dennis,

Try setting the build configuration of the project to x86. This worked for both Bjorn and Pazcal on their x64 machines using a combination of WPF and Linq2Sql.

Good luck!

Dries

# June 22, 2009 3:55 PM

Dennis van der Stelt said:

Why did I not think of that? Or... maybe I did but it didn't work. I'll have a look, thanks for the tip!

# June 22, 2009 4:44 PM

casino gambling forum said:

Thanks ofr the article. I had a question regarding the best practice in my scenario. We have a WCF service that needs to expose basicHttp and Tcp binding. Would it be best to have both bindings exposed by hosting in a Windows Service Or should we host the basic http binding in IIS and only the NetTCPBinding as Windows Service?

# June 24, 2009 9:14 AM

Dennis van der Stelt said:

Hi Casino Gabling Forum,

First, I have removed the link to your website. Second, if you really want an answer to that question, please repost it, without a link to some stupid gambling site and with a normal name.

Thanks! :)

# June 24, 2009 10:21 AM

Dennis van der Stelt said:

@Dries : That indeed works! Unfortunatly, not everything can be set to x86, for example my Azure / Cloud projects.

# June 29, 2009 10:28 AM

Terrence K said:

Azure is NOT ready. One of the fundamental building blocks of any application is Data.  Azure recognizes this and storage services will support Tables / Queues / Blogs.

At this point in the game (6/30/2009), the REST API is finalized.  If you hit up MSDN.com and go digging, there is NO managed API!!!! Yes, you can write your own C# code and wrap their REST xml based implementation and start building proof of concept applications. (Optionaly you can use the StorageClient sample in the SDK, but Microsoft has already said do not rely on this for production via social.microsoft.com forums).

I always looked at cloud computing this way:

Big Business: The costs of cloud computing is too much.  We do too much business, process too many transactions, eat too much bandwidth, store too many GB's.  We eat the cost, buy our servers, run our application on a 10-year plan and all is well in the world.

Medium Business: Gray area.  If I am building something from the ground up, and I am out of staff/server resrouces, this might be a good idea.

Small Business: Ok, the same guy that installs Windows on the desktops also manages the network and maintains all the production apps my preferred vendor build for me in c#.  New project coming, yes, let's build it for the cloud.... Except I have a 6-month ramp up period on the technology just so I can get data in/out of tables.

Summary: Wait till version 2.0 when we have nice Managed libraries that handle splitting our blob into 16 MB blocks for us.

# June 30, 2009 9:10 PM

lewis h le said:

Hello Microsoft,

Could you bring back query analyzer to the public. I really like this feature of sql server.

Thanks,

Lewis.

# July 3, 2009 3:53 AM

WINNT said:

You can also type:

use master

exec sp_removedbreplication YourDatabaseName

go

# July 9, 2009 11:41 PM

Rainer said:

@Garrett

Most remote controller send pgup/pgdn to advance/return slides. PP presenter view expect space/back space or cursor left/cursor right to advance/return slides. pgup/pgdn in PP presenter view is to scroll up/down the presenter notes   *aagrrrrrrr*

I tried to change the shortcuts in PP presenter view without success. -> If anybody knows how to do, please post it here.

Cheers Rainer

# July 15, 2009 6:14 PM

NewsPeeps said:

Thank you for submitting this cool story - Trackback from NewsPeeps

# July 15, 2009 9:52 PM

Larissa Fedora said:

Just noticed it too. Thanks for sharing! =)

# July 21, 2009 9:43 AM

Dennis van der Stelt said:

How do you go about logging with Enterprise Library with the following line Logger.Write("Hello

# July 21, 2009 3:26 PM

NewsPeeps said:

Thank you for submitting this cool story - Trackback from NewsPeeps

# July 21, 2009 8:48 PM

Sanjeev Agarwal said:

Daily tech links for .net and related technologies - July 22-24, 2009 Web Development Simplify calling

# July 23, 2009 1:16 PM

DotNetShoutout said:

Thank you for submitting this cool story - Trackback from DotNetShoutout

# July 23, 2009 2:31 PM

Nathan Prather said:

Thanks, I'll read this before implementing on my next project!

# July 23, 2009 5:30 PM

Dennis van der Stelt said:

Wow, my first post on SharePoint, although I've been busy with SharePoint pretty long now... More posts coming hopefully! :)

# July 24, 2009 8:07 AM

9eFish said:

9efish.感谢你的文章 - Trackback from 9eFish

# July 24, 2009 5:53 PM

Twonne said:

Hi Dennis!

We're hosting a WCF service, with NetMsmqBinding (3.0) inside a windows service.  When a poisonMessageException occurs, we want to remove the poison message to an errorqueue and restart the WCF service, because it's in a faulted state.  We tried two different scenarios, but we're having troubles on both of them.  Maybe you can help us?

This is our solution structure (in test):

OrderValidatorHost (Windows Service Installer, Hosting WCF service)

OrderValidatorService (Contract + Implementation)

ServiceHelper (PoisonErrorHandler.cs)

Our 1st attempt:

Custom errorhandler: msdn.microsoft.com/.../ms751472.aspx

Everything in this sample works, except for this step:

static WaitCallback orderProcessingCallback = new WaitCallback(OrderProcessorService.StartThreadProc);

In the Microsoft example, everything is in one solution.  Our solution is devided into seperate projects.  The Host has a reference to the Service; the Service has a reference to the ServiceHelper (for errorhandler).  Now we should need a reference from our ServiceHelper to our Service Host (Windows Service), this for making the WaitCallback.  This is not possible because we would have then a circular dependency...  Any idea to work this around?

Our 2nd attempt:

2.  We add an eventhandler to our Windows Service to be triggered when the WCF host becomes faulted:

protected override void OnStart(string[] args)

{

    host = new ServiceHost(typeof(OrderValidator));

    host.Open();

    ((ICommunicationObject)host).Faulted += new EventHandler(OnServiceFaulted);

}

private void OnServiceFaulted(object sender, EventArgs e)

{

//The problem here is that we can't find a way to retrieve the message ID (the queue look up ID) of the poison message, to remove that message to our errorqueue

    ((ICommunicationObject)sender).Abort();

    host = new ServiceHost(typeof(OrderValidator));

    host.Open();

}

Any suggestion to catch de MsmqPoisonMessageException in this EventHandler?

Thanx a lot for your time!

}

Dit lijkt ons ook een mogelijkheid, maar we zien niet hoe het haalbaar is om de msmqpoisonmessageexception op te vangen.  Is de mogelijk?

# July 28, 2009 9:27 AM

Confluence: SharePoint Development Wiki said:

Top This Week ()()()() SharePoint's Branding Limitations, Part 1 SharePoint Magazine

# July 28, 2009 11:51 AM

Stephen said:

Hi Dennis I like your example! thanks.

# July 30, 2009 9:29 AM

Deidn said:

Thanks, good tutorial

# July 30, 2009 11:29 AM

Marko said:

why I do not see any of add attributes, I can only see attributes with 'lock' prefix?

# August 5, 2009 12:41 PM

Andrey Niedens said:

Great info! Thank you very much!

# August 9, 2009 12:15 PM

Mike said:

This has been driving me crazy for hours!  Thanks for pointing that out.

# August 10, 2009 9:51 PM

Michel van den Berg said:

Hi Dennis!

Thnx for uploading the video and awesome pictures!

# August 11, 2009 1:27 PM

Andrew said:

Thanks I spent 2 hours trying to remove a database that's replication partner no longer existed for. Your soultion worked. You rock!

# August 11, 2009 10:02 PM

anigalla.net said:

my friend had the same issue when he is calling the assembly Interop.Excel.dll in two different .net applications.

As long as there is only one application running on the machine, you won't get any error.

if you start the second application, still you won't get any error.

But if you open the windows form where in the form load it uses Interop.excel.dll, then it throws an exception

"Attempted to read or write protected memory.... "

# August 12, 2009 11:36 AM

Cool said:

HI,

nice example, could u give an example code of WCF web service returning data from SQL Server.

thanks,

# August 12, 2009 6:23 PM

Ramesh Babu said:

The following is very well said by the Author. I totally agree with that.

"For some reason, I have the feeling communication in RUP is more through documents where as in Agile it's face to face communcation between the customer and the entire team. And I think that's an important difference"

# August 12, 2009 6:52 PM

slabo said:

where is the parameter "ExcelInfo" coming from?

Anyone have references for this code?

# August 13, 2009 4:02 AM

Alex said:

I have three wcf services hosted in window service.I need to host these three services, so i prepare one common setup of these three services by adding Primary Output.

Is there any other way i can achieve the same like comon location so that all DLL will be pick from that location ?

# August 13, 2009 7:25 AM

Yaron Avital said:

HI, great example

a minor typo,

replace this line:

Site site = mgr.Sites["siteName"];

with this:

Site site = mgr.Sites[siteName];

# August 13, 2009 3:02 PM

Bob said:

It is always funny to read somebody who is not agreeing with a definition !!!

Listen well...  do you know what is a DEFINITION ?

# August 17, 2009 8:44 PM

marek said:

hallo,

i am using from today VS 2008. so i want to try tu use WCF on it. but i couldn't the Service references by the Way above. does anybody have any experience about it?

thanks

# August 19, 2009 7:49 PM

Mr B said:

Have a look at this URL: agilepractice.blogspot.com/.../querybuilddetail-updated.html

It is a MSBuild task for retrieving the drop folder for a build specified.

# August 19, 2009 8:06 PM

marek said:

ich mean, i couldn't add/create the Service references by the Way above

# August 19, 2009 8:42 PM

Saurabh Kumar Singh said:

Hi,

 I am creating a WSP solution file for one of my WebPart project. I want to deploy my resource files under 80/WPRESOURCES directory instead of 12 Hives and application 80/resource directory but unable to create it with manifest and ddf files.

Have you any idead about it ???

Please suggest me...

Thank you,

Saurabh Kumar Singh

# August 20, 2009 1:28 PM

Dennis van der Stelt said:

Not from the top of my head, I'd have to check wspbuilder.codeplex.com myself. You'd better ask someone there.

# August 21, 2009 9:48 PM

Dennis van der Stelt said:

You mean you've got this problem? What's your actual problem?

bloggingabout.net/.../quot-add-service-reference-quot-is-disabled.aspx

# August 21, 2009 9:57 PM

Dennis van der Stelt said:

@slabo: It's just a name, could be anything, but it specifies what name the table should have in the DataSet. That's all.

# August 22, 2009 12:38 AM

S kapil said:

Good Article

Thanks!

kapil

# August 25, 2009 12:01 PM

S kapil said:

Dennis van der Stelt, Your efforts are appriciated.

I am new to WCF. based on your article, I am able to create and run WCF ..... cool

Thanks

kapil

# August 25, 2009 3:36 PM

Dries said:

Thanks.

Is there a trace-listener for the console?

I'd like do a 'logger.write' to both a file and the console.

# August 25, 2009 4:45 PM

Dennis van der Stelt said:

# August 25, 2009 8:05 PM

SK said:

It really worked.. Thanks a lot

# August 28, 2009 12:12 AM

Maxime Lebel said:

Is there a way to write on the log specifying the log category (routing) ?

Something like : logger.write('Hello World', WorldCategory)

Thanks,

MLebel

# August 31, 2009 4:23 PM

Dennis van der Stelt said:

@Maxime : Yes there is, just like you write... You just need some additional quotes, like:

Logger.Write("Hello World", "WorldCategory");

Where I talk about configuration, under "category sources" I talk about the "General" category. This is the default. You can create more categories. Normally I use on for logging/tracing and another one for exceptions. Both write to a rolling-file but both with a different filename.

msdn.microsoft.com/.../dd203255.aspx

msdn.microsoft.com/.../dd139943.aspx

# August 31, 2009 4:35 PM

Dave Amour said:

Check out msdn.microsoft.com/.../system.web.ui.webcontrols.gridview.rowupdating.aspx

It says that:

The Keys, OldValues and NewValues collections are automatically populated only when the GridView control is bound to data by using the DataSourceID property.

# September 2, 2009 12:49 PM

Ani said:

This was very helpful. Thank you

# September 4, 2009 12:28 AM

Gajji said:

Thanks a lot...it was really helpful

# September 7, 2009 2:21 PM

Amol Mahajan said:

Its really useful for beginners in WCF.

# September 8, 2009 11:18 AM

Gangadhar said:

A perfect stater for a beginner like me - Thanks a lot

# September 14, 2009 11:57 AM

hfrmobile said:

I found a MSDN blog entry discussing "using C# 3.0 with Visual Studio 2005" (200five not 8eight). Is this possible?

See:

social.msdn.microsoft.com/.../fd8cfaf1-05e3-4bd8-a663-65e0f4981cd3

# September 18, 2009 11:53 AM

Dennis van der Stelt said:

@hfrmobile : Not that I know of. The thing is that those new features are baked into the compiler. And I've never seen how you can replace the compiler in a Visual Studio version, especially knowing that the compiler is also used in the background for intellisense and a lot of other stuff.

# September 18, 2009 12:24 PM

Horia Tudosie said:

I found out that the class 'Microsoft.SharePoint.WebPartPages.WebPart' has a variable or property - 'ClassResourcePath' (with capital 'C') which does exactly that!

# September 18, 2009 5:28 PM

fabio said:

hi,

at Host.Open() i get following exception

 Message="HTTP could not register URL http://+:8080/. Your process does not have access rights to this namespace (see go.microsoft.com/fwlink for details).

i visited microsoft link, but is not clear what command i have to key and if i need to open command windows from netsh tool. I'm working with win7.

can you help me?

# September 20, 2009 11:38 PM

gices said:

My httpmodule used to work on iis7 but now it doesn't get hit anymore. Guess i have to keep on searching for an answer...

# October 3, 2009 7:22 PM

Andrew said:

Thank you very much!

This example was exactly what I needed :)

Andrew

# October 3, 2009 8:49 PM

PM Hut said:

Project Managers usually should consult with the team before making their estimates, and pad the team's estimates, and then pad their own estimates before scheduling the project. Granted, some team members are not really good at estimates, and it's up to the Project Manager to do the estimates on their behalf.

As for saying no, I've published an article on <a href='www.pmhut.com/how-to-say-no& to say no</a>, but the thing is, before saying no, you have to have a certain level of confidence in what you're saying, and you need to have established yourself as reliable when it comes to estimating your time.

# October 5, 2009 2:14 AM

dipanwaya@gmail.com said:

Steps Behind the Test in the VS 2008?

How to test a module in the VS 2008 Environment?

# October 5, 2009 6:02 PM

Ashwin said:

Hi Dennis

I am recently stuck with a problem on SM Workflows. I am not able to create multiple parallel task using replicator in State Machine. There can be arbitraty in number which might be based on some Business logic. Any ideas would be helpful

# October 6, 2009 6:09 AM

Clemens said:

Always got problems with the colors, I just stopped using code ;-) [That’s true almost a year ago I posted some code samples… ]

But, although you us a nice code coloring plugin, my feedreader [FeedDemon ] doesn’t use it, still plain text.

# October 12, 2009 1:21 PM

Paula said:

Thank for the tip on CopySourceAsHtml -- that's exactly what I was looking for!

# October 13, 2009 12:35 AM

CodeKiwi said:

Yeah, the formatting in Google reader is fine but it loses the color coding. Not sure what plugin he uses but Rick Strahl (west-wind.com/.../38838.aspx) seems to have that problem sorted.

# October 13, 2009 2:06 AM

Vladislav Borovikov said:

Actually, Visual Studio places code into clipboard in RTF format too, not just plain text, and it always has styling info. I've made a Live Writer plugin which parses such RTF content and outputs nice clean HTML that fits my needs. Anyone would love to see code snippets formatted as in Visual Studio in their blogs, right?

Source code is not yet published but I'll do it soon.

# October 13, 2009 2:24 PM

Dennis van der Stelt said:

@Clemens & @CodeKiwi : It's because in the HTML there's no markup. If you want to see color coding, visit the blog, not the reader! :)

Maybe I should use a signature, that if you want to see color, come to the site ;)

# October 13, 2009 2:52 PM

pankaj said:

HEllo Creator,

This is Pankaj here..Can you gave me any sample of any WCF service by which i can insert/retrive/delete data from my SQL database. WCF is a new concept for me so plz help..

regards

Pankaj

# October 14, 2009 10:05 AM

Mark said:

Did you try changing IIS7 from "Classic" mode to "Integrated Pipeline" mode under Extensions?  That did the trick for me as I was getting 404 errors on my extensionless URLs.

# October 17, 2009 5:45 AM

GirlGeek said:

WCF links

# October 27, 2009 11:15 PM

Anders Ericsson said:

Exactly what I needed to get started with EL. Great job! Missed this in the EL documentation! This should have been the first subject in the documentation! Gets you going in 5 minutes!

# October 28, 2009 11:27 PM

Shyamal said:

Thanks Dennis fot the quick soluton

# October 30, 2009 5:01 AM

ZeroAnd09 said:

Thank you!  I had to reinstall my Zune software and for the life of me couldn't figure out how to get it back to that setting.

# November 1, 2009 10:56 PM

Diego said:

Does anybody knows, a tutorial that for FinalBuilder that will automated my built, to change just the version number. For example, I know that my built for my software version 6.0 is working, so I just want to take that built, and just change the version number to 6.1, without going to VS and built the code again.

Thank you

sincerely

Diego

# November 3, 2009 10:02 PM

Dennis van der Stelt said:

@Diego : You do have to rebuild you code, but isn't that part of your build already? It should be! First increase the build number in AssemblyInfo.cs, then build the code.

# November 4, 2009 7:28 AM

hfrmobile said:

What about:

<system.codedom>

 <compilers>

   <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharp3CodeProvider, CSharp3CodeDomProvider" />

 </compilers>

</system.codedom>

(not tried this ...)

# November 5, 2009 1:10 AM

Andrew said:

This tutorial is great, but I have a particular concern, After I publish my solution from .net, this include create a PA ClickOnce Deployment utility, setup files ready for the client. What can I do with FinalBuilder to take the xtm file, where the version number is, and change the version number, then remove the deploy extension, sign the manifest, and add the deploy extension back. We can do it manually, but we want automatize that process any ideas??

Therefore the basic question is: How to Change App Version Without Rebuilding?

# November 5, 2009 4:29 PM

Rajesh B S said:

I get this error message

Following errors were detected during this operation.

* [11/23/2009 6:05:12 PM] System.Deployment.Application.DeploymentException (ManifestSemanticValidation)

- The customHostSpecified attribute is not supported for Windows Forms applications.

- Source: System.Deployment

- Stack trace:

at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)

at

# November 23, 2009 1:51 PM

Dennis van der Stelt said:

@Rajesh : That's not the entire msg. Contact me via this page (bloggingabout.net/.../contact.aspx) and we can discuss this offline.

# November 23, 2009 2:17 PM

N0N4m3 said:

Imade my one from cardboard and it will never die so GLaDos in ur face

# November 26, 2009 9:13 PM

traslochi milano said:

Good Post.Its really interesting.

# November 27, 2009 8:57 AM

Mischa Kroon said:

Veel plezier bij het nieuwe werk.

Het was prettig om je als trainer mee te hebben gemaakt :)

# November 30, 2009 10:49 AM

Dennis van der Stelt said:

@Mischa : Thanks! :) We moeten nog steeds een keer een broodje Döner Kebab halen met Ian!

# November 30, 2009 10:52 AM

DungDLT said:

Thanks so much!

This sample as a start point!

# December 1, 2009 5:10 PM

Rose said:

Thanks for the article.

I have a question - I am trying to use BasicHTTPBinding for a windows service - it will be called by a PowerBuilder 8 app, and it only understands BasicHTTPBinding.

I tried hosting the service, but when I start it, I get the error:

Error Starting, error: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [].12/9/2009 10:10:50 AM

I do have the basicHTTPBinding and mexHTTPBinding in the config file.

Any suggestions? Is it even possible to expose a basicHTTPBinding for a windows service?

Thanks in advance~

# December 9, 2009 7:33 PM

Dennis van der Stelt said:

Hi Rose,

Yes, basicHttp is possible in a Windows Service.

The problem you have is that the MEX endpoint can't find an address to host itself on. You need to specify the address at the MEX endpoint itself.

If your service is at

http://localhost/myservice/

It's normal to put it at

http://localhost/myservice/mex/

My article about WCF addresses also shows the common way to specify a base address:

bloggingabout.net/.../WCF-Part-6-_3A00_-Address.aspx

# December 9, 2009 10:15 PM

Hitu said:

Excellant tutorial. Can you pls give a tutorial for Database trace listener.

# December 11, 2009 2:19 PM

Craig said:

Hmm. When I tried it, the file was deployed to a folder named 'resources' in the site, instead of 'wpresources'.  It wasn't a typo.  Any ideas?

Thanks.

# December 15, 2009 5:49 PM

crazyfire said:

In the beginning of this article you mentioned something like "your students". I am curious, if you offer any online courses which i am very much willing to register for.

Please advice me.

But Thanks a lot for this article.

# December 18, 2009 3:42 AM

Dennis van der Stelt said:

Sorry, no online training...

You can ask me questions via the contact page any time you'd like, or check out www.pluralsight.com for online training. Those are quite good.

# December 18, 2009 7:16 AM

kazoolist said:

@Joe - thank you for explaining that persistUpdateCheckResult parameter. You are right that the MSDN documentation is weak at best. Fortunately a Google search led me to your comment and that makes a lot more sense now!

# December 20, 2009 4:39 AM

yasir said:

protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)

  {

     GridViewRow grv = GridView1.Rows[e.RowIndex];

     int intPhoneId = Convert.ToInt32(((TextBox)(grv.Cells[1].Controls[0])).Text);

     string strPname=  ((TextBox)(grv.Cells[2].Controls[0])).Text;

     string strMname = ((TextBox)(grv.Cells[3].Controls[0])).Text;

     string strCname = ((TextBox)(grv.Cells[4].Controls[0])).Text;

then what i do it is not complete

}

# December 23, 2009 7:51 PM

Kiran said:

We have a WCF service that needs to expose basicHttp and Tcp binding. Would it be best to have both bindings exposed by hosting in a Windows Service Or should we host the basic http binding in IIS and only the NetTCPBinding as Windows Service?

# December 24, 2009 6:20 AM

Dennis van der Stelt said:

@Kiran : If you have Win2008 I'd suggest hosting them both in IIS.

Else my answer is : it depends! :)

IIS is much more trustworthy for your services. If the outside world connects to HTTP and internally to TCPIP I'd probably suggest your solution. When internally the service goes down, you'll know immediately and can probably do something about it because you're at work.

Of course it depends on probably more things, but I guess your suggestion will work out. I don't see any problems in having multiple hosts, but only the deployment that will become more cumbersome.

# December 24, 2009 7:38 AM

Farzam said:

this is completely brief and useful article ...

thanks a million  

# December 25, 2009 9:28 PM

Krzysztof said:

To create state machine workflows for SharePoint you should check Datapolis Workbox - it's a graphical workflow designer based on Silverlight.

# December 30, 2009 4:09 PM

Tom said:

I am not able to find the log file. No errors. But log file is missing!!

# December 31, 2009 9:44 AM

santosh said:

Thanks

# January 2, 2010 1:16 PM

Aoe said:

Same here. No log file!

# January 6, 2010 8:40 AM

Dennis van der Stelt said:

Some possibilities:

1) Permissions

You don't have permission to write on disk?!

Also check under which user the process is running. For example if it's a website that's logging, it's probably "Network Service" and if it's a Windows Service it's possibly "Local System"

2) Configuration

Something with configuration is wrong. EntLib is throwing exceptions. It wants to log these, but no listener is configured.

Under "Logging Application Block", under "Special Sources", under "Logging Errors & Warnings" make sure there's a trace listener that can ALWAYS write. If EntLib throws exceptions, it uses that trace listener to notify you about it.

# January 6, 2010 8:50 AM

Oscar said:

Very Good! It solves my problem

# January 6, 2010 10:45 AM

bas said:

Hi,

Please tell me how to create client in VS 2005

# January 7, 2010 9:28 PM

Dennis van der Stelt said:

@bas : Maybe this article will help : bloggingabout.net/.../WCF-Part-4-_3A00_-Make-your-service-visible-through-metadata.aspx

It says something about "svcutil" and how to run it. I'm not sure if, after install of .NET 3.0 SDK, the "Add Service Reference" is available in VS2005. If not, use svcutil.exe, that's what VS2008 uses itself.

# January 8, 2010 9:26 AM

dinesh dangi said:

hi,

i am having a problem while running this application,as u are saying right click on host->debug->new instance then click on client -> service refrence ,its not allowing to add service reference ,its showing in disabled form.without doing debug-> new instance ,if I do the same ,then its showing error occured,as its not taking http://local host/8080/ ,saying no service is there.please look into the issue and let me know if you can fix it.

# January 11, 2010 10:29 AM

Dennis van der Stelt said:

# January 11, 2010 11:24 AM

Paul said:

Thanks for your help, appreciate it. On to the next problem :-)

# January 13, 2010 6:18 PM

posted said:

[ServiceContract]

public interface IHello

{

   [OperationContract]

   string HelloWorld();

   string HelloComputer();

}

public class Hello : IHello

{

   string IHello.HelloWorld()

   {

       return "Hello world";

   }

   string IHello.HelloComputer()

   {

       return "Hello computer";

   }

}

# January 20, 2010 3:48 PM

Dries Marckmann said:

Today our team leader asked me to get someone in our team started on a new solution. This entails 2 things

# January 21, 2010 9:12 AM

krishna said:

Hi,

I'm encountering a strange error with clickonce smart updated. I've used the code and when i publish for the first time, its fine. But, when i publish for second time, and try to run the application, from the Start Menu shortcuts, now the application should update itself, but is not doing so and simply the older version is getting again.

# January 21, 2010 10:15 AM

Dennis van der Stelt said:

@krishna : Have you read this article?

bloggingabout.net/.../manual-check-for-updates-with-clickonce.aspx

It describes how you can check for updates yourself, also because ClickOnce doesn't always report there's an update. Quite weird, but the solution provided in the link ALWAYS works.

# January 25, 2010 2:35 PM

MM said:

MS is Fing idiots for getting rid of this tool.  They should have their heads clunked together.  Put it back now!

# January 25, 2010 11:38 PM

dotnetguts said:

That was helpful.

Thanks

# January 26, 2010 9:49 PM

Jimbo said:

I have found a VERY similar situation wherein the Update and Delete methods of the SQLDataSource are never invoked by the GridView when the GridView is created dynamically.  Subsequently, the RowUpdated or RowDeleted events should of course be called, but as you noted, no events after the action event occur (presumably because the action event didn't happen.

This page gives an excellent rundown of the flow of this operation and how it is supposed to work:

www.4guysfromrolla.com/.../printPage.aspx

Unfortunately, it seems it doesn't quite work that way with dynamically generated GridViews.

Hopefully this will get you one step closer to the answer.  If you come up with it, please post it. This has been eating my lunch for a week.

# January 29, 2010 1:35 AM

Sowmya said:

Hi Dennis,

I have a WCF service which I have hosted using a windows service and this windows service is created Local System log on account. I have created a private queue created for the WCF service and this queue has all the permissions required for the windows service account to access the queue. The service has been installed successfully, but when I try to run the web application which actually calls the WCF service, the following error is thrown. It works very well in the debugging environment though. Only when I run the web application by publishing it this error occurs. Also, I am trying to access the queue from the same machine.

System.ServiceModel.CommunicationException: An error occurred while sending to the queue: No internal Message Queuing certificate exists for the user. (-1072824273, 0xc00e002f).Ensure that MSMQ is installed and running. If you are sending to a local queue, ensure the queue exists with the required access mode and authorization.

How do I further ensure that the queue is installed and running and get rid of this error. Windows service is successfully running on the machine. Could you please let me know where am I missing?

Thanx

-Sowmya

# February 3, 2010 12:32 PM

Dennis van der Stelt said:

Sowmya, perhaps you should contact me privatly... Just use this page : bloggingabout.net/.../contact.aspx

# February 3, 2010 2:58 PM

Sowmya said:

Hi Dennis,

I have sent you the issue that I am facing in WCF service using the page that you have directed me to. Could you suggest any possible solution to that issue?

Thanx

-Sowmya

# February 6, 2010 6:32 AM

Geir Brandt said:

Hi,

thanks for a thorough and excellent explanation. It was exactly what I hoped Google would help me with :)

# February 8, 2010 10:09 AM

Shree said:

Thanks very much !!

# February 17, 2010 8:15 AM

Mostafa Darabi said:

Thanks a lot

# February 18, 2010 3:13 PM

Mostafa Darabi said:

Thanks for your help.

# February 18, 2010 3:15 PM

Arafath said:

Its really helpful to me...Please spread out this information...lot of people asking the same question in the internet.

# February 23, 2010 6:10 PM

Dennis van der Stelt said:

I’ve written some tutorials in the past to help people with manually updating their ClickOnce deployed

# February 24, 2010 4:41 PM

Dennis van der Stelt said:

I’ve written some tutorials in the past to help people with manually updating their ClickOnce deployed

# February 24, 2010 4:42 PM

Dennis van der Stelt said:

I’ve written some tutorials in the past to help people with manually updating their ClickOnce deployed

# February 24, 2010 4:42 PM

Dennis van der Stelt said:

I’ve written some tutorials in the past to help people with manually updating their ClickOnce deployed

# February 24, 2010 4:42 PM

Sumeet said:

Thank you, for writing such a simple example.

It was of great help in understanding the basic concept of WCF.

# February 25, 2010 8:31 AM

Erwyn van der Meer said:

You can't possibly have installed the Windows Azure platform AppFabric because it only runs in the cloud ;) But you might have installed the SDK though.

The client components are not supported on .NET 4 yet, that's why the SDK doesn't change the .NET 4 machine.config. So the easiest option is to use multi-targeting in VS 2010 and target .NET Framework 3.5. But if you add the config manually to .NET 4 it will probably work fine.

# February 28, 2010 1:18 AM

Dennis van der Stelt said:

@Erwyn : You're right, I've changed the article! Thanks :)

# March 1, 2010 10:09 AM

Mukund said:

I have .net 1.1 classlibrary. I want it to use WCF hosted as a windows service. How can I do that? Is it possible?

# March 2, 2010 8:00 PM

Dennis van der Stelt said:

@Mukund : No, that's not possible, because .NET 1.x and .NET 2.0 don't mix together.

If you can recompile it to .NET 2.0 you probably can, although I'm not really sure what you mean with a simple class library. If it's just some code that you want to run once in a while, you don't need WCF. WCF is for communication between systems or applications.

# March 3, 2010 11:26 AM

Ranjan Srivastava said:

Please write step by step about this beacuse this is the burning topic for us.

# March 6, 2010 5:56 AM

Dormand said:

Nice. It works

# March 8, 2010 12:03 PM

Pranita said:

Thanx....

exec sp_removedbreplication works..

# March 9, 2010 8:06 AM

Dan said:

I'm trying to put some common images/css into sharepoint , any idea where these should go?

# March 9, 2010 3:15 PM

Bob said:

uggg..SQL code in a .NET program?  So everything I want to change the logic in the SQL, I need to redeploy the app, meaning that I need to schedule downtime?  uggggg. Maybe LINQ can be useful in small projects, but then maybe its just best to use Access.

# March 10, 2010 5:20 PM

Lead Generation said:

Just re-installed my operating system, visual studio and everything. All of the sudden it keeps giving "Attempting to read or write protected memory in a .net application". Looks like I have to grant some special rights to specific users? could any one please help?

thanks

# March 11, 2010 2:20 AM

Dennis van der Stelt said:

@Bob : You're Bob and you're a DBA'r? That's too good to be true! ;-)

But anyway, I've never seen a system that could change logic inside an application by changing its T-SQL (either SProc, Views or whatever). If your application does, it's a bad practice and I can guarantee that it's WAY less maintainable than my applications are.

# March 11, 2010 7:04 AM

Sam said:

Can you give me any sample of any WCF service by which i can insert/retrieve/delete data from my SQL database. WCF is a new concept for me so plz help..

# March 12, 2010 12:07 PM

Dennis van der Stelt said:

@Sam: From which context? An application that wants to retrieve and write data? A public service that anyone can call? Pure ADO.NET? Linq to SQL? Entity Framework?

Give me some context and maybe I can work with it. There are dozens of possibilities.

# March 12, 2010 4:40 PM

omer said:

Can we set default value(s) for testing the parametrized function.

for example:

<TestMethod()>_

Public Sub GetStoresTest()

       Dim target As FCFProvider = New FCFProvider

       Dim intUserID As Integer = 67097

       Dim expected As DataTable = Nothing

       Dim actual As DataTable

       actual = target.GetStores(intUserID)

       Assert.AreEqual(expected, actual)

   End Sub

# March 16, 2010 2:15 PM

Tim said:

How do I keep my mouse arrow showing on the screen when I use zoomit?

# March 16, 2010 4:31 PM

Noravia Rodriguez - City Of Miami - Database Manager said:

Autor      :             Noravia Rodriguez

Date        :             03/02/2010

Updates:             03/16/2010

Purpose:              How to unmark a database marked as replicated in SQL Server 2005

How to unmark a database marked as replicated in SQL Server 2005

1. Try:

EXEC sp_removeddbreplication “”DatabaseName”

GO

2. Try:

Take Database OffLine

Deatch

Attach Database Back

3. This tasks need to be done MANUALLY and in the following order:

i. Drop all existing subscriptions

ii. Drop all existing pubications

iii. Create a new publications with the same name

iv. Drop it again and say “Yes” to delete information on the Distributor (Distribution Database)

v. Verify Database has been unmark for replication

1. Go to the Database-Tasks-Detach and ensure that mark has been removed

OR

2. Run the following query and ensure “Category”=0           (RECOMMENDED)

SELECT name,category,* FROM master..sysdatabases

# March 16, 2010 5:51 PM

Elias P Ulahannan said:

I got the same problem. My problem was that I compiled the dll with a different version of third party component like Infragistics 9.1 instead of Infragistics 9.2. When I referenced the actual component and compiled then it's working fine.

# March 16, 2010 5:56 PM

Noravia Rodriguez said:

SQL Server 2000

a. Database

use master

GO

exec sp_replicationdboption @dbname = N'dbPOMS', @optname = N'publish', @value = N'false'

GO

b. Columns

use master

GO

exec sp_replicationdboption @dbname = N'dbPOMS', @optname = N'publish', @value = N'false'

GO

use [dbPOMS]

GO

sp_configure 'allow updates', 1

go

reconfigure with override

go

-- For Tables

UPDATE syscolumns SET colstat = colstat & ~4096 WHERE colstat & 4096 <>0

go

-- For columns

UPDATE sysobjects SET repinfo=0 where repinfo=1

Go

sp_configure 'allow updates', 0

go

reconfigure with override

go

# March 16, 2010 6:04 PM

Kedar said:

The session was informative and useful. I got to know how exactly we consume and build WCF services

-Kedar

# March 17, 2010 8:22 AM

Crazy Superman said:

Time to upgrade from that calculator to a PC

# March 18, 2010 7:56 PM

Parag said:

As per author in Interfaces

We prefer however, to have an interface for our contract and have our actual service implement the interface. That's because

   * Interfaces can extend/inherit other interfaces

This is wrong. Interfaces can not inherit other interfaces. Correct me if my assumption is wrong.

# March 23, 2010 12:36 PM

Dennis van der Stelt said:

@Parag : They can, they can even inherit multiple interfaces.

public interface ISubInterface : IProduct, IRepository, IWhatever, ISomeThingElse

{

}

And from there you can create a single class that must implement all those interfaces.

# March 23, 2010 12:58 PM

Santiago Perez said:

I have a 3.5 WCF service that I', hosting with Windows Service. I have security wshttpBinding mode = "none" for a prototype we're doing.  Works wonderfully locally on my box. When I deploy to a remote server on different domain I am having issues. They have the domain nat'd to an internal IP. THey have also setup the domain on an IIS site pointing to a random location on the box. Is this the way to accomplish getting to the service in a real world scenario?

Basically what I'm getting at is how do you tell the outside world I'm hosting this service through this domain besides just the config for the service? What else has to be touched on the box? IIS?

Thanks !

# March 25, 2010 2:48 PM

Dennis van der Stelt said:

@Santiago : Sorry for the late reply. This is exactly why the Windows Azure AppFabric ServiceBus was build. It's hard to forward calls from an outside IP (172.138.12.14 or something) to an inside IP (like 192.168.0.12). You could have a look at routing or something.

But why not deploy the service on the box that's directly connected to the internet?

# March 26, 2010 9:18 AM

Rajesh Gour said:

Hi Dear,

Your code is very easy to understand and this make me possible to implement WCF and MSMQ in my application. Now i have good idea how it's going to work.

Thanks

Rajesh Gour

# April 6, 2010 3:01 PM

cwilson said:

Thank you very much!  Worked perfectly.

# April 6, 2010 3:51 PM

Ravi Naik said:

Good 1............

# April 20, 2010 2:12 PM

Felipe de Jesús Meléndez Valencia said:

Applied to your last example, where i need to put these code????

# April 20, 2010 5:11 PM

Dennis van der Stelt said:

@Felipe : Anywhere you want! You can do it

- when the application starts up in Program.cs

- when the application was launched in your form_loaded or something

- when the application was launched in your form_loaded, executing it via a backgroundworker

- behind a button that says "Check for updates"

Doesn't really matter.

Check the other links in the top of this article to find more info! :)

# April 21, 2010 10:13 AM

Kumaran said:

What you said works, but i have another issue.  After all the check, when the actual update is happening and if the update fails because of network issues, next time when you open the application, the update window is coming again.

# April 23, 2010 12:09 AM

EATONAllyson19 said:

If you're in uncomfortable position and have no cash to go out from that, you would require to receive the <a href="lowest-rate-loans.com/.../mortgage-loans">mortgage loans</a>. Because that will aid you emphatically. I take collateral loan every single year and feel myself good just because of that.

# April 23, 2010 6:41 AM

Felipe said:

Thanks. Sorry but i'm new in C#. Thanks for all. You made a great job and a great tutorials.

# April 27, 2010 7:01 AM

Jens said:

Great, I was going crazy over not being able to add the service reference. Thanks for the tutorial and this addition!

# April 27, 2010 2:56 PM

Edgar Rodriguez said:

This is a pretty interesting blog post. I just have one quick question, how do I specify in the publish stage in Visual Studio if a update is required?, I mean, where does the info.IsUpdateRequired variable is set? Do I have to modify the deployment manifest manually?

Thanks,

Greetings.

# April 27, 2010 5:50 PM

Dennis van der Stelt said:

"Publish" tab in project's properties window

# April 27, 2010 6:47 PM

Jesse said:

I have a grid bound to an object datasource.

Some of my columns are template fields.

I could not get the values from the gridview in my codebehind code but thanks to Matt it worked.

Matt's posting below (in this posting) worked for me.

Here is his post:::::::::::::::::::::::

I just used this where my template field is a lable

GridView grd = (GridView) sender;          

      Label lbl = (Label) grd.Rows[e.RowIndex].FindControl("lblempIDe");

now use the

lbl.Text

to find the value

# April 27, 2010 10:29 PM

Rich said:

A few questions.  

1. Does the background worker check for updates with out a user physically pressing a button?

2. With this code:

ApplicationDeployment  updateCheck = ApplicationDeployment.CurrentDeployment;

UpdateCheckInfo info = updateCheck.CheckForDetailedUpdate();

//

if (info.UpdateAvailable)

{

 updateCheck.Update();

 MessageBox.Show("The application has been upgraded, and will now restart.");

 Application.Restart();

}

Can I place this on form Load?

# April 29, 2010 5:28 AM

Dennis van der Stelt said:

@Rich : 1. Yes, it can 2. Yes, you can.

It's probably wiser though to put the checking in parallel process with a BackgroundWorker for example.

I did bump into one single Windows Forms application where this wasn't wise, as it took 1 minute to load a LOT of data. After the 1 minute loading, it said "Hey, update, wanna install and restart the app?" and users of the app wouldn't update because they had to wait another full minute. So checking for updates before the actual loading of the data took place was smarter! :)

Of course a complete redesign of the app was even more smarter, but there's not always time for that.

# April 29, 2010 9:14 AM

Rich said:

Just wanted to reply, I did some other stuff, but by following your procedure I was able to help myself implement an update checker.  

I will try to figure out how to use the background checker in a future update ;).

Thank you for posting this it has helped me.

# April 29, 2010 11:55 PM

Dennis van der Stelt said:

@Rich : No problem, good luck!

# May 1, 2010 10:22 PM

Dan said:

@Joe

Holy crap, thanks for pointing that out. This was driving me nuts.

# May 4, 2010 12:43 AM

Arun Nagashetti said:

I got the same exception but only on 64 bit platform. here is my experience... archistance.blogspot.com/.../exception-attempted-to-read-or-write.html

# May 5, 2010 11:23 PM

JONI34Phillips said:

I guess that to get the <a href="lowest-rate-loans.com/.../a> from banks you should present a firm reason. But, once I've got a sba loan, because I was willing to buy a bike.

# May 7, 2010 2:43 AM

WeberMattie34 said:

Do not enough money to buy some real estate? Worry not, just because it's real to get the <a href="lowest-rate-loans.com/.../credit-loans">credit loans</a> to work out such kind of problems. So get a student loan to buy everything you require.

# May 7, 2010 3:40 AM

GregoryTABATHA27 said:

People deserve good life time and <a href="http://lowest-rate-loans.com">loans</a> or just student loan would make it much better. Just because freedom bases on money state.

# May 7, 2010 1:37 PM

HildaHicks35 said:

Set your life time easier get the <a href="lowest-rate-loans.com/.../a> and everything you need.

# May 7, 2010 4:00 PM

LUCIAWalls said:

Don't you understand that this is high time to receive the <a href="lowest-rate-loans.com/.../credit-loans">credit loans</a>, which would make you dreams real.

# May 7, 2010 5:15 PM

VincentAngelita said:

I received 1 st <a href="http://lowest-rate-loans.com">loan</a> when I was 25 and that supported me a lot. But, I require the collateral loan also.

# May 7, 2010 7:41 PM

pnb said:

It also depends on managing in-house projects vs. managing external clients. In later case business is not readily available for discussion. When dealing with external clients, budgeting and scoping is way important and need to be precise and estimated well in advance. For in-house project scope and budgeting is relatively lenient (my experience).  

As Dennis said,getting requirement straight is important. With Agile if Project Manager is not good negotiator then small requirement turns out to be never ending. Documentation is must (even in mail is enough) but just verbal communication leads to many bad things. Agile needs very sound (technically and functionally) developers. Every one needs to deliver from day 1. In case of lateral hire, it may not always.

# May 7, 2010 9:22 PM

Wheeler32Colette said:

I guess that to get the <a href="lowest-rate-loans.com/.../a> from banks you ought to present a firm motivation. However, one time I have got a auto loan, just because I was willing to buy a bike.

# May 7, 2010 11:24 PM

JanellHess22 said:

This is good that we are able to take the <a href="http://lowest-rate-loans.com">loans</a> moreover, that opens completely new possibilities.

# May 8, 2010 3:24 PM

ColetteVANG said:

When you are in uncomfortable position and have got no money to move out from that point, you will require to receive the <a href="lowest-rate-loans.com/.../a>. Because it will help you unquestionably. I take car loan every year and feel myself good just because of it.

# May 9, 2010 3:17 PM

Ramana said:

Can u tell how to execute this sample.breif theory how it will work.i am new to wcf.if i will keep host as startup project i am getting some window while clicking on anything it is disappearing but when i keep Client as star up page while clicking on button getting TCP error.can give some solution to this.thax in advance...

# May 11, 2010 9:15 AM

SEARSDianne said:

I will recommend not to wait until you earn big sum of money to order all you need! You should get the <a href="lowest-rate-loans.com/.../a> or credit loan and feel fine

# May 15, 2010 7:07 PM

HurleyAngelique said:

Some time before, I did need to buy a car for my organization but I didn't have enough money and couldn't buy anything. Thank God my dude suggested to take the <a href="lowest-rate-loans.com/.../credit-loans">credit loans</a> at creditors. Thus, I did so and was happy with my short term loan.

# May 20, 2010 4:45 PM

ChristiHarris23 said:

This is understandable that cash makes people free. But how to act when somebody doesn't have cash? The only one way is to receive the <a href="http://lowest-rate-loans.com">loan</a> or commercial loan.

# May 22, 2010 9:25 PM

Larsen24Adela said:

According to my exploration, billions of persons on our planet receive the <a href="lowest-rate-loans.com/.../credit-loans">credit loans</a> at good banks. So, there is a good chance to get a student loan in all countries.

# May 24, 2010 4:04 AM

surya said:

Hi

Can anybody plz help me out i am getting this error ...

The HttpsGetEnabled property of ServiceMetadataBehavior is set to true and the HttpsGetUrl property is a relative address, but there is no https base address.  Either supply an https base address or set HttpsGetUrl to an absolute address.

# May 27, 2010 8:57 AM

LESTERPatsy said:

Different people in every country take the <a href="lowest-rate-loans.com/.../business-loans">business loans</a> in different banks, just because this is simple and comfortable.

# May 27, 2010 5:40 PM

MorinChristy said:

According to my monitoring, billions of persons in the world get the <a href="lowest-rate-loans.com/.../personal-loans">personal loans</a> from different creditors. Thus, there's good chances to receive a financial loan in every country.

# May 28, 2010 4:00 PM

Dennis van der Stelt said:

@Surya : Sure, perhaps reading this article will help.

bloggingabout.net/.../WCF-Part-6-_3A00_-Address.aspx

# May 28, 2010 10:06 PM

GoldieDAWSON21 said:

The <a href="lowest-rate-loans.com/.../mortgage-loans">mortgage loans</a> are useful for people, which are willing to start their own organization. As a fact, that's not very hard to get a auto loan.

# May 30, 2010 9:39 AM

Yvonne Overduin said:

Thank you very much!  Worked perfectly.

# June 1, 2010 2:29 PM

But it works on my PC! said:

In Kevin Jones’ session at today’s DDD South West on ‘Testing ASP.NET MVC Applications ’ the question

# June 5, 2010 9:54 PM

Richard Fennell said:

In Kevin Jones’ session at today’s DDD South West on ‘Testing ASP.NET MVC Applications ’ the question

# June 5, 2010 10:57 PM

WhitneyThomas33 said:

Do not enough cash to buy a house? Worry not, because that is achievable to receive the <a href="lowest-rate-loans.com/.../personal-loans">personal loans</a> to resolve all the problems. Therefore get a student loan to buy everything you need.

# June 7, 2010 9:07 AM

Merlinox said:

Hi. I create custom membership and role provider. But I don't need to insert in web.config the connection string. All data are managed by my framework class.

Ho do I config the web.config to set my custom membership and roleprovider without "connection string"?

Thanks.

# June 7, 2010 2:27 PM

DrakeNadia25 said:

If you are in the corner and have no cash to get out from that point, you will have to receive the <a href="lowest-rate-loans.com/.../personal-loans">personal loans</a>. Because that will help you unquestionably. I take auto loan every time I need and feel myself OK because of it.

# June 9, 2010 12:14 PM

CLAYTONEarnestine21 said:

Houses and cars are quite expensive and not everyone is able to buy it. Nevertheless, <a href="lowest-rate-loans.com/.../business-loans">business loans</a> are created to support people in such hard situations.

# June 9, 2010 7:04 PM

LeMelissa30 said:

Do you understand that it is correct time to get the <a href="lowest-rate-loans.com/.../a>, which would help you.

# June 10, 2010 8:42 AM

guyjasper said:

hi dennis, i'm having problem after adding a Service Reference. just like some people above, after adding Service Reference, there is no localhost.map / localhost.cs files under Service References. I'm using VS 2008. Host was running fine.

# June 11, 2010 7:22 AM

Dennis van der Stelt said:

"localhost" is the namespace used. When you enter HelloServiceClient, Visual Studio 2008 should be able to help you find the namespace and add the using statements at the top of your code. Be careful though to enter the HelloServiceClient case sensitive, or else VS2008/VS2010 can't help you find the namespace.

Place your cursor in the HelloServiceClient and press CTRL + . or hover your mouse over it and click the widget that opens up.

# June 11, 2010 8:55 AM

guyjasper said:

hi dennis, i was able to make it work. in my project, it created ServiceReference1 (it was the default namespace i used when adding the Servive Reference). HelloServiceClient was an object under ServiceReference1 (as what is displayed in the object browser). i just had to replace "localhost" with "ServiceReference1" and it works. thanks for the tutorial ;)

# June 11, 2010 10:05 AM

Dennis van der Stelt said:

@guyjasper : Glad it worked! Congrats!

# June 11, 2010 12:02 PM

Krischu said:

Does there exist a newer example for VS2008? I'm getting an error 415 when trying to add a server method and generate the client proxy file.

C:\Users\Krischu\Projects\WCF\WCFSimpleExample>"C:\Program Files\Microsoft

SDKs\Windows\v7.0\Bin\svcutil.exe" localhost/HelloService /out:Proxy

.cs

Microsoft (R) Service Model Metadata Tool

[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152]

Copyright (c) Microsoft Corporation.  All rights reserved.

Attempting to download metadata from 'localhost/HelloService' using

WS-Metadata Exchange or DISCO.

Microsoft (R) Service Model Metadata Tool

[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152]

Copyright (c) Microsoft Corporation.  All rights reserved.

Error: Cannot obtain Metadata from localhost/HelloService

If this is a Windows (R) Communication Foundation service to which you have acce

ss, please check that you have enabled metadata publishing at the specified addr

ess.  For help enabling metadata publishing, please refer to the MSDN documentat

ion at go.microsoft.com/fwlink.

WS-Metadata Exchange Error

   URI: localhost/HelloService

   Metadaten enthalten einen Verweis, der nicht aufgelöst werden kann: "http://

localhost:8008/HelloService".

   Der Inhaltstyp "application/soap+xml; charset=utf-8" wurde von Dienst "http:

//localhost:8008/HelloService" nicht unterstützt. Möglicherweise besteht keine Ü

bereinstimmung zwischen Client- und Dienstbindung.

   Der Remoteserver hat einen Fehler zurückgegeben: (415) Cannot process the me

ssage because the content type 'application/soap+xml; charset=utf-8' was not the

expected type 'text/xml; charset=utf-8'..

HTTP GET Error

   URI: localhost/HelloService

   Fehler beim Downloaden von 'localhost/HelloService'.

   Fehler bei der Anforderung mit HTTP-Status 400: Bad Request.

If you would like more help, type "svcutil /?"

C:\Users\Krischu\Projects\WCF\WCFSimpleExample>pause

Drücken Sie eine beliebige Taste . . .

# June 14, 2010 10:30 AM

Dennis van der Stelt said:

@Krischu : The log says port 8008, but isn't it 8080 in your case, just like in mine?

# June 14, 2010 12:34 PM

Krischu said:

Hi Dennis, thanks for the quick answer. I changed all (hopefully) occurences from 8080 to 8008 (since I have running other services - tomcat - on 8080).

--

Christoph

# June 14, 2010 8:05 PM

Dennis van der Stelt said:

@Krischu : Let me know if it works, or doesn't work. I'm working on an updated version of the example, including more info on how to host it inside a console app and IIS and get more bindings/protocols working.

# June 14, 2010 8:22 PM

Krischu said:

Here again the output. Must have been some problem with cut/pasting the message: (but, as said, I changed 8080 to 8008 on purpose)

C:\Users\Krischu\Projects\WCF\WCFSimpleExample>"C:\Program Files\Microsoft

SDKs\Windows\v7.0\Bin\svcutil.exe" localhost/HelloService /out:Proxy

.cs

Microsoft (R) Service Model Metadata Tool

[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152]

Copyright (c) Microsoft Corporation.  All rights reserved.

Attempting to download metadata from 'localhost/HelloService' using

WS-Metadata Exchange or DISCO.

Microsoft (R) Service Model Metadata Tool

[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152]

Copyright (c) Microsoft Corporation.  All rights reserved.

Error: Cannot obtain Metadata from localhost/HelloService

If this is a Windows (R) Communication Foundation service to which you have acce

ss, please check that you have enabled metadata publishing at the specified addr

ess.  For help enabling metadata publishing, please refer to the MSDN documentat

ion at go.microsoft.com/fwlink.

WS-Metadata Exchange Error

   URI: localhost/HelloService

   Metadaten enthalten einen Verweis, der nicht aufgelöst werden kann: "http://

localhost:8008/HelloService".

   Der Inhaltstyp "application/soap+xml; charset=utf-8" wurde von Dienst "http:

//localhost:8008/HelloService" nicht unterstützt. Möglicherweise besteht keine Ü

bereinstimmung zwischen Client- und Dienstbindung.

   Der Remoteserver hat einen Fehler zurückgegeben: (415) Cannot process the me

ssage because the content type 'application/soap+xml; charset=utf-8' was not the

expected type 'text/xml; charset=utf-8'..

HTTP GET Error

   URI: localhost/HelloService

   Fehler beim Downloaden von 'localhost/HelloService'.

   Fehler bei der Anforderung mit HTTP-Status 400: Bad Request.

If you would like more help, type "svcutil /?"

C:\Users\Krischu\Projects\WCF\WCFSimpleExample>pause

Drücken Sie eine beliebige Taste . . .

# June 14, 2010 8:23 PM

Dannyboy said:

Greeat article.  I'm stuck on step 9.  When i create a new instance of the host, I am unable to right click on the client project and add the reference.  I am using VS 2005.  Any thoughts?

# June 14, 2010 8:54 PM

Felipe de Jesús Meléndez Valencia said:

How can i implement this solution in a class????

# June 14, 2010 9:00 PM

Dennis van der Stelt said:

@Felipe : What do you mean by that?

# June 14, 2010 11:18 PM

Dennis van der Stelt said:

@Dannyboy : VS2005 was a long time ago for me, sorry. Is it the problem described here?

bloggingabout.net/.../quot-add-service-reference-quot-is-disabled.aspx

Else check out this article about svcutil.exe

bloggingabout.net/.../WCF-Part-4-_3A00_-Make-your-service-visible-through-metadata.aspx

# June 14, 2010 11:19 PM

prasad said:

nice article i am searching from a long time for like this article thank u so much

# June 15, 2010 6:38 AM

Dennis van der Stelt said:

@Krischu You should probably do http:// and specify the right port number using the svcutil. So it should be something like

svcutil.exe localhost/HelloService /out:Proxy.cs

# June 15, 2010 7:38 AM

Krischu said:

Dennis,

I have no idea, why the :8008 (colon - 8008) did not make it through the cut/paste mechanism into the text area in this blog. Believe me, They are all there in the original statement. So that's definitely not he issue. I'm passing the correct URL to the svcutil command line.

--

Christoph

# June 15, 2010 9:17 AM

Dennis van der Stelt said:

@Krischu: Go to the url of your service with a browser. You might've made a mistake in your service that makes the (http) MEX endpoint not available. The browser will most likely tell you what's wrong.

# June 15, 2010 9:21 AM

Krischu said:

Dennis, you can see it from your own post: The URL is converted to a link. When you hover with the mouse you can see the complete URL in the status bar. This is due the lack of posting code (pre) sections in this blog.

--

Christoph

# June 15, 2010 9:22 AM

Krischu said:

Hah! I figured it out:  

<pre>

svcutil http://localhost:8008/?wsdl  /out:proxy.cs

</pre>

(localhost : 8008 that is in the above line, in case it gets eaten by the blog formatting again :)

--

Christoph

# June 15, 2010 9:38 AM

Dennis van der Stelt said:

@Krischu : Contact me via the contact form. We'll discuss this over email further! :)

# June 15, 2010 11:08 AM

Enrico said:

Hi

i have tried this sample with Visual Studio 2008 but don't working. I can't do the steps from 9 in avant ... where is my mistake? Thanks in advance

# June 15, 2010 3:02 PM

Dennis van der Stelt said:

@Enrico : What exactly can't you do? Did you try this:

bloggingabout.net/.../quot-add-service-reference-quot-is-disabled.aspx

# June 15, 2010 4:08 PM

Enrico said:

Hi Dennis

thanks you for your help, i solve it!!! When i run the application appeare the next error: "HTTP could not register URL http://+:8080/. Another application has already registered this URL with HTTP.SYS."

I think because i have publish the Host application in localhost, so how can i un-publish? Thank again

# June 15, 2010 4:55 PM

Dennis van der Stelt said:

@Enrico

There might be two problems. In more secure versions of Windows (Vista, 7) you can't just register addresses on ports, because you're not allowed. Run Visual Studio as Administrator and it works.

The other thing is that there is already running something on that port. There can't be two listeners on the same port. So either shutdown the first application, or change the port number in your wcf service.

# June 16, 2010 9:11 AM

Enrico said:

Hi

now all working good. I have the next question: is necessary that the service is always active for consume it from client? In test enviroment if the service it's not live i cant consume it from client, there si something wrong yet or it's normal so? Thanks in advance

# June 16, 2010 9:31 AM

Dennis van der Stelt said:

@Enrico: YES! :)

But you can also host in IIS and then IIS will bring the service to life when the first call takes place. IIS will also tear it down after 20 minutes of inactivity.

# June 16, 2010 10:04 AM

Krischu said:

Caveat: When you go to VS2008 you will still see that there are different Menu items in the area of "Add Service Reference" vs. "Add Web Reference", depending on whether to set the project based on Net 2.0, 3.0 or 3.5.

--

Christoph

# June 16, 2010 10:26 AM

Enrico said:

For Host the service in IIS i must Publish it in IIS, after i must create the proxy client with svcutil tool?

# June 16, 2010 10:43 AM

Dennis van der Stelt said:

@Enrico: Either that or with "Add Service Reference" in Visual Studio :)

# June 16, 2010 10:51 AM

Dennis van der Stelt said:

It’s been a long, long time since I wrote the original WCF Simple Example post. It was even before Visual

# June 16, 2010 8:36 PM

Dennis van der Stelt said:

It’s been a long, long time since I wrote the original WCF Simple Example post. It was even before Visual

# June 16, 2010 8:36 PM

Dennis van der Stelt said:

It’s been a long, long time since I wrote the original WCF Simple Example post. It was even before Visual

# June 16, 2010 8:36 PM

Dennis van der Stelt said:

It’s been a long, long time since I wrote the original WCF Simple Example post. It was even before Visual

# June 16, 2010 8:36 PM

Dennis van der Stelt said:

It’s been a long, long time since I wrote the original WCF Simple Example post. It was even before Visual

# June 16, 2010 8:40 PM

Dennis van der Stelt said:

Update : This post was updated and is much more explaining in this post, WCF Simple Example in Visual

# June 16, 2010 8:42 PM

Sree said:

Hey,

Thank you so much for your wonderful article.Cheers.

# June 17, 2010 2:40 PM

Sree said:

Hi,

I have sample WCF application with interface as contract as shown in the above article but when i am trying to host the contract i am getting the following error

The contract type MyFirstConsoleApplication.Mul is not attributed with ServiceContractAttribute.  In order to define a valid contract, the specified type (either contract interface or service class) must be attributed with ServiceContractAttribute.

Any help greatly appreciated.

Thanks.

# June 18, 2010 11:24 AM

Freshdls said:

Your sample is excellent and I'm wondering if it's possible to use it in Silverlight application? I've tried that, but there's HelloWorldAsync method that accepts string argument, but returns void. Do you happen to know how to overcome this? I wish to use http://www.evildrome.com for all my downloads.

# June 19, 2010 5:29 AM

Dennis van der Stelt said:

The previous post was the most simple example of creating a WCF service and calling it from a client

# June 19, 2010 10:25 PM

Dennis van der Stelt said:

The previous post was the most simple example of creating a WCF service and calling it from a client

# June 19, 2010 10:25 PM

Dennis van der Stelt said:

The previous post was the most simple example of creating a WCF service and calling it from a client

# June 19, 2010 10:25 PM

Dennis van der Stelt said:

The previous post was the most simple example of creating a WCF service and calling it from a client

# June 19, 2010 10:25 PM

Dennis van der Stelt said:

The previous post was the most simple example of creating a WCF service and calling it from a client

# June 19, 2010 10:29 PM

Dennis van der Stelt said:

Hi Sree,

Some suggestions:

1. Does your class (your implementation) implement the interface? ie. public class Mul : IMul

2. Is the word "ServiceContract" in green? I hope so, else it wouldn't compile! :) But when you hover over it, is it from System.ServiceModel or another namespace?

3. can't think of anything else this early! :)

# June 21, 2010 7:06 AM

Lakshmipathy said:

Thank you so much. It was a great article. I learned a proper foundation to start further.

# June 22, 2010 12:28 PM

Avi said:

How to "EmailService project". Please explane.

# June 23, 2010 4:00 PM

Dennis van der Stelt said:

@Avi: WHAT?

# June 23, 2010 4:13 PM

Divya said:

Thanks a lot..I searched so many examples on wcf, but this is the best and simple which i found out and i learned to create and consume webservices.

# June 25, 2010 12:20 PM

Divya said:

If my host and client are in two different solutions , will that make any difference?

# June 25, 2010 1:37 PM

Dennis van der Stelt said:

Even if you run them both on different computers it would work. That's the entire point of WCF, connecting systems in a dstributed environment :)

# June 25, 2010 2:42 PM

BP said:

Hi Dennis,

This is really great stuff.  Thanks for writing it up.  

I'm using Visual Studio 2010, could you tell me where to inject the deployment code?  I have a WPF project and would like to turn off the automatic check for updates too, or at least control its behavior more.

# June 26, 2010 9:02 PM

BP said:

Nevermind, I ignore my last questions... I figured it out.  Thank you for the article!

# June 26, 2010 9:47 PM

payal said:

protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)

   {

       msaccess.Open();

       //OleDbCommand cmd = new OleDbCommand("update Table2 set name=@mname,city=@mcity where srno=@msrno",msaccess);

       OleDbCommand cmd = new OleDbCommand("update Table2 set srno=@msrno,name=@mname,city=@mcity where srno=@msrno", msaccess);

       cmd.Parameters.Add(new OleDbParameter("@msrno", OleDbType.Integer));

       //cmd.Parameters["@msrno"].Value = Convert.ToInt32(((TextBox)(GridView1.Rows[e.RowIndex].Cells[1].Controls[0])).Text);

       cmd.Parameters["@msrno"].Value =Convert.ToInt32 ((GridView1.Rows[e.RowIndex].Cells[0].Text));

       cmd.Parameters.Add(new OleDbParameter("@mname", OleDbType.VarChar));

       cmd.Parameters["@mname"].Value=((TextBox)(GridView1.Rows[e.RowIndex].Cells[1].Controls[0])).Text;

       cmd.Parameters.Add(new OleDbParameter("@mcity", OleDbType.VarChar));

       cmd.Parameters["@mcity"].Value= ((TextBox)(GridView1.Rows[e.RowIndex].Cells[2].Controls[0])).Text;

       //cmd.Connection.Open();

       cmd.ExecuteNonQuery();

     //  cmd.Connection.Close();

       msaccess.Close();

       GridView1.EditIndex = -1;

       bindgrid();

       //GridView1.DataBind();

   }

# June 29, 2010 5:33 AM

Felipe de Jesús Meléndez Valencia said:

It is possible, for example, if I have a BackgroundWorker in different forms in my application, that change in the role of main window. My question is: Can i put the code in the DoWork and RunWorkerCompleted events in a class and just call in the events, and how i can do it?. Thanks for all.

# June 29, 2010 10:30 AM

Dennis van der Stelt said:

@Felipe : Those questions aren't ClickOnce related at all. You can put anything inside classes you want and have background workers there, or have backgroundworkers in your form execute the methods in your other class. There are a million possibilities there.

# June 30, 2010 12:53 PM

Hisuke said:

How about hosting a wcf service at the same time with another service in a single windows service?<did you get i mean?> for example, i would like to host my wcf service everytime i start my MyOtherService? Can that be possible?

# July 2, 2010 3:49 AM

paulhar333 said:

Excellent article, keep up the good work. I read a lot of forums on a daily basis and for the most part, people lack substance but, I just wanted to make a quick comment to say I’m glad I found your forum.

Thanks.

<a href="http://servetechnology.com" rel="dofollow">Serve Technology</a>  

# July 3, 2010 9:55 AM

Dennis van der Stelt said:

That's most definitely possible, you just have to take into account that QoS (Quality of Service). Your service won't restart automatically, you'll have to program that yourself. Also when there are attacks or memory leaks, your Windows Service won't help you with those. IIS will!

I can't stress enough that IIS is the best option to host your WCF Services. Especially if you have WAS (Windows Process Activation Services) there's almost no need to host your services yourself.

# July 6, 2010 7:06 AM

Divya said:

In case of VS2005 I cant find the Add Service Reference option? How do we add it as reference?

# July 6, 2010 8:48 PM

Divya said:

Its working.. Thanks alot.. for this article...

# July 6, 2010 8:51 PM

Pete said:

Dennis,

Bail me out! I suggested an architecture to my company which I will explain in a second but only examples I am seeing are doing the opposite of what I suggested. Basically we have a master queue where tasks for different systems are dumped and processed on that server. The server is not able to handle the load so I suggested we use WCF to split out the tasks to different queues on different servers. Makes sense, right? Except every client/server example I have seen have the host receive the messages from different clients instead of vice versa. You input is greatly appreciated.

# July 9, 2010 3:20 PM

Michael said:

Okay, so this is all well and good. I take it the examples are done using a full version of Visual Studio? What do you do if you're trying to walk through these examples and all you've got is Visual C# Express 2010?

# July 9, 2010 6:32 PM

Dennis van der Stelt said:

@Michael : As far as I know, should work exactly the same. The only difference is that you don't have the team building stuff and some advanced remote debugging of assemblies in Express, plus no AddOn support. Should work exactly the same for everything else.

# July 9, 2010 10:53 PM

Dennis van der Stelt said:

@Pete:

Either I am, or you are mixing things up. Or I'm just not understanding your problem! ;-)

Anyway, first you talk about a master queue where tasks are put into from different systems, and they are processed by one server. If that's not client-server, I don't know what it is.

On the other hand, you're talking about client/server and that it is not what you're using. So you might either be talking about some service bus, or publish subscribe. I highly doubt you're talking about pub/sub. That's where a system is publishing messages, without knowing who picks these up. WCF can't handle this scenario, it's probably best to look at NServiceBus for lightweight scenarios and BizTalk for expensive, hard to build en huge distributed scenarios. ;-)

The other thing is some sort of ServiceBus where you put messages onto a bus and a random system picks up these messages. It's kind of like Pub/Sub, only it's not. That scenario is more about some pipeline that messages get thrown on, and they might be modified or extended or so and might even be routed to some other system.

- WCF can do routing since version 4.

- Pub/Sub it cannot do.

- Load balancing it cannot do either, you'll have to build it yourself using WCF4 routing, or better use an existing implementation for dedicated Network Load Balancing (NLB) software/hardware.

If you want more info, you'll have to explain your situation a bit more.

You can also email me via the contact form on this blog.

# July 9, 2010 11:00 PM

Pete said:

Dennis,

Many thanks for replying. Basically I am thinking to run a service on the machine that has the master queue. That server depending on the kind of message it is will send it to a different server. The client running on that machine will save it to the local queue on that server. That way I will be able to split the tasks between different servers. If there a new task that the main service need to delegate I want to be able to add a config with the message parameters and the destination server queue and the service should be able to dynamically send those tasks there. I might have bitten off more than I can chew 'cause I am not seeing any examples that will help me do this. Thanks again for replying. Looking forward to your expert opinion.

# July 12, 2010 3:23 PM

EstelaNewton said:

When you are in not good state and have got no cash to get out from that, you would have to take the <a href="http://bestfinance-blog.com">loan</a>. Because it would aid you unquestionably. I take short term loan every year and feel OK just because of that.

# July 13, 2010 5:26 PM

Pete said:

Dennis,

Please help me out. Here is my question rephrased :

# I have a master queue (msmq) on Server A  

# I need to configure WCF to take messages depending on what kind they  are and send them to different servers to split the load.  

# From the examples I am seeing this should require very little  code. Problem is WCF abstract away a lot of code by providing  configuration options in web/app.config. Problem is the WCF "host" that  is running on Server A has to be able to send different messages to  different servers (endpoints?). I am not sure if one service could have  different endpoints. If this is not possible or too complicated maybe I  would run multiple instances of this service  each with a different endpoint all reading from the same queue.  

# All  the examples I am seeing are of the "host" receiving the messages from  clients on different servers. Am I doing something wrong?  

# I am also confused about WAS. What is it exactly? I know it is a feature  in Windows Vista and all subsequent OSes. Does this mean I can't run  the sample on Win XP with IIS 6?

Thanks

# July 15, 2010 3:00 PM

Greg Jackman said:

Hi Dennis.

I came across this article while browsing for ClickOnce info. I'm the author of a piece of software called ClickOnceMore (see http://www.clickoncemore.net).

The software is designed to help people automate ClickOnce builds. It provides a project editor UI for setting up the project with the files you want to install and the certificate and other options (including the password and timestamp URL). Then there's a command line version so that you can add it to a build script or such like.

It could be helpful to you in situations like you describe above.

Cheers,

Greg

# July 16, 2010 1:11 PM

DominguezISABELLE35 said:

Don't have money to buy a building? You should not worry, just because it's available to take the <a href="http://bestfinance-blog.com">loan</a> to resolve such kind of problems. Therefore get a credit loan to buy all you require.

# July 16, 2010 1:39 PM

Domnica said:

Hi,

I have some files needed for the application to run (dll-s that I cannot add as references because they are not .NET-style, other config files, etc, so they are not deployed by ClickOnce technology), so after publishing the app, I will copy by hand these files to the server, and when app starts I want to copy them dinamically from server to client local disk. (if this is the very first time the app is running on that machine and these files don’t already exist on local disk). They will not modify from one version to another, so I won’t copy them to server every time.

To copy these files from server to client, of course I have to know server (deployment) location and client location (directory where the app starts on local disk).

For server location I tried to use ApplicationDeployment.CurrentDeployment.UpdateLocation, but it gave me http://193.33.94.254/MyApp/ MyApp.application (the content of deploymentProvider tag), so not the place where I can find

For client location I tried to use ApplicationDeployment.CurrentDeployment.DataDirectory, but again this is not the directory from the local disk where the .exe locates.

So I guess for client side I could use the old System.Windows.Forms.Application.StartupPath, right?

But what can I do about server location? How to obtain http://193.33.94.254/MyApp/ Application%20Files/ MyApp_1_0_0_7/ let’s say?

Thanks,

Domnica

# July 22, 2010 2:09 PM

subramanian said:

Hi,

Is it possible to unit test the native c++ code in Visual studio 2008/2010 without any modification to source code files. Please clarify me and should i need to choose other external framework.

Thanks

G Subramanian

mail id: subramanian.g@tsts.in

# July 26, 2010 8:42 AM

Marcel Veldhuizen said:

Absolutely awful, on something that should have been a happy occasion. I hope your wife will be conscious soon to see her new daughter.

Best of luck to you all.

# July 26, 2010 5:35 PM

Frans Bouma said:

Veel sterkte. :( Hopelijk wordt je vrouw morgen wakker en heeft het geen blijvende schade...

# July 26, 2010 6:00 PM

Joost van Schaik said:

Dennis, I am not easily moved but right now I am trying to keep my shaking hands steady while typing this. This indeed qualifies as the worst day of any life. Words fail me. There is only hope left. I'll just keep my fingers crossed and hope for the best. All the best wishes, luck, hopehat strenght and faith to you and yours. Hang in there.

# July 26, 2010 6:07 PM

Venkat said:

I will be praying for your wifes recovery.Be Strong.

# July 26, 2010 6:14 PM

Carlo Poli said:

Dennis, wat een ongelooflijk schokkende ervaring. Woorden schieten te kort. Ik wens jou en je gezin alle sterkte toe en ik hoop dat jullie er zo goed mogelijk uit komen.

# July 26, 2010 7:15 PM

Jarno Peschier said:

After not hearing either way from you after the early morning tweets, during the day I slowly started fearing the worst (as is the expression). However I now learn that my worst was nowhere bad enough... I don't know what else to add, except wishing you and your whole family all the best and the strength to endure this ordeal. May everything turn out to be alright in the end!

# July 26, 2010 7:23 PM

Dennis Vroegop said:

Wat kan ik zeggen? Sterkte! Ik hoop zo ontzettend voor je dat het allemaal goed komt.

# July 26, 2010 7:30 PM

Robb Schiefer said:

I just read your blog post and will be praying for you and your family.  My sister (23) died suddenly in a car accident 2 weeks ago and I know prayer works.  Even in our worst fears He is still faithful and will be glorified.  I pray your wife makes a miraculous recovery and she and the baby are home soon.  

# July 26, 2010 7:45 PM

Dennis Doomen said:

Dennis man, wat een verschrikkelijk verhaal. Het heeft mij echt geraakt, en dat gebeurt niet zo snel. Laten we hopen dat ze morgen zonder blijvende problemen wakker wordt. Sterkte de komende tijd.

# July 26, 2010 7:47 PM

Gerard Verbrugge said:

Dennis ik wens je veel sterkte en met alle andere hoop ik met je mee.

# July 26, 2010 9:33 PM

Wouter Scherphof said:

Wat een ellende man. Alle sterkte van de wereld!

# July 26, 2010 10:46 PM

Freek leemhuis said:

My thougts are witheet you and your family. Hoping for the best!

# July 26, 2010 11:43 PM

XGen SEO said:

I have the same problem with one of my clients. It works fine with all others. I used a 3rd party POP control to retrieve email, and get this error. I have searched on the net and it seems that there are too many different situations cause this error. My question is: is this a hardware memory issue? or the programming issue? If it is a code issue, why does it happen to all clients?

# July 27, 2010 2:32 AM

Matthijs said:

Heel veel sterkte Dennis

# July 27, 2010 8:00 AM

Jan Schreuder said:

Dennis, wat moet je zeggen in deze situatie. Ik hoop met alle anderen hier dat het alles goed komt. Heel veel sterkte in deze zware periode.

# July 27, 2010 8:17 AM

Marcel Meijer said:

Veel veel sterkte Dennis! I am speechless.

# July 27, 2010 8:27 AM

baris acar said:

I dont know you. But that does not change anything. I understand you and hope all your family goes thru this together and safely. God bless you all.

# July 27, 2010 8:35 AM

Kristof Mattei said:

My prayers are with you.

# July 27, 2010 9:39 AM

Timmy Kokke said:

Verschrikkelijk! Heel veel sterkt!

# July 27, 2010 11:42 AM

Rick van der Arend said:

Wat verschrikkelijk! En zo snel en onverwacht.. Ik hoop echt heel erg voor jou en je kinderen dat dit nog enigszins goed afloopt. Heel veel sterkte!

# July 27, 2010 11:54 AM

Rory Becker said:

Words simply cannot express the empathy I'm feeling for you right now. I have never had to deal with such a situation. Hopefully I never will. In the meantime Dennis, I can only wish good things for you and your family. Try to stay positive, hard though it may be.

# July 27, 2010 11:59 AM

Ronald Harmsen said:

Dennis, wat een verschrikkelijk nieuws!

Ik wens je veel sterkte en kracht de komende tijd... hopelijk wordt je vrouw snel wakker en komt het goed.

Nogmaals heel veel sterkte!

# July 27, 2010 12:18 PM

Nathan Pledger said:

I can't even begin to imagine what it's like for you. Sorry to hear, truly hope things improve. I know I have neglected those close to me for work, and your experience just shows how wrong that was. Metta to you, Dennis.

# July 27, 2010 12:36 PM

dhessing said:

Hoi Dennis, Wat een nachtmerrie. Ik hoop dat er snel goed nieuws komt!

Heel veel sterkte!

# July 27, 2010 12:55 PM

Rob Hofker said:

Ongelooflijk.

Ik kan alleen maar mijn hoop en wensen toevoegen aan alle andere.

Heel veel sterkte!

# July 27, 2010 1:14 PM

Mendelt Siebenga said:

Wat verschikkelijk om te horen. Ik hoop dat het een klein beetje helpt dat er zo veel mensen met je mee hopen dat alles goed komt. Heel veel sterkte toegewenst.

# July 27, 2010 1:29 PM

Jef Claes said:

Sterkte. Ik hoop dat alles op z'n plooien valt!

# July 27, 2010 2:16 PM

André Boonzaaijer said:

Verschrikkelijk dat jullie dit moeten doormaken. Dennis, heel veel sterkte toegewenst.

# July 27, 2010 4:15 PM

Joe Hendricks said:

Prayers from us..

# July 27, 2010 6:04 PM

Piet Amersfoort said:

Heel veel sterkte.

# July 27, 2010 9:19 PM

Sasha Krsmanovic said:

I hope all goes well. Good luck and hang in there!

# July 27, 2010 9:40 PM

Maarten van Stam said:

Damn Dennis, Ik dacht nog even de Tweets door te skimmen, kom ik jouw verhaal tegen... sprakeloos.... Heel veel sterkte toegewenst :-(

# July 27, 2010 11:51 PM

Filip H.F. &quot;FiXato&quot; Slagter said:

**** man..

Really sorry to hear this. :/ Just like Maarten I was skimming through my tweets when I read this.

I hope she'll make a good recovery so you both can enjoy your baby girl together..

How are your kids taking it? I guess you've had to tell them by now?

Best of luck man.. wish there was something I could do..

# July 28, 2010 3:39 AM

Adymitruk said:

My prayers go out to you.

# July 28, 2010 9:27 AM

Patrick McGowan said:

Hello Denis,

Did you answer Antonio's comment as I have the same issue and am unable to solve this. Can you help:-

**********************

Antonio said:  

Hi,

This post is really interesting. I'm researching on clickOnce to see if we can using in my job. Everything looks great, but I have a problem. For some policies of the company, I need to change the installation path. I can't have clickOnce to install my apps per user in the cache folder.  In my research I found that this is not possible. So I wonder if I can make a classic msi installer to setup the app for the first time (and have it installed where I want), but still using clickOnce for checking updates using your code example.

How can I make the app to 'think' that has been deploy using ClickOnce, so the NotDeployedViaClickOnce status says so?

Is this possible?

*****************

Regards: Patrick

# July 28, 2010 8:44 PM

Edward van Steenderen said:

Hi Dennis..

What a terrible thing to happen. I can tell you that even for an outsider this is hard to comprehend.

It's a good thing that you were able to be at the hospital so quickly. Seeing you need to arrange something so quick for your kids.

I'm hoping things are starting to turn around and your wife can recover well from this. And that Marith makes a healty start in life.

# July 29, 2010 10:32 AM

Jean-Paul Smit said:

Wat een vreselijke situatie, woorden schieten te kort. Het is niet voor te stellen hoe je je nu moet voelen, met een pas geborene die de basis van meer geluk zou moeten zijn.

Ik wens je alle sterkte en wens dat je vrouw haar ogen open doet om jullie dochter te kunnen bewonderen.

Sterkte!!

# July 29, 2010 9:12 PM

Paul Gielens said:

Dennis, vreselijk niet te bevatten. Mijn gedachten gaan uit naar jullie.

Sterkte en veel kracht voor de komende dagen. Samen met jullie hopende dat ze hier goed uitkomt en snel aansterkt.

# July 29, 2010 9:37 PM

Santosh said:

i think this is problem of the version missmatch in the OS.

# August 2, 2010 9:31 AM

Dror Helper said:

Dennis,

My heart is with you and your wife and I hope for her speed recovery.

I wish there was something more I could do to help, I'll pray for her health.

# August 3, 2010 8:45 AM

Leo Moore said:

Dennis, I am very sorry for you and your family. I know it must be very hard on all of you at the moment. My thoughts and prayers are with you.

# August 3, 2010 12:46 PM

RudolfGutlich said:

Hi, I´ve stopped by your site and I am trying to use your tips. I am now stuck with two problems:

1 - I´ve disabled the autoupdate and did the check programatically.

When I install the application and there is no new version on the site, there is no warning (ok).

If there is a new one, then a dialog is shown and if if I select OK, the app updates itself.

But, if I bypass the update option and quit the app, next time I run it then the "AutoUpdate" window of ClickOnce appears, showing the "OK" and "Ignore" buttons. Why is this happening? I double checked the Publish settings... :(

2 - I have a version 1.0.0.96 in my web site, and I generate the .97 but I didn´t published it to web, only installed directly.

So, I have .97 installed in my computer and .96 in the site. But, when I start the app, it shows me that a newer version is on the site and, if I click OK to upgrade, then the .96 version replaces the .97 in my computer.

How can I stop this bizarre behavior? It is a bug? It is also happening in other application that uses the AutoUpdate from ClickOnce.

Well, besides that, very Thank You for your great site!

Best Regards,

Rudolf Gutlich.

# August 3, 2010 10:54 PM

RudolfGutlich said:

Dennis, right after I sent you a message in another post then I stopped here, and I am very moved by your wife´s situation.

I am a brazilian man but my father was born in Rotterdam, so I have much of a dutch in my heart.

I am praying for your wife, and also for you and your children. May God bless you all!

Hope to hear soon from you, with very good news!

# August 3, 2010 11:00 PM

Kristof Mattei said:

How is she doing now?

# August 4, 2010 11:48 PM

James said:

How do be connect to database and run SQL ?

# August 5, 2010 8:16 AM

Filip H.F. "FiXato" Slagter said:

From what I gathered from Dennis' posts on Twitter she's conscious again and making some progress, but not really aware of her condition.

Those who want to stay up-to-date might do best to follow his posts on Twitter at: http://twitter.com/dvdstelt/

# August 5, 2010 8:00 PM

Avi Kaye said:

Came back from a long stint away from the internet to read this. Me and my family really hope everything will turn out OK - be strong.

# August 6, 2010 2:01 PM

Hassan Fadili said:

Dennis, man! De woorden schieten me tekort, toch heel veel sterkte. Ik hoop dat alles snel goed komt met je vrouw. Nogmaals veel sterkte toegewenst. Ik kan alleen maar bidden voor jullie.  

Hou je sterk, zowel je vrouw als je kinderen hebben je nodig! Daar doe je alles voor Ok!

# August 10, 2010 4:07 PM

Deyan Petrov said:

I wish your wife a quick recovery!

# August 10, 2010 5:46 PM

Akash said:

Sir,

I will pray for your wife ..

# August 11, 2010 8:11 AM

Sree said:

May ur wife come back soon with a smile:-) Prayers for ur family.How is she now?

# August 12, 2010 3:40 PM

Simon G. said:

How are your wife and family? We are with you and your family!

# August 16, 2010 5:00 PM

RH said:

Thanks worked a treat :-)

# August 18, 2010 4:21 PM

Felipe de Jesús Meléndez Valencia said:

What I can say?. I really do not know. These things happen, but what you do not understand is why do you happen to good people.

I honestly do not know you or you or your family. But really this is something you do not wish on anyone.

Personally, I appreciate your hospitality when I've done a query. I really am not Catholic, but I know it's good to never lose faith.

I sincerely hope that your wife a speedy recovery so you can return to being the family previously, and congratulations on the birth of your daughter.

Do not give up, however difficult this may seem, she needs your love.

# August 24, 2010 10:24 PM

Fadzai Chamba said:

I've only just read this and my prayers are with your family. How is your wife now?

# August 25, 2010 6:13 PM

air max 95 said:

thank you

# September 6, 2010 10:43 AM

Mischa Kroon said:

Heel veel sterkte, ik hoop dat alles goed komt.

# September 6, 2010 3:43 PM

Dennis van der Stelt said:

It’s been six weeks since my last blogpost . And although people could’ve kept up with the current situation

# September 8, 2010 11:02 PM

Andre Obelink said:

I'm so happy for you and your family. All the best!

# September 8, 2010 11:10 PM

Edward Bakker said:

Wow, this is great news Dennis! Enjoy!

# September 8, 2010 11:24 PM

Jean-Paul Smit said:

Great to hear this news. I've been following your roller coaster ride for the past weeks on twitter and I'm happy for you and your family.  

# September 8, 2010 11:42 PM

Paul Gielens said:

Geweldig nieuws Dennis! Geniet ervan, dat hebben jullie verdiend.

# September 9, 2010 12:00 AM

Clemens Reijnen said:

Super...dat zijn de betere wonderen

# September 9, 2010 5:58 AM

Remco Hulshoff said:

Gefeliciteerd met deze fantastische afloop! Probeer de rust en tijd te vinden om zowel van je nieuwe dochter als van je vrouw te genieten.

# September 9, 2010 7:14 AM

Patrick Bes said:

Dit is echt heel goed om te horen. En ik hoop dat het voor jou en je familie nu ook allemaal weer wat rustiger wordt. Geniet er maar van.

# September 9, 2010 8:43 AM

Ian Thomas said:

Fantastic - I'm so pleased that it's all turned out ok.

it meant a lot went you sent that card when my father passed away and your still there in my thoughts.

Take some time for yourself make sure you're the father you want to be for all those girls and the husband your wife woke up for.

Ian

# September 9, 2010 9:01 AM

Wim Bokkers said:

Geweldig voor jullie allemaal. Zo te zien heb je een gezinnetje om trots op te zijn. Wees er zuinig op!

# September 9, 2010 10:29 AM

Jordan shoes said:

We just couldnt leave your website before saying that we really enjoyed the quality information you offer to your visitors... Will be back often to check up on new stuff you post!

# September 10, 2010 10:42 AM

Mischa Kroon said:

Good to read everything worked out like this, I hope you now finally get to enjoy the newborn in the way it's supposed to be :)

# September 10, 2010 2:50 PM

laura furlong said:

Im glad to hear things are getting better.  Strenght and health to you both in the days to come

Take good care of yourself XxX

# September 10, 2010 4:34 PM

Joseph said:

Definitely can relate to what you went through as I myself have dealt with this situation.  Unfortunately for me it didn't turn out the way my family hoped.  But happy to see it does happen and people get through such difficulties.

congratulations and may this remind you how fortunate you are to have your family. :)

Your collegue,

Joseph Castaneda

TellUs Los Angeles office

# September 10, 2010 6:20 PM

Sicco van Hoegee said:

Dennis,

I am so happy for you, your wife and the kids that miracles do exist!

Wish you all the best.

Sicco

# September 10, 2010 6:54 PM

Tom Visser said:

Indeed a miracle Dennis and if anyone deserves it, it's you. Respect for the way you are always there for your family, in good times and bad.

Tom

# September 12, 2010 5:53 PM

Ray said:

Great series of posts thanks so much for your time in writing them and answering questions. What a good web samaritan you are! ;.)

Question please: I created a web service from a msdn article-basichttpbinding and I can only get to the /MEX endpoint. I can't browse to the svc or svc?wsdl

How do I enable this for sharepoint?

TIA.

Ray

# September 12, 2010 10:33 PM

Ray said:

Ah I should have posted my last question here on this updated tutorial. For a web service in sharepoint I declare the service factory and basichttpbinding in the svc file then deploy. Thus no need for settings in a config file. I can browse to the ***.svc/mex URL (enabled via attribute in service class) but not to the _vti_bin/xxx.svc file nor if I append the ?wsdl to it. I get the wsdl on the mex page. Would be nice to see details of the contract on the svc page in the browser. How could I enable this please? Thank you Dennis.

# September 12, 2010 10:41 PM

Ray said:

Wow thank goodness for that. Just saw your posts on this horrible life event. Wishing you all the best; my heart goes out to you and your family.

Ray

# September 12, 2010 11:25 PM

John Daniel (JD) said:

Nice Article. Simple and veryuseful

# September 14, 2010 10:56 AM

Vishal said:

Neat Trick, thanks Dennis

# September 15, 2010 9:08 AM

sandeep said:

Hiiiii   Dennis

i am getting folling error ..please help over that

Could not connect to localhost/HelloService. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8081.

# September 16, 2010 1:01 PM

erum said:

can any one correct my service problem

<?xml version="1.0"?>

<configuration>

 <configSections>

   <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

     <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

       <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

       <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

         <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />

         <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

         <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

         <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

       </sectionGroup>

     </sectionGroup>

   </sectionGroup>

 </configSections>

 <appSettings/>

 <connectionStrings>

   <add name="VotingConnectionString" connectionString="Data Source=IRAM-PC;Initial Catalog=Voting;Integrated Security=True"

       providerName="System.Data.SqlClient" />

 </connectionStrings>

 <system.web>

   <!--

           Set compilation debug="true" to insert debugging            symbols into the compiled page. Because this            affects performance, set this value to true only            during development.        -->

   <compilation debug="false">

     <assemblies>

       <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

       <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

       <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

       <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

     </assemblies>

   </compilation>

   <!--

           The <authentication> section enables configuration            of the security authentication mode used by            ASP.NET to identify an incoming user.        -->

   <authentication mode="Windows" />

   <!--

           The <customErrors> section enables configuration            of what to do if/when an unhandled error occurs            during the execution of a request. Specifically,            it enables developers to configure html error pages            to be displayed in place of a error stack trace.        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">            <error statusCode="403" redirect="NoAccess.htm" />            <error statusCode="404" redirect="FileNotFound.htm" />        </customErrors>        -->

   <pages>

     <controls>

       <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

       <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     </controls>

   </pages>

   <httpHandlers>

     <remove verb="*" path="*.asmx"/>

     <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>

   </httpHandlers>

   <httpModules>

     <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

   </httpModules>

 </system.web>

 <system.codedom>

   <compilers>

     <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"

               type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

       <providerOption name="CompilerVersion" value="v3.5"/>

       <providerOption name="WarnAsError" value="false"/>

     </compiler>

   </compilers>

 </system.codedom>

 <!--

       The system.webServer section is required for running ASP.NET AJAX under Internet        Information Services 7.0.  It is not necessary for previous version of IIS.    -->

 <system.webServer>

   <validation validateIntegratedModeConfiguration="false"/>

   <modules>

     <remove name="ScriptModule" />

     <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

   </modules>

   <handlers>

     <remove name="WebServiceHandlerFactory-Integrated"/>

     <remove name="ScriptHandlerFactory" />

     <remove name="ScriptHandlerFactoryAppServices" />

     <remove name="ScriptResource" />

     <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"

          type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"

          type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

     <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

   </handlers>

 </system.webServer>

 <runtime>

   <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

     <dependentAssembly>

       <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>

       <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>

     </dependentAssembly>

     <dependentAssembly>

       <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>

       <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>

     </dependentAssembly>

   </assemblyBinding>

 </runtime>

 <system.serviceModel>

   <behaviors>

     <endpointBehaviors>

       <behavior  name="VotingPanel2.Web.Service1AspNetAjaxBehavior">

         <enableWebScript />

       </behavior>

     </endpointBehaviors>

   </behaviors>

   <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />

   <services>

     <service name="VotingPanel2.Web.Service1">

       <endpoint address="localhost/Service1" behaviorConfiguration="VotingPanel2.Web.Service1AspNetAjaxBehavior"

           binding="basicHttpBinding" contract="VotingPanel2.Web.Iservice1" />

           </service>

   </services>

 </system.serviceModel>

</configuration>

my email address is emirza_pk@hotmail.com

# September 16, 2010 1:15 PM

walkincg said:

Good article. Simple to understand

# September 16, 2010 4:04 PM

sandy said:

can u give example for two machine client and server  connected through LAN

# September 17, 2010 1:45 PM

nike air max said:

It is my pleasure to read your article, your article is very wonderful. Thank you for sharing!

# September 21, 2010 9:51 AM

Basudeb said:

This is a fantastic tutorial for total Noobs who are new to both .NET and WCF. Case in point: me :). Working through an example like this is the best way to conceptually understand how WCF works. So Kudos to you, Dennis for putting this together.

# September 21, 2010 5:16 PM

Ganesh said:

This is a simple and easy way to start with WCF. Thanks

# September 23, 2010 10:41 AM

buy an essay said:

It's not so simple to bring a not bad written essay, preferably if you are engaged. I give advice you to define buy essays and to be spare from disbelief that your work will be done by writing service

# September 25, 2010 6:22 PM

ajk said:

very nice explanation, could you please expalin wcf with a good example, which covers every thing about wcf in a single application

# September 27, 2010 11:39 AM

user said:

very helpful.. thanks

# September 28, 2010 5:16 PM

Jerry said:

May God Bless you dennis.. Will keep you in my

prayers. Don't lose your faith.

# October 5, 2010 6:04 PM

Kelsri said:

I am pretty new to WCF. How did you access Hello class in Host class?

Type type = typeof(Hello);

I guess you have added the reference to Hello class within Host. Right?

# October 5, 2010 6:43 PM

Gregg said:

I hope your wife is feeling better. All the best to you and yours!

# October 6, 2010 12:44 AM

Dennis van der Stelt said:

@Kelsri: If the Hello class is not in the same assembly (in Visual Studio an assembly will always be a project, on your file system it's most likely a .dll or a .exe) you would surely add a reference to the assembly and a using statement to the namespace at the top of the class which initializes the ServiceHost.

But perhaps my other article makes everything much clearer:

bloggingabout.net/.../wcf-simple-example-in-visual-studio-2010.aspx

# October 6, 2010 7:19 AM

Carel said:

Excellent! This solved a caching issue too for me!

# October 7, 2010 10:09 AM

SNS said:

Hi Dennis,

Awesome man, Really simple & nice blog for understanding WCF.

Thanks

SNS

# October 10, 2010 10:40 PM

Alone Dwi said:

Good!!! Time to say SQL Server Bye... Bye....

Take MySQL, Oracle, IBMDB2.. Ect.. Now.

# October 11, 2010 12:09 PM

Anjum Rizwi said:

Eairlier I have faced this issue fixed by doing some changes that is mention here.

anjumrizwi.blogspot.com/.../64-bit-critical-error-has.html

However after 2 months I am facing same issue in same area after fixing style cop warning issue.

It is working on locahost 32 bit & win 2008 32 bit mode.

Not working on 64 bit.

My System environment:

Win Server 2008 R2

IIS 7 - 64 bit

VS 2010

.Net 3.5

# October 12, 2010 8:13 AM

Leung said:

Hi, i have an error in error list in EmailValidator.cs

it saying the name 'Regex' does not exist in the current context.

code as below, can you tell me what is the solution?

==

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.ServiceModel;

namespace EmailService

{

   public class EmailValidator : IEmailValidator

   {

       public bool ValidateAddress(string emailAddress)

       {

           Console.WriteLine("Validating: {0}", emailAddress);

           string pattern = @"^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@(([0-9a-zA-Z])+([-\w]*[0-9a-zA-Z])*\.)+[a-zA-Z]{2,9})$";

           return Regex.IsMatch(emailAddress, pattern);

       }

   }

}

# October 15, 2010 3:59 PM

Dennis van der Stelt said:

@Leung : The Regex should be in System.Text as far as I know. It's a static class in the .NET Framework. So if you can't find it, something's wrong with your setup. Might be incorrect .NET version, although very unlikely.

Anyway, just return true as it interferes with the WCF experience right now.

public bool ValidateAddress(string emailAddress)

      {

          Console.WriteLine("Validating: {0}", emailAddress);

          return true;

      }

# October 15, 2010 4:32 PM

Kishore said:

I also got the same error. Even though .NET 4.0 should have it by default; i.e. System.Text

You can add one more reference to resolve the issue.

using System.Text.RegularExpressions;

That'll take care of the issue.

# October 19, 2010 5:30 AM

aackose said:

Best possible way to get your foundation ready with WCF.

Thanks a ton dennis

# October 20, 2010 2:29 PM

RichC said:

I'm with Bob on this one.

Stored procs expose an interface to the application, and as long as the dba maintains that interface, you can change anything you like behind it without having to redeploy the app. That's been immensely useful in my experience.

# October 21, 2010 11:10 AM

Matt Whitfield said:

I wrote an IDE because I wanted something like Query Analyzer, but with code completion and a few extra features. I'd love to know what you thought of it...

# October 21, 2010 11:23 AM

Dennis van der Stelt said:

@Matt : Where can I find it?

# October 21, 2010 3:09 PM

Geoff said:

Thanks!  Any idea how to specify a specific user/password for the connect as property?

# October 22, 2010 2:20 PM

Rajendra prasad said:

Hi Dennis,

I have created same as you given in blog.host application executed correctly then i created Client Application same as you given.Here am getting error at local and client.am included namesapce(service refrence added in client).the following code written i client application.

using System.ServiceModel;

using System.ServiceModel.Description;

localhost.HelloServiceClient proxy = new Client.localhost.HelloServiceClient();    

string result = proxy.HelloWorld(textBox1.Text);    

MessageBox.Show(result);

please help where done mistake in my application.

Thanks & Regards,

Rajendra prasad.

# October 27, 2010 12:52 PM

Dennis van der Stelt said:

Rajendra,

The mistakes are most likely in the configuration. And as you don't provide the error message itself, I really don't see how I can help you.

# October 27, 2010 4:36 PM

Rajendra Prasad said:

Hi Dennis,

I have created same as you given in blog.host application executed correctly then i created Client Application same as you given.Here am getting error at local and client.am included namesapce(service refrence added in client).the following code written i client application.

using System.ServiceModel;

using System.ServiceModel.Description;

localhost.HelloServiceClient proxy = new Client.localhost.HelloServiceClient();    

string result = proxy.HelloWorld(textBox1.Text);    

MessageBox.Show(result);

while running am getting error as below listed:

The type or namespace name 'localhost' could not be found (are you missing a using directive or an assembly reference?)

The type or namespace name 'Client' could not be found (are you missing a using directive or an assembly reference?)

my configuaration file code listed below:

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

   <system.serviceModel>

       <bindings>

           <basicHttpBinding>

               <binding name="BasicHttpBinding_HelloService" closeTimeout="00:01:00"

                   openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"

                   allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"

                   maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"

                   messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"

                   useDefaultWebProxy="true">

                   <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"

                       maxBytesPerRead="4096" maxNameTableCharCount="16384" />

                   <security mode="None">

                       <transport clientCredentialType="None" proxyCredentialType="None"

                           realm="" />

                       <message clientCredentialType="UserName" algorithmSuite="Default" />

                   </security>

               </binding>

           </basicHttpBinding>

       </bindings>

       <client>

           <endpoint address="localhost/HelloService" binding="basicHttpBinding"

               bindingConfiguration="BasicHttpBinding_HelloService" contract="ServiceReference1.HelloService"

               name="BasicHttpBinding_HelloService" />

       </client>

   </system.serviceModel>

</configuration>

please help where done mistake in my application.

Thanks & Regards,

Rajendra prasad.

# October 28, 2010 9:04 AM

Dennis van der Stelt said:

First, your configuration is wrong. It says the endpoint its address is at "localhost/HelloService" and that's not a uri. It's probably "localhost/HelloService" or "localhost/HelloService" if you've followed the tutorial correctly.

When you created the service reference, something was different than in my example or initial setup. At the bottom of the screen you specify the namespace. As shown in this screen:

bloggingabout.net/.../4784.CreateServiceReference_5F00_34697BA6.png

In that screenshot, it says "ConsoleClient" and in the tutorial above it suspects that "localhost" is there. That's your problem when it says it can't find localhost. It's not a WCF problem, it's a .NET namespace/type problem that's found at compile time.

# October 28, 2010 9:22 AM

Joyjit said:

Extremely helpful example. Thanks Dennis.

# October 28, 2010 10:53 AM

Bulldog said:

Amazing.  I just spent 4 hours fighting with the Application Blocks, and you got me where I needed to be in 5 minutes.

Thanks!

Can I recommend doing one with the Exception Block that logs to a SQL server?

# October 28, 2010 8:39 PM

Shri said:

good exmaple.

steps to test the project:

==========================

1) run host project(open only host project and run)

2) then only you will be able to add "http://localhost:8080/" to the client project

3)now run client project and test it.

Note: add servicereference is nothing but addwebreference.

# November 2, 2010 5:18 PM

Matt Whitfield said:

Dennis

Sorry for the slow reply, the web page for the tool is @ www.atlantis-interactive.co.uk/.../default.aspx

Thanks!

# November 2, 2010 11:09 PM

BlackCat said:

Excellent tutorial! Very useful for someone (re)starting .NET, VS and WCF.  Thanks.

# November 3, 2010 8:47 AM

Yash said:

Oh..thank you so much....

# November 9, 2010 1:13 PM

anil said:

It's was a noce stub.. for WCF. Thanks..

# November 15, 2010 12:26 PM

Sachin Arora said:

Awesome Post sir

# November 16, 2010 12:33 AM

Biju said:

Thankyou Dennis!!!

Very simple and descriptive tutorial...

# November 17, 2010 1:56 PM

GretaSUTTON said:

Make your life time more simple take the <a href="http://bestfinance-blog.com">loan</a> and all you want.

# November 17, 2010 10:28 PM

Aarti Varadkar said:

Awesome :)

Excellent tutorial for WCF beginner

woopieeeeee

# November 24, 2010 7:58 AM

CardenasKAYLA23 said:

People deserve very good life time and <a href="http://bestfinance-blog.com">loan</a> or secured loan would make it much better. Just because people's freedom bases on money state.

# November 25, 2010 9:16 AM

Ehab said:

it worked with me too, many thanks

# November 29, 2010 6:45 AM

Copious-Systems said:

Someone referenced this post to answer question "How do i get rid of a .netframework error?"...

# December 1, 2010 1:55 PM

Mohmmed said:

Was very helpful, it was a simple solution but no 1 usually tends to think on that side....

And you did so you are the 1 :)......

And about above comments removedb replication and all that it wont work if logshipping is broken and morever if ur missing the *.tuf file......

Please read the post before you all answer and make people go in wrong directions......

And also its next to impossible at times to update sys tables even with DAC connections.....

Anyways Nice post ......

Thanks

# December 7, 2010 6:19 PM

Anil said:

I am trying to host my WCF service using Windows Service. I have created the installer for that and it is installed successfully, but whenever I am trying to run the service I am getting the following error :-

Service cannot be started. System.InvalidOperationException: Service 'WcfService1.Service1' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.

  at System.ServiceModel.Description.DispatcherBuilder.EnsureThereAreNonMexEndpoints(ServiceDescription description)

  at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)

  at System.ServiceModel.ServiceHostBase.InitializeRuntime()

  at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)

  at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

  at System.ServiceModel.Channels.CommunicationObject.Open()

  at WindowsServiceHostApp1.Service1.OnStart(String[] args) in C:\Documents and Settings\kr-ajay\Desktop\Demo-Project\Host_WindowsServ...

For more information, see Help and Support Center at go.microsoft.com/.../events.asp.

Please help me to resolve the issue.

# December 14, 2010 6:08 AM

Shah said:

Hi,

I was wondering how ClickOnce detects that an application update is available. Does it look only at the application's version number ? Lately, I changed my application clickonce deployment so that it is deployed in x86 mode instead of the MSIL mode. After doing this, clickonce was NOT updating my previously installed but it was installing a new copy of my application as if my application was being newly installed.

Could anyone shed some light on how and when ClickOnce determines that it should update an application ? Whether changing parameters such as the application installation URL, Processor architecture and so on, make clickonce believe troubles Clickonce and make it consider the application being deployed as a brand new application ?

Regards

# December 14, 2010 10:20 AM

Dennis van der Stelt said:

Hey there,

You forgot to configure an endpoint in your App.Config or it's not correct.

You can read more about it here:

bloggingabout.net/.../WCF-Part-3-_3A00_-Hosting-the-service.aspx

Or Full examples here and here:

bloggingabout.net/.../wcf-simple-example-in-visual-studio-2010.aspx

bloggingabout.net/.../wcf-simple-example.aspx

You probably need something like the config below. However, I don't know the exact types of your contract and it's implementation.

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

   <system.serviceModel>

       <services>

           <service name="WcfService1.Service1" behaviorConfiguration="MyBehavior">

               <endpoint  

                   address=""

                   binding="basicHttpBinding"

                   contract="WcfService1.Service1" />

               <endpoint  

                   address="mex"

                   binding="mexHttpBinding"

                   contract="IMetadataExchange" />

           </service>

       </services>

       <behaviors>

           <serviceBehaviors>

               <behavior name="MyBehavior">

                   <serviceMetadata httpGetEnabled="True"/>

               </behavior>

           </serviceBehaviors>

       </behaviors>

   </system.serviceModel>

</configuration>

# December 14, 2010 10:58 AM

Anil said:

Hi Dennis,

Thanks for your quick response. here is a copy of my config file, please have a look on that and suggest me what need to be fixed.

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

 <system.web>

   <compilation debug="true" />

 </system.web>

 <system.serviceModel>

   <services>

     <service name="WcfService1.Service1" behaviorConfiguration ="MyBehavior">

       <host>

         <baseAddresses>

           <add baseAddress = "net.tcp://localhost:9100/Service1/" />

         </baseAddresses>

       </host>

       <endpoint name ="NetTcpEndPoint"

             address =""

             binding="netTcpBinding"

             contract="WcfService1.IService1">

       </endpoint>

       <endpoint name ="NetTcpMetadataPoint"

            address="mex"

            binding="mexTcpBinding"

            contract="IMetadataExchange"/>

     </service>

   </services>

   <behaviors>

     <serviceBehaviors>

       <behavior name ="MyBehavior">

         <serviceMetadata httpGetEnabled="False"/>

         <serviceDebug includeExceptionDetailInFaults="False" />

       </behavior>

     </serviceBehaviors>

   </behaviors>

 </system.serviceModel>

</configuration>

# December 14, 2010 11:14 AM

Neil said:

Hey dennis, i tried the above procedure. im facing a problem while im trying to add a custom cache manager, mainly while loading the assembly.. if the assembly is built wid .net 4.0 then the enterprise configuration doesn't allow loading saying that it dll is built with a newer version, than some tmp file..

And if i build the dll, wid .net 3.5 den it says that it does nt find any type which implements ICacheManager.

# December 14, 2010 12:40 PM

Dennis van der Stelt said:

.NET 4.0 assemblies won't work, period! :) That's because the config tool was build in an older version of .NET.

.NET 3.5 assemblies are actually .NET 2.0 assemblies and they should work. And what it simply says it that it does not contain a class that inherits/implements the ICacheManager interface. The ICacheManager interface is inside the EntLib assemblies, dunnow exactly which one. Don't create your own ICacheManager interface, it won't work.

# December 14, 2010 12:56 PM

Shah said:

I found the answer to my question here:

blogs.msdn.com/.../580223.aspx

Cheers

Shah MOHAMOD

# December 14, 2010 2:54 PM

Dennis van der Stelt said:

@Shah : Thanks a lot for replying with the link! Probably helps others as well!

# December 14, 2010 3:09 PM

Anil said:

Is there any Tools/ third party tools/ utility to migrate my existing web service to WCF.

Please help me find out the migration tools.

# December 16, 2010 1:51 PM

Jessi Singh said:

Dennis & Ralf, thank you both for this lovely article. Please keep the articles coming that make understanding new concepts easy.

Thanks again,

Jessi

# December 17, 2010 12:23 AM

jason said:

I spent about a week looking for a very concise, simple explanation of WCF and then I found your site.  Thank you very much!!!!

# December 17, 2010 5:22 PM

HubbardKatina said:

I propose not to hold back until you get big sum of money to order different goods! You can get the <a href="http://bestfinance-blog.com">loan</a> or just sba loan and feel yourself free

# December 18, 2010 7:15 PM

siva said:

Hi dennis,

        I have developed WCF service concept of publisher and subscriber, here publisher to develop in WCF service library and subscriber to develop in windows application. publisher to implemented on windows application its working fine, but when i deploy the publisher in windows service to start i got error.,

"Error opening host : HTTP could not register URL http://+:8731/WCFServerDLL/Service1/. Your process does not have access rights to this namespace (see go.microsoft.com/fwlink for details)."

The above link for microsoft to see to use httpcfg.exe and set the URL, before to run on windows application that time i implemented to set the URL.

what the reason for it doesn't work? can you give me suggestion.

# December 23, 2010 5:44 AM

Dennis van der Stelt said:

Hey Siva,

You're not giving a lot of information on Windows version or so. But my guess is a question of rights. Read this blog to find more info:

blogs.msdn.com/.../addressaccessdeniedexception-cause-and-solution.aspx

If you find the solution in the blog difficult, try to start the service with administrator rights. Giving your Windows Service the local admin account or something. If that works, you know it's a rights problem.

# December 23, 2010 8:20 AM

siva said:

hi dennis,

thanks for quick response, i am using windows XP.

The above blog as similar that this link "msdn.microsoft.com/.../ms733768.aspx". i had to implement that using httpcfg.exe to set the URL.

My user account also administrator rights already there.but i got same error

# December 23, 2010 8:46 AM

siva said:

I give my App.config File below here to check is correct.

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

 <appSettings>

   <add key="EndpointAddress2"  value="net.tcp://192.168.0.194:8002/PublishingService" />

   <add key="EndpointAddress1"  value="192.168.0.194/.../" />

   <add key="EndpointAddress4"  value="net.tcp://192.168.0.194:8004/SubscriptionServie" />

   <add key="EndpointAddress3"  value="192.168.0.194/.../" />

 </appSettings>

 <system.web>

   <compilation debug="true" />

 </system.web>

 <!-- When deploying the service library project, the content of the config file must be added to the host's

 app.config file. System.Configuration does not support config files for libraries. -->

 <system.serviceModel>

   <services>

     <service behaviorConfiguration="WCFServerDLL.Service1Behavior"

       name="WCFServerDLL.Service1">

       <clear />

       <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"

         listenUriMode="Explicit">

         <!--<identity>

           <certificateReference storeName="My" storeLocation="LocalMachine"

             x509FindType="FindBySubjectDistinguishedName" />

         </identity>-->

       </endpoint>

       <endpoint address="localhost/WCFServerDLL.Service1"

         binding="wsDualHttpBinding" bindingConfiguration="" contract="WCFServerDLL.IService1" />

       <host>

         <baseAddresses>

           <add baseAddress="localhost/.../" />

         </baseAddresses>

       </host>

     </service>

   </services>

   <behaviors>

     <serviceBehaviors>

       <behavior name="WCFServerDLL.Service1Behavior">

         <!-- To avoid disclosing metadata information,

         set the value below to false and remove the metadata endpoint above before deployment -->

         <serviceMetadata httpGetEnabled="True"/>

         <!-- To receive exception details in faults for debugging purposes,

         set the value below to true.  Set to false before deployment

         to avoid disclosing exception information -->

         <serviceDebug includeExceptionDetailInFaults="False" />

       </behavior>

     </serviceBehaviors>

   </behaviors>

 </system.serviceModel>

</configuration>

# December 23, 2010 9:41 AM

siva said:

hi dennis,

         i am in crucial time,pls to give me a suggstion.

# December 24, 2010 5:57 AM

siva said:

windows XP sp3.

Here i run the httpcfg.exe set urlacl /u localhost/.../Service1 /a

i get the result

HttpSetServiceConfiguration completed with 87.

# December 24, 2010 6:22 AM

zeando said:

and if someone would like to save the files? i've tryed on the link you suggested, but the is folder was somewhere else, maybe for a different version of silverlight? :/

C:\Documents and Settings\andrea\Local Settings\Application Data\Microsoft\Silverlight\is

anyway in these folder it's possible to find the full files, like videos, or only little cache files?

thanks anyway :)

# January 2, 2011 1:54 PM

vincent said:

Hi Dennis, good article for startup. I was wondering what MEX endpoint for, I commented the line and I can still browse from IE and call the service in the windows app. So what's it used for?

# January 6, 2011 5:03 PM

fadi z said:

does anyone know how to use replicator in SM wf?

# January 7, 2011 9:05 AM

vin said:

To "Aoe":

you can simply create your won rolling.log in the application folder and give its path in your listener.

# January 7, 2011 2:44 PM

Friend said:

Very nice article ...thanks a lot friend...keep it up

# January 8, 2011 6:48 AM

Dennis van der Stelt said:

@vincent: The MEX endpoint is for discovery of the contracts. In other words, without it you should not be able to discover what actions (commands/methods) are available and what they require as input.

The fact that your HTTP endpoint is still visible, can have multiple reasons. For example, in .NET 4.0 the MEX endpoint is automatically added to the service, even if you don't specify it! :)

# January 11, 2011 9:26 AM

Dennis van der Stelt said:

Some time ago now I wrote about doing manual ClickOnce deployment using the command line and FinalBuilder

# January 11, 2011 11:59 AM

Paul Miller said:

Public Query Analyser ... can't live without it ... or at least my public can't !!

Please resolve this omission.

Thanks

# January 13, 2011 11:51 AM

Martijn said:

Thanks for the great articles Dennis!

I have one question: what would be the way to to create a function in the ConsoleHost to process the input from the Service application (instead of processing the input directly in the service application object)?

# January 13, 2011 12:22 PM

jony said:

Could not connect to localhost/HelloService. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8080. help

# January 16, 2011 5:12 PM

Web Developer said:

I have done this on several websites, however its much easier to do it in IIS...

I make xml files act as ASP files so i can process code on the server-side and output xml.

# January 16, 2011 10:06 PM

Dennis van der Stelt said:

@Jony : It's really hard with so little information. It's on localhost so I presume you can connect to it. Sometimes going over machine boundaries makes problems harder. But it could be all kinds of problems. Server not running, not running correctly, binding not setup, etc, etc, etc...

# January 17, 2011 9:12 AM

Grace said:

Hi,

Im working on windows mobile application. As Im working in an organization I use a proxy server. Im using visual studio 2008. I have followed all the steps but Im unable to connect the emulator to the internet. Can you assist me in this issue.

thanks

# January 19, 2011 2:24 PM

Ollie said:

Fantastic!

The best self-hosting WCF "getting started" tutorial I have seen!

# January 20, 2011 12:44 AM

Ashish said:

Thanks buddy, Its Great

# January 20, 2011 4:01 PM

LP Charbonneau said:

Since you wrote this, has anything new come up? Any libraries to simplify doing option #4?

Let me know pierre2543 at hotmail.com.

Tkx in advance.

# January 25, 2011 4:21 AM

sherry said:

Nice article. I am new to c# and WCF.

I am kind of lost in this step

Type serviceType = typeof(EmailValidator);

The type or namespace emailvalidator is not found are u missing a using directive or an assembly reference) ?

So I know that I need to add referemce to ConsoleHost from WCFSimpleExample2010 how can I do that?

And also I read in your replies that I can do this in 2 differnt computers lets say I created WCFSimpleexample2010 in one system and ConsoleHost in another system how can I add the reference to it?

please let me know

Thanks,

Sherry

# February 4, 2011 4:49 PM

Sherry said:

I added the reference and I can add only IEmailValidator and If I add EMailValidator I am getting error message.

# February 4, 2011 4:58 PM

azizi said:

Thanks for really easy example.

1- I know the concept of your project is same as the WCF project but why you didn't new a WCF project and used console application?

2- Do you know how we can connect to SQL via Entity Data Model in addition to WCF service, because I want develop an application which can to get some information via WCF and then save them in SQL via Entity Data Model. If there is some useful link please send me or share it here.

thanks

azizi

bamshad.azizi@gmail.com

# February 5, 2011 2:28 AM

Dennis van der Stelt said:

@Sherry : Have you got a class EmailValidator at all? Do you have casing right, because you're writing EMailValidator while it should be EmailValidator.

Put your cursor on the word EmailValidator and press and hold the CTRL key and then press the . key (while holdering CTRL). A context menu should appear, asking you to either create a class (which is wrong) or add a using statement for the EmailValidator. That should do it.

The console application is just to get WCF up and running. You can also let IIS do this for you. What you really need is the IEmailService for specifying which operations should be visible/usable on the service and of course EmailService, because an interface alone doesn't do anything.

But you need WCF being activated on both sides. I did it with a console application, and than you need a console app on both sides. One for sending a message, one for receiving a message. But you can also do this in Windows Forms, WPF or whatever. The receiving side however is, most of the time, in IIS or in a Windows service.

# February 5, 2011 10:24 PM

Dennis van der Stelt said:

@azizi:

1- Because I like to be in control! :) And also because when you start completely blank, it's easier to explain what really is happening. When Visual Studio already generates tons of code and config for you, it's harder to explain what you actually need.

2- There's a ton of info out there and it depends on what you need. But WCF RIA of Data Services or whatever already helps a lot. But you can also just transfer the EF entities over the wire, because they can be serialized by WCF.

# February 5, 2011 10:25 PM

Sergio Becerril said:

Nice. I was looking for a simple, manual way to check for updates, and lo and behold, I found a fantastic family of routines to do it and do it well.

Thanks for sharing. :)

# February 9, 2011 11:58 PM

TrevinoLillian18 said:

Every body knows that today's life is not cheap, but different people require cash for different stuff and not every one earns enough money. Hence to receive fast <a href="http://bestfinance-blog.com">loan</a> or auto loan would be a right way out.

# February 10, 2011 12:24 PM

Jose Carlos Eys said:

We have the same problem with update dialog "Update/Skip" even with the "Check for updates" option unchecked.

We put the CheckForUpdates(False) lines at the beginning of our application (huge application) but it continues sending the dialog.

To find out where is the right place to put the lines, we put a messagebox right before this lines, but when we saw that first put the update dialog and then the messagebox.

Where I have to put it on? Is there a special generated code wrapping the application, and there is the right place to put the overload?

Desperate. Jose.

# February 13, 2011 4:20 PM

Dennis van der Stelt said:

I'm not really sure what you mean. But when you turn off checking for automated updates, it shouldn't check for them anymore. Period.

Of course, don't forget that it'll take an update of the client for these settings to transfer. So test it by updating at least 2 times after setting this option.

And make sure you don't have an automated build or so that simply turns it on again! :)

This worked for me like a charm.

# February 14, 2011 8:39 AM

bhups said:

i face a problem during the proxy creation manually and also with easy way..,pls help me....

the problem as follow -

///   error in visual studio 2010 commmand prompt

WS-Metadata Exchange Error

   URI: http://localhost:8080/">http://localhost:8080/

   Metadata contains a reference that cannot be resolved: 'http://localhost:808

0/'.

   There was no endpoint listening at http://localhost:8080/">http://localhost:8080/ that could accept

the message. This is often caused by an incorrect address or SOAP action. See In

nerException, if present, for more details.

   Unable to connect to the remote server

   No connection could be made because the target machine actively refused it 1

27.0.0.1:8080

HTTP GET Error

   URI: http://localhost:8080/">http://localhost:8080/

   There was an error downloading 'http://localhost:8080/">http://localhost:8080/'.

   Unable to connect to the remote server

   No connection could be made because the target machine actively refused it 1

27.0.0.1:8080

# February 15, 2011 11:21 AM

Dennis van der Stelt said:

There's a problem with the service.

Make sure you have a MEX endpoint in your config and try to access the http endpoint via a browser.

# February 15, 2011 1:12 PM

chandradev said:

For good people,God always help.

# February 15, 2011 3:37 PM

Steve said:

It's a great smaple for me to start lean WCF. Thanks!

# February 15, 2011 7:36 PM

Ritesh said:

Hey thanx a lod buddy, you know i also implemented image upload through ajax using REST webservice its GREAT!!!!. I needed a mechanism to upload images ajax based on my website http://www.jalandharsearch.com and it worked like a charm.Thanks again

# February 21, 2011 8:54 AM

Huzefa said:

Hi,

I tried implementing the service but I am getting the 'AddressAccessDeniedException' Http could not register the url....

I have read all the above comments and have tried to do the following:

1.Run as admin. (am using vista, VS2010)

2. tried to change the port no. from 8080 to 1337 or 8081 but still the same. I checked my port 8080 or nay of these are not used by any other application.

3. when I try to run it as admin, I am getting the following error:

VS cannot start debugging because the target c:\...Host.exe is missing. Please build and retry.

I would really appreciate if you could help. I am going crazy trying to grasp wcf since past one week, but fail. Finally reading the comments and article here, got some HOPE!

# February 21, 2011 10:50 PM

Dennis van der Stelt said:

@Huzefa : Try the following article as well:

bloggingabout.net/.../wcf-simple-example-in-visual-studio-2010.aspx

I really, really need to create a webcast of this and show how easy it _should_ be. Of course there can be all sorts of problems due to things not working because of security settings, for example.

When you say, run as admin, do you mean run under the local administrator account (!) or that you select "Run as administrator" from the context menu, when you right-click on VS2010 icon?

And can you specify what ...host.exe is completely? Is it svchost.exe or something else?

# February 22, 2011 8:03 AM

PPP said:

Nice article

# February 22, 2011 9:27 AM

Huzefa said:

Run as administrator as in from the context menu by right-click. By ...host.exe , I meant the path in my C:\ drive where the error message is pointing that the host.exe should be present.

# February 23, 2011 2:09 AM

ColdFusion Developer said:

Is there a way to loop through all active databases and shrink all the log files on the server? This would be great as a part of the maintenance plan.

# February 23, 2011 8:13 PM

Ahmed Muhammad Alam said:

Yes I'm agreed with you that Agile save time but the thing is that, what I have experienced in the industry that too much documentation regarding the project will be painfull the new one and too less is also having the same meaning.

If you follow Agile with too less documentation and incase anyone has left the company on urgent basis and you have to plug someone else. If you haven't sufficient documents about the project than how the new person can adjust himself or herself in the project without having documents.

Definitly the above management didn't waste their time to describe about the project and even you don't.

# February 27, 2011 8:50 AM

Max said:

Nice work done, most of our customer ask for this, I will share this article in our knowledge base.

# March 3, 2011 8:16 AM

Rob Fox said:

Hi Dennis! Just want to add, you shouldn't forget to update both machine.configs (32 AND 64 bits).

For me also the entire Microsoft.ServiceBus.dll was missing, probably because I had previously installed AppFabric v1.0, but replaced it by the new CTP release v2.0.

Anyway, your post was helpful to me :)

# March 4, 2011 10:05 PM

Amit Trivedi said:

I am  getting following error when I run the ConsoleHost Application.

Error :

Service 'EmailService.EmailValidator' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.

Please help me.

Thanks,

Amit

# March 7, 2011 7:41 AM

S Kumar said:

I need to set priority for the message. I tried with MSMQIntegrationBinding , but I can set the message priority but I am not getting the messages as per their priority level.

At the receiving queue I am creating that with priority option opened like this

MessageQueue q = new MessageQueue(<QueuePath>);

q.MessageReadPropertyFilter.Priority = true;

Even though i could not get  the messages based on their priroity.

Any help.

thanks,

- Kumar

# March 12, 2011 12:51 PM

Dries Marckmann said:

I followed your tutorial, using the nservicebus NuGet package (NuGet FTW!!!) in a WCF project hosted in IIS7 but experienced a strange issue. I got the error:

:Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format."

To solve this I had to set the "Enable 32-bit applications" in the advanced settings of the Application pool to True.

After that it worked like a charm! Thanks!

# March 15, 2011 10:14 AM

Wasa said:

This is great help, Clean steps, Hoping lot more.

Thank you!

# March 17, 2011 4:52 PM

Dan said:

make sense, easy to understand. nice posting..

# March 18, 2011 9:22 PM

Tomek said:

Very good tutorial, well explained, thank you.

# March 22, 2011 1:09 PM

Tomek said:

My jaw just dropped, this is awesome !!!

Although I was trying to recreate everything (classes and apps) from article (I don't like just running solutions) and there was nowhere mentioned needed references to System.Messaging etc.

Great article, keep up good work.

# March 22, 2011 2:59 PM

Ingo said:

ThanX Dennis,

a very good example and lotZ of help for one to dive into WCF.

# March 22, 2011 4:00 PM

ahobul said:

i hosted my wcf service in windows service but when i call async method of wcf service am getting cross-domain error as below :

This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details.

# April 20, 2011 9:18 AM

Dennis van der Stelt said:

@ahobul: Did you try a default basichttp client in a console window and got that to work cross domain?

# April 20, 2011 9:26 AM

ahobul said:

ya it is working with console application in both cases nettcp and basichttp, but it is not working with silverlight application

# April 20, 2011 12:28 PM

Dennis van der Stelt said:

@Ahobul : Silverlight isn't allowed cross domain to access wcf services, meaning that you need a crossdomain.xml or clientaccesspolicy.xml file. As this most likely isn't possible via a Windows Service, you probably need to put the service on a webserver.

Read more here:

msdn.microsoft.com/.../cc197955(v=vs.95).aspx

# April 20, 2011 1:30 PM

TySmith said:

NEED query analyzer back...lightweight and fast for quick view of data and done.  I don't mind querying available from SSMS but to me the audience of each tool is much different.

# April 22, 2011 10:45 PM

Alison said:

Is it possible to easily change this to write to a log file instead of the event viewer?

# May 5, 2011 3:36 PM

Dennis van der Stelt said:

@Alison : Yes

# May 9, 2011 12:51 PM

StevieC said:

Just deployed my first two ClickOnce apps, before i read this post!! Now need to change them and redeploy them!! Wish i'd found this post first!! Great Post and expertly explained!!

Thanks

# May 20, 2011 11:23 PM

leosuaar said:

Thanks, you help me a lot, jeje!

I was having some problems with a WCF because I didn't know how to create a public WCF, and the code in your post gave me the key.

# May 22, 2011 11:21 AM

Deepti said:

Hello,

Iam creating all 3 projects.. when iam running svcutil.exe .. it is creating file... but its not showing in console client project.. do i have to add manualay it comes automatically in the projects.. once utility is run..

Please help

# May 27, 2011 12:09 AM

Eslam said:

hi,thanks for your illustration but i have an error which is ' Error 2 The type or namespace name 'localhost' could not be found (are you missing a using directive or an assembly reference?) E:\Documents and Settings\Eslam Farag\My Documents\Visual Studio 2008\Projects\WebSite\Client_Consume\Code.cs 23 15 Client_Consume

'

so,could you mind helping me,Thanks for your kind wishes.

# May 28, 2011 2:29 AM

Febin said:

Hi,

I have a doubt regarding this. I have hosted a WCF service project in Windows service.Also I have another project file which is also using WCF services. I want to refer this Hosted WCF service in a WCF service. So how can i do that? Can you please tell the steps to do that?

In short "Consuming Windows Service hosted WCF service from another WCF project file"

# May 30, 2011 6:48 AM

Alejandra31Mercer said:

If you are willing to buy a car, you will have to get the <a href="http://bestfinance-blog.com">loan</a>. Furthermore, my brother usually takes a bank loan, which seems to be really fast.

# June 1, 2011 3:09 PM

plagiarism checker said:

Do not want to be accused in plagiarism? Want to submit cearly unique papers? Choose plagiarism check and be assured that your stuff are unique.

# June 2, 2011 6:01 AM

Mojtaba tavakoli said:

ok tanx for informing me.thank you

# June 4, 2011 10:41 AM

Aleksey said:

Thank you for an advice. I've just started to use VS2010 so I still do not know tricks liks these ones.

# June 8, 2011 9:31 AM

Tal McMahon said:

For others stuck like I was,  This post states

"If the publisher is on ServerA, we should set UnicastBusConfig’s Endpoint to ServerA@PublisherQueue. "

That is in fact backwards.

You should set the Endpoint to PublisherQueue@ServerA

hope that helps

Tal

# June 9, 2011 10:26 PM

zeeshan said:

Great Job man!!

# June 13, 2011 11:27 AM

Art Colman said:

Thanks for the information. I had a problem with my unchecking of the "check for updates" box not being retained, enven though I did set an update location, as suggested. I found that I had to execute the publish process via the Publish Now button, using the wizard either from the publish page or from the menu caused the box to be automaticlly rechecked.

# June 13, 2011 9:46 PM

Art Colman said:

Dennis,

I'm wondering if you have any comments, suggestions, or opinions about how to use ClickOnce in an IE9 environment? I found the SmartFilter indication that a clickonce setup.exe is not typically run as very strong and would probably motivate a user not to try the program.

Cheers,

Art

http://www.drybridge.com

# June 13, 2011 9:53 PM

Dennis van der Stelt said:

@Art : The .application file/link is the one you want. It should run with no problems from any IE version. Firefox needs a small update.

# June 13, 2011 11:03 PM

BobbiKey33 said:

I had a dream to make my own company, however I did not earn enough amount of cash to do that. Thank God my friend suggested to take the <a href="http://bestfinance-blog.com">loan</a>. So I took the car loan and realized my dream.

# June 15, 2011 12:17 PM

papers service said:

It's not easy to exist in this truculent environment. However, the papers service is a flash light in the end of tube.

# June 19, 2011 7:32 PM

Dennis van der Stelt said:

Thanks Tal, I changed the post to match your comment. Sorry for confusion! :)

# June 21, 2011 10:31 AM

plagiarism checker said:

Thank you, it's very awesome description it might be very obliging for students. For example last year when I had a difficult of time at the end of semester with a everlasting flow of academic assignments and mission, I had a awesome idea to buy it somewhere and than use plagiarism checker. I was so bushed that I did not care for what can happen when my academic work was written by other side person. To my admirable surprise, research paper was honest the price I paid for it. I was so charmed with the quality and now everytime i use this service.

# June 25, 2011 9:48 AM

credit loans said:

I had got a dream to begin my own business, nevertheless I did not earn enough amount of money to do that. Thank heaven my colleague told to use the loan. Therefore I took the secured loan and realized my desire.

# June 25, 2011 1:57 PM

cheap links said:

Your website has to be optimized very well if you strive to have improved traffic. Maybe you require SEO service and cheap seo services. You are in a correct site. We will aid you professionally!  

# June 27, 2011 8:23 PM

custom essay services said:

Research papers creating is not a thing to worry about at present time, because help writing paper company can be able to resolve any academic papers writing assignment.  

# June 30, 2011 2:49 AM

Machado said:

Good job and good article

# June 30, 2011 11:46 AM

Sameh said:

Many Thanks for your help,

Actually I didn't find an error, but where do I start? what is the starting box? :)

# July 1, 2011 3:08 PM

Dennis van der Stelt said:

Good question! :) It's the top-left one, but a nice start action would've been better :)

# July 2, 2011 9:52 PM

sam said:

hi dennis,

I have a problem! after following your steps the generated app.config file for service does not contain (service behaviorConfiguration="HelloServiceBehavior" )

and i add it by hand to app.config, where is my mistake?

# July 6, 2011 5:36 PM

Peter Durst said:

Very Nice Tutorial.

Thank you for sharing!

Greetz Peter

# July 14, 2011 11:05 AM

Shiva said:

Nice Article.Easy to understand.

# July 18, 2011 12:24 PM

Loke said:

It woked just perfect!!!!

# July 18, 2011 11:49 PM

DoloresRhodes said:

I propose not to wait until you get big sum of money to buy goods! You should get the <a href="http://bestfinance-blog.com">loan</a> or just sba loan and feel fine

# July 30, 2011 12:01 PM

Stefano Baraldi said:

Remember to user checkForDetailedUpdate(false), or the nasty Win3.1 style dialog box will keep on showing...

# August 5, 2011 3:05 AM

Charlie D said:

Here is a great article to help you when you are starting a WCF project: msdn.microsoft.com/.../hh27311

# August 14, 2011 4:05 PM

Dennis van der Stelt said:

@Charlie D : Page not found?! :)

# August 15, 2011 8:14 AM

VangSONJA21 said:

If you want to buy real estate, you will have to get the <a href="http://bestfinance-blog.com">loan</a>. Moreover, my sister always uses a term loan, which seems to be the most fast.

# August 27, 2011 9:37 AM

Joe said:

This works great, but I have one question:

Currently, the host takes the message out of the queue before the service's method has finished running. Is there a way to make it so that the message queue transaction only completes after the service's method has completed successfully?

Thank you so much for the tutorial, helped me a ton!

-Joe

# August 30, 2011 7:51 PM

Dennis van der Stelt said:

I'm not sure if I understand you correctly. You mean that the service takes out the message, the transaction fails, the message should still be in the queue, but it's gone already???

# August 31, 2011 3:07 PM

AngeliaRasmussen26 said:

That's understandable that money makes people free. But what to do when somebody doesn't have money? The one way only is to try to get the <a href="http://bestfinance-blog.com">loan</a> and car loan.

# September 2, 2011 3:57 AM

Manoj said:

I am facing the same problem when i try to save and excel book using .saveas method. I googled for last four days but no suggestion is resulting to be useful.

If i save a workbook using .save method then it gets saved properly. Please i would be very thankful if anybody can help me.

Thanks in advance

# September 2, 2011 11:54 AM

Velma22Lara said:

This is well known that cash can make us disembarrass. But what to do if someone has no money? The one way is to get the <a href="http://bestfinance-blog.com">loan</a> and term loan.

# September 3, 2011 2:15 AM

Quen Wilson - IoW (UK) said:

Came across this fine example. Had a play and works well.  Possibly MS needs to develop a higher level using drag-and-drop tools onto a form. The more I get into this (and always had a fascination with distributed computing), the more balls I seem to have in the air. It's certainly different from standalone Win Services, remoting, channels, etc.  Question though: How is this placed with respect to Service Broking and MS SQL Server? Can I contract directly into MS Server avoiding some of the trappings of ADO.Net, possibly using Linq?

However, great work. Love the clarity of writing and explanation. Thx Dennis.

# September 7, 2011 1:31 AM

Tugce said:

Hi,

I did exactly what is written above. (until "Accessing the metadata" part ) when I type to the browser http://localhost:8080/  page didnt show up. What is the problem and how can I fix this?

# September 8, 2011 10:28 AM

Dennis van der Stelt said:

@Tugce: So many possibilites, that I can't think of anything specific when you provide me so little information. Sorry! :(

# September 8, 2011 9:50 PM

Dennis van der Stelt said:

@Quen: Don't know if I have every answer and if you're looking for the answers I give you.

- Service Broker is a queueing technology that is WAY harder to get into than WCF with MSMQ or nServiceBus or so. I'd ditch Service Broker if I were you.

- SQL Server has nothing to do with WCF. SQL is a data store, WCF is a communication mechanism.

- If you want to access data, this has also nothing to do with WCF. I'd use Entity Framework if you're going for Microsoft, or nHibernate if you up for it. Both technologies need a lot of investment to gain knowledge.

About the channels etc, that's what WCF uses. Not sure what you mean. If you mean .NET Remoting, it's dead. You can use TCP/IP with WCF as well.

Windows Services are a way of hosting your application. They can host WCF services as well. But if you have IIS7 and WAS (Windows Process Activation Services) it's probably VERY unwise to host them yourself in Win Services.

# September 8, 2011 9:59 PM

Patrick Wellink said:

Did you experiment with datetime.kind ?

See : bloggingabout.net/.../something-you-really-should-know-about-dates-beeing-kind-to-datetime-kind.aspx

What happens if kind is not equal for the dates.....

Say startdate = 01-01-2000 kind = unspecified and

enddate = 02-01-2001 UTC -11 kind = specified....

# September 13, 2011 10:52 AM

Himanshu said:

I am also getting the same error while saving the excel file using saveas method. Can anyone please help me rectify this problem ? I am using VS 2008 (C#)

# September 14, 2011 9:03 AM

Ramon Smits said:

Interesting, I was not aware of the READPAST hint but I also cant think of a scenario where I would want to use it.

# September 14, 2011 2:49 PM

Ramon Smits said:

Why not make use of inheritence?

I usually just inherit the class do that is has access to protected stuff. This new class is then an internal subclass in my unittest.

You are using interface so your imlementation methods should be marked virtual which they currently are not. :)

# September 15, 2011 11:02 AM

Ramon Smits said:

2nd, why not just create a mock? Then you also can validate that the repository save is actually called.

# September 15, 2011 11:06 AM

Dennis van der Stelt said:

lol, are you going to comment everything!? ;)

I'm making a series of posts with examples like these.

About the virtual methods, you're right. I forgot.

And about the mock, I'm doing state-based testing here. I know that when writing mocks like these yourself, you can also mark a boolean that some method has been accessed. A mocking framework is even better yet, but I'm trying to keep things as easy as possible. But I'll add an example with a mocking framework in it as well. The original idea though, started with someone asking me about how to have mocks and inject those with Unity. So I thought, let's write some posts on it.

# September 15, 2011 6:25 PM

Barrett26Nichole said:

That is good that we can receive the <a href="http://bestfinance-blog.com">loan</a> moreover, that opens new opportunities.

# September 17, 2011 1:12 PM

Alyssa34Sargent said:

Some time before, I did need to buy a building for my business but I didn't have enough money and could not order anything. Thank goodness my comrade proposed to get the <a href="http://bestfinance-blog.com">loan</a> from reliable bank. So, I did so and used to be happy with my bank loan.

# September 22, 2011 1:47 AM

MarkO said:

What about:

Discount discount = new Discount(5, new DateTime(2001, 9, 11), new DateTime(2011, 9, 11, 16,0,0));

# September 23, 2011 5:57 PM

Dennis van der Stelt said:

@MarkO : What about it??? I don't get your point?

# September 24, 2011 10:16 PM

John Murray said:

I would really like to understand this but it suffers from a very common disease - it assumes the reader can read minds and is really out of touch in understanding what a beginner needs explaining. - I am fine with the instructions to open new project and solution from the WCF templates (except that VS2010 offers no option for 'class library' as stated inn the text - only 'wcf service library' is an option  - so I choose that - the next statement in the tutorial is 'now create a contract'  - be useful to explain how, why or what. I managed to guess I had to right click in solution explorer and add something new. When I did I couldn't find anything called a "contract" in the list of templates only WCF service class or -(eureka) 'interface' (not what was written in your tutorial)

so I got there - I am using VS2010 v10 sp1 - is it that this tutorial is based on something planetarilly different?  or is the writing a rushed job skipping the boring steps -

Sorry to complain -you've got lots of warm fuzzies from others which I am sure you richly deserve if only for taking the effort to publish this but if you see yourself as a teacher and you are pitching this at noobies then perhaps the getting started phase deserves more attention.

surely it is not the most difficult thing in the world to document exactly what steps take you to what point?

# October 23, 2011 10:13 PM

Dennis van der Stelt said:

Hey John, the writing is most certainly not a rushed job. But if you're not sure about "Class Library" and all, perhaps it's not wise to start with WCF. It's pretty complex. This and my other tutorial on WCF, are some of the most easy and complete you can find. If not, let me know which one you found more comfortable.

When I have time, I'll have a look at it again.

# October 25, 2011 12:11 AM

Basti said:

I just stepped over your new WCF articel and as far i can see now its great! This will safe me some time!

Thx alot!

@John: Meybe Dennis' way to explain the contract is not straght forwared. I was irritated too, but if you read just a few line more you'll find the ServiceContract which was meant.

# October 26, 2011 11:43 PM

Dennis van der Stelt said:

Hehehehe, I changed it a bit. Hope it's more clear now.

# October 26, 2011 11:57 PM

dmark said:

@Sherry

If you can't see the EmailValidator class, it's because you forgot to put "public" in front of the class definition.  

Just add it, and you'll be all set.

# November 3, 2011 5:15 PM

So Sereyboth said:

in vb.net, i used this code to connect to the device, i got an error:

zkFinger.Connect_Net("192.168.0.201", 4370)

'Error msg:

connect rfid reader Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

# November 9, 2011 9:48 AM

Shirish Bhavthankar said:

Thanks a lot. Nice.

# November 21, 2011 10:35 PM

Junaid Siddiqui said:

Please use this script to remove table value from sys.tables:

-- Removes Replication Flag for all Tables in the Database

-- using sp_MSunmarkreplinfo

SET NOCOUNT ON

DECLARE @tablename NVARCHAR(128)

DECLARE @RC INT

DECLARE curTable CURSOR FOR

SELECT [name] AS tbl

FROM sys.tables

OPEN curTable

FETCH NEXT FROM curTable

INTO @tablename

WHILE @@FETCH_STATUS = 0

BEGIN

EXECUTE @RC = dbo.sp_MSunmarkreplinfo @tablename

FETCH NEXT FROM curTable

INTO @tablename

END

CLOSE curTable

DEALLOCATE curTable

GO

# November 22, 2011 3:54 AM

G. antonios said:

Hello Microsoft,

Please bring back query analyzer to the public. I really like this feature of sql server.

Beside i heate SQL Server 2008 Without this feature

Thanks,

G.Antonios

# November 24, 2011 8:00 AM

VJ said:

I am trying to open an animation in a web browser.. and the same error is thrown when the animation is being loaded.... I have tried changing to x86 but does not solve the issue...

Note : The error occurs only when the animation with .HTML extension is loaded...  

# December 1, 2011 7:56 AM

lschneider said:

Hi,

I have a WCF duplex with TCP binding (for the speed)hosted in Windows under a domain user. then I have a client not in the domain.

How should we configure the system to make it work?

It works fine for the users within the domain.

# December 13, 2011 1:21 PM

kris said:

I don't like this behavior: "nServiceBus will iterate over all assemblies and classes to find out which ones implement the IHandleMessages<T> interface". As I understand this mean nServiceBus will load all assemblies into memory to scan. It's not good for large solutions. Is it possible to avoid this behavior and say to nServiceBus to scan only selected assemblies?

# December 15, 2011 10:40 AM

Dennis van der Stelt said:

Yes it is, but I don't get why it's a problem.

First of all, it doesn't load them all in memory so that it would become a memory problem. Second, if you have so many assemblies that you think it might become a memory problem you either have only 1MB of memory in your system or you have way, waaaay too many assemblies. Make smaller applications?! :)

# December 15, 2011 12:18 PM

JAISHRI said:

HOW TO CONNECT TO QUERY ANALYSER IN SQL SERVER2008

# December 20, 2011 4:17 PM

Bamboula36 said:

Hi Dennis,

First,I want to thank you for this great tutorial.

I've followed all the steps and everything has been fine till now.

I'm trying to create proxy whith Visual Studio 2010 (the easy way). I've the "Add Service Reference" window open and I've entered the address:

http://localhost:8080/.

When I click on Go, I get this message:

An error occured while attempting to find services at 'http://localhost:8080/'.

Maybe did I forget something? or maybe did I mistake somewhere? Do you have an idea?

Thanks.

# December 21, 2011 10:12 PM

Dennis van der Stelt said:

@Bamboula36 : Could really be anything, but I'm 99% sure there's something wrong in the configuration. Did you add more than in the example code? Did you download the example solution?

# December 21, 2011 10:24 PM

dst said:

Hi Dennis,

I have a very basic question. If you are hosting a WCF service in a Windows Service where are the webpages hosted if you want remote machines to access the WCF service? Remote access rules out using the visual studio development web server. Can you use IIS to still provide remote access without having IIS host the WCF service? If you can use IIS to host the webpages, how do you go about publishing the WCF service?

Thanks,

dst

# January 10, 2012 6:25 PM

Dennis van der Stelt said:

A lot of questions... :)

Where are webpages hosted? Regular webpages are always hosted in IIS and WCF can't help with that. The webpages that need to access WCF can use any protocol supported by WCF to access the WCF service. Remote machines can do exactly the same.

Visual Studio dev webserver isn't a real webserver, it's only there for local debugging purposes. You should really use IIS to host websites.

I'm not sure why you keep talking about webpages and WCF service. These are completely different things!!!

The webpages are hosted on IIS, the WCF service can be anywhere else. Remote machines can access both of them, but both will have different addresses.

I have the feeling you're not telling me what it is you're trying to solve. You've only provided me the problem you have. What are you trying to accomplish?

Do you need a website that shows data to end-users and a WCF service that provides the same data to other applications? That should be no problem at all.

Also, why are you unable to host WCF in IIS? This is a better solution in almost any situation!!!

# January 11, 2012 3:44 PM

Johnson said:

I follow your article step by step up to the display of the dispatchers which display correctly but my browsers are displaying server not found when i type the uri into them i.e http://localhost:8080/. I have checked all browser settings. I want to get this done before progressin with the tutoria. Thanks.

Johnson

ayomibayo@yahoo.com

# January 26, 2012 12:23 AM

Dennis van der Stelt said:

@Johnson : Did you add the "httpGetEnabled" attribute in your configuration? That's the part that enables browsers to look at the wsdl

# January 26, 2012 7:33 AM

Windows Apps said:

Thank you, this is a great article. I'm looking for an example of starting a WCF SOAP Project in VB.NET, can anyone recommend a website? Thank you.

# January 29, 2012 3:08 PM

Windows Apps said:

I went through the example, but my project doesn't load, I'm using VS 2008. Do I have to use VS 2010 for it to work? Thanks.

# January 29, 2012 3:13 PM

Dennis van der Stelt said:

Should be exactly the same, except for syntactic stuff that differs from VB en C#. Like defining variables and such.

# January 30, 2012 11:08 AM

Dennis van der Stelt said:

No, you should be able to use VS2008 for this. Just the supplied downloadable solution won't easily load in VS2008 :)

# January 30, 2012 11:10 AM

Alex said:

This is really attention-grabbing, You’re a very professional blogger. I’ve joined your rss feed and stay up for searching for more of your fantastic post. Also, I’ve shared your web site in my social networks!

# February 9, 2012 4:48 AM

Dennis van der Stelt said:

This blogpost is part of a series Template Method Pattern explanation Template Method Pattern example

# February 10, 2012 11:03 PM

Dennis van der Stelt said:

This blogpost is part of a series Template Method Pattern explanation Template Method Pattern example

# February 10, 2012 11:05 PM

Dennis van der Stelt said:

This blogpost is part of a series Template Method Pattern explanation Template Method Pattern example

# February 10, 2012 11:05 PM

What Is .net Framework 1.1 | Snap Webhost said:

Pingback from  What Is .net Framework 1.1 | Snap Webhost

# February 11, 2012 6:30 AM