WCF One-Way Calls, Callbacks, And Events#

Here an article I was reading about some of the new (and from the looks of it... very useful) features of WCF.

One-Way calls, callbacks, and events.

Categories: Programming | .Net | .Net Framework
Monday, April 30, 2007 2:03:06 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

ASP.NET AJAX Errors#

I have been getting a few errors when trying to use the asp.net ajax framework.

The one error message is:

Error: Sys.ArgumentTypeException: Object of type 'Sys_Application' cannot be converted to type 'Sys._Application'/

Parameter name: instance

This is caused by having SmartNavigation turned on for the page. 

The other error I was getting was this Sys.ArgumentOutOfRangeException.  Value must be an integer.  Parameter name: X.  Actual value was NaN.

This error is caused by using a "yes" or "no" for "frameborder" for a frame.

Yes and No are valid entries but the framework is expecting a "1" or a "0".

 

Categories: Programming | .Net | AJAX | ASP.Net
Thursday, April 26, 2007 3:16:06 PM (Central Daylight Time, UTC-05:00) #    Comments [1]  | 

 

Icon Finder#

This service is down right now, but it looks like it might be very useful!

Categories: Misc
Wednesday, April 25, 2007 2:52:12 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Grabbing images from a AxWebBrowser#

I have been fighting with this lately, but here is something I haven't tried... rewriting the interface that is giving me problems.

Not sure if this will work, but I will give it a try.

More in the souce...

Categories: Misc
Monday, April 23, 2007 10:07:30 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

ASP.NET Upload Component#

I think I saw this ABCUpload .Net tool being used by microsoft on one of their internal support sites for uploading large files.

I don't think it actually gets around the httprequest length and executiontimeout problems, but it does provide you a window showing your progress, which is nice.

Categories: Programming | .Net | ASP.Net
Monday, April 23, 2007 4:05:47 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

HTTP Compression with IIS 6.0 and ASP.NET#

Here are some nice step by step directions for getting HTTP Compression setup in IIS6.

They also link to a nice site that will do a compression test for you on the public side.

I was trying to test stuff that wasn't public, so I figured out how to test this with Fiddler.

Once you start a trace with fiddler, if you select a session, they will check a box next to the type of compression None/GZIP/Deflate, which was used.

 

Categories: IIS
Monday, April 23, 2007 3:05:50 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Escaping Characters in MailTo#

I have recently needed to create some more complex mailto links than people normally use.  I need to populate the subject and body with text that is pulled from a DB, so there are lots of random characters in there like @, #, &, -, _, etc...

Most of these won't work, and need to be escaped.

The most effective way I found was to use the ascii HEX code in this format:

%2D = "-"

%45 = "E"

Categories: .Net | HTML
Monday, April 23, 2007 1:38:51 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

ASP.NET Process Recycling Too Often#

I'm not going to write too much about this, but we have been seeing a LOT of recycles of our web application, which makes us lose session for everyone logged it.

I am just going to archive a few links I have been using to track down this problem.

ScottGu has some reflection code to get the reason the process is shutting down that I converted to vb.net

Scott Gu's Article

And here are some places discussing the issue:

asp.net thread

Todd Carter's Blog Article

Scott Forsyth's Blog Article

Categories: Programming | .Net | ASP.Net
Wednesday, April 11, 2007 10:34:58 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

ASP.NET Design Patterns#
Categories: Programming | .Net | .Net Framework | ASP.Net
Wednesday, April 11, 2007 10:17:54 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Neural Network#

This article shows a open source neural network component that the author uses for verification of written characters.
Categories: Programming | .Net
Tuesday, April 10, 2007 3:37:46 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Controlling Programs Remotely#

It looks like from this article that the author is showing how to use remoting to interact with a windows form running on a server.

http://www.codeproject.com/csharp/RemoteWinControls.asp

Pretty interesting.

Categories: Programming | .Net | .Net Framework
Tuesday, April 10, 2007 3:32:23 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Working with Active Directory and .Net#

I have written a few programs in .Net that utilize Active Directory (AD), and what a pain it was.

Here is an article where the author created classes to encapsulate some of the objects in AD, which is pretty similar to what I did.

Keywords: LDAP, AD, Active Directory

Categories: Networking | ActiveDirectory | Programming | .Net
Tuesday, April 10, 2007 3:29:54 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

TypeOf VB.NET vs C##

If you are Microsoft, why do you create a function "TypeOf" that has totally differnet applications in VB and C#?

Typeof in C# is like GetType in VB, where VB uses TypeOf to see if 2 types are the same or check for interface implementation.

Kinda dumb.

Categories: Programming | .Net | C# | VB.Net
Friday, April 06, 2007 8:59:58 AM (Central Daylight Time, UTC-05:00) #    Comments [3]  | 

 

Microsoft AdCenter#

I came across this offer where you get $50 free (I haven't read the details) for using Microsofts adCenter (just like adwords I guess).

http://www.startadcenter.com/lcoff/

 

Categories: Misc
Sunday, April 01, 2007 3:15:35 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

MailTo Syntax#

Here is a nice document showing the mailto syntax.

Categories: HTML
Friday, March 30, 2007 3:24:34 PM (Central Standard Time, UTC-06:00) #    Comments [0]  | 

 

Size Of Nearly All Bodies In Our Solar System#

This is really cool.

I did a project just like this in 7th grade, but I only did it for the (then) 9 planets.

solarsystembodies.jpg (1.02 MB)
Categories: Cool | Science
Friday, March 30, 2007 10:34:57 AM (Central Standard Time, UTC-06:00) #    Comments [0]  | 

 

Remove "Click Here To Enable Instant Search"#

To not get prompted to download the Windows Desktop Search component, do the
following:

   1. On the Tools menu, click Options.
   2. Click Other, and then click Advanced Options.
   3. Under General settings, clear the Show prompts to enable Instant
Search check box.

Categories: Software | Windows
Tuesday, March 27, 2007 2:07:23 PM (Central Standard Time, UTC-06:00) #    Comments [1]  | 

 

Most Indemnad Skills for 2007#

Web development is number 2 of the most indemand skills for 2007:

http://www.hotgigs.com/pdf/contractworkforce2007_d.pdf?src=cwremailconsultantb

When they break down the web development category, I have extensive experience in almost but 1 of the top 10 sub categories, with my main area of expertise being the top item: ASP.NET development.

Good to know that I made a good decision to not focus on Fortran! :)

Categories: Interesting | Misc
Friday, March 23, 2007 8:38:35 AM (Central Standard Time, UTC-06:00) #    Comments [0]  | 

 

ASP.NET RegularExpressionValidator with Phone Extension Numbers#

The built in options for validating an email address didn't include any way to validate phone numbers that include extension numbers.

Here is a regular expression that does this:

((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}( x\d{0,})?

 

Categories: Programming | .Net | ASP.Net
Thursday, March 22, 2007 5:42:21 PM (Central Standard Time, UTC-06:00) #    Comments [0]  | 

 

Renewing the SSL Certificate on a Network Load Balanced system#

We had a problem last night as we attempted to update our site certificate on our NLB website.

We have 2 machines in the cluster, and after updating the certificate on both of them, the site stopped responding over https.

We spent a LOT of time trying to figure out what was wrong with our new certificate, or the way we had set it up.

In the end, it turned out that that when we updated the certificate, it AUTOMATICALLY removed the NLB IP address from the IPs that are listening for port 443. 

So the result was that each server would respond over SSL on it's own, but when you tried to access the cluster by it's IP address over SSL, there would be no response.

It was really easy to fix, but a real pain to find. 

Categories: Hardware | Servers | NLB
Tuesday, March 20, 2007 1:04:17 PM (Central Standard Time, UTC-06:00) #    Comments [0]  | 

 

All content © 2010, Christopher May, Inc
Open Job Positions
On this page
Google Ads
This site
Calendar
<April 2007>
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 2.3.9074.18820

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

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: