howtocommentI am getting a certain amount of critical mass on this blog with 218 subscribers and a steady stream of search result links into it. But I have noticed that I do not seem to get any comments on the things that I post. I am wondering if comments are to hidden on the page. So for those who are unable to locate the comment link here is a quick screenshot of it. If you could click the link and leave me a comment saying, “Yes, it is in fact very difficult to comment on your blog.” I would greatly appreciate it.


 
Categories: Blogging | Shameless Plug

December 5, 2008
@ 07:41 AM
using System;
using System.Reflection;

namespace AllianceEnterprises.TestTools
{
public static class ReflectionHelper
{
public static void SetPrivateField(object item, string fieldName, object value)
{
item.GetType()
.GetField(fieldName, BindingFlags.NonPublic | BindingFlags.Instance)
.SetValue(item, value);
}

public static void SetStaticField(string fieldName, object value)
{
typeof (T).GetField(fieldName, BindingFlags.NonPublic | BindingFlags.Static)
.SetValue(null, value);
}
}
}

 
Categories: Blogging | Random | Tools

March 26, 2008
@ 02:58 PM
DasBlog provides systems to email daily roll up reports to you as well as an email your blog feature.

Currently I am unable to get these to work as they fail permissions checks. The errors returned are:

System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission'
System.Security.SecurityException: Request for the permission of type 'System.Net.SocketPermission'

Any way I can get around these issues with my hosted site? Or am I pretty much SOL? This is actually the second such problem I have had in my hosted environment. The host provider has their system pretty locked down and I have no direct access to IIS. They are pretty friendly and happy to help, but I don't know if their security policy will allow me to get around this one.

UPDATE: After doing a little research on this problem, I discovered that the web.config that comes with dasBlog sets trust to medium. This prevents all of the network related features from working. I removed the trust node and allowed my hosts config to to set my level and everything is fine now.


 
Categories: Blogging