Andrew Stevenson's WebLog

Write Here Write Now

Syndication

.Net Languages

ADO.Net

Asp.Net (Misc.)

Asp.Net Controls

Bad Patterns

Err What?

Files and Folders

Forums

IE Add-Ins

Methods for the Madness

Performance

See Clearer, C#

Test Driven

Published by

Comments

# re: Turn off the shutdown tracker in Windows 2003@ Monday, February 09, 2004 6:32 PM

Great Tip - I've always been totally annoyed by that.

Donny Mack

# re: Turn off the shutdown tracker in Windows 2003@ Tuesday, February 10, 2004 6:11 AM

Thanks ... thats one annoying feature !!

Saurabh Nandu

# re: Introducing Me@ Tuesday, February 10, 2004 9:20 AM

Hey Andrew, welcome to weblogs.asp.net :)

If you focused on Design-time behavior, that would be awesome. There seems to be little talk in the area of Design-Time, but a lot that you could do with it.

Adam Kinney

# re: Turn off the shutdown tracker in Windows 2003@ Saturday, February 14, 2004 10:59 AM

Scott W. posted a great link about this an other Dev environment isses with 2k3

http://www.msfn.org/win2k3/index.htm

AndrewSeven

# Implementing a ViewAsText property for a WebControl at design time @ Tuesday, February 24, 2004 7:53 AM

TrackBack

# The quoteable self article.@ Friday, March 12, 2004 12:58 PM

TrackBack

# The quoteable self article.@ Friday, March 12, 2004 1:01 PM

TrackBack

# re: A UserControl (ascx) event example@ Wednesday, March 24, 2004 12:10 PM

Yup, a writing machine he is, that just went up.

For someone who is trying to learn about controls, I would strongly suggest reading all of Scott's articles about controls.

http://www.scottonwriting.com/sowBlog/

AndrewSeven

# re: Are you as CSS challenged as I am...@ Wednesday, March 24, 2004 7:10 PM

TrackBack

# re: The quoteable self@ Wednesday, March 24, 2004 9:27 PM

Man who says it cannot be done should not stand in way of man doing it. - Old Chinese Proverb

StarPilot

# re: DAL rest in peace@ Thursday, March 25, 2004 9:05 AM

TrackBack

# Polling@ Thursday, March 25, 2004 11:32 AM

TrackBack

# Polling@ Thursday, March 25, 2004 1:41 PM

TrackBack

# re: What should the Help toolbar look like?@ Tuesday, March 30, 2004 9:18 PM

TrackBack

# re: Performance And Pooling : Comparisons of Data Access Techniques@ Wednesday, March 31, 2004 6:13 PM

You shouldn't be doing data access in your UI. Any loops you do with the data readers should have negligble performance impacts - 20 ms is A LOT !!! Something over a million MSIL instructions.

Udi Dahan - The Software Simplist

# re: Performance And Pooling : Comparisons of Data Access Techniques@ Thursday, April 01, 2004 9:20 AM

Udi:
I try to avoid any direct data access in my presentation layer.

I rarely have time to develop complete custom collections and data objects, so my buisness objects will usualy return untyped datasets.

EmployeeListDataGrid.DataSource = BizObject.Employees.List;

A million is a lot of intructions, you should write to the authors of the articles ;)

I mostly meant to keep this page as a collection of links on the subject, if you have some good ones (you must) please post em.

AndrewSeven

# re: I Love this@ Thursday, April 01, 2004 3:10 PM

TrackBack

# re: Is TextAmerica good enough for a desktop contest?@ Thursday, April 01, 2004 3:11 PM

TrackBack

# re: [Partial Rant] - A sick cyclic redundancy when providing answers to questions, versus questions asked...@ Monday, April 05, 2004 12:58 PM

TrackBack

# re: Imitation vs. Innovation@ Thursday, April 08, 2004 11:39 AM

TrackBack

# re: Hypocrites That We Are@ Wednesday, April 14, 2004 9:38 PM

TrackBack

# re: Localization in ASP.NET 2.0@ Wednesday, April 14, 2004 9:53 PM

TrackBack

# re: Two posers for you@ Monday, April 19, 2004 7:19 PM

TrackBack

# re: Idiot's Guide to Creating and Using VS Macros@ Wednesday, April 21, 2004 9:46 AM

TrackBack

# re: A more elegant solution to avoid ugly URL's with MCMS@ Friday, April 23, 2004 4:46 PM

TrackBack

# re: Even More Elegant URLs in MCMS + The Mac issue.@ Friday, April 23, 2004 5:01 PM

This looks good. But you don't have to pass the query string in published mode.
The caveat with your code: on IE you will no longer be able to switch to edit mode as you removed the script block. So you should add some code to check for the browser version.
In addition I would suggest to bind your overriden RegisterClientScriptBlock method in the HttpHandler as I did - this would avoid the need to have a "master page".

Cheers,
Stefan.

Stefan Goßner

# re: Even More Elegant URLs in MCMS + The Mac issue.@ Friday, April 23, 2004 5:08 PM

Thanks Stefan.

The stuff with the query string is for those just in case situations where the posting is given a query string posting.htm?aParamMightHappen=1 and you want that qs to be persisted during postback.

Dealing with the script block in the handler is better encapsulation, but I only realized how to do it as I wrote...I will try it.
The (small) expense of walking the control tree is probably a good trade off.



AndrewSeven

# re: Even More Elegant URLs in MCMS + The Mac issue.@ Friday, April 23, 2004 5:51 PM

Just tested your approach.
If the published URL has a different scope but then you get the following exception:

Server Error in '/CmsHtmlPhTemplate' Application.
--------------------------------------------------------------------------------

The virtual path '/Stefan/TestCh/htmlpage.htm' maps to another application, which is not allowed.


I will create a more general solution which works in all cases. Give me some minutes...

Stefan Goßner

# re: Even More Elegant URLs in MCMS + The Mac issue.@ Friday, April 23, 2004 6:19 PM

Yes, thats the same error we had when there were multiple root channels.

Cool

AndrewSeven

# re: Even More Elegant URLs in MCMS + The Mac issue.@ Friday, April 23, 2004 7:51 PM

I have a solution.
Before posting I would like you to test it (I don't have a Mac).
could you please send me a mail to webmaster@stefan-gossner.de so that I can send you the code?

Thanks,
Stefan.

Stefan Goßner

# re: Grammar Test@ Thursday, May 06, 2004 7:04 AM

Hi there,
I'ad appaered for the test n got good marks!!!!

Pranita Anchan

# re: OT : Three kinds of people in the world@ Friday, May 21, 2004 3:24 PM

Actually there are two types of people in the world. Those that put people into two types and those that don't.

J. Collins

# re: OT : Three kinds of people in the world@ Friday, May 21, 2004 4:11 PM

You are both mistaken- there are 10 types of people - those that understand binary and those that don't :)

Addy Santo

# re: OT : Three kinds of people in the world@ Saturday, May 22, 2004 8:10 PM

That's the joke Addy, 1 + 1 is 10, not 3.

;)

AndrewSeven

# re: Splitting a WebForm's First Page_Load from PostBack Page_Load@ Thursday, May 27, 2004 11:25 AM

it's not a good idea to fire events from an eventhandler. instead you should override the OnLoad method of the base class.

