Tiago Costa blog

This blog was created for sharing knowledge for Microsoft Developers and Microsoft Certified Trainers about Office 365, Azure, SharePoint and .Net.

In C#, what's the difference between String and string?

Today one of my students ask me about the difference between String and string in C# (Note the case)


string firstString = “Hello World!!!”;
String secondString = “Hello World!!!”;

string is an alias that C# language uses for System.String class, String is the class itself, so there is no difference. It’s just like int and System.Int32. Generally it’s recommended to use string any time we want to refer to an object.

Example: string city = “Seattle”;

If you want to refer to the class itself you should refer specifically to it, like this: string famousString = String.Format(“Hello {0}!!!”, city);

SharePoint Server 2016 Preview bits have been released!

SharePoint Server 2016 Preview Bits have been released. Get your hands today and start installing.

SharePoint Server 2016 IT Preview has been designed, developed, and tested with the Microsoft Software as a Service (SaaS) strategy at its core. Drawing extensively from that experience, SharePoint Server 2016 IT Preview is designed to help you achieve new levels of reliability and performance and empower users while meeting their demands for greater business mobility.

Download at: http://www.microsoft.com/en-us/download/details.aspx?id=48712

Supported Operating Systems:

  • Windows Server 2008 R2 Standard
  • Windows Server 2012 R2
  • Windows Server 2012
  • Windows Server Technical Preview

System Requirements:

  • "Almost the same" as in SharePoint 2013.
  • Product Key: NQTMW-K63MQ-39G6H-B2CH9-FRDWJ

Second shoot is back! Retake an Exam for free if you fail it.

Second Shot is back! – Dates July 12, 2015 to January 12, 2016

Are on the path to become Microsoft Certified? Are you already in the middle of it? or are you just pure and simple thinking about to take a Microsoft Certification?

Just don’t wait any more, now is the time to take the next step and to take all the exams to become certified. Second Shot give you the possibility to retake your Microsoft Exam for free. To qualify as free, the retake must be to the same exam and must be schedule until 30 days after the failed exam.

Just go to https://www.microsoft.com/learning, log in, and schedule your exams! Don’t forget that we some countries, you can also take the exam at the comfort of you office or home.


How to add Private and Incognito Mode as Browsers in Visual Studio Browser list

After watching some not so junior Web Developers running Web Applications from Visual Studio and then switch the Browsers to Private or Incognito mode, I sat down to write this post – How to add Private and Incognito Mode as Browsers in Visual Studio Browser list.

As you probably know Visual Studio picks up your installed browsers and puts then available as a dropdown list for you to choose in which one you want to start debugging your web application. But do you know how Visual Studio puts this together? As a o365 and SharePoint developer I find useful to have Private/Incognito browsers available in this list. To achieve that just follow this instructions:

1, Pull down the chevron and click “Browse with…”


2. Add Internet Explorer – Private with the following details:

Program: C:\Program Files\Internet Explorer\iexplore.exe
Arguments: –private
Friendly Name: Internet Explorer – Private



3. If you wish to do the same for Chrome here are the details:

Program: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Arguments: -incognito
Friendly Name: Google Chrome – Incognito


Hope you find this tip useful!

New Office 365 workload specific admin roles

It has been a common request to be able to granular assign administrative permissions to different users/services in Office 365. Until now the only option was to give “Global Administrator” permissions to all admin users. Even if a specific user would only manage one of the Office 365 Services like SharePoint, Skype for Business, Exchange, he would have admin privileged in all services. This was until now! Back in May at Ignite 2015, Microsoft announced a major improvement – Workload-specific admin roles -  and it’s going to be rolled out as part of the monthly update process. For those with the First release option enable, this should be already deployed (or will be very soon). Just edit the user roles of one of your users and you will get this options (Limited Admin Role):



To know more: https://blogs.office.com/2015/06/11/more-control-over-data-access-with-workload-specific-admin-roles/