Sunday, May 30, 2010

How to get the id of a webpart?


WebPartManager1.WebParts(0).ClientID
this will get the ID of the first webpart in the webparts collection.


www.codecollege.NET

What is an Anti-Pattern?


In software engineering, an anti-pattern (or antipattern) is a pattern that may be commonly used but is ineffective and/or counterproductive in practice.


www.codecollege.NET

what are the 2 programming models supported by Silverlight?


1. JavaScript API for Silverlight
2. Managed API for Silverlight


www.codecollege.NET

Solution for WCF Configuration Editor error : "Configuration binding extension 'system.serviceModel/bindings/basicHttpBinding ' could not be found. "

<h4>
Change the binding from "WsHttpBinding" to "basicHttpBinding" in the web.config file or app.config file as follows,

<endpoint address="" binding="basicHttpBinding"
</h4>
<a href="http://www.codecollege.NET">www.codecollege.NET</a>

What are the transport mechanisms supported by WCF?


1. HTTP (ex : http:// or https:// )
2. TCP (ex : net.tcp :// )
3. Peer network (ex: net.p2p://)
4. IPC (Inter-Process Communication over named pipes) (ex: net.pipe://)
5. MSMQ (ex: net.msmq://)


www.codecollege.NET