also, your commented out code doesn't work well either, consider

Page page = new PageEx();
page.Load += new EventHandler(Page_Load);

can't think of an alternative solution though, other than just simply eat the event altogether by not calling base.OnLoad()

Daniel Jin

# re: Splitting a WebForm's First Page_Load from PostBack Page_Load@ Thursday, May 27, 2004 12:35 PM

The override is a good suggestion.

I'm not sure I would want the real Load event to go away.

AndrewSeven

# re: Turn off the shutdown tracker in Windows 2003@ Thursday, June 03, 2004 12:59 PM

Thank you!!

Chris

# re: Adding Design-Time Support to ASP.NET Controls (by G. Andrew Duthie)@ Friday, June 04, 2004 10:14 AM

Thanks for the plug! Glad to hear that you find the article useful enough to keep going back to... :-)

G. Andrew Duthie

# re: The G(mail) Spot@ Monday, June 21, 2004 9:56 AM

can we stop the gmail spam? Pretty please?

matthew

# re: The G(mail) Spot - On/In/ I've got mail/ Thanks Frank!@ Tuesday, June 22, 2004 10:17 PM

Anytime, dude.

Frank

# re: The G(mail) Spot - On/In/ I've got mail/ Thanks Frank!@ Tuesday, June 22, 2004 11:15 PM

I'm not really liking GMail. Are you?

Francesco

# re: No castes!@ Wednesday, June 23, 2004 11:04 AM

TrackBack

# re: Grammar Test@ Friday, June 25, 2004 6:52 AM

Hi just want to do some testing, job interview coming up.

Muriel Miller

# re: IExtenderProvider & Asp.Net@ Friday, June 25, 2004 2:17 PM

You can check out my DefaultButtons control for an example of IExtenderProvider.
http://www.metabuilders.com/tools/DefaultButtons.aspx

Andy Smith

# re: The Stevensons@ Friday, June 25, 2004 4:06 PM

Hi Sandy:
My name is John Lawrence Stevenson. Noted your visit to the Elder John page.
My linage is Elder John/John/George W/Lorenzo/Burton/myself and also
Elder John/George/Martha/Burton/myself

Yours is: Elder John/George/Charles/George Francis/Edwin/Lionel/Yourself

Your Charles and my Martha were brother and sister.
Please sent me your e-mail address.
Mine is john.stevenson@sasktel.net

John Lawrence Stevenson

# re: IExtenderProvider & Asp.Net@ Friday, June 25, 2004 7:38 PM

Thanks Andy, I'm having a look.

Its helpful, but I'm not sure if it is what I need, I was really hoping to work out the code that is serialized into the InitComponent.


AndrewSeven

# re: The Stevensons@ Saturday, June 26, 2004 7:07 AM

Hi, Sandy
I saw your entry on the guest book. Looked up your web page. Can't say that I understand it all. I tried to reply by email, but the address I have must be out of dat. If you'd like to receive the "Elder Johns List" mailings, can you let me have your correct address.
Allison==steve

Allison Stevenson

# re: Quote: Abraham Lincoln @ Tuesday, July 13, 2004 9:51 AM

sharpening the axe == setting up your unit tests ?

:D

OmegaSupreme

# re: Visual Studio Feature Request (new?)@ Wednesday, July 14, 2004 4:22 PM

Interesting feature request though. Have you tried the C# to VB.NET or VB.NET to C# Converter yet at http://www.developerfusion.com/utilities/convertcsharptovb.aspx ? Possibly a converter tool could be implemented as a Visual Studio add-in, no?

Jan Ceulemans

# re: Visual Studio Feature Request (new?)@ Wednesday, July 14, 2004 4:24 PM

Yes, I have links somewhere to a couple of translators.
It could be done with an AddIn, there may even be one already.

AndrewSeven

# RE: Visual Studio Feature Request (new?)@ Wednesday, July 14, 2004 4:35 PM

The "Paste as" auto-conversion would be cool! For now you can look at:

http://www.kamalpatel.net/ConvertCSharp2VB.aspx

http://authors.aspalliance.com/aldotnet/examples/translate.aspx

Ashutosh Nilkanth

# re: To the creators of Alchisoft@ Friday, July 23, 2004 11:14 AM

I agree.

The spammers really messed up our email so we had to implement filters.

Are there Web log filters for spammers?

Ken Cox [MVP - ASP.NET]

# re: To the creators of Alchisoft@ Friday, July 23, 2004 11:16 AM

Andrew...umm...you just gave them major exposure...

Scott Galloway

# re: To the creators of Alchisoft@ Friday, July 23, 2004 11:19 AM

Yeah, I wouldn't name them here...
But they did the same to the SharpToolbox forums and kept sending me e-mails at the same time about their product (which I don't want to hear about anymore) while it was already in the list.

Fabrice

# re: To the creators of Alchisoft@ Friday, July 23, 2004 11:48 AM

They even sent me email hehe, there must be some humorous person working there ;)

However I get the feeling resellers are spamming the boards, not [censored] themselves.

Frans Bouma

# re: A UserControl (ascx) event example@ Thursday, July 29, 2004 2:45 AM

