Conventionalism over Confucianism (3)
share
digg
by
noreply@blogger.com (Kevin Hurwitz) (4)
on
Kevin Hurwitz (10)
2 weeks, 5 days
ago
permalink
Since the .NET 1.0 Beta was released in 2001, I've been firmly in the .NET camp. However, there is (at least) one thing that the Ruby-on-Rails guys really nailed - Convention over Configuration. How should I organize my solution? What should I name my views? What should I name my product category table this time (tblProductCategory, ProductCategory, or product_category)? How should I test my data access layer? In my opinion, the best answer to these ...
Super Simple MVC Ajax With JQuery Demo (7)
share
digg
by
Haacked (14)
on
you've been HAACKED (14)
3 weeks, 1 day
ago
permalink
UPDATE: I linked to the wrong post. I corrected the link. During the recent Insiders summit, Wally cornered me into recording a really short video demonstrating a feature of ASP.NET MVC. I decided to sprinkle a little Ajax in my demo by showing how to use jQuery to call an action that returns a JsonResult. Specifically, I show how to update a couple of regions in the page (two dom elements) with data pulled from ...
The Onion Architecture : part 1 (12)
share
digg
by
jpalermo (8)
on
Jeffrey Palermo (.com) (11)
3 weeks, 1 day
ago
permalink
I've spoken several times about a specific type of architecture I call "Onion Architecture". I've found that it leads to more maintainable applications since it emphasizes separation of concerns throughout the system. I must set the context for the use of this architecture before proceeding. This architecture is not appropriate for small websites. It is appropriate for long-lived business applications as well as applications with complex behavior. It emphasizes the use of interfaces for behavior ...
.NET Rocks #362: James Kovacs Inverts Our Control! (1)
share
digg
by
James Kovacs (0)
on
James Kovacs' Weblog (0)
3 weeks, 1 day
ago
permalink
I had the pleasure of appearing on .NET Rocks #362. I talked to Carl and Richard about dependency inversion, dependency injection, and inversion of control. A lot of what we talked about I also wrote about in my MSDN article, Loosen Up: Tame Your Software Dependencies for More Flexible Apps. Here's the summary of the show, which I had absolutely no input into whatsoever: James Kovacs talks about the Castle Windsor project, and gives the ...
BizTalk Self-Study (1)
share
digg
by
ChrisRomp (0)
on
Chris Romp (0)
3 weeks, 1 day
ago
permalink
It seems I keep putting this list together again and again, so I think it deserves a "home" of its own. I'll try to keep it up to date. If you're a developer who would like to learn about developing applications on BizTalk Server, but don't have the time, resources or whatever to take one of the MOC-based courses, this list is for you. First, take a look at the BizTalk Virtual Labs to get ...
ReSharper 4.0 Lambda Refactoring (1)
share
digg
by
David Starr (0)
on
Elegant Code (0)
3 weeks, 1 day
ago
permalink
Now this is just cool. Start with the following code: Hit ALT+Enter to get the ReSharper drop down Hit the conversion and get this: Share This
A Professional Software Developer Never Says … (1)
share
digg
Using CSLA Light Part 2 (1)
share
digg
by
Rockford Lhotka (0)
on
Rockford Lhotka (0)
3 weeks, 1 day
ago
permalink
In Part 1 I discussed the high level architectural options offered by CSLA Light. In Part 2 I'll start walking through the implementation of the 3-tier mobile object model (which pretty much also covers the 4-tier mobile object model as well). I'll start with the center of the application: the business layer. As I discussed in Part 1, the business layer spans Silverlight and .NET and defines mobile objects that are capable of moving between ...
Three Qualities that Every Piece of Code Should Have … (1)
share
digg
by
Jan Van Ryswyck (0)
on
Elegant Code (0)
3 weeks, 1 day
ago
permalink
It should solve a problem and thus it must be valuable to its users. In short, it should do what it must do and simply work. It should be very easy to change. Every piece of code is subject to change, so it should be darn easy to alter its behavior without complete rewrites. Some piece of software that is difficult to change should be fixed, even though it works correctly. It should unmistakably communicate ...
Finalizer vs. Application: A Race Condition from Hell (1)
share
digg
by
Sasha Goldshtein (0)
on
All Your Base Are Belong To Us (0)
3 weeks, 1 day
ago
permalink
One of my favorite managed debugging demos is analyzing a memory leak caused by a blocking finalizer. This tension between the finalizer thread and the application threads making allocations should be kept in mind by any programmer using this powerful but dangerous feature. However, there is another subtle category of bugs that can surface "thanks" to finalization: Race conditions between the finalizer and your application threads. For example, consider the following scenario in which the ...