Scott Hanselman

ServiceProcessInstaller HelpText has very little documentation

December 14, 2004 Comment on this post [0] Posted in Programming
Sponsored By

I googled around for info on the ServiceProcessInstaller, hoping to change the HelpText. It's a getter, so you have derive and override, rather than setting it. No biggie, but I was surprised. I'm used to googling for .NET documentation and finding MASSIVE amounts of stuff...lot's of articles, etc. Apparently the ServiceProcessInstaller just isn't sexy enough to write about.

This overloaded getter will show help text when someone calls "InstallUtil.exe myserviceassembly.exe /?" on my service exe.

Anyway, I did this. It's not rocket science, but I'd have perferred a setter. Maybe I'm old fashioned.

   88 internal class MySpecialServiceProcessInstaller : System.ServiceProcess.ServiceProcessInstaller
   89 {
   90     public override string HelpText
   91     {
   92         get
   93         {
   94             return @"Enter the Username and Password for the Whatever account in the form \\domain\username. For machines not in a domain, enter hostname\username.";
   95         }
   96     }
   97 }

Then I change the InitializeComponent section - you know, the section you're never supposed to change?

   64 private void InitializeComponent()
   65 {
   66     this.serviceProcessInstaller1 = new MySpecialServiceProcessInstaller();
   67     this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();

Maybe when I google for it again, I'll find my own site. If I can touch the life of just one child who's also using System.ServiceProcess.ServiceProcessInstaller...

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

The Desktop Search battle continues - yawn? Inside MSN Desktop Search

December 13, 2004 Comment on this post [2] Posted in Programming | Tools
Sponsored By

PerfmonsearchWell, I'm deep into the MSN Desktop Search. It's apparently more appropriate to refer to it as the "MSN Toolbar Suite."

Sriram Krishnan has even more technical forensic details on how Google Desktop Search works, but here's what I've gleaned about MSN Desktop Search.

  • The footprint is about 5 megs installed - this changes after you index,
  • The search is per user and everything is in "C:\documents and settings\[username]\local settings\application data\msn toolbar suite\"
    • There's lots of temp files with "Microsoft Search Gatherer Transaction Log. Format Version 4.9" inside them.
  • There's an interesting video with the team up on Channel 9.
  • They don't index your whole harddrive by default - they start with the "My*" files and Outlook* Applications.
  • They are using Microsoft Indexing IFilters - This makes me wonder if I should go download a bunch of new IFilters to get better searching.
  • They index MP3s and Music...
  • When you search, the UI lives in Explorer or Internet Explorer. They've got their own namespace.
  • There are a CRAPLOAD of Perfmon Counters added under "RS Search*" in Perfmon.

MSN Desktop Search vs. Google Desktop Search

MSN: Toolbar pointing you to msn.com
Google: Toolbar pointing you to google.com

MSN: Interface is very shiny and Windowsy and lives in Explorer
Google: Interface is very plain and HTMLy and lives in any browser

MSN: Indexes any IFilter-able thing ala Index Server (this has potential)
Google: Indexes Outlook and a number of text files. (has a hacked .NET plugin API)

MSN: Type-ahead autocomplete ala X1.com
Google: Nope, but I suspect it's coming very soon...

Winner (for now): The user, as now two large companies realize it's hard to find files on your hard drive!

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Microsoft Desktop Search...quietly released. Look at me! I can code one too!

December 13, 2004 Comment on this post [4] Posted in XML | Tools
Sponsored By

Certainly comparisions will be made to Google Desktop Search, which I'm already a fan of, but here's YATB (yet another toolbar) for IE. Rather than building it into the operating system or XP SP2, it's a viral MSN toolbar. Here it is, Microsoft's Desktop Search.

I've installed it, and I'm currently digging into how it works. Doesn't support Firefox, though. ;)

It has an X1-style type-ahead feature and rather than browser integration it's an Explorer Toolbar (I needed more things in my tray! Woohoo!)

Currently Indexing...if it indexes .CS files, I'm all in.

UPDATE: It DOES index source and XML! Yum.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Changes to dasBlog - Watch for Weirdness

December 12, 2004 Comment on this post [3] Posted in ASP.NET | DasBlog
Sponsored By

I've just made some changes to my personal branch of dasBlog including:

  • Referral Blacklist - This should cleanup my referrers and make my life easier.
  • Fully integrated CAPTCHA - You won't lose your post if you goof the CAPTCHA. MaxS will feel better.
  • Performance re-work of RSS/Atom - I've added internal caching to the syndication service. You the end-user won't see a change, but my ISP and I will see big change in CPU. DasBlog continues to honor the HTTP Headers ETag, If-Modified-Since and returns 304s as appropriate.
  • A number of small caching and perf improvements - Meant to please my ISP who has noticed my CPU and bandwidth characteristics were degrading as the amount of content I've got archived and hits have grown.

I say again, ORCSWeb.com kicks bootay. I highly recommend them, their service is without equal.

Let me know if you see any weird stuff due to these changes. Omar will likely put these changes into dasBlog 1.7 along with his many improvements. Clemens may also test them out. We shall see.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Corillian is looking for a good ASP.NET person

December 10, 2004 Comment on this post [0] Posted in ASP.NET
Sponsored By

We need a good ASP.NET programmer for a three month contract, with an option to hire at the end.

If you feel comfortable answering some of these questions, that's a ++ for you. You likely live in the Portland/Metro area.

More importantly, I want:

  • Passion and enthusiasm
    • You can't sleep until the solution "feels" right
  • Ruthless competence
    • "I read about it once" isn't enough. Did you do it? Your old job didn't require you to do it? Did you go home and do it anyway?
  • Good troubleshooting skills
    • How do Assemblies get loaded, shadow copied, etc. What is VS.NET doing that?
  • Familiar with Objects as much as DataSets
    • Being good at ASP.NET isn't just hooking DataSets up to DataGrids. We do more than that, and we want you to do more as well.
  • Self Starter
    • If you're chillin', you must be done. :)
  • I don't care if you're MC*.*
    • I do care if you've got a resume that shows a proven track record of successful ASP.NET work.

Email me your resume - scott/atnospam/corillian.com.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

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