[][p

[po

# re: Searching for image upload control for asp.net@ Friday, July 30, 2004 11:47 AM

This it?: http://www.staticdust.net/shop/

Scott Galloway

# re: Good, bad or just a bit ugly : string[] RemoveEmpties(string[] source)@ Friday, July 30, 2004 11:53 AM

Personally I'd go for a different joining method, using a stringbuilder, pass through the fragments list doing AppendFormat on each one that wasn't null...

Scott Galloway

# re: Searching for image upload control for asp.net@ Friday, July 30, 2004 12:31 PM

Thanks,
That looks like it.
Their site seems down, but it is also here :
http://www.asp.net/ControlGallery/ControlDetail.aspx?Control=2160&tabindex=2

AndrewSeven

# re: Good, bad or just a bit ugly : string[] RemoveEmpties(string[] source)@ Friday, July 30, 2004 12:42 PM

Annother thanks :)

I grabbed the chance to create the function JoinStrings(string joiner,params string[] fragments)
, then I ended up with nulls so I added the cruft:


Would you use that approach to avoid the cruft with the ArrayList or to avoid the String.Join?

Would .Append maybe be better than AppendFormat?

AndrewSeven

# re: Good, bad or just a bit ugly : string[] RemoveEmpties(string[] source)@ Friday, July 30, 2004 4:28 PM

To avoid the casting and Arraylist stage - since it really seems pretty unnecessary. Essentially (and there's every chance I'm wrong here as my reflector can't see the method right now!) I believe that string.Join just uses a StringBuilder internally to perform the join. It should be that the version I suggested is of equivalent performance (or very close) to the original string.Join yet avoids the overhead your RemoveEmpties method introduces.

Scott Galloway

# re: Good, bad or just a bit ugly : string[] RemoveEmpties(string[] source)@ Friday, July 30, 2004 4:30 PM

Oh, StringBuilder.Append would of course be faster than AppendFormat:-)

Scott Galloway

# re: Visual Studio Feature Request (new?)@ Friday, July 30, 2004 4:32 PM

I go with that, post with Auto-Convert would be awesome!

Scott Galloway

# re: Good, bad or just a bit ugly : string[] RemoveEmpties(string[] source)@ Saturday, July 31, 2004 3:57 PM

From ILDASM, internalcall...

.method public hidebysig static string Join(string separator,string[] 'value',int32 startIndex,int32 count) cil managed internalcall
{
} // end of method String::Join

AndrewSeven

# re: FxCop :: Do not declare explicit static constructors. Ignoreable?@ Tuesday, August 03, 2004 11:21 AM

Unless the CreateFieldSet method can throw an exception (which you may want to catch and log for instance in the static constructor), you can move the initialization of the Minimal static variable out of the static constructor and remove the static constructor altogether:

public static readonly string Minimal = CreateFieldSet(ProductFields.ProductID, ProductFields.ProductName);

Jason Raneses

# re: FxCop :: Do not declare explicit static constructors. Ignoreable?@ Tuesday, August 03, 2004 12:07 PM

Excellent, thank you.

AndrewSeven

# re: FxCop :: Do not declare explicit static constructors. Ignoreable?@ Wednesday, August 04, 2004 7:25 AM

Since the FxCop HTML page does not explain, what is the problem with declaring explicit static constructors?

Brian Carlisle

# re: FxCop :: Do not declare explicit static constructors. Ignoreable?@ Wednesday, August 04, 2004 8:54 AM

IIRC it was categorized as a performance issue.

I believe it is because at runtime, it is continually checking to make sure that the static contructor has been called and (less certain) it may even call it more than once.

It funny how we approach things sometimes:
I knew I could assign to the readonly field in the static ctor so I changed them from const fields to readonly but I never even tried what Jason suggested, I had automatically used the static ctor.

AndrewSeven

# re: FxCop :: Do not declare explicit static constructors. Ignoreable?@ Wednesday, August 04, 2004 10:17 AM

Thanks for the response--that certainly deserves further exploration, particularly if it is possible for a static constructor to be called more than once.

Just from a style standpoint, I would tend to prefer explicit static constructors because I don't like assigning a value to a field (static or not) when declaring the field.

Brian Carlisle

# re: Wither Application Blocks?@ Tuesday, August 10, 2004 7:45 PM

TrackBack

# re: I am searching for a new TDD example@ Wednesday, August 11, 2004 7:34 PM

TrackBack

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 9:50 AM

Here we use:
FooID (not FooId)
FooSql (not FooSQL)

I believe the published conventions agree camel-case for acronyms of three or more letters and caps for less. So the only possible issue would be if you don't consider ID an acronym *shrug*

-

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 9:54 AM

I have made it a habit of using CamelCase which would indicate that I should be using Id as opposed to ID. I usually reserve UPPERCASE for constants.

I apply the same standard when naming columns in my database entities as well. For example column name would be CustomerId and not CustomerID.

James Steele

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 10:08 AM

I do not consider Id an acronym but rather an abbreviation <sigh>. Thus the use of Id as opposed to ID. I would gather we could debate this as many before us have, with good arguments on both sides of the house.

James Steele

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 10:09 AM

I'm like you, I used to use ID, but fxCop has drilled the Id into me.

firefox

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 11:13 AM

I prefer "ID" as it is consistent with the way the framework names "ID" This also makes it consistant with the pronounciation... eye-dee as opposed to rhymes-with-squid.

Jim Bolla

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 11:29 AM

The confusion over "ID" and "Id" is from it's history: "ID" erroneously crept into our language (and many major dictionaries) due to most people pronouncing it "I","D" during WWII. Older dictionaries from the 40's and 50's usually have an entry for "I.D.", which the generation of lexicographers during the 70's and 80's didn't like. Thus, they removed the periods (since it's not an acronym) and it became "ID"...(which unfortunately conflicts with the abbreviation for "Idaho" and several acronyms like "Intelligence Department", "inner diameter", etc.).

Newer dictionaries have both "ID" and "Id", with a few noting that "Id" is syntactically preferred. (I picked up this tidbit during the late 70's when I worked for a company that phototypeset dictionaries for several of the largest dictionary publishers. I also picked up my penchant for being pedantic from a few lexicographers I knew back then...)

I cringe each time I see "ID" in identifiers of any sort...and go out of my way to change them. FxCop's rule is a good call.

Steve Hall

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 1:39 PM

I'm gonna have to vote ID as common usage in our language dictates. I have yet to visit a single bank, store or government building that had a sign stating "Photo Id required". Although it may be incorrect, every printed form of the word (used in the context of identification) that I have ever seen is spelled ID...not Id. But then again, we're programmers...we make our own rules :) In terms of naming fields/variables, I like the < 3 letters all caps, > 2 cammel case rule.

Mike Barger

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 3:44 PM

I agree with Jim and Mike here. ID has my vote. Eye-Dee. Not 'eyed'...

Wim Hollebrandse

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 3:55 PM

I just uncheck that stupid FxCop rule because it is NOT correct. It's ID people. If you look at the .NET Framework you will find IO, UI, ID all over. The rule is if it's a two-letter acronym/abbreviation then it's uppercase but if it's a word then it's not (e.g. AdRotator). Look at the Class Library documentation folks! Don't you want to be as close to the .NET Framework as possible?

So the bottom line is:
2-Letter Acronym/Abbreviation is UPPERCASE.
2-Letter word (e.g. Ad, Is, etc) is PascalCase.

(Note: the guidelines say PascalCase is for three or more characters but it should say for two letter words as well.)

Someone should really start bugging the MSDN Documentation and FxCop guys to fix this.

The snippet below proves the two-letter rule:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconabbreviations.asp

# When using acronyms, use Pascal case or camel case for acronyms more than two characters long. For example, use HtmlButton or htmlButton. However, you should capitalize acronyms that consist of only two characters, such as System.IO instead of System.Io.

# Do not use abbreviations in identifiers or parameter names. If you must use abbreviations, use camel case for abbreviations that consist of more than two characters, even if this contradicts the standard abbreviation of the word.

Nasseam Elkarra

# re: ID vs. Id (The naming of things)@ Thursday, August 12, 2004 9:17 PM

IO : Input Output
UI : User Interface
ID : Identification ...?

I have this feeling that ID was once an acronym for Identifying Document and thus should be ID.
This corresponds to signs in bars that say everyone must present ID and you don't just say your name.

Most common usage seems to follow this, but in code it usualy just means Identifier (or even Guid)

I think I'm gonna stick with ID, it will require a lot less explaining ;)

AndrewSeven

# re: ID vs. Id (The naming of things)@ Saturday, August 14, 2004 8:06 PM

I see all the arguments for a strict adherence to camel casing and cannot argue with the logic. I am retraining myself to use Id instead of ID. Still, I wish it were not so.

One of the biggest hurdles I faced learning C# after writing VB is its case sensitive nature. Writing code, or an email for that matter, I like to write out acronyms with capital letters. In VB I would write SQLConnection. I am now used to writing things out the way they should be. But as a matter of style I still like my old patterns better.

Michael Henderson

# re: NUnit and ConfigurationSetings AppSettings@ Sunday, August 15, 2004 12:06 PM

Since your main program in this case is NUnit - not your own program - you can simply add whatever appsettings you have your own .config file into the NUnit .config file.

This file should be something like C:\Program Files\NUnit 2.2\bin\nunit-gui.exe.config.

\Steven

Steven M. Cohn

# re: NUnit and ConfigurationSetings AppSettings@ Sunday, August 15, 2004 1:34 PM

Alternative, you can use NUnit's out-of-the-box support for configuration files. If your unit tests live in foo.dll, just put a config file called foo.dll.config in the same directory as your test .dll and NUnit will load the configuration for you.

Steve Maine

# re: NUnit and ConfigurationSetings AppSettings@ Sunday, August 15, 2004 2:22 PM

I downloaded and installed 2.2.

I had configured my test to use the project file rather than the assembly.
In Project|Edit, this meant that it wasn't looking in the bin for the config.

Changing the ApplicationBase property or using the dll directly seems to resolve the problem.
I would also suggest verifying the config file name in the same dialog window.

AndrewSeven

# re: ID vs. Id (The naming of things)@ Sunday, August 15, 2004 3:23 PM

We made a choice at the office that we should use camel case naming thus making "Id" the approriate choice although some will use the "ID" form still. I am a strong believer in "no exceptions" thus I find the Id form better.

Søren Lund

# re: I am searching for a new TDD example@ Monday, August 16, 2004 9:54 AM

TrackBack

# re: ID vs. Id (The naming of things)@ Tuesday, August 17, 2004 7:44 AM

Here is commentary on the subject from the 'horses mouth':

http://blogs.msdn.com/brada/archive/2003/11/26/50848.aspx

Personally I'm converting myself over to use the FxCop way.

Darrel

# re: NUnit and ConfigurationSetings AppSettings@ Wednesday, August 18, 2004 9:54 AM

OK, I spent aaaaages working round this one, before it all suddenly became very simple. Given any NUnit project file, say "foo.nunit", create a file in the same folder called "foo.config". Place all your settings in there, and the applications will have them in their context. You can then link your app.config/web.config files to use the settings out of this file, thus needing maintenance in one place only.

Personally, I have a custom written GetSetting() method in every application I write. It checks to see if the key "NUnit.Context" is true. If it is, it reads the config document manually (as XML), otherwise it uses the built in .NET classes. That way the only content in foo.config is a single key to notify the application of its context.

JS Greenwood

# re: ID vs. Id (The naming of things)@ Wednesday, August 18, 2004 9:57 AM

I always use "Id" in C#/VB.NET/any other OO language. *But* I religiously use "ID" in database schemas.

Not looking forward to the religious battle I'm going to have with myself when SQL Server 2005 makes it to gold code...

JS Greenwood

# re: Hot Fix :: VS.Net 2003 and VSS Dll Locking issue :: Please make it available@ Tuesday, August 24, 2004 11:39 AM

We have the exact same problem here. The fix should be public!
It's a pain to have to restart VS each time.

Fabrice

# re: Hot Fix :: VS.Net 2003 and VSS Dll Locking issue :: Please make it available@ Tuesday, August 24, 2004 12:55 PM

We would also need this fix, this locking problem is really annoying when having multiple projects containing user controls...

Matt

# re: My site is gone, no more UITemplates.net from webmatrixhosting.net@ Thursday, September 16, 2004 9:45 AM

I can suggest you the great Aruba (http://www.aruba.it) that offers unlimited webspace + emails + domain reg for 24euro/year.<BR>
ASP.NET on W2003.<BR>
I've used their servers for more than 4 years now.

Aruba

# re: My site is gone, no more UITemplates.net from webmatrixhosting.net@ Thursday, September 16, 2004 10:33 AM

I use http://www.webhosting4life.com
used it for a couple of weeks
and i've bought it because some guys here at weblogs.asp.net said they where good :-x

Gert Van Gool

# Comments For Post@ Friday, September 17, 2004 3:48 PM

TrackBack

# Comments For Post@ Friday, September 17, 2004 3:50 PM

TrackBack

# MSIB UrlBuilder ignores Commerce Server's PutTicketInURL option@ Friday, September 17, 2004 3:51 PM

TrackBack

# re: Windows won't start, can't find product key.@ Tuesday, October 05, 2004 8:36 AM

I have a linux distro that you can boot from then logon to the NT partition and reset the Admin password.

I had to use it in similar circumstances once to recover a DMZ server. I have it as an ISO image (1.5mb). Let me know via the contact form on my website if you'd like a copy.

Alternatively, you could look at ERD Commander from Winternals.com which uses a modified WinXP PE to do the same job

Adam

# re: Windows won't start, can't find product key.@ Friday, October 08, 2004 10:17 PM

Found the key.

I tried a lot of things and always ended up in the same place, everything seemed fine but the windows login screen would never appear.

Time for a clean install I suppose :)

AndrewSeven

# re: Windows won't start, can't find product key.@ Sunday, October 10, 2004 11:18 PM

Hello,

I am not aware of a way to look into the Windows XP registry to locate the product key. This was possible in Windows 98 but MS has since ditched this hack. Of course the product key is located SOMEWHERE in the registry but not in a recognizable form (to tbe best of my knowledge). It would help if you posted the KB article so we could look at it. You are able to access registry files from other installations (link for this included below) however it would not do you any good if you do not know where to find the key. If you were able to get into a running Windows installation there are third party utilities that will show your product key. In this case I would suggest calling MS support, give them the part # off the CD, tell them the story, and beg for another key. MS support may even be able to get you into the previous installation. Feel free to email me at john.fuller@gmail.com if you have more questions. Hope this helps!

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/regedit_s2.mspx

John Fuller

# re: Windows won't start, can't find product key.@ Monday, October 11, 2004 11:28 AM

The product key still seems to be in the registry files, but I got it from the .dat file, not and an exported .reg.

I reinstalled with the good key and activated, so I've gone down the Reinstall road.


AndrewSeven

# re: IOpine: Where do my comments go?@ Saturday, November 27, 2004 10:32 PM

The URL you leave should point to a script that surrepticiously records the HTTP referrer and then redirect the surfer to your personal website.

I mean, if people don't see your comment and go, "Whoa, that's awesome, who is this guy? *click*" then the comment probably is worth discarding...

Capt. Jean-Luc Pikachu

# re: IOpine: Where do my comments go?@ Sunday, November 28, 2004 5:25 AM

A simple solution, even if not perfect:

http://www.google.com/search?q=link:http://weblogs.asp.net/andrewseven/

Adrian Florea

# re: IOpine: Where do my comments go?@ Sunday, November 28, 2004 9:41 AM

Pikachu:
Sometimes, I'm interested in following a conversation, I add a comment, but by the next day I have no idea where the posting was.


I've been using google to find "AndrewSeven"

AndrewSeven

# re: IOpine: Where do my comments go?@ Sunday, November 28, 2004 9:47 AM

http://weblogs.asp.net/andrewseven/articles/TestTarget.aspx?messageBodyLink

AndrewSeven

# re: IOpine: Where do my comments go?@ Sunday, November 28, 2004 4:17 PM

I have two approaches: using WebMon (a web page monitoring app) and adding the page to a temporary Maxthon Group. I thought the WebMon approach was great until I started to get false change notices, due to the fact that some sidebar data has changed or something. So I find the Maxthon Group placement more efficient. I wanted to blog about this experience and your post gives me the incentive to do it.

My post on Maxthon tracking:

http://dbvt.com/blog/archive/2004/11/18/510.aspx

Post on WebMon tracking:

http://dbvt.com/blog/archive/2004/11/18/518.aspx

Dave Burke

# Two-week report on comment tracking with WebMon@ Sunday, November 28, 2004 4:30 PM

TrackBack

# Two-week report on comment tracking with WebMon@ Sunday, November 28, 2004 4:34 PM

TrackBack

# re: All abstractions leaky are leaky. All. But one?@ Friday, December 03, 2004 12:50 PM

TrackBack

# re: Creating Image Mouseovers@ Friday, December 10, 2004 8:10 PM

TrackBack

# re: IOpine: Where do my comments go?@ Friday, December 10, 2004 8:13 PM

Just gotta post a link to a page in the content...

AndrewSeven

# re: Joel gets it right, well...mostly.@ Monday, December 13, 2004 4:44 PM

TrackBack

# re: Changing Abstractions in an Object Model is Hard@ Sunday, December 19, 2004 1:32 AM

TrackBack

# re: The Last Configuration Section Handler You'll Ever Need, take 4@ Tuesday, January 11, 2005 8:28 PM

TrackBack

# re: Looking for strategies for using the CLR Profiler and ASP.NET@ Friday, March 18, 2005 2:01 PM

I wrote up an article using NProf, which allows you to select namespaces more easily (and is also pretty easy to use in general, though not terribly powerful yet).

Take a look and leave a comment if you have a particular question:
http://codebetter.com/blogs/darrell.norton/archive/2004/12/22/38226.aspx

Darrell

# re: Looking for strategies for using the CLR Profiler and ASP.NET@ Friday, March 18, 2005 2:06 PM

Thanks Darrel, I gave nProf a really quick try. If I'm stuck I try again.

AndrewSeven

# Design Time Directory in VS 2005@ Sunday, March 20, 2005 2:24 PM

TrackBack

# re: Long Acronyms Should Be Pascal Cased@ Wednesday, April 06, 2005 8:27 PM

TrackBack

# re: The long and Binding Road@ Friday, May 20, 2005 2:32 PM

Javier: I'm not sure what you are talking about. Did you write an object relational mapper?

My post is not about how you should set up your buisness entities, it is about what you can do with DataBinder.Eval().

The specific thing is the "extra" dot in the final version which gets you past the indexer.

In the specific case where I was testing things, "Container.DataItem" is an MSIB ProductPosting and ProductProperties returns the same DataSet you would get by calling GetProductProperties on a CommerceServer product.
I have no influence over how MS designs the APIs of Commerce,MCMS, and MSIB ;)


AndrewSeven

# re: What the Hex is going on in the VS.Net 2003 debugger.@ Wednesday, May 25, 2005 9:16 AM

You did switch. Down in the variables window, look at the context menu. THere is an entry you may want to trigger.

Thomas Tomiczek

# re: What the Hex is going on in the VS.Net 2003 debugger.@ Wednesday, May 25, 2005 10:59 AM

Yay!

Thank you.

AndrewSeven

# re: The long and Binding Road@ Tuesday, May 31, 2005 10:30 PM

Andrew:

Javier Luna is a spammer, the exact same comment has been posted to many blog posts at http://weblogs.asp.net

for example:
http://weblogs.asp.net/jezell/archive/2005/05/23/408518.aspx#409177
http://weblogs.asp.net/despos/archive/2005/05/12/406603.aspx#408175

I'm shamed but I had to admit that he's my compatriot/countryman, I've received spam mails from him asking for a job.

Rolando

# re: The long and Binding Road@ Wednesday, June 01, 2005 9:02 AM

Thanks, I noticed the very same text in several places, bye bye to his comments :)

