DotNetMe Podcast ++

Hi folks, its been a while since my last post. I guess i have been a bit too busy, but no complains thats the way it goes. Coming to the point, althought i havent been blogging but i have been busy sorting out podcasts for the DotNetMe (Microsoft.Net Middle East) show. Just to give you a head’s up, so far, we have recorded following sesssions: – Agile Development with Hammad Rajjoub (shameless plug, i know :> )– Localizing Microsoft Technology Stack for Arabic with Dina Lasheen– Understanding Micrsoft EPM – Enterprise Project Management with Bilal Okour We are going to … Continue reading DotNetMe Podcast ++

Gulf Developer Podcast series 09

I am extremely pleased to announce the very first ‘Microsoft.Net focused podcast series in Gulf’. Let me give you a little bit of background first and then we can drill down into the details of who, what, how and when. HistoryHaving been in Dubai, on and off, for past 4-5 years and being Microsoft MVP all the while has given me an oppurtunity to work with local developer communities here in the Gulf. In terms of dev communities, Kwait (with dotnetboom http://www.dotnetboom.net) and Qatar (with oryx dev http://oryxdev.com/en/default.aspx) have been successful with setting up their user groups. Unfortunately we dont … Continue reading Gulf Developer Podcast series 09

Microsoft’s Web Platform Installer

The Web Platform Installer (Web PI) is a simple tool that installs Microsoft’s entire Web Platform, including IIS, Visual Web Developer 2008 Express Edition, SQL Server 2008 Express Edition and the .NET Framework. Using the Web Platform Installer’s user interface, you can choose to install either specific products or the entire Microsoft Web Platform onto your computer. The Web PI also helps keep your products up to date by always offering the latest additions to the Web Platform. get it here http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx

Office Development with VS 2010

Get up to date with office development on .net platform with Somasegar’s post <a href=”http://blogs.msdn.com/somasegar/archive/2009/01/10/office-client-developer-enhancements-with-vs-2010.aspx”>here</a> My personal favourite is simplification of .net’s integration with COM’s OM. As per the example posted in Somasegar’s blog. Instead of doing the following object fileName = “Test.docx”;object missing  = System.Reflection.Missing.Value;doc.SaveAs(ref fileName,    ref missing, ref missing, ref missing,    ref missing, ref missing, ref missing,    ref missing, ref missing, ref missing,    ref missing, ref missing, ref missing,    ref missing, ref missing, ref missing); You can do with VS 2010 object fileName = “Test.docx”;doc.SaveAs(fileName);

Contention, poor performance, and deadlocks when you make Web service requests from ASP.NET applications

If you are (un) lucky like me then you may run into gettin this error on IIS server asp.net web apps/asmx web services. Its a known issue and has a resolution documented in kb article @ http://support.microsoft.com/kb/821268. The resolution revolves around fine tuning machine.config parameters. To improve your asp.net web app performance do read http://msdn.microsoft.com/en-us/library/ms998549.aspx

VS 2008 sp1 & .Net 3.5 sp1 is out

You can download VS 2008 sp1 and .Net 3.5 sp1 @ http://www.microsoft.com/downloads/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&DisplayLang=en   This release has major improvements on WCF and WF. Brief overview avaialble @ download page says:   .NET Framework version 3.5 Service Pack 1 provides the following new features and improvements: ASP.NET Dynamic Data, which provides a rich scaffolding framework that enables rapid data driven development without writing code, and a new addition to ASP.NET AJAX that provides support for managing browser history (back button support). For more information, see What’s New in ASP.NET and Web Development. Core improvements to the CLR (common language runtime) that include … Continue reading VS 2008 sp1 & .Net 3.5 sp1 is out

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