Monday, October 17, 2016

Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Getting following issue, when I compile this project.
"Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

Solution: - 
Need to change in Webconfig file one chance after that it will work smoothly.
<compilation debug="true" targetFramework="4.5.1"  />
first time above code in webconfig file.

I just added one more attribute "optimizeCompilations="true" inside tag  and code below as.

<compilation debug="true" targetFramework="4.5.1" optimizeCompilations="true" />

Monday, February 1, 2016

OpenAM - session Management/ Single signon

openAM is good open source tool for authentication and authorization to user for specific resource or product. This is built on Java and free to use. It supports token based management system(JAT) and all security mechanism. It exposes a list of REST API, which can be used for multi-purpose. Currently ForgeRock maintain this application. OpenAM can be downloaded from their site. openAM12.0 is stable released version by them. Also openAm13.0 is available those are nightbuilds.

https://forgerock.org/

http://www.ip-api.com/

IP address, DNS name and many other information can get from this site. This URL provides list of API for getting these thing.

simply copy and paste below URL on browser and get your complete details:

http://ip-api.com/json