AndrewSeven

# re: VS 2005 Beta2 is making me feel dumb.@ Thursday, June 09, 2005 12:36 PM

I'm a bit peeved that 'Open Solution' is a submenu

come on!

bilbo

# re: VS 2005 Beta2 is making me feel dumb.@ Thursday, June 09, 2005 1:11 PM

I think you're missing Microsoft Visual Web Developer 2005 in there.

Vurg

# re: VS 2005 Beta2 is making me feel dumb.@ Thursday, June 09, 2005 2:01 PM

Missing Web Dev... could be.
It seems that I have "Team Suite Edition" is that perhaps the problem.

AndrewSeven

# re: VS 2005 Beta2 is making me feel dumb.@ Thursday, June 09, 2005 6:31 PM

Thanks Vurg.
I'm not sure how I missed that in the setup features, just being dumb.
Either that or it is too darn close to the J#.

So make sure to select Visual Web Developer.

AndrewSeven

# re: VS 2005 Beta2 is making me feel dumb.@ Thursday, June 09, 2005 7:28 PM

1) make sure you have visual web developer installed.

2) vs2005 website are not projects as we know them. You have to go to File | New WebSite to do that.

It be different.

darth obvious

# re: VS 2005 Beta2 is making me feel dumb.@ Friday, June 10, 2005 12:33 AM

