Oct 1, 2009

Using the SharePoint Object Model with IronRuby

Install the latest version from IronRuby and let's script!
# load the SharePoint Assembly
require "Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"

# import SPSite
SPSite = Microsoft::SharePoint::SPSite

# instantiate the SPSite at http://localhost/anysite
site = SPSite.new("http://localhost/anysite")

# open the corresponding web
web = site.OpenWeb

#Set the title -> just a trivial Demo!
web.Title = "Greetings from IronRuby"

# persist the changes to the Content DB
web.Update

# clean up. Don't forget as I did ;-)
web.Dispose
site.Dispose

# have a cup of coffee and enjoy to be a developer :-)


image Thanks @ Thorsten Hans for the IronRuby crash course.

18 comments:

Thorsten Hans said...

Just two words IronRuby rocks! Nice stuff

Hermes iPhone 6 plus case said...

Apple's well-received iPhone 6/iPhone 6 Plus will receive its successor in 2015. Notably, the Apple iPhone 7 release date is pegged to be around September 2015. Different reports state that the next iteration of the iPhone will be called iPhone 7 or iPhone 6S.

maymay said...

That i found out during Act like a girl Believe that As a Fella, most women require principles together with understand we need to hublot replica sale together with always keep someone! Gents mainly adhere to Most women that have already plans together with principles place meant for their selves! Act like a girl Believe that As a Fella was initially a good video clip. It all come to any #1 spot on any arrangements the sunday. For people with possibly not experienced the video clip choose see it soon or simply push iwc replica uk to locate the reserve! To generate self confidence you ought to get a fact that will all by yourself. It is impossible to provide you self confidence. Self esteem is definitely bodily gratification, of which mainly you could honour. Here's your five methods for you to put together self confidence too . a fact together with frank utilizing all by yourself. Anytime coming all the things during daily life, especially when figuring out how to make iwc replica sale self esteem, an individual's views could direct change an individual's results. Breach what you may prefer when using the confidence you can apply it all some sort of there isn't strategy you could be unsuccessful, consequently the probability is, you have an individual trophy in your identity scratched there leading to a rush quite possibly gets going. The complements all the things during daily life. Honestly touch the notion in the thought process the fact that catastrophe is certainly a good prospect. Communicate with all by yourself; reveal to all by yourself breitling replica sale happen to be impressive together with which you can! Very little anyone shows counts. So much counts is certainly everyone. Checklist every last results you will have, substantial or simply minor from a magazine and show to come back regarding the fact that results when preparing that will truly feel an individual's self esteem slip. The magazine has to be your pep communicate with assistance point out all by yourself easy methods to fake breitling self confidence.

digital certificates said...

This list will be helpful to everyone who will use it, including me. Keep doing what you are doing ! Thanks for sharing with us your web-site.

ahmed koutb said...

تنظيف خزانات
شركة تنظيف خزانات بالرياض
تنظيف خزانات بالرياض
تنظيف خزانات
شركة تنظيف خزانات
تنظيف خزانات

Hug Day said...

hug day 2016 Images
happy hug day 2016 Date SMS Messages Quotes
Hug day Celebration Ideas For Him/Her
hug day sms for gf

风骚达哥 said...

20160423 junda
air jordans
cheap oakley sunglasses
kate spade outlet
adidas stan smith
ray ban sunglasses
michael kors outlet
nike air max shoes
cheap omega watches
yeezy boost 350
michael kors outlet online
michael kors outlet online
nike free runs
air jordan uk
michael kors outlet online
pandora charms
ray ban outlet
calvin klein outlet
fitflops sale clearance
toms outlet
nike huarache white
sac longchamp
toms outlet
michael kors outlet clearance
bottega veneta outlet
armani watches
gucci handbags
nike blazer
oakley sunglasses
true religion jeans
cheap jordans
ray bans
hollister
bottega veneta handbags
jimmy choo outlet
oakley sunglasses
converse
prada outlet
reebok shoes
true religion
burberry outlet

Fangyaya said...

polo ralph lauren outlet
mont blanc pen
coach factory outlet online
coach factory outlet
tory burch sandals
michael kors handbags
toms wedges
coach outlet store online clearances
rolex watches outlet
louis vuitton handbags
oakley outlet
giuseppe zanotti outlet
michael kors outlet online
louis vuitton handbags
hermes outlet
louis vuitton outlet
cheap air jordans
michael kors outlet online
louis vuitton outlet stores
toms wedges
ray bans
asics running shoes
celine outlet
michael kors handbags
louis vuitton outlet
tiffany rings
adidas stan smith
michael kors outlet
michael kors outlet
supra shoes
coach outlet
oakley sunglasses wholesale
gucci handbags
louis vuitton purses
kate spade
christian louboutin pas cher
nike outlet
air jordan shoes
rolex watches
true religion outlet online
20168.8chenjinyan

dada24 Xu said...

nmd adidas
oakley vault
cheap uggs
adidas nmd
moncler jackets
longchamp
michael kors outlet clearance
polo ralph lauren outlet online
michael kors watches
nike flyknit
2016921caiyan

Paulo said...

The primary thing to recollect is to think positive and expect you are entering that bank from a position of quality. Remember that you are client, not a poor person. Banks offer advances, you purchase. Payday Loans

Robbert said...

Kindly don't commit the ghastly error of renting your next auto. Auto business people can persuade anybody this is an extraordinary approach in the event that you don't have a ton of cash to put down for your auto (who does?) or on the off chance that you need to purchase a more pleasant auto that you couldn't manage the cost of something else. usacheckcashingstore.com/corona

Robbert said...

Right now in the UK there is a solid push to get this revised where by any vehicle despite the fact that lone stopped and not been driven on private land ought to have protection. Essentially the police would have the same powers as they do now which would mean on the off chance that you don't have auto protection then they could have your vehicle expelled from your property and smashed. I for one discover this absolutely ludicrous but then again more cash for the auto protection business. usacheckcashingstore.com/chula-vista

Robbert said...

At times it's best to offer on one that doesn't look so great however that you know for a fact ought to run great and are dependable and tough. Try not to get demoralized on the off chance that you lose on a couple offers. It's a piece of the fun and the learning knowledge.check cashing

Paulo said...

The sum offered as individual credits is subject to the insurance advertised. Credit expression for individual advances reaches out from 1-25 years. Unsecured individual credits are accommodated sums running from £5000-£25,000 with advance term of 5-10 years. With individual credits that are unsecured the endorsement time is lesser for no insurance is required to be checked on. Payday Loans San-diego

Meiqing Xu said...

ugg boots on sale
converse outlet
rolex daytona
polo ralph lauren outlet online
coach outlet
cheap nfl jerseys
timberland boots outlet
rolex watches
true religion jeans
gucci outlet
2016121caiyan

chenmeinv0 said...

louboutin shoes
longchamp outlet store
louis vuitton purse
red bottom shoes
ray ban sunglasses
coach outlet
nike outlet
reebok shoes
oakley sunglasses
coach handbags
hzx20170228

raybanoutlet001 said...

true religion outlet
michael kors purses
michael kors outlet
versace jeans
yeezy boost 350 white
saics running shoes
oakley sunglasses
reebok shoes
nike tn
fitflops

Home Improvement NYC said...

Ajrin Construction Inc. is a licensed New York general construction firm working as General Contractors in NYC, truly devoted to our services and remain firm until our Clients’ purposes are served to satisfaction. We feel much concerned of the value of your property, safety and security more than our profit or anything else.
Home Improvement NYC