To code in C# You have to do the
1.Create a folder under Desktopmodule
2.Inside the newly created directory add a web user control
3.While adding the web user control select the programming language as visual C#
4.Put the controls in the web user control
5. Double click on the web user control to go to the code window.
6. Add the dotnetnuke name space.
7.Inherit the partial class from DotNetNuke.Entities.Modules.PortModuleBase(Eg: partial class DesktopModules_Jithin_Jithin :
DotNetNuke.Entities.Modules.PortalModuleBase)
8.Write the code to manipulate the user control.
9..Modify the web.confog like this
<codeSubDirectories>
<add directoryName="Your Module Name" />
</codeSubDirectories>
This node is coming under <system.web><compilation>
10. Sometimes you may need to create an empty folder with the same name as the module folder.
11.Build the website.
Now module is ready for installation.
(If you set the security and permissions properly and created a virtual directory you can open the website in browser and
configure it.)