Same as in Beta 1: File | New Web site. Or just open an existing disk folder, IIS site or remote site via http or ftp.

Mikhail Arkhipov (MSFT)

# re: VS 2005 Beta2 is making me feel dumb.@ Friday, June 10, 2005 12:34 AM

Actually, you either need VWD Express or VS Standard or higher. C# Express is not able to create Web sites.

Mikhail Arkhipov (MSFT)

# re: VS 2005 Beta2 is making me feel dumb.@ Friday, June 10, 2005 9:00 AM

Thanks but...

darth obvious:
Did you read my comment? The one just before yours :P

Mikhail too...

AndrewSeven

# re: OT: Get your own personal Guid. Only 2 days left ...@ Thursday, June 23, 2005 3:24 PM

Don't bid on that. I got a few free GUIDs if u want.

Sahil Malik

# re: OT: Get your own personal Guid. Only 2 days left ...@ Thursday, June 23, 2005 5:14 PM

I'll sell you 100 GUIDs for half the price!

loneprogrammer

# re: OT: Get your own personal Guid. Only 2 days left ...@ Thursday, June 23, 2005 8:54 PM

I can get you the very same GUIDs he's selling.

blah

# re: OT: Get your own personal Guid. Only 2 days left ...@ Friday, June 24, 2005 3:04 AM

Ahh, but how do you know what GUID I'm selling, until the auction's over! :-)

Richard Hundhausen

# re: OT: Get your own personal Guid. Only 2 days left ...@ Friday, June 24, 2005 4:18 AM

Please don't whore your blog on Daily WTF.

e

# re: OT: Get your own personal Guid. Only 2 days left ...@ Friday, June 24, 2005 12:30 PM

> Ahh, but how do you know what GUID I'm selling,
> until the auction's over! :-)

I've got all the same GUIDs right here. There taking up an AWFUL LOT of room, too. I'd sure like to get rid of them.

blah

# re: VS 2005 Beta2 is making me feel dumb.@ Monday, June 27, 2005 9:25 AM

This also really annoyed me. I wonder how it will work for those of us running on a different source control provider...

We use subversion and the entire solution directory is part of the source tree. It'll suck if the website is not part of that same tree.

Does the old 2003 method of getting Visual Studio to do your project organization still work? (Create the subdirectory first, Webshare it, then create the web project of the same name?)

Ben Scheirman

# re: VS 2005 Beta2 is making me feel dumb.@ Monday, June 27, 2005 9:31 AM

From the little bits I've read, I think SubVersion will work without problems.

