Get Project Site URL using CSOM Programmatically

In this post, I described you to Get Project Site URL using CSOM Programmatically. Whenever you are developing a custom web part, custom Workflow or something else, You need to get current project site URL dynamically. We also can get the current project site URL using PSI. Below is code to get current project site URL.

 Click Here to like and subscribe my channel

If you don’t know to add references in your solutions then follow the post below

Add  references in Solution




  1. sir, why did i get the error problem when use “Guid Proj_UID = new Guid(System.Web.HttpContext.Current.Request.QueryString[“ProjUid”].ToString());” to retrieve my current project site ? the following error like this “Object reference not set to an instance of an object.”
    any suggestion to solve this sir?

Leave a Reply

Your email address will not be published. Required fields are marked *