Posts

Showing posts from January, 2011

Encrypting sections in configuration files

Image
You can face a problem with your connection strings or other confidential and critical information is stored in configuration file when hosting web site or distributing application to clients.
You have many solution options in this case like using SSO, SSS, store encrypted data in a database. But these methods are time consuming and sometime expensive.
The solution I can offer is to encrypt data in configuration file using System.Configuration library from .NET
Add reference to System.Configuration to your project and run this code once
// Get the current configuration file. System.Configuration.Configuration config = ConfigurationManager.OpenExeConfiguration( ConfigurationUserLevel.None);
// Get the section. ConfigurationSection section = config.GetSection("connectionStrings"); // Protect (encrypt)the section. section.SectionInformation.ProtectSection( "RsaProtectedConfigura…

new Silverlight 4 certification exam

Due to high interest for Silverlight 4 certification (70-506) and trainings I would like to post that new certification exam is available in Prometric centers
for details please check
http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-us

You can register for exam at http://www.prometric.com
for certification discounts and details send me a private message

BizTalk / SharePoint integration

Image
BizTalk includes SharePoint adapter which can be used for sending and receiving data from/to SharePointYou could see that that sending adapter even is limited with 16 fields. But what to do if you want to send more then 16 fields, attach a file to Item, do manipulations with a List/Library etc.
I would like to recommend to use native web services from SharePoint which can be found at http://localhost/_vti_bin/lists.asmx
Use UpdateList to insert and update List Items you can use GetListItems method to serach for Items in a List
for more methods and description check http://msdn.microsoft.com/en-us/library/lists.lists(v=office.12).aspx
for other SharePoint Services check http://msdn.microsoft.com/en-us/library/dd878586(v=office.12).aspx
which you can use by calling from orchestrations