May 2006 Blog Posts

  • Atlas: Starting to grasp control development...

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] This is the type of post you don’t really want to write.  You always want to speak from great knowledge from on high to the masses.  Unfortunately, I did something stupid tonight.  I decided that I could extend the DragOverlayExtender in about an hour and could easily start to add some features like grabbing the position of the element (mind you I have really only given this aspect of Atlas a cursory look before tonight).  In the process...

  • How to Add Atlas to an existing site (For Brendan)

    [Old article warning... you are probably looking for this.] [Brendan and I were chatting earlier today and he asked me how to enable Atlas on an existing site.  Since I had done this once, I told him what I did, and promised to blog a better set of instructions, so here they are] There are a bunch of changes that you have to make to your web.config to enable Atlas support on an existing site. Add the following elements to your configSections section: <sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">  <section name="converters" type="Microsoft.Web.Configuration.ConvertersSection"             requirePermission="false"/>  <section name="webServices" type="Microsoft.Web.Configuration.WebServicesSection"             requirePermission="false"/>  <section name="authenticationService" type="Microsoft.Web.Configuration.AuthenticationServiceSection"            requirePermission="false"/>  <section name="profileService" type="Microsoft.Web.Configuration.ProfileServiceSection"             requirePermission="false"/></sectionGroup> Add the following Section...

  • ReSharper 2.0 Release Candidate 2...

    Somehow I missed the first Release Candidate (yesterday).  ReSharper is in release candidate mode!  We should be seeing release soon (I bet).  For those of you interested in trying it out, the EAP Page,  contains a license info that will let you use the RC for a bit longer than the normal trial.  So download it and get hooked like me! [UPDATE: this stupid American (me) misread the date on the ReSharper EAP site… the license is only good until June 1st… 01/06/2006 sounds like January 6th to me, but the JetBrains guys “ain’t from ‘merica” so they use that other format...

  • The one security demo you should watch...

    I'm sure I've posted this before, but David Hayden's post prompted me to make sure this video resurfaces on the top of the CodeBetter feed (instead of buried in my comments). If you have ever thought, "hey defending the network is not my problem... that's networking or security problem" then you are wrong!  It's your job as the programmer... go watch this If you think the whole encrypting passwords or SQL Injection is a lot of hot air or even if some of this security religion we've all been fed, go watch this (same link). If you want a good laugh and a...

  • Documenting the Atlas Runtime JS... Function Class and Object Class

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] [Ok, so I’m changing tactics… I’m going to document the individual objects not documented currently by the Atlas Docs… some of this will be repeats, but at least we’ll get a full view] Function Class – all classes (and functions) derive from this JS object , so MS modifies this object and therefore all your Javascript functions… Think of this as a listing of methods available to all Atlas objects/classes.  This class is assigned to the Type member of the window object making it...

  • Red Gate SQL Compare 5

    I’ve been meaning to write a little bit about Red Gate’s SQL tools.  I have been playing with them (in particular SQL Compare and SQL Packager… although I have also played with SQL Data Compare). I have to say that like everyone else on CodeBetter who has worked with them… these tools are absolutely cool.  They are in my list of “Must Have Deployment Tools.”  SQL Compare let’s you do a bunch of things make the process of deploying SQL Server changes between say a test and production server simple… SQL Compare compares 2 SQL Server Databases and will tell you what...

  • Atlas Runtime .JS source Notes -- Sys.StringBuilder classes, window.XMLHttpRequest, Date.ToFormattedString, Sys.ActionSequence enum, Sys.IAction interface, Type.Event class

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] [A few questions with today’s installment… I think if the Atlas docs aren’t any better by the time I get done with this I’ll combine all my notes into a single file… so hang tight… I’m sure that no one is actually reading along… ] Sys.StringBuilder is a sealed class that is a JS version of the System.Text.StringBuilder class in the .Net Framework.  It contains an internal array of strings that is used to manage the various strings passed...

  • Atlas and PageMethods: Don't you like WebServices, Jay?

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] In case you missed it, I’ve had a pretty cool conversation with Steve Maine in the comments portion of my Atlas Thoughts post. Steve, when I last checked, is a Program Manager on the Indigo WCF team.  Steve thought he heard me say Web Services are insecure.  Something that, honestly, I probably said, but didn’t quite mean.  Which in turn ended with a nice little conversation….  Bottom line is that I have a particular view of Web Services and when they should be used. ...

  • Atlas Play: Using the AutoCompleteExtender with a Page Method (cleaner/simple version)

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] Ok, the code in yesterday’s post was ugly! I’ve come up with a simpler example that doesn’t use reflection, but it does require maintaining a switch…case/select…case. I’m introducing a new helper class to do our heavy lifting, and an interface for calling back to the page (I can still can come up better solutions than this one… but it’s workable for me for now [so if you want to tweak it some more… knock yourself out… I’m done after...

  • Atlas Play: Using the AutoCompleteExtender with a Page Method (sloppy/complex version)

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] [I know I’m still a wannabe… BTW, I have no idea really why I have this fascination with not building WebServices.  I guess I have the mindset that WebServices are for when you want to provide a published service to the outside world, and page methods are for when you really intend the service to only work within your application] Ok, So I figured out how to handle return AutoComplete data from a page method (and not have to build...

  • X64

    So last night I decided to take the plunge into Windows X64 (64–bit Windows XP with an Athlon64 processor).  In case you didn’t read Eric Wise’ blog about 1.5 months ago, Windows X64 (ok, I know that’s not the official name) includes a compatibility layer, so it can run both 64 bit and 32 bit apps.  When I installed VS 2005 I found that it installed a 32–bit AND a 64–bit version of the framework.  It’s fast (although I don’t know if it’s a lot faster).  and without any updates all my apps are running fine (including the Vault client).  I’m...