Geeks With Blogs
bobby's blog randomly specific... April 2010 Entries
Handy ASP.NET MVC 2 Extension Methods – Where am I?
Have you ever needed to detect what part of the application is currently being viewed? This might be a bigger issue if you write a lot of shared/partial views or custom display or editor templates. Another scenario, which is the one I encountered when I first started down this path, is when you have some type of menu and you’d like to be able to determine which item represents the current page so you can highlight it in some way. A simple example is the menu that is created as part of the default ......

Posted On Friday, April 9, 2010 12:13 AM

Using RIA DomainServices with ASP.NET and MVC 2
Recently, I started working on a new ASP.NET MVC 2 project and I wanted to reuse the data access (LINQ to SQL) and business logic methods (WCF RIA Services) that had been developed for a previous project that used Silverlight for the front-end. I figured that I would be able to instantiate the various DomainService classes from within my controller’s action methods, because after all, the code for those services didn’t look very complicated. WRONG! I didn’t realize at first that some of the functionality ......

Posted On Saturday, April 3, 2010 4:31 AM

Copyright © Bobby Diaz | Powered by: