title: How to get the SharePoint current page URL and current page Name using Client Side Object Model?
body: <p>I need to add items to a SharePoint list using client object model. The issue I am facing is: Suppose I am at a page whose URL is <strong>http'://sharepointserver:7575/details.aspx</strong> </p>
  
  <p>I want to fetch this complete URL &amp; Similarly I need to fetch the current page name also using <strong>client object model</strong>. 
  Can someone please guide me Which properties I can use to achieve this as I don't have any idea about client object model coding?</p>
  
  <p>Any help would be greatly appreciated..</p>