CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Paul Laudeman

Helping You to Make "Smart Clients" Smarter!

January 2004 - Posts

  • MSBuild on MSDN TV

    MSBuild on MSDN TV Alex Kipman, a Microsoft PM, talks about changing the VS.NET Whidbey build process using it's new build engine: MSBuild. If you're interested in batch building or extending your own build process, MSBuild is worth your attention.
  • Interesting Windows XP fast user switching glitch

    Has anyone noticed that if you use the Windows XP fast user switching feature that your mouse settings will be lost when you log back into your account? The only way I can seem to get them back is to go to the Mouse settings in the control panel and as soon as I load the app up and click ok, my correct mouse settings will be applied. (I'm running SP1).
  • The ultimate office prank to play on your coworkers

    If you work at Microsoft and ever take an extended leave, you'd better lock your office ...

  • The ServerSide, a popular J2EE destination, debuts .NET coverage

    The ServerSide.NET debuts I have known about the ServerSide.NET for 3 months or so so it has been hard keeping it quiet-) Well, now its public and I can talk about it. I firmly believe that a resource in this area is really needed. Many blogs focus on some little ASP.NET implementation issue or such, and much of the information coming out of Microsoft (with the very notable exception of the most excellent Patterns and Practices site)  has focused on implementation. What is sorely missing is architectural authortative voice on building real .NET systems, not systems that are a bunch of web pages, but full blown enterprise systems that span 3 or 4 tiers or boxes. The folks at ServerSide/Middleware have been that voice for years on the Java/EJB side and it's great to have this for .NET as well. The second thing is that the site is in the very capable hands of my very good friend Ted Neward who has the knowledge and abilities in that area to make this really happen.
  • New! Introducing ClickOnce - Web Deployment for Windows Forms Applications

    MSDN has released a new MSDN TV episode covering ClickOnce technology featured in VS.NET "Whidbey". Also, be sure to check out my previous coverage of ClickOnce and some of the issues surrounding smart client deployment with the .NET Framework.

    Introducing ClickOnce - Web Deployment for Windows Forms Applications The next version of Visual Studio, codenamed "Whidbey," introduces a technology codenamed ClickOnce that allows developers to write Windows Forms applications that utilize the powerful features of the client, yet are as hassle-free to deploy and update as a Web page.

     
    Technorati Tags:  
  • Random Thought: Test Driven Development

    The mindset behind someone who adopts Test Driven Development (TDD) as a standard practice for developing software is much like a driver who has learned the importance of driving defensively. The driver and the programmer both know that despite how good of a driver or programmer they try to be, not everyone else on the road or the team is necessarily as good and careful as they are.

    TDD serves a valuable role in protecting the developer from himself and from others on his team (and a lot of times from themself, too!). It is a defensive style of programming that helps to anticipate ahead of time all the different ways code can fail and encourages the developer to write tests that prove that the code does what it is supposed to do, and creates a way for that code to be tested over and over again in an automated way to ensure that code continues to work over time despite external and sometimes unforseen influences.

    To learn more about TDD, Darrell Norton has put together a very thorough resource to help get you started.

    Good luck!

    Technorati Tags:  

  • Learn more about how to apply the MSF to your projects

    71% of all IT projects fail, come in over budget or run past the original deadline. Every year, $75 billion is spent on failed IT projects in the U.S.
    Source: The Standish Group 2001

    Darrell Norton posted about risk management with the Microsoft Solutions Framework (MSF). In addition to the resources he linked to, I came across a TechEd 2003 session (DEV338: Software Development Best Practices with MSF) online that talks about the need for a model for project management and pulled the above quote off of one of the slides. If you don't have time to watch the presentation, at least take a look at the first few slides of the PowerPoint from the session. Very hilarious and poignant.

    Technorati Tags:  

  • SDTimes: "Language Divergence in Whidbey"

    Language Divergence in Whidbey -- my latest column for SDTimes
     
    In v.Next of the Framework and Visual Studio .NET tools, language divergence is the theme. Read on for a high level overview.
  • Not sure whether to build services today with WSE or wait for Indigo?

    Indigo or WSE? Omri gives us answers

    Omri Gazitt covers what the relationship is between WSE and Indigo.

     
    Quick takeaway - if you need a competitive advantage based on enhancements to today's web services technologies that ship in .NET v1.x and emerging standards, then take a look at the Web Services Enhancements (WSE) toolkit. Otherwise, hang on for a major upgrade and overhaul with Indigo technologies in the Longhorn timeframe (parts of Indigo, as I understand it, will also be made available to Windows XP and Win2k3).
     
    Learn more:


    UPDATE
    :
    .NET Rocks, “The Internet Audio Talk Show for .NET Developers”, just posted a new episode featuring Don Box where they talk about WSE and Indigo, what the goals are and where Microsoft is heading. Recommended.

  • HeadTrax Performance Review: Improving the performance of an internal MS application

    Some time ago, Tim Sneath blogged about an internal application developed at Microsoft in .NET and mentioned a report they produced that describing the performance challenges and enhancements they used to optimize the program. Recommended.

    In addition, the GotDotNet has a good starting point to for learning more about managed code performance. This site includes a link to the HeadTrax report, a talk on performance, and links to a couple of MS performance bloggers.

  • Tweaking your .Text blog appearance

    One of the benefits to having a .Text-based blog is that it is fairly easy to get it set up and running quickly and join the ever growing community of .NET bloggers. When you configure your blog for the first time you have to choose a default skin template to apply to your blog to control the general layout and CSS styles that will be applied. If you want to go beyond the default styles in the skin you choose for your blog, you're on your own to figure out how to make that happen.

    Since I'm never happy leaving good enough alone, or not really understanding how something works under the covers, figuring out how to further tweak my blog's appearance provided me a great opportunity to delve into source of .Text and figure out how it all works. My journey thus far, mind you, has been limited in scope to figuring out how and when the secondary CSS styles are applied to your blog (see Admin/Options/Configure/Custom CSS Selectors).

    When rendering your blog, as I discovered, .Text looks at the default skin you have chosen and if that default skin template specifies its own secondary CSS stylesheet, then any overrides you enter into the Custom CSS Selectors textbox on the configuration page are ignored. How do you know which skins have a secondary template? If you have the .Text source code, look at the skins.config file in the DottextWeb/Skins directory. This file will list all the available skins and which have a secondary CSS file.

    For instance, if you'd like to change the font style, border margins, styles, etc. you can easily apply your own CSS styles to override the default styles of the template you have chosen for your blog. If you'd like to modify the actual layout of your blog, then you're options are pretty much limited to one of the default skins and whatever you can find to override. The quickest way to figure out which tags you want to override is to view the page source and to look at the class element of the different styles specified, such as post or postfoot. Once you find one that you'd like to override, it is as easy as writing a brief snippet like this and placing it in the "Static News/Announcement" textbox on your blog's "Configure" page:

    <style type="text/css">
    .post {
         font-size : 9pt;
         font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
         margin : 0px;
         line-height: 2.85ex;
    }
    .postfoot {
         border-bottom : 1px dashed #C6C6C6;
         text-align: right;
    }
    </style>

    Also, be sure to preview your changes in Mozilla and other recent browsers to ensure a consistent appearance across browsers.

    Helpful Links

More Posts