I'm not usre what you mean by "old method". I use normal asp.net apps for my web projects, but I add them to VSS by hand.

The only issue I have so far is that I keep developer test pages that have a buil action set to "none".

AndrewSeven

# re: Attaching the debugger to nUnit@ Friday, October 14, 2005 3:19 PM

I also recommend checking out TestDriven.NET for 'right click>Test With... Debugger'

Dylan

# re: Attaching the debugger to nUnit@ Friday, October 14, 2005 3:26 PM

Thats a good add-in :)

I'm using the macro to attach to other things too...

AndrewSeven

# re: Attaching the debugger to nUnit@ Friday, October 14, 2005 3:42 PM

Useful macro. I do almost all my business tier debugging from within NUnit, and an alternative approach I use is:
- have your unit tests in a separate class library project
- In your unit test class library project's configuration properties, under Debugging set Debug Mode = Program, click on Apply, set Start application to the NUnit executable, set Working Directory to the directory with your NUnit project, and set Command Line Arguments to the name of your project.
Then you can debug as usual from VS.NET by setting your unit test class library as the startup project.

Joe

# re: Attaching the debugger to nUnit@ Saturday, October 15, 2005 8:07 AM

Awesome. I'm always for automation.

Ara Pehlivanian

# re: Slashdotted: Does Visual Studio Rot the Mind? @ Thursday, October 27, 2005 4:20 PM

I thought YOU were Slashdotted. I was going to say "well congratulations!" But it seems you weren't ;-)

Ara Pehlivanian

# re: Slashdotted: Does Visual Studio Rot the Mind? @ Friday, October 28, 2005 5:27 AM

Just to be clear: the term 'slashdotted' means: your website went down because it was mentioned on the FP of slashdot and a lot of people visited the website because of that. So it doesn't mean: 'you're on the FP of /.', it actually means the site went down because of too much traffic. ;)

Frans Bouma

# re: Slashdotted: Does Visual Studio Rot the Mind? @ Friday, October 28, 2005 9:17 AM

Thanks Frans,

I guess that shows my ignorance of the slashdot ettiquette.
I'll change the title :)

AndrewSeven

# re: Does Visual Studio Rot the Mind? Slashdot Link@ Friday, October 28, 2005 1:22 PM

Frans: But being Slashdotted is still a reason for congratulations. After all, who wouldn't want so many visitors that their server dies?

Ara Pehlivanian

# re: Does Visual Studio Rot the Mind? Slashdot Link@ Friday, October 28, 2005 2:23 PM

But I was neither Ara :P

AndrewSeven

# re: Live Messenger Send Offline IM@ Thursday, December 22, 2005 4:28 PM

Yahoo's messenger service has had the "offline msg queue" since v1 ;-)

Eric Newton

# re: Live Messenger Send Offline IM@ Thursday, December 22, 2005 9:02 PM

ICQ had it from early on too. I always thought of it as a missing feature

AndrewSeven

# re: Live Messenger Send Offline IM@ Thursday, December 22, 2005 9:03 PM

I lost my contact list after Live Messenger logon

bestcomy

# re: Live Messenger Send Offline IM@ Friday, December 23, 2005 7:03 AM

About time! ;)

Ara Pehlivanian

# re: Growing dislike for chords in 2005@ Thursday, March 02, 2006 2:49 PM

Andrew,

Try this great macro for discovering and generating nice a HTML document of all the keyboard shortcuts for VS 2005.

http://www.codinghorror.com/blog/archives/000412.html

todd brooks

# re: Growing dislike for chords in 2005@ Friday, March 03, 2006 4:16 PM

tools-options-keyboard

Roy Osherove

# re: Growing dislike for chords in 2005@ Friday, March 03, 2006 4:24 PM

Methinks: Yes, thats where I am Roy, its a place I like :D
I usualy go via Tools|Customize : Keyboard

Must I look closer? Yes!

So I check again. Lo and behold , after hitting CTRL+B in the "Press shortcut keys", the "Shortcut currently used by" lists all usage, including the chords.

Doh! and thank you Roy.

AndrewSeven

# re: Canada is NOT at war@ Tuesday, April 25, 2006 1:01 PM

Are you sure we aren't officially at war? It seems to me that by joining the U.S. in their war effort we automatically went to war. I mean, when your troops are on someone elses soil and you're allied with the aggressor, you're kinda at war, no?

Ara Pehlivanian

# re: Canada is NOT at war@ Tuesday, April 25, 2006 1:09 PM

I'm pretty sure that being at war requires a specific act of parliament; a declaration of war.
If we were is a declared state of war, deaths could be expected on a regular basis.

In war you can shoot first and ask questions later, our soldier do not have that power at this time.

AndrewSeven

# re: Canada is NOT at war@ Tuesday, April 25, 2006 2:01 PM

Western states rarely declare acts of war these days because voting constituents do not like to go to war. Most governments recognize this and try to balance that with their own perceived responsibilities on the world stage. Confusion has arisen with so-called "peace keeping" activity because some of the activities closely resemble those of occupational forces; in Canada's case one of suppressing violent outbursts while promoting local infrastructure rebuilding.

When a state "goes to war" there is a great galvanizing activity which can take place within the population, sometimes not always in the best interest of the governing members. Therefore it is in the best interest of a government to be very careful about how they declare their actions, ie, are we "at war" or are we "peace keeping"? Conducting warfare is Big Politics; one's way of life is held in the balance and leaders rarely step into this lightly.

Bland

# re: Windows Communication Foundation :: Confused I am@ Sunday, May 14, 2006 8:32 AM

I have the same problem. Can't seem to find that file. But the xml files are there in the directory. What's wrong.

Email me : rkg@pacific.net.sg

Rakesh

# re: Windows Communication Foundation :: Confused I am@ Monday, May 15, 2006 8:49 AM

It seems like I had missmatched versions of Indio and the SDK.

I installed the Feb CTP instead of trying to get the Jan CTP (go live) and it went much better.
No, I won't be emailing you.

AndrewSeven

# re: Who decides "off topic"?@ Thursday, August 10, 2006 5:21 PM

Just use any of the tags listed below next to the tag box and you should be fine. There is a list of 20-30 tags that the main feed pulls from.

Jesse Ezell

# re: Who decides "off topic"?@ Thursday, August 10, 2006 5:21 PM

Yes, anything not tagged using tags related to content on this site is simply not displayed in the aggregate feed. We received a bunch of feedback from readers and authors that weblogs.asp.net went off topic a lot - as in personal stuff not in any way related to the .NET community. Obviously it's pretty easy to circumvent though -- since it's all self responsibility.

Rob Howard

# re: Who decides "off topic"?@ Friday, August 11, 2006 9:02 AM

If I remember correctly, the massive off-topic issues were in part due to integration of the blogs from msdn into the asp.net feed.

I really haven't used the blog much since it was converted to CommunityServer.

AndrewSeven

# re: CruiseControl.Net with MsBuild is giving me some strange behavior.@ Friday, September 29, 2006 2:15 PM

The Thoughtworks site for CCNet suggests that you post support-related questions to their mailing list:

http://confluence.public.thoughtworks.org/display/CCNET/Mailing+Lists

MikeD

# re: TDD / nUnit Links@ Thursday, May 24, 2007 6:08 AM

