I used the starter kit to make a new C# module. A couple things were not listed in the welcome page when you create the module.
Besides having to rename the folders from 'ModuleName' to whatever your module is and adding the subdirectory to the web.config, I found that I had to do the following:
in my ViewModuleName.aspx.cs file, I had to change the '&'s to '+'s in the final if statement. but that's not all, you also have to wrap that whole if statement in another statement:
if (strContent != null)
{
if (strContent.IndexOf("[" + objPropertyInfo.Name.ToUpper() + "]") != -1)
{
strValue = Server.HtmlDecode(DataBinder.Eval(e.Item.DataItem, objPropertyInfo.Name).ToString());
strContent = strContent.Replace("[" + objPropertyInfo.Name.ToUpper() + "]", strValue);
}
}
i find it odd that the C# code included &'s.
anyways, hope that helps. i just made my first c# module in DNN 4.3.3. I named it MyFirstModule. ahahah, okay back to work.