Home Authors Posts by Ricardo Costa

Ricardo Costa

Ricardo Costa
53 POSTS 1 COMMENTS
Solution Architect at |create|it|. Member of the Systems Integration and Web Development team. More recently, manager of the RAD team (Rapid Application Development) with greater focus on the OutSystems platform. Special topics of current interest include: Solution Architecture design, Integration Patterns and Enterprise Application Patterns, Software Factories, Code Generation, Web Development.

Enable Soap logs for Windows Live MA 2.0

0
At c: you find an xml file - SoapTraceConfig.xml - where you can enable the soap logs. <?xml version='1.0'?> ...

Windows Live MA 2.0 additionally attributes

0
Thanks to Shawn Lloyd from Microsoft support team for this information. I tried to set some additionally attributes like country, timezone, ..., but...

Install Live@Edu pfx certificate

0
Before install Windows Live ID Management Agent 2.0 place the PassportMA_GlobalConfig.xml under Extensions folder. The PassportMA_GlobalConfig.xml that Microsoft gives you doesn't have defaultcertski...

Windows Live ID and MIIS Service Account

0
To the management agent work correctly with Windows Live the MIIS Service Account must be a member of the local administrators group. If...

Custom Action for Sharepoint Designer

0
I'm going to create a custom action for Sharepoint Designer that creates a discussion thread in a discussion list based on the current list...

Add a custom section to web.config

0
If you have created a custom section like this, and if you want to add it programmatically to web.config then you have to: Use the...

How to upload a list template

0
public static SPFile UploadListTemplate(string siteUrl, string templatePath) { using (SPSite site = new SPSite(siteUrl)) { SPDocumentLibrary templates = (SPDocumentLibrary)site.GetCatalog(SPListTemplateType. ListTemplateCatalog);  System.IO.FileInfo fileInfo = new System.IO.FileInfo(templatePath); byte bytes = System.IO.File.ReadAllBytes(fileInfo.FullName);  return templates.RootFolder.Files.Add(fileInfo.Name,...

How to upload a site template

0
public static SPFile UploadWebTemplate(string siteUrl, string templatePath) { using (SPSite site = new SPSite(siteUrl)) { SPDocumentLibrary templates = (SPDocumentLibrary)site.GetCatalog(SPListTemplateType.WebTemplateCatalog);  System.IO.FileInfo fileInfo = new System.IO.FileInfo(templatePath); byte bytes = System.IO.File.ReadAllBytes(fileInfo.FullName);  return templates.RootFolder.Files.Add(fileInfo.Name,...

How to create a custom section for an application config file

0
First we need to create a custom ConfigurationElement. This configuration element only has a value attribute. public class MyConfigurationElement : ConfigurationElement { ///...

How to create an item in a discussion list

0
Creating a discussion in discussion list is different from creating a simple list item. The code for creating a discussion item is: using (SPSite site...