Archives

Archives / 2006 / July
  • C# Feeds and News

    Today CSharpFeeds officially goes live.  This is a pet project of mine and Gregg Stark’s based on Serge’s VBFeeds.com site and its source code (thanks to Serge for letting me see the source!).  VBFeeds is a great place to find just VB information from the top VB people, moderated so that it doesn’t include posts about going on vacation or other personal posts.  C# Feeds seeks to do the exact same thing, but for C# content, rather than VB.  If there’s a C# feed we should be pulling that we don’t have, let us know.  We’ll be adding a suggest a feed mechanism fairly soon, though I’m not sure what that translates into in real time. Oh yeah, ad we updated all of Serge’s … more

    Tags: C#

  • C# Feeds and News

    Today CSharpFeeds officially goes live.  This is a pet project of mine and Gregg Stark’s based on Serge’s VBFeeds.com site and its source code (thanks to Serge for letting me see the source!).  VBFeeds is a great place to find just VB information from the top VB people, moderated so that it doesn’t include posts about going on vacation or other personal posts.  C# Feeds seeks to do the exact same thing, but for C# content, rather than VB.  If there’s a C# feed we should be pulling that we don’t have, let us know.  We’ll be adding a suggest a feed mechanism fairly soon, though I’m not sure what that translates into in real time. Oh yeah, ad we updated all of Serge’s … more

    Tags: C#

  • Atlas Plugged - Columbus User Group

    I gave a presentation on Atlas to the Central Ohio .NET User Group last night.  About 50 people were in attendance and I thought the presentation went pretty well, especially considering it was my first time presention on this subject.  I’ve posted my slides and samples on the ASPAlliance Resource Directory – the direct link isAtlas Plugged – July 2006 After the presentation I went out with about a dozen of the developers who attended the presentation to the Columbus User Group Nerd Dinner, at Hoggy’s up the road.  I got to know a few folks, and hopefully I talked a few of them into submitting articles to ASPAlliance.com, which can always use more … more

  • Microsoft Twelve Tenets to Promote Competition

    Microsoft recently announced the publication of its Twelve Tenets to Promote Competition, also referred to as “Windows Principles”.  These include: Principle I: Choice for Computer Manufacturers and Customers 1. Installation of any software (by OEMs and end customers)2. Easy access (to windows navigation by OEMs and end customers)3. Defaults (for things like media playing, Internet browsing)4. Exclusive promotion of non-Microsoft programs. (e.g. means to remove MS Internet Explorer, Media Player, etc. from OEM builds)5. Business terms. (non-retaliatory agreements)Principle II: Opportunities for Developers 6. APIs.  (publishing internal APIs for applications like IE, … more

  • Atlas DragOverlayExtender Controls Return To Original Position

    While using the DragOverlay in a demo I ran into a problem where the controls I wanted to drag around the page kept on returning to their original position when I released my mouse button.  A quick internet search found me Rob Garrett’s post, which describes this issue and the fix: Basically, you can’t drag items beyond the rendered area of the HTML page.  For a demo, there’s not a lot of HTML on the page, so the rendered area is quite small (and basically consists of where the controls already are).  The fix for this is to force the page body to be larger, like so: <body style=”height:100%;”> or add this in your CSS file: body { height : … more

  • Run Cassini as Root Web within Visual Studio

    I’ve been fighting with differences in folder paths between production and dev (via Cassini / WebDevServer) for a while now and stumbled upon this forum topic today and gave it a shot.  The forum didn’t provide full details but here’s what I managed to figure out.  Yes, Cassini supports root pathed sites, but it’s not how Visual Studio (or, presently, Expression Web Designer) are configured to use it by default.  If you want to make it work, you can, using these steps: 1. In your Solution Explorer, right click on your website and go to its Property Pages (or Start Options).2. Change Start action: to “Start external program:“ and specify this … more

  • Speaking in Columbus Tomorrow

    I’m giving a presentation on Atlas tomorrow (Thursday July 27th) in Columbus, Ohio.  Stop by if you’re interested.  Here’s more information about the time/place/details. http://www.condg.org/ more

  • Adding Master Page Support to Dynamically Created Pages

    Yesterday I wrote about AspAlliance.SimpleCms, which is coming along still today.  One hurdle Brendan and I were facing was how to allow a dynamically created (from a PageHandlerFactory) page to specify a master page.  The idea is that the page, which resides in a separate assembly from the main web application, will use a master page specified within web.config and residing in the main web application.  Let me walk through our steps… First, you would think you could just set the Page’s MasterPageFile property in Page_Load and everything would work, but that would be naive.  Doing so results in a very helpful (seriously – no sarcasm this time!) error … more

  • Book Review - Murach C# 2005

     Murach’s C# 2005 is one of many books I’ve picked up since .NET 2.0/VS2005 went gold last November.  I have to say, I really love the layout of Murach’s line of books.  The book would make an ideal textbook for a training class, but outside of a training environment it is still a great learning tool.  In addition to great technical material, each chapter also includes practice exercises.  Joe Stagner recently blogged about the book, too, saying: But UNLIKE a lot of textbooks, it is easy to read (and therefore learn from), it’s up-to-date, including detailed coverage of the latest C# 2.0 language constructs, and it has a commercial … more

    Tags: C#

  • Live From Redmond ASP.NET Webcasts

    Here’s a list of a bunch of webcasts that are coming up in the next few months (starting next week), related to ASP.NET:   Date Title Speaker Registration URL 25-Jul ASP.NET: An Overview of ASP.NET and Windows Workflow Foundation Integration Kashif Alam Click here 3-Aug ASP.NET: Building Real-World Web Application UI with Master Pages, Themes and Site Navigation Pete LePage Click here 10-Aug ASP.NET: Creating Web Applications Using Visual Studio 2005 Team System Jeff King Click here 17-Aug ASP.NET Atlas: A Developers Introduction to Microsoft Atlas Joe Stagner Click here 22-Aug Best Practices and Techniques for Migration Visual Studio 2003 Web Projects to … more

  • AspAlliance Simple CMS Plugin

    I’ve been interested in plug-in applications for ASP.NET for a while now.  I think it can be a very powerful way to quickly add new functionality to an existing site without significant rework of the site being extended.  The architecture that makes this possible is the HttpHandler and HttpModule combination that, in fact, is what makes ASP.NET work in the first place.  One simple example of such an application, which is built into ASP.NET, is the application trace viewer, commonly known as trace.axd.  Trace.axd is simply an HttpHandler that is mapped in the server’s configuration file (machine.config or the server’s web.config, in … more

  • New Caching Video

    I recored a quick video demonstrating the effects of a very short duration cache on a page that’s hitting the database more than 1/second (microcaching).  This is one of my favorite demos when I give my caching presentations – I believe I first saw Rob Howard do pretty much the same demo quite a few years ago so credit goes to him for the idea.  You’ll find the video in the ASPAlliance Videos section, here. It was my first Camtasia video in years and I’m using a pretty cheap microphone, so I apologize in advance for the audio quality.  All in all it went reasonably well, though.  I’ll try to record a few of my other caching demos as videos … more

  • Best Web Hosting

    I just filled out a customer satisfaction survey for my hosting provider, ORCSWeb, which makes me think I should probably write a little something here in my blog about how much I like them.  I’ve been using ORCSWeb’s services for what seems like forever, but off the top of my head I’d have to say at least since 2000.  Before switching to them, I had used a couple of other hosting providers, all of which have since been bought up or gone out of business, as far as I know.  However, the difference back then was like night and day.  With the other hosters I was having to walk their sysadmins through the steps of setting things up, installing COM objects, … more

  • Starter Kits and Samples for SQLExpress and .NET 2.0

    If you haven’t seen them already, there are a bunch of sample applications available for SQL 2005 from Microsoft.  These include: Internet Explorer Favorites Manager Skills Manager Survey Manager Help Desk Web Reports Windows Reports In addition, there are also a number of Starter Kit apps available.  I’m not sure what makes one thing a “Starter Kit” and another a “Sample” (the web sites state that “Starter Kits are fully functional applications designed to help you learn SQL Server” whereas “Sample Applications are fully functional applications that are designed to help you learn SQL Server” — see the difference?), … more

  • Presenting to Cleveland .NET SIG Tuesday Night

    I’ll be speaking to the Cleveland .NET SIG tomorrow night about .NET Caching Best Practices, my current (and somewhat longstanding) favorite topic.  If you’re in the area, stop by and say hello.  The details: Next Meeting:.NET Caching Best Practices Presented by Steve Smith  - FounderASPAllianceJuly 11th, 2006 5:45pm - 7:30pm Location:Microsoft Corporation6050 Oak Tree Blvd.Independence, Ohio 44131 RSVP here so they have enough food and such if you’re planning to attend. I’m going to be bringing a bunch of SWAG I’ve been collecting from TechEd and other sources, too.  Hope to see you there. more

  • Fourth of July Info (chain letter)

    Every year or two I see this email come through.  I haven’t checked Snopes to see if it’s all accurate, but if it is, it’s certainly worth a read. 4TH OF JULY Have you ever wondered what happened to the 56 men who signed the Declaration of Independence? Five signers were captured by the British as traitors, and tortured before they died.  Twelve had their homes ransacked and burned.  Two lost their sons serving in the Revolutionary Army; another had two sons captured. Nine of the 56 fought and died from wounds or hardships of the Revolutionary War.  They signed and they pledged their lives, their fortunes, and their sacred honor. What kind of men … more

  • Team Foundation Source Control Tips

    Barry Gervin recently wrote some nice tips for working with source control and Team System on a mailing list: The best guidance is to do a Get on the entire tree just before you begin a new logic of work. Work on it for however long it takes - and then when you are ready to check it in - do another get latest first and make sure you can still build/run tests. This is an important step to properly integrate/merge your changes into the latest (and avoid breaking the build). When you are finally ready to check in, and if you have enabled multiple checkouts - you may still get merge conflicts on the files you are checking in - which will be your final part of the merge process. Resolve those … more

  • Atlas June CTP Available

    If you’ve been using Atlas, or if you’ve been waiting for a more stable version of Atlas, the latest Community Tech Preview release is now available.  Download the June CTP here. more

  • LLBLGen v2 Released

    Frans announced yesterday that LLBLGen 2.0 has been released!  I’ve been using LLBLGen happily for several years now.  It is a very solid ORM tool and I’m looking forward to using the new version going forward.  You can read a list of new features and enhancements here.  If you haven’t used LLBLGen before, I recommend downloading the tool and the sample Pet Shop application that Frans has written which uses his tool under the covers, to see how it is put to use.  In less than an hour, you should have a good understanding of the product and its capabilities. more

  • BoundField DataFormatString attribute not working

    I was stuck with a problem a few weeks ago where my DataFormatString on a BoundField in an GridView was not being applied.  I had a chance to look at the code again today and found this very helpful post by Raj Kaimal with the fix this morning.  The short answer is that you need to set HtmlEncode=”false” in order for the DataFormatString to work.  The HtmlEncoding by default is designed to defeat cross site scripting attacks, but unfortunately the way it is implemented results in DataFormatString being ignored. more