Sunday, April 19, 2015

Session value set and get in to java script ASP.NET

Set session value in to your java script any event:

 <%Session["aux1_7"]="7";%>;  


Get value in to your java script any event:


  var someSession = '<%= Session["aux1_7"] %>';  
         if (someSession) {  
           // Do something  
         }  

Ensure that this project has Microsoft.Bcl.Build installed and packages.config is located next to the project file

In my Xamarin form application their was dependency Restclient on Microsoft.Bcl.Build Microsoft.Bcl. i just remove all using nuget and ...