Welcome to EMC Consulting Blogs Sign in | Join | Help

Browse by Tags

All Tags » c# » dotNet
  • Adding OpenId to Oxite, Part 2

    (Part 1 is here) The main part of the Openid support is in the controllers and in the view. Fortunately the heavy lifting has been done already, with a library called DotNetOpenId and sample code that started life in Rob Connery's storefront sample, and was worked on by my colleagues Howard Van Rooijen and Pete Worthington before I got ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on December 23, 2008
  • Adding OpenId to Oxite, part 1

    I am following up on my last post on Oxite by showing how to add OpenId login support to it. I won't finish this today. This first one will cover the repository changes needed. First, download the Oxite source and set up the database. From a database perspective, the table where user logins are stored is called oxite_user. In code this is ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on December 22, 2008
  • The ASP.NET MVC beta is out

    The ASP.NET Model-View-Controller kit has finally gone into beta. Blog posts from Scott Guthrie, Scott Hanselman and Phil Haack give more details. The five preview releases that have preceded it were well received, and the Beta finally brings this exploratory and community design feedback phase to a close, so that there should be few changes ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on October 17, 2008
  • Resharper and Source Analysis, not playing together

    I've had Microsoft Source Analysis (AKA StyleCop) installed for a couple of weeks. Yesterday I have very belatedly taken the plunge into Resharper.   I have gotten used to the style promoted by Source Analysis. I've gotten into the zone of feeling that warm fuzzy glow from code having no warnings. Howard van Rooijen calls ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on June 18, 2008
  • Duplicate Finder

    A while ago (June last year) I wrote a utility to detect runs of duplicate lines in files, which is useful for looking for repetitive code that should be refactored. Then I stopped work on it, since it was done.  The original blog post is here and the project is up on CodePlex here. This year I have revisited it with two new features which I ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on February 23, 2008
  • IDesign C# Coding standards

    De gustibus non est disputandum.-         A Latin proverb, roughly "don't argue about matters of taste"   As Scott Guthrie noted here:, Juval Lowry has published his C# code layout standards here: IDesign C# Coding standards This compliments the classic: ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on October 12, 2007
  • ASP.NET state for beginners

    Here's a brief example, suitable for beginners, of the differences between windows forms  and ASP.NET. In short, the windows forms has real state while running, while ASP.NET has a convincing illusion of it on pages.We have a simple page, a form containing a label:<head runat="server">    <title>Demo ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on April 2, 2007
  • Generic lists

    I have spent a fair amount of time in the past writing business objects, and as soon as we'd made a "Widget" class we needed a "WidgetList" class. I got pretty practiced at throwing these lists out quickly since they were all the same. Depending on the particular project's design decision, we'd encapsulate or ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on November 15, 2006
  • FxCop is good for you

    FxCop is good for you, and complying with FxCop rules (or thinking carefully about why the rule is not worth complying with) is a good thing. It might not always seem like it – especially when you need to get a release out, and your commit which should have given the other team members something to test has instead caused the build ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on November 1, 2006
Powered by Community Server (Personal Edition), by Telligent Systems