Welcome to the CodeSmith Community!

CodeSmith Community

A description has not yet been added to this group.
  • Tom Dupont

    Zen and the Art of Dependency Injection in MVC

    • 2 Comments
    Let me start off on a modest note: I am not an expert on dependency injection. I am, however, certain of the value that it provides. TDD After having engaged in the same conversation time and time again, I have become convinced that there is indeed "one simple way to get any developer to write better code." That is because every developer, Junior or Senior, C# or Java, can always engage in more Test Driven Development with Dependency Injection. These are best practices that we can all agree...
  • Tom Dupont

    How JSONP Works

    • 0 Comments
    So recently I was having a conversation with someone about my JSONP update for the ExtJS library. We were talking about how I added error handling to their default implementation, and exactly what trick I had used to do that. However, we should probably start at the beginning... What is JSONP, and how does it work? JSONP is a standard (a hack really) that allows you to make AJAX requests across different domains. While this is an obvious security risk, there are also times where do right necessary...
  • Tom Dupont

    Another CodeSmith DNUG Tour Update!

    • 0 Comments
    On the road again, I just can't wait to get on the road again! The life I love is making code with my friends, and I can't wait to get on the road again! Dates New York July 6th - Fairfield DNUG - Code Generation July 7th - Long Island DNUG - Code Generation Texas July 12th - College Station DNUG - PLINQO July 26th - Dallas ASP.NET UG - Attack of the Cloud August 12th - Dallas TechFest - Attack of the Cloud, Embedded QA October 23rd - Austin, SenchaCon - (Pending Approval) Louisiana August...
  • Tom Dupont

    CodeSmith 2011 User Group Tour Update!

    • 8 Comments
    The Arkansas leg of the tour went really well. Hey, rest of the US: Arkansas has an amazing .NET community! I don't know what's better, their top notch developers or their gorgeous scenic byways? Either way, I am officially a huge fan of Arkansas. My thanks to everyone who came who out, and a special thanks to all the user group leaders. Update: We have added a Louisiana leg to the tour! Calling all Louisiana .NET developers, I will be visiting your city the second week of August! If you...
  • Tom Dupont

    Two Important Questions about PLINQO EF

    • 2 Comments
    The .NET community is the best development community ever. How do I know that? Because they ask the best questions! Here are two really important questions that we have been asked concerning PLINQO for Entity Framework that I wanted to call some extra attention to: What is the advantage of using PLINQO EF instead of standard Entity Framework? In 1.0 the primary goal was to improve the regeneration story of Entity Framework, thus making it easy to update and sync data and code changes. The entities...
  • Tom Dupont

    Winter Retrospective

    • 0 Comments
    It has been spring now for a few weeks, and while the weather in my home state of Texas still seems to be confused about this, I am just happy to finally have the sun set after the work day ends! With the changing of the seasons also comes (for us) the arrival of a new business quarter. Before I look forward, I would like to take a moment to look back and see how things went last quarter and maybe even learn something about how to move forward. So without further adieu, here is the CodeSmith Winter...
  • Tom Dupont

    OAuth 2.0 for MVC, Two Legged Implementation

    • 14 Comments
    OAuth 1.0 was one complicated beast. The OAuth 2.0 spec greatly simplified things, but that also had the wonderful side effect of rending all of our old OAuth 1.0 code obsolete. They say that "the only thing a pioneer gets is an arrow in the back," I disagree, I say "the thing that only a pioneer gets to have is an adventure." For example, I got to help write this wonderful, cutting edge, open source, OAuth 2.0 implementation for MVC! OAuth 2.0 Overview OAuth is all about tokens...
  • Tom Dupont

    CodeSmith 2011 User Group Tour

    • 2 Comments
    The CodeSmith Tools are hitting the road (and even the skies) to talk about .NET technology all around the US! Want us to speak at your local user group? Just drop me a line! We will post again each month with updates and additional details , so stay tuned! Dates Oklahoma April 4th (Monday) - Oklahoma City DNUG - PLINQO: Advanced LINQ to SQL Arkansas March 25th (Friday) - North West Arkansas TechFest 2011 - Attack of the Cloud April 11th (Monday) - Fort Smith DNUG - PLINQO: Advanced LINQ to SQL April...
  • Tom Dupont

    PLINQO for NHibernate?

    • 2 Comments
    As my Uncle Ben once said, "with great insomnia comes great responsibility." Or maybe that was Spiderman, I don't remember. All I know is that I couldn't go to sleep last night, and when I came to this morning there was a proof of concept PLINQO for NHibernate architecture on my screen. I am not saying we are working on PLINQO for NHibernate . . .yet. NHibernate is a well established ORM that is backed by a great community, and frankly, they have their own way of doing things. NHibernate...
  • Tom Dupont

    Error Handling and CustomErrors and MVC3, oh my!

    • 26 Comments
    So, what else is new in MVC 3? MVC 3 now has a GlobalFilterCollection that is automatically populated with a HandleErrorAttribute. This default FilterAttribute brings with it a new way of handling errors in your web applications. In short, you can now handle errors inside of the MVC pipeline. What does that mean? This gives you direct programmatic control over handling your 500 errors in the same way that ASP.NET and CustomErrors give you configurable control of handling your HTTP error codes. How...
  • Tom Dupont

    Working with MVC3's GlobalFilters and HandleErrorAttribute

    • 3 Comments
    In MVC3 a GlobalFilterCollection has been added to the Application_Start. This allows you to register filters that will be applied to all controller actions in a single location. Also, MVC3 web applications now add an instance of HandleErrorAttribute to these GlobalFilters by default. This means that errors in the MVC pipeline will now be automatically handled by these attributes and never fire the HttpApplication's OnError event. This is nice because it is another step away from the old ASP...
  • Tom Dupont

    How to Learn ExtJS

    • 3 Comments
    Ever since CodeSmith Insight was featured on the Sencha Product Spotlight I have been getting a lot of questions about ExtJS. Specifically how to start learning it, and what tools we recommend using. Well rather than respond to these inquiries one email at a time, I thought it might be a good idea to throw up a blog post about how to learn ExtJS. I hope this helps you get started, but always feel free to contact me with any additional questions you have. Start with the Samples I think the best way...
  • Tom Dupont

    CodeSmith Tools' Open Source Components

    • 0 Comments
    Sometimes I think that people don't realize how much code CodeSmith Tools has open sourced over the years. Sure some of these projects are CodeSmith specific (such as our many schema providers), but many of them are not dependent on us at all. General Open Source Components CodeSmith.Data This is library. Included with the PLINQO source code, is not CodeSmith specific! It contains a slew of fun things such as cache providers, LINQ extension methods, and even a generic rules engine. Source Tree...
  • Tom Dupont

    Ext.ux.JSONP v2.0

    • 7 Comments
    The ExtJS library does include a JSONP component, but I found it to be lacking a very important piece of functionality. The Problem: No Error Handler Anyone who know's anything about JSONP is immediately going to call attention to the fact that JSONP isn't capable of supporting error handling by design. While that is true, it doesn't mean that we don't have to handle errors. One of the more well known jQuery plugins for JSONP includes a callback method for "complete" which...
  • Tom Dupont

    Dallas Day of .NET Discount or: How I Learned to Stop Worrying and Love the Alliteration

    • 0 Comments
    The Dallas Day of .NET is coming! http://www.jointechies.com/ This will be a two day event, Friday March 4th through Saturday the 5th, and it will be held at the Microsoft center in Irving, TX. There are going to be a lot of big names and speakers there, including the man behind Hibernating Rhinos, Ayende Rahien! This fest is going to be littered with advanced talks on modern .NET topics. Ayende even has his own expert track that will last the whole two days! And best of all, the CodeSmith Tools...
  • Tom Dupont

    Insight Launch Party a Huge Success

    • 0 Comments
    The CodeSmith Insight Launch Party was a huge success. Thanks to the almost one hundred people that came out and partied with us. It was a blast, thank you all so much for coming out! We did a 15 minute demo of Insight before we gave out prizes. To show that we had nothing up our sleeves the demo was completely unrehearsed and using our live production servers. I am pleased to say that it went off without a hitch! We even had some surprise audience participation as people in the crowd sent in emails...
  • Tom Dupont

    MVC2 Unit Testing, Populating ModelState

    • 6 Comments
    I love how testable ASP.NET MVC is, I also love MVC2's model validation. However when trying to unit test a controller method that used the ModelState, I quickly learned that the ModelState is not populated when just newing up a Controller and calling one of its public methods. As usual, I think this is best narrated by example: Example Model and Controller public class PersonModel { [Required] public string Name { get; set; } } public class PersonController : Controller { [AcceptVerbs(HttpVerbs...
  • Tom Dupont

    Oct 12th is (Insight) Party Time!

    • 0 Comments
    We are very excited about our upcoming CodeSmith Insight Launch Party . We rented out the Addison Convention Center, ordered ten old school arcade machines, bought over $1,000 in prizes, booked flights for the entire CodeSmith Tools team is come in from around the country, and now we are counting down until party time! However, there have been some questions (and even concerns) about party which I feel need to be addressed. First: This party is NOT a time-share-condo-ploy. We are going to speak about...
  • Tom Dupont

    How To: Customize Unhandled Exception Reports in CodeSmith Insight

    • 1 Comments
    One of the top benefits of integrating CodeSmith Insight into your application is that it will automatically catch and report all unhandled exceptions. As quick and easy as it is to just let Insight do all the work, you may want to make customizations to these unhandled exception reports. This is very easy to do: Just register for the UnhandledExceptionReporting event in your application startup, and then you can use an event handler to programmatically customize your reports. Example protected void...
  • Tom Dupont

    Video: Mailboxes in CodeSmith Insight

    • 1 Comments
    The primary goal of CodeSmith Insight is to "unite different forms of communication", and email is a crucial medium with which users communicate with us. This is why Insight is capable of both importing and sending email, and this is why Insight includes a complete email client build into it's web UI. Insight's email capabilities are all controlled by Mailboxes inside the system. To help demonstrate the configuration and use of these Mailboxes, I have created a new tutorial video...
  • Tom Dupont

    Selenium 2 and WebDriver Extensions for .NET

    • 2 Comments
    If you have not had a change to play around with the Selenium 2 and WebDriver , let me assure you that it is worth checking out! We have been using WebDriver to help create unit tests for our new product, CodeSmith Insight , which is build using ASP.NET MVC2 for the back end and the ExtJS framework for our AJAX client. Despite already being infinitely better than Selenium 1, it is still under development and in need of some polish. The good news is that by simply implementing a few extension methods...
  • Tom Dupont

    Exception Driven Development and CodeSmith Insight

    • 2 Comments
    If customer facing issues are your top priority, then you are already adhere to the primary principle of Exception Driven Development. Exception Driven Development It's a pretty simple concept: Collect application data, especially regarding errors and crashes, and then focus on fixing those problems that your users are actually experiencing. Following good development practices such as Test Driven Development, Automated Deployment, and rigorous QA, help us develop more reliable software. While...
  • Tom Dupont

    MVC 2 Client Side Model Validation with ExtJS

    • 6 Comments
    One of the most exciting new features in MVC 2 is "Enhanced Model Validation support across both server and client". The new enhanced support allows for client side validation to be dynamically generated into a view quickly and easily using DataAnnotations attributes on models. This means that by simply dressing up your model properties with attributes, your web pages can instantly have dynamic client side validation; all generated and maintained for you by the MVC framework! MVC 2 enhanced...
  • Tom Dupont

    PLINQO @ Houston DNUG

    • 0 Comments
    The CodeSmith Tools (Shannon and Tom) are back on the road and delivering their first presentation of the new decade, in Houston! If you or any developers that you know will be in the Houston area on Thursday, March 11th, you should come see us and learn more about PLINQO, the replace and enhance alternative for LINQ to SQL! Houston Dot Net User Group Topic: PLINQO - Supercharged LINQ To SQL Speakers: Shannon Davidson & Tom DuPont Date: March 11th @ 6:30 PM Where: Microsoft Houston Meeting Facility...
  • Tom Dupont

    Advanced PLINQO Future Queries, Part 2

    • 0 Comments
    The immediate uses of PLINQO Future Queries are readily apparent: Do you have multiple queries that need to be executed back to back? Add future to the back of them and save yourself a few database trips. What might not be quite as easy to spot, are those places where using a more advanced design pattern can really enhance your application's performance. Here is an example of one of those patters. Part 2: Pipeline Loader Patter There are many times when an application needs to process a series...
Page 1 of 2 (40 items) 12