I would love to say that Blake had a contemplative moment on the beach as the sun went down, but really, I just got lucky and timed things right. I think this shot turned out pretty well :).
When you are localizing a SharePoint site, you may need to get your .resx files to the App_Global resources folder in your virtual directory for the web application. This gave us a bit of trouble, so I thought it would be worth writing down. And funnily enough, the answer is very simple and provided by Visual Studio 2010 (VS2010's integration with SharePoint 2010 is pretty awesome). We'll start by adding a New SharePoint 2010 item: an Empty element … And name it "Resources"… After adding the Empty Element Item to your project, you can add your .resx files to its folder. Once your resx file is there, you'll want to edit the properties to configure its deployment to the App_GlobalResources folder. First, set the DeploymentType property to AppGlobalResource . Once the Deployment Type is set, VS will automatically set the Deployment Location property to "{WebApplicationRoot}\App_GlobalResources\{PROJECT_NAME}\Resources\" , which isn't really useful to u
This is just a short post for my own retention and edification - As it is considered best practice to deploy web.config modifications using the SharePoint object model and calling ApplyWebConfigModifications() and Update() on the SPWebService , I want to make note of a few caveats. When ApplyWebConfigModifications() is called, SharePoint behind-the-scenes looks at the collection of SPWebConfigModifications for EACH web application in the farm and applies those changes. It doesn't matter if you called it for a specific web application; this propagation of config changes is pushed for every web.config that is associated with a web application that contains these SPWebConfigModification entries. The problem here, is that if you have made any manual configuration changes (for example, if you have to encrypt a section for security purposes), once that ApplyWebConfigModifications() gets called, those entries are reverted back to whatever value they were entered within that SPWe
So last week I impulsively bought a Windows 7 Phone, a Samsung Focus, partially to mess around with development on the new platform, but mainly because I like toys and wanted to play with it - and also to be able to compare between the major mobile OS players right now - iPhone, Android and now WP7. I really like the interface. A lot. And the screen is very pretty-not quite the resolution of the iPhone 4, but it's still quite nice. It's quite responsive, and the way tiles move and slide around almost imparts an organic feeling, alost playfulness. I do miss Android's awesome notification system and the wealth of great apps that are available on iOS4, but I think Microsoft can gain ground on both fronts with the right moves. Anyway, so far there are two features that I really love so far: 1. You can use the phone as an FM radio through the Music + Videos player - it uses your headphones as the antenna. How cool is that??? 2. Via @brianfeucht, it came to my attention that
Comments
Post a Comment