January 2010


I am working on finishing an open source project and releasing a V1.0 of my Nucleo project (http://www.codeplex.com/nucleo).  I came across an example that I can use to illustrate testability.  Take a look at the following component:  public class WebTraceLogManager : ILogManager{ private Page GetPage() {  if (HttpContext.Current.Handler is Page)   return (Page)HttpContext.Current.Handler;  else   return null; }  public void LogError(Exception ex, string source) {  Page […]

For some reason, I couldn’t figure out why that the NeedDataSource event wasn’t firing correctly.  I spent hours trying to figure out the solution, and this forum post really helped me to solve the issue: http://www.telerik.com/community/forums/reporting/telerik-reporting/needdatasource-event-not-firing-when-updating-the-reportviewer.aspx.  When using stored procedures, Telerik stores datasets in the component designer within the report, as well as their table […]

Like web forms, MVC allows you to customize the building blocks for developing in MVC. Extension helpers are so easy to write because all it takes is an extension method like the following: public static class MyExtensions{    public static string CustomHiddenField(this HtmlHelper html, int key)    {         return string.Format(“<input type=’hidden’ value='{0}’ />”, key);    }} And now […]

Recently I’ve been playing around with DynamSoft: an online source control product based in SQL Server. The product SourceAnywhere is a great product to use for source control because of the ability to connect anywhere online. We live in a connected world and people are connecting from across the globe; internet source control is a […]

The Telerik MVC grid that comes with Telerik’s MVC open source framework is awesome.  It really rocks; it has a lot of the features that exists within the ASP.NET AJAX framework are also in this grid implementation.  Not only that, it implements MVC syntaxes for constructing the UI.  Because the grid uses Action classes to […]

I’m relatively new to ASP.NET MVC.  I really like it though, though it is a big change for developers.  One of these changes is the way viewstate works in MVC views.  Well, in short, it doesn’t.  This is a fundamental change as the VIewState mechanism doesn’t exist (but you could build your own if you […]