Currently we are using Install Shield 12 for packaging the deployment setup. We wanted to perform a unit test to make sure everything is as required in the packaged (.msi) file.

We found the NUnit MSI would be the right tool in this scenario.

In this article, we can find how we could call the command line code to run the unit test for MSI.

Can we get some sample code or tutorial (URL) for the same? It would be a great help.

How do we build the config.nunit file, which is passed as a parameter to NUnitMSI.exe?

Thanks in advance.

Arshath

arshathl

# re: Turn off the shutdown tracker in Windows 2003@ Thursday, June 07, 2007 4:30 PM

thanks!!!

helen

# re: ID vs. Id (The naming of things)@ Wednesday, July 25, 2007 3:24 PM

Make sure you are consistent... and make sure you are obeying the laws.  Therefore, make sure you are always using Id.  The rules are there for a reason.  Don't let your personal emotions get in the way of doing what's right.

Jim Smith

# re: Windows won't start, can't find product key.@ Friday, August 31, 2007 10:01 PM

How to find Windows Product Key on Windows XP CD

Find Windows XP Product Key from the Windows XP CD:

1) Insert Windows XP cd into a working computer.

2) Exit the Autorun introduction.

3) Open "My Computer"

4) Right Click on the Windows XP cd-rom drive and select explore.

5) Open the USWXP32P_ZX folder.

6) Open the sysprep folder.

7) Open unattend.txt

Your CD's product key is contained within the unattend.txt file.

Note: On some system disks, USWXP32P_ZX is a hidden folder. If you cannot locate the folder, you may also search for unattend.txt and mark "Search Hidden Files".

As best I am aware, this should work on Microsoft Windows XP Home, Windows XP Professional, and OEM versions of Windows XP from restore disks.

deltafour

# re: Rant : View In Browser on Context Menu@ Monday, September 17, 2007 7:49 PM

Start debugging your application then...

Open the page-to-debug from an external browser.

Open IE and type localhost.com/PageToDebgg.aspx

That should do it :)

LostAndFound

# re: IE6 UI , Vista and Firefox@ Tuesday, September 18, 2007 3:28 PM

How about this:  addons.mozilla.org/.../3984

Dave

# re: IE6 UI , Vista and Firefox@ Tuesday, September 18, 2007 3:58 PM

Not a solution but there's also an IE7 theme for Firefox:

addons.mozilla.org/.../4988

Denny Ferrassoli

# re: IE6 UI , Vista and Firefox@ Tuesday, September 18, 2007 4:22 PM

The ie6 skin is close, but not quite there:

addons.mozilla.org/.../4327

combine with ie tab and it will feel like ie6 (only rendering with the ie7 engine)

Bill

# re: IE6 UI , Vista and Firefox@ Tuesday, September 18, 2007 4:29 PM

Have you tried Maxthon?

http://www.maxthon.com

Mladen

# re: IE6 UI , Vista and Firefox@ Tuesday, September 18, 2007 7:56 PM

http://www.avantbrowser.com

The only replacement to firefox that Ill use.. Uses 60% less memory than FFox, much faster, constantly updated.

Avant browser is firefox without having to install all the addons you need to make firefox run the way you want.

I have tried Maxthon but its too much of a shellshock in UI and usability coming from FireFox and I think Avant is more lightweight and feature rich.

GravyPlaya

# re: IE6 UI , Vista and Firefox@ Wednesday, September 19, 2007 11:05 AM

As a web developer, I use FireFox 100%.

Their web developer toolbar is more intuitive than IE, and FIREBUG kicks the crap out of IE's DOM explorer and toolbar combined.

I use the... um... IE/FireFox switch add on. It lets me turn a tab in FF into an IE tab (Renders the page using the IE Engine in firefox).

My laptop only has 2G of memory on it, + a 256M Graphics card so it's more like 1.7Gigs of memory. FireFox does slow down at times... but I have radio streaming and 10 tabs open so :\ haha.

FireBug FireBug FireBug....

Ryan Ternier

# re: IE6 UI , Vista and Firefox@ Thursday, September 20, 2007 9:21 AM

My concern isn't which browser is better, I don't want to care about the browser.

I just want to continue using a comfortable (to me) UI to browse the web.

I installed the IE6 skin and IE tab, and I was able to happily forget which browser I was using.

Thanks

AndrewSeven

# re: IE6 UI , Vista and Firefox@ Sunday, September 23, 2007 12:04 AM

FYI Ryan - Usually if your video card/graphics card says 256MB on it, it is dedicated to the card and that means it is not sharing it with your system.  So you would add the 256 to your 2 gigs to give to 2.25 gigs.

Jeff

# re: ID vs. Id (The naming of things)@ Thursday, October 25, 2007 10:47 AM

I vote for ID.  One reason is that the plural looks better.  Consider: "One ID, two IDs", versus "One Id, two Ids".  "Two Ids" looks like it should be written as "Two Id's", but then it gets confused with a possessive ("enforce the Id's uniqueness") or an is/has abbreviation ("my Id's changed recently").

Carl

# re: Url Rewriting/Remapping with an IHttpHandlerFactory @ Friday, November 02, 2007 9:04 PM

Your a GENIUS !!!

TThanks a million

Finally a good for URL REWRITING !!!!

A+

Tief

Tief

# re: A shortcut to TFS Explorer@ Monday, November 05, 2007 11:25 AM

For those with keyboard-only OCD:  ctrl+\, ctrl+m

Joe

# re: A shortcut to TFS Explorer@ Monday, November 05, 2007 2:56 PM

Great tip! Thanks.

Raj Kaimal

# Live Messenger Send Offline IM@ Monday, November 26, 2007 8:53 AM

Pingback from  Live Messenger Send Offline IM

Live Messenger Send Offline IM

# Growing dislike for chords in 2005@ Monday, November 26, 2007 4:59 PM

Pingback from  Growing dislike for chords in 2005

Growing dislike for chords in 2005

# re: ID vs. Id (The naming of things)@ Wednesday, December 26, 2007 10:18 PM

Just came across this one. I should note that Id is also a psychological term coined by Freud. That being the case, ID seems a good way to differentiate the former. The previous poster mentioned "two Ids", which sound more like something that came out from a psychology book than from a program.

Esteban

# re: ID vs. Id (The naming of things)@ Thursday, January 17, 2008 4:47 AM

I think the mistake was that an abbreviation was chosen in the first place! Abbreviations are nasty.

They should have picked an acronym perhaps, like DI - Data Identifier.

Jake Collins

# re: Attaching the debugger to nUnit@ Wednesday, February 06, 2008 5:22 PM

Excellent...comes very much in handy. Thanks for sharing.

Matthew Nichols

# re: What the Hex is going on in the VS.Net 2003 debugger.@ Tuesday, February 12, 2008 2:08 PM

Thanks for that little information, saved me big time.

Farooq Karim

# re: ID vs. Id (The naming of things)@ Wednesday, February 13, 2008 5:27 AM

see MSDN

Capitalization Rules for Acronyms

msdn2.microsoft.com/.../ms229043.aspx

"NOTE:

The two abbreviations that can be used in identifiers are ID and OK. In Pascal-cased identifiers they should appear as Id, and Ok. If used as the first word in a camel-cased identifier, they should appear as id and ok, respectively."

serhio

# re: Windows won't start, can't find product key.@ Thursday, February 14, 2008 5:41 AM

Don't waste your time with the "unattend.txt" TIP.  DON'T WORK

If you want to find your Admin Passwoed download a program called "Orphcrack". put on a disk and boot from the disk. Works 99% of the time.

If you want to find your product key, download "Magic Jelly Bean". It will bring the product key up.

Your antivirus software might come up with a warning for magic jelly bean.  Ignore it, microsoft even supports the use of it..

Hope this helps.

   Good Luck!!!!

Timbo

# re: Finding a Repeater's controls during postback@ Thursday, February 14, 2008 5:45 AM

Thanx........really very helpful post

Fozia

# re: IE6 UI , Vista and Firefox@ Monday, March 31, 2008 10:28 AM

Thanks for this. Some really useful replies. Maxthon looks very interesting!

The Super Amazing Homepage

# re: Url Rewriting/Remapping with an IHttpHandlerFactory @ Wednesday, April 23, 2008 3:38 PM

Great article, thanks for leaving a comment and showing me the factory approach

albertpascual

# re: Whats the deal with HttpCachePolicy.SetCacheability()???@ Thursday, May 15, 2008 7:55 AM

I guess it doesn`t work in firefox but it works in IE

beetle

# unattend txt product key not working@ Saturday, May 24, 2008 1:56 AM

Pingback from  unattend txt product key not working

unattend txt product key not working

# i m too dvd ripper@ Wednesday, June 11, 2008 1:12 PM

Solution: There are a number of transformation packs that you can use. One of them that I recommend is called‘ Windows Vista Transformation Pack 7‘. After installing this free program, it will tune up your system to look like Vista. Although you have

i m too dvd ripper

# re: My Blog's Worth@ Tuesday, June 24, 2008 5:01 PM

mines worth $4,516 =)

www.bttfblog.com

Joe

# re: Casting and Refactoring @ Friday, July 04, 2008 4:23 AM

Hi,

I have problem with two type for searching control. I have 5 User Controls i one page, and I try to find label for error message in 1 user control.

First step:

this.Parent.NamingContainer.Controls[0].TemplateControl.Controls[7]

Second step:

this.Parent.NamingContainer.FindControl("ctl00").TemplateControl.FindControl("lblErrorMain")

In debug mode, I see that everything is ok with contolID, I mean Controls[0] has controlId "ctl00", and Controls[7] - "lblErrorMain", but in second step I have error:"System.NullReferenceException: Object reference not set to an instance of an object".

Please write me your solution, tnx

Nikola

# re: Finding a Repeater's controls during postback@ Sunday, July 06, 2008 1:34 PM

Hi, perfect example, a simple elegant solution i couldnt find anywhere. thank you for saving me a lot of time.

Slomka Elia

# re: ID vs. Id (The naming of things)@ Wednesday, July 23, 2008 7:26 AM

It's simple - if you go according to CamelCase or pascalCase, then it follows that for the common rule is to start each new word with a Uppercase letter, thus identity document would become: ID, BUT, BUT, BUT, in our case the word in question is: identity or identifier, thus it can only become Id, because it's one word only.

werner

# re: IE6 UI , Vista and Firefox@ Wednesday, August 27, 2008 2:36 AM

+1 for maxthon

used if for years

Simon

# re: The wallpaper is not funny (house of spam)@ Tuesday, September 09, 2008 5:10 PM

Yeah it is boring!

lkempe

# re: The wallpaper is not funny (house of spam)@ Tuesday, September 09, 2008 10:26 PM

Could it be that nobody from the ASP.NET community reads our blogs so they know about the wallpaper spam? <grin>

Ken Cox [MVP]

# re: Turn off the shutdown tracker in Windows 2003@ Thursday, October 02, 2008 9:51 PM

To open Group Policy type gpedit.msc in console or run entry.

Andy N.

# re: My Blog's Worth@ Tuesday, November 04, 2008 8:19 AM

I must say it is worth writing  a blog because you can leave something after you....This is the least somebody can do in life.

Narender Rawat

# re: Growing dislike for chords in 2005@ Friday, November 07, 2008 5:33 AM

Thanks a lot. Now I was able to make Ctrl+M working by deleting several Ctrl+M, ...s.

Đonny

# re: My Blog's Worth@ Monday, December 01, 2008 1:46 AM

You should also consider http://www.websitefact.com ; they provide a nice summary of the website performance. I find their WF rank being more accurate than Alexa.

john

# re: My Blog's Worth@ Monday, December 08, 2008 11:59 AM

I think if you claim your blog on Technorati, it's worth miraculously goes UP

Value Of A Blog

# re: I picked up an OCZ NIA nerve and brain wave controller@ Saturday, January 17, 2009 5:19 PM

Awesome news! I'll be getting one as soon as I can to test out on other FPS games and possibly a strategy like Starcraft which should have the same results as WC3 for you.

Glance for strafe does sound a little...painful, since typically you want to focus your crosshairs on the target while strafing.

John

# re: ID vs. Id (The naming of things)@ Wednesday, January 28, 2009 4:56 AM

I'm going for ID.

First of all, it's the accepted norm in every day use. Secondly it is in accordance with the .NET naming conventions. Lastly a good number of people seem to be under the impression that ID actualy stands for Identification, and while this seems to be what most people think, it did originaly stand for Identification Data/Document. Hence it is, in fact, an acronym AND an abbreviation.

Chris

# re: Windows won't start, can't find product key.@ Thursday, March 12, 2009 8:13 PM

I've tried looking at the unattend file on a disk with the known product key, and the product key in the file does not match what is supplied with the disk.  So, my impression is that what is in the unattend file is just an example.

Bobo

# re: Windows won't start, can't find product key.@ Friday, March 13, 2009 11:11 PM

The unattend file is for use on a network with an already valid key. The product key under the unattend folder WILL NOT work on a standalone machine.

Dank

# re: Url Rewriting/Remapping with an IHttpHandlerFactory @ Saturday, May 02, 2009 6:24 AM

pls, give me a code sample?

I tried but not run.

pls, help me

Thanks alot

Jonathan Nguyen

# re: Url Rewriting/Remapping with an IHttpHandlerFactory @ Tuesday, May 12, 2009 1:13 PM

Jonathan : This is the code sample, it shows the IHttpHandlerFactory approach. The sample worked when I posted it.

AndrewSeven

# re: Who decides "off topic"?@ Monday, May 18, 2009 7:55 PM

Hello. I am Jenny. Im new to the forum and just wanted to say i welcome all of you and hope we will have some fun here together :)

heremorma

# re: I picked up an OCZ NIA nerve and brain wave controller@ Thursday, May 28, 2009 5:45 PM

Bought it today...and its fun to play with... the brainfingers are pretty hard to figure out, and i know i will be trying for a long time...but about the Glance for strafe.. Dont use it for strafing, but turn left or right, just like the old days... i still use WASD, but im looking left & right with glancing, eyebrowes are zoom and jaw is shooting... Now try using a brainfinger for reload :D

Jazz

Jazz

# re: Implementing a ViewAsText property for a WebControl at design time@ Thursday, July 09, 2009 5:26 AM

Hi Andrew,,, I need to add ScriptManager control with my custom control when it dropped to page,but only when ScriptManager control doesn't already exists in page,,,

onlooker