I thought you might enjoy this one.
Atleast, I know I am not alone. And, therefore my boss knows, I can't complaint :)
Happy Friday.
Jun 19, 2009
Jun 13, 2009
Debugging WCF hosted on IIS
Image via CrunchBase
Something trivial as debugging a WCF hosted on IIS eventually cost me hours of googling and digging into VS2008. Lot of lessons learnt though.
In brief:
Built a WCF and a Silverlight app to connect to it.
On trying to run both of them out of development web server supported by VS resulted in error
This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent.After digging for while and repeatedly reading the basic requirements to have crossdomain.xml and clientaccesspolicy.xml, this article gave an organized summary with examples on crossdomain. Again, it didn't work. The solutions recommended having either of the crossdomain.xml and clientaccesspolicy.xml files in the app folder or the www root folder. It really didn't work in my case. It started working when placed both the files in root and app folder. Still, not sure if that made it work. Worth a try and different from all the solutions i came across.
Error 2:
Trying to debug the WCF hosted on the IIS through VS.NET started throwing the error "The following module was built either with optimizations enabled or without debug information"
I was sure, the modules were built with debug mode and optimizations turned off. After searching for while, the below url provided ways to debug further. The articles talks about attaching to w3 process and using VS.NET to check the availability of debug information.
http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/3d99bf8b-dd32-4562-ab9b-8f63982ec57c
http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic49328.aspx
Jun 6, 2009
Software Engineering ≠ Computer Science [Source: DDJ.COM]
Image by Gojca via Flickr
The complete article at Dr.Dobb's journal here.
Must Read!
Jun 2, 2009
The Rise of China
Image via Wikipedia
Taking advantage of this situation, China has expanded their clout around the world funding every Anti-American country into its way. Chinese funding of South American countries, Africa and the Asian countries such as Pakistan, Burma, Srilanka has followed the strategy of US in the post-world war era. China has heavily invested in these countries to gain clout over the natural resources as well as military positions across the globe, the same way the US did in the post- world war era building military bases around the world and gaining clout as the super power. China is building ports in major countries surrounding India to establish its clout in South Asia.
Also, China has grown into the largest consumer of cars supassing US for the first time in the history, as Chinese government has been pushing to create China into a consumer market propelling growth domestically than reliance on the US exports. China mustered its clout recently by demanding an alternative global currency to US dollar and providing Chinese currency as mode of funding to promote its currency globally.
On the controversial side, China is known for notorious human rights abuses, stealing intellectual property from global in Chinese soil, tight control over media and the list continues.
Jun 1, 2009
Switching Silverlight 2 and 3 development
Image via CrunchBase
http://blogs.msdn.com/amyd/archive/2009/03/18/switching-from-silverlight-3-tools-to-silverlight-2-tools.aspx
Subscribe to:
Posts (Atom)