Embedded sqlMap.config

If you are like me you would like to embed sqlMap.config file for your ibatis project. Although its not provided out of the box but its very simple to implement. All you have to do is to write your own sqlMapper implementation.The core logic revolves around building DomSqlMapBuilder.  protected static void InitMapper()        {            DomSqlMapBuilder builder = new DomSqlMapBuilder();            XmlDocument sqlMapConfig = Resources.GetEmbeddedResourceAsXmlDocument(“YourNamepspace.YourConfigFile.config”);            mapper = builder.Configure(sqlMapConfig) as SqlMapper;        }   for more details do check out http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+use+an+embedded+sqlMap.config+file

The invoked member is not supported in a dynamic assembly

When i tried running an ibattis related unit test fixtures in my exsiting test assembly I started getting this wierd error that’s a known bug documented at http://support.microsoft.com/kb/327131. Interesting thing is that when i run that fixture in a separate assembly it works fine but as soon as i add it to existing test fixtures it crashes with this error :”The invoked member is not supported in a dynamic assembly”. I think it has to do with how nUnit created dynamic assemblies for test fixtures internally. Unfortunately i cant change that behavior. So for now the work around is to … Continue reading The invoked member is not supported in a dynamic assembly

More on Composite Architecture

As i posted earlier that i will be presenting @ IASA Singapore’s chapter evening. It turned out to be an interesting session and i got the chance to interact with the audience and hear their pain points on composite architecture and enterprise mashups. Enteprisewise initiatives, sharing data across services/apps and need for top quality tools came out as the most crucial elements to the success of composite architecture. I also heard some interesting remarks from the audience. One of the gentlement mentioned that there is nothing that composite arch/enterprise mashup offers that couldnt be done with traditional apps/services. I’d say … Continue reading More on Composite Architecture

ASP.NET MVC CodePlex Preview 4

This CodePlex Preview 4 release introduces new features as well as changes to the default project template. The changes to the default project template are intended to help jumpstart the most common application-building scenarios. Many of the new features focus around simple AJAX scenarios. http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=15389

Interesting

If you think – you take our tea/coffee seriously  – you have lots of sugar (its indeed our fuel) – you like to have it on your desk Then you are not much different from earlier species of computer programmers who used to work with John Von Nuemann. Check out this interesting read     http://skysigal.xact-solutions.com/Blog/tabid/427/EntryID/387/Default.aspx  

Speaking @ IASA Singapore Event

I will be talking about Composite Architecture @ IASA Singapore’s monthly chapter evening. I will discuss how the software architecture paradigm is shifting in response to agile enterprises. This talk will intend to de-mystify composite architecture and then in the end present available tools and technologies that can be used to build applications and services that are based on composite architecture.If you are in or around Singapore on 17th of July 2008 then feel free to join us. Venue is :9 Temasek Boulevard | #35-03 Suntec Tower Two | Singapore 038989 For directions click here