Life, Surf, Code and everything in between
White Papers | Free Tools | Products | Message Board | News |

Last 24 Comments

re: Compilation and Deployment in ASP.NET 2.0 Article posted
Yesterday @ 3:41 pm | by Tom

Thank you so much for this article. Was exactly what I needed to understand the mechanics of the compilation system; Microsoft seem to not be interested in explaining it!
re: Updated jQuery Calendar to jQuery DatePicker
Yesterday @ 3:05 pm | by Lane

For those who've reported the problem with ASP.NET validators and the error message "Error: 'length' is null or not an object," I found a lot of comments in the blogosphere about how to adjust the javascript code. But a simple solution that I implemented was just to include this when I declare the control on my aspx page:

OnClientSelect="function() {}"

re: Loosing a Cookie when switching from http:// to https://
Yesterday @ 1:06 pm | by Zahid Khan

I have cookie issues as well while transitioning between my applications, one sitting on HTTP and the other on HTTPS. These are login cookies are created on HTTP site (which has the login) and are accessible on the HTTPS site. However during logout from the HTTP site, my logout servlet which is on the HTTPS site is not able to remove the login cookies. As a result the user remains logged in!

Incidentally, everything was working fine on my test environment where both applications were under HTTP. Any clues ???
re: Implementing a jQuery-Datepicker ASP.NET Control
Yesterday @ 12:22 pm | by Tom

With a master page it will not work without doing this, i spent (wasted) hours on it. Thus This solution works great, but if you have a master page, you must visit this link below (it is not my article or site, i commented on it, as i had 1 issue i resolved)
http://blog.waleedmohamed.net/2009/12/aspnet-master-page-and-jquery-reference.html
re: IIS 7 Error Pages taking over 500 Errors
Yesterday @ 10:38 am | by Keith

Hey Rick,
Thanks so much for this pointer. Saved the day. This is exactly what we do and what I needed.
Kind regards,
re: Article: A low-level look at the ASP.NET Architecture
Yesterday @ 1:22 am | by Rajesh

Superb Article...so much depth and with ease it makes you understand.
re: jQuery Intellisense Updates from Microsoft
Thursday @ 8:33 pm | by Gary Stafford

Rick - Thanks. Your advice on installing jQuery, –vsdoc.js file, and Microsoft's Intellisense update worked perfectly. I'm up and running. - Gary.
re: A few C# Time Utilities for Fractional Time Values
Thursday @ 1:08 pm | by Kevin Le

@Rick and @James: FractionalHoursToString can be easily fixed:

return string.Format(format, hours > 24 ? tspan.Days*24 + tspan.Hours : tspan.Hours, ...);
re: No Preview Images in File Open Dialogs on Windows 7
Thursday @ 11:13 am | by Rick Strahl

Yeah still see them at times, although not that often. Then again I'm hardly ever using Explorer any more - xPlorer2 is so much better than fighting Explorer :-}
re: No Preview Images in File Open Dialogs on Windows 7
Thursday @ 8:33 am | by Richard

Have you seen the runaway random Explorer views in Windows 7? I used to get them all the time in Vista, but on the two machines I've upgraded to 7 and the one clean install, I haven't seen this problem once.
re: Problems with opening CHM Help files from Network or Internet
Wednesday @ 3:28 pm | by Howard

Thanks for everyones input I have solved a problem that has plagued me for a while now (at least on my home machine). Now if only I could fix this on a locked down office machine. I think this is a big enough issue that many people would stop developing CHM files.
re: Editing Applicationhost.config on 64 bit Win2008
Wednesday @ 4:55 am | by Daniel Bryars

I'm curious about the "unwanted DOS style attacks" you mentioned, makes me think I should be changing my UrlScan rules too?

Can you point me in the right direction to read up about these type attacks please?
re: Retrieving Browser Scroll Position in JavaScript
Wednesday @ 2:41 am | by Raj Ahuja

Thanks it is very helpful for me.
re: Updated jQuery Calendar to jQuery DatePicker
Wednesday @ 2:11 am | by Haris

Not working with Datalist, Calendar popup appears only for the first instance and not for any other.
re: DataContractJsonSerializer in .NET 3.5
Wednesday @ 12:28 am | by Maxi

for fellow programmers who encounter unexpected character. this is from microsoft connect:
Please note that DataContractJsonSerializer only supports the following encodings: UTF-8, UTF-16LE and UTF-16BE.

So, this "ms = new MemoryStream(Encoding.UTF8.GetBytes(json));" will work.

The followings are not promised to work:
ms = new MemoryStream(Encoding.Unicode.GetBytes(json));
ms = new MemoryStream(Encoding.Default.GetBytes(json));
re: Update to LINQ to SQL Business Object Wrapper Sample
Tuesday @ 9:28 pm | by Konda reddy

Good posting ricky
Linq returns the whole table
Tuesday @ 7:39 pm | by Rob von Nesselrode

Hi Rick,

I've been doing some maintenance work on a heavily Linq'd middle tier and was suprised to find that it seems to always retrieve the whole table via the Datacontext.GetTable<>().

Even with you line from above:

tt_customer Tcust = context.tt_customers.Single(c => c.Pk == customer.Pk);


The whole table will be pulled into the "repository".

Am I right? or have I been in the sun too long...

Underlying this is the real question: "how to get back just one record in the first place".



Regards

Rob
re: Advanced FoxPro .NET COM Interop Article Series
Tuesday @ 7:33 pm | by Rick Strahl

Yes that should be possible. You can host a WCF service in an EXE or COM accessible assembly through VFP (although I would probably recommend using a separate EXE daemon rather than a COM hosted component for stability).
re: A cool use of Browser Client XML access on NetFlix
Tuesday @ 1:31 pm | by Erwin

hi,
I'm really interested in making this popup. somebody, can help me please.

This is my next task.

Thank you
re: FireFox Slow Startup: Watch out for Browser Highlighter Plugin
Tuesday @ 12:48 pm | by Susan

In my case, after a reboot, I got an error message that popped up every 30 seconds reporting a problem with tbhdaemon.exe. That would in turn bring up 3 or 4 tell Microsoft about the problem windows. I thought for sure I had a virus. I also noticed Firefox was slow, but would never have put the two together. I removed that Highlighter add-in about an hour ago and all seems to be well now. Such a relief! Thanks so much. - Susan
re: ASP.NET ItemTemplates, EVAL() and embedding dynamic values into controls
Tuesday @ 11:15 am | by Hardik Shah


Quite well written and supported with facts and issues commonly faced by .Net guys like us. The only question remains for me is how can we use the Eval function outside Controls in the .aspx page.
re: Advanced FoxPro .NET COM Interop Article Series
Tuesday @ 7:23 am | by amir

hi rick
i faced with this question that is it possible for us to write com capable components in dot net and register it then this com component act as for example chat server for us?(server keep running this component and our com component listen to special port and perform our desired actions)
re: SmtpClient and Locked File Attachments
Tuesday @ 3:31 am | by free hosting

Got a note a couple of days ago from a client using one of my generic routines that wraps SmtpClient. Apparently whenever a file has been attached to a message and emailed with SmtpClient the file remains locked after the message has been sent. Oddly this particular issue hasnt cropped up before for me although these routines are in use in a number of applications Ive built <a href="http://www.webdevforums.com/dedicated-hosting.html">dedicated server </a>. The wrapper I use was built mainly to backfit an old pre-.NET 2.0 email I built using Sockets to avoid the CDO nightmares...
re: Client Templating with jQuery
Tuesday @ 1:55 am | by Sherry Ann

Hi Sir,

How do you format the date and money values inside the template/

Thanks,
Sherry


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2010