HtmlGenericControl obj = new HtmlGenericControl("object");
obj.Attributes.Add("classid", "CLSID:…");
Silverlight Crossdomain file
An example of a clientaccesspolicy.xml
[code:xml]
<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="*"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
[/code]
An example of a crossdomain.xml
[code:xml]
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
[/code]
For more info you can read this weblog post.
200.000 Guids generated.
This weekend it happened the 200.000th guid has been generated on NewGuid.Net!! A success I never expected to happen 🙂
Most of the guids are generated by the IGoogle widget a must for every developer 😉
Blog update
I updated the blog to BlogEnginge.Net 1.4.5. Changed the design and added some widgets.