Mark Barto's Blog

Technical Blog about the Microsoft .NET Platform and everything that surrounds it such as .Net, C#, BizTalk, WCF, ASP.NET, SQL, Silverlight, IIS ...

SharePoint, Visual Studio 2010: Localization within WebPart

logo-sharepoint-2010



We have created a WebPart within Visual Studio 2010 for SharePoint 2010. We want to use localization within this WebPart but the usage of getting a resource element works different.

Instead of using the Resources class you use the GetLocalizedString method within the SPUtility class.

 

 

Read More ...

Posted by mabarto on 21-04-2011 and Filed under: SharePoint, Visual Studio
8 comments

VSTS, Visual Studio: Do not automatically check out

vs2010logo_transparent_large


When using Visual Studio Team System as source control environment it is very annoying when your solution/project or file is automatically checked out without knowing.

In Visual Studio it will automatically checked out without any prompt by default.

 

Read More ...

Posted by mabarto on 04-04-2011 and Filed under: Visual Studio, VSTS
234 comments

Apple: Joined iOS Developer Program

overview-hero20100817

 

Yesterday I enrolled my Apple ID for joining the iOS Developer Program as individual. Today I received an e-mail from Apple that I was accepted and I'm now having access to a set of development tools and resources.

 

Read More ...

Posted by Mark on 18-02-2011 and Filed under: Apple
87 comments

Visual Studio: Formatting XML

56604606_af050abf0b 

When opening a XML file within Visual Studio you get the contents without any linefeeds. It's very annoying that the format is not automatically set by Visual Studio.

 

 

 

Read More ...

Posted by mark on 16-09-2010 and Filed under: Visual Studio
3 comments

WPF, VS, XAML: Disable Design-Mode in Visual Studio

visual-studio-2010-logo


It's very annoying when opening a XAML file the first time that it will start in design-mode for preview mode.

Visual Studio will render the XAML code but sometimes if you have a lot of controls in it it can take a long time too load.

But there is a option within Visual Studio to turn this feature off.

 

Read More ...

Posted by mark on 27-08-2010 and Filed under: Visual Studio, WPF, XAML
4 comments