Category Archives: 6864

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

Silverlight 2.0 Beta 1 is out !

Silverlight 2 beta 1 is out and available for download. It certainly is an amazing option for developing smart and rich internet applications (RIA). To me the best part is support for .net programming in a corss-browser / cross-platform environment. It truly makes the WPF-everywhere mantra come to live.


For more details please check out Scott Gu’s blog here http://weblogs.asp.net/scottgu/archive/2008/02/22/first-look-at-silverlight-2.aspx

 

WCF Web Programming Model Documentation

I just came across this post at Steve Maine’s blog. I thought its worth sharing with you all: 


Conceptual Overviews:



Class Library Reference (not exhaustive):



Configuration Schema:



Samples: