Geeks With Blogs

News Awarded Microsoft MVP C#.NET - 2007, 2008 and 2009


I am born in Bangladesh and currently live in Melbourne, Australia. I am a Microsoft Certified Application Developer MCAD Chartered Member (C# .Net)and born in Bangladesh.
I am founder and Chief Executive Officer of
Simplexhub, a highly experienced software development company based in Melbourne Australia and Dhaka, Bangladesh. Co-founder and core developer of Pageflakes www.pageflakes.com.
Simplexhub, is on its mission to build a smart virtual community in Bangladesh and recently launched beta realestatebazaar.com.bd an ASP.NET MVC application written in C#.NET.


Some of My Articles
Flexible and Plugin based .Net Application..
Mass Emailing Functionality with C#, .NET 2.0, and Microsoft® SQL Server 2005 Service Broker'
Write your own Code Generator or Template Engine in .NET

Shahed Khan blog July 2007 Entries
Loading Providers in Medium Trust Mode using WebConfigurationManager
Problem:Recently I uploaded a ASP.NET2.0 website with a hosting provider (shared environment), and started getting this error when ever I wanted to load the providers declared on the config file:[SecurityException: Request for the permission of type 'System.Security.Permission... mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934... failed.] System.Security.CodeAccessS... demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessP... ......

Posted On Sunday, July 15, 2007 6:16 PM

Working with *Specified Properties.
Problem:The value of DateTime property is assigned but its not included in the serialized xml.SomeClass msg = new SomeClass();msg.generated_on = DateTime.Now ; if we serialize this we will find this: <?xml version="1.0"?><SomeC... xmlns:xsd="http://www.w3.or... xmlns:xsi="http://www.w3.or... /> as opposed to<?xml version="1.0"?><SomeC... xmlns:xsd="http://www.w3.or... xmlns:xsi="http://www.w3.or... generated_on="12/07/2007 ......

Posted On Wednesday, July 11, 2007 8:43 PM

Be careful using Member Name with suffix "Specified", it has special meaning to the XmlSerializer
Members with names ending on 'Specified' suffix have special meaning to the XmlSerializer: they control serialization of optional ValueType members and have to be of type System.Boolean.Here is a test class to generate the exception where I explicitly declared the 'generating_bugSpecified' Member to integer.[System.Xml.Seriali... public class TestBug{ [System.Xml.Serialization.X... System.Int32 generating_bug; /// <remarks/>[System.Xml... ......

Posted On Wednesday, July 11, 2007 12:52 PM

Copyright © Shahed Khan | Powered by: GeeksWithBlogs.net | Join free