Javascript Popup Balloon#
This article from Code Project shows how to create a help balloon in DHTML.

Depending on how they implement it, this could be useful.
Categories: Code Links
Tuesday, July 26, 2005 9:28:04 AM (Central Daylight Time, UTC-05:00) #    Comments [1]  | 

 

Adding Namespaces to all files#
We are redoing a big project with a ton of files where the project has a "Root Namespace."

These root namespaces are a real pain in the butt!

So I found that if you use the Find / Replace in Files and you turn on RegExp, you can search for:
"Public Class"
and replace it w/
Namespace Old.Namespace\n\nPublic Class

That should work... we will see.
Categories: Code Links
Wednesday, July 20, 2005 11:04:19 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

NUnit ASP#
NUnit ASP is a tool for working with NUnit and the presentation layer of asp.net applications.

Some articles on how to get started w/ it can be found here and here/
Categories: Code Links
Monday, July 18, 2005 9:41:10 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Single Signon#
My friend Phil sent me this snip for your .config files to allow multiple asp.net applications to share the same singon:

<!--Override the machine.config default behavior of the validation to allow authentication across apps

this is done by changing "AutoGenerate,IsolateApps"

to "AutoGenerate"-->

<machineKey validationKey="AutoGenerate"

decryptionKey= "AutoGenerate" validation="SHA1"/>

I haven't tried it in production yet, but will soon.

Categories: Code Links
Monday, July 18, 2005 8:48:52 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Iraq War Creating More Terrorists#
As if anyone didn't KNOW that the war in Iraq is doing more to hurt our security than help it, this report has come out, showing that almost everyone involved in the atacks on American troops in Iraq has come from people who had never participated in any terrorist activity.
Categories: Code Links
Monday, July 18, 2005 8:46:07 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Professional Blogger via AdSense?#
This guy is talking about how he makes more money in 1 month as a blogger, than he did in a year before!
Categories: Code Links
Sunday, July 17, 2005 12:33:30 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Funny ways to avoid work!#
This article is talking about funny ways that people use technology to avoid work (rolling back your computer clock before sending email etc).

Pretty funny, but if someone gets an email at 10:45 and it says it was sent at 4:30, won't you figure it out?
Categories: Code Links
Sunday, July 17, 2005 12:32:04 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Inheritance vs Composition#
This site has a nice little summary of Inheritance vs Composition.
Class Inheritance should be used only if instances of the new class can be used in all situations where the existing class can be used. Class Inheritance not inappropriate if the subclass needs to stub out behaviour implemented by the superclass. Use Object Composition if instances of the new class do not require the protocol of the superclass.
Categories: Code Links
Friday, July 15, 2005 8:42:48 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

O/R Mappers#
I have been messing around with a few O/R Mappers. As of now, I still am not in favor of them, but I want to at least get them KINDA working right.

Mostly the big problem I am having is w/ nulls. You can't have a null integer.

The 2 I have been using are Wilson ORMapper and NHibernate.

This page shows some sample code for Wilson, and this apge is the documentation for NHibernate, with their forms being located here.

In this blog entry Wilson claims that his handles nulls, but I haven't seen how to do that yet.
Categories: Code Links
Wednesday, July 13, 2005 5:21:58 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

SSL over DNN#
There is a free module for SSL login here.

Some have implemented Secure Login here by making the link to login use https.

Here's a thread with a javascript way to turn HTTPS on and off

Thomas Thorp's SSL Module uses an HTTP module

Also, failed passwords are sent to back to the client 's. It's this line in the Signin.ascx.vb file....
txtPassword.Attributes.Add("value", txtPassword.Text)
That re-populates the password textbox with whatever had been typed in.
Categories: Code Links
Tuesday, July 12, 2005 9:02:56 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Creating Javascript Proxies for calling webServices on the client#
This is really pretty cool.

The smart thing that this guy goes is he sets a client side javascript include to a ASPX page, who is in charge of figureing out the WSDL info and building the javascript proxy.

Neato.
Categories: Code Links
Tuesday, July 12, 2005 8:34:44 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Client Side Script for Custom Server Controls#
This is a pretty good blog entry about how to deal with client script in server controls.
Categories: Code Links
Monday, July 11, 2005 10:28:36 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Search Lite for ASP.NET v1.1.0#
I guess I haven't put in an entry for this product.

I am not sure of its ability to scale, but it seems pretty cool. It will look for links on your site (you can even setup forms auth) and it will spider your site and index files (word docs, pdfs etc).
Categories: Code Links
Friday, July 08, 2005 12:05:27 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Creating a sortable collection#
This article on MSND shows what you need to do to make a custom collection sortable by using the ICompare interface.
Categories: Code Links
Friday, July 08, 2005 11:34:55 AM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Custom Controls and ASP.NET Validation (Client Side)#
It turns out that when I said:
Turns out it is as simple as adding [ValidationPropertyAttribute("­Text")] to your class definition for the custom control. That's easy!
it really wasn't that easy, at least to get client side support for asp.net validators to work.

After a lot of research, and a bunch of looking through the page output I figured out what must be done.

If you have a custom server control and it is named "MyDateTime1", then the HTML element that you want to check in your client side validation must also be named "MyDateTime1". In my control, I would output a bunch of different elemnts, using things like ClientID + "_textbox" and ClientID + "_Icon" etc... All I had to do was make sure the textbox (which is what I wanted to run the client side validation against) was named simply this.ClientID and presto!
Categories: Code Links
Thursday, July 07, 2005 7:28:43 AM (Central Daylight Time, UTC-05:00) #    Comments [1]  | 

 

Illinois Tenant Union#
Well my shady ass landlord from my apartment has still not returned my security deposit. Sounds like this might be another trip to the Illinois Tenant Union.
Categories: Code Links
Wednesday, July 06, 2005 11:08:53 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Javascript Visual Effects#
This website has some pretty cool example of various effects you can do w/ javascript.
Categories: Code Links
Wednesday, July 06, 2005 2:22:18 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Singleton#
This article is pretty good explanation of various implementations of the Singleton pattern in C#.
Categories: Code Links
Tuesday, July 05, 2005 2:17:39 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

All content © 2010, Christopher May, Inc
Open Job Positions
On this page
Google Ads
This site
Calendar
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
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: