Every now and then I need to create a new Oracle user to test the CodeSmith Generator OracleSchemaProvider. I wanted to outline the steps that I use to create a new user as well as change the password of an existing user. The first step one needs to take is to create a new user …Read More
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, …Read More
I am currently working on the new parser for CodeSmith Generator 6.0. When I wrote the original template parser back in 2004, I really had no idea what I was doing. 🙂 I had no idea what an AST was or what an LL(*) parser was, etc. That being said, I think I did an …Read More
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 …Read More
We have all been waiting for this day to come, and now it is finally here: Entity Framework has finally matured, and it is time to create some CodeSmith Generator templates for EF! We are excited to finally begin this project and we simple can not wait to get started, but first we need your …Read More
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 …Read More
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 …Read More
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 …Read More
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 …Read More
Let’s take a quick look at a new feature in CodeSmith called IndexedEnumerable. IndexedEnumerable provides a smarter way to iterate collections. The best way to see this is with a quick sample. We will get a list of tables and iterate the collection as an indexedenumerable. <% IndexedEnumerable<TableSchema> tables = SourceDatabase.Tables .Where(t => t.HasPrimaryKey && …Read More