How to convert JSON to XML and vice versa in C#

Posted by Anuraj on Monday, December 9, 2013

.Net .Net 4.0 ASP.Net Javascript Silverlight

Json.NET supports converting JSON to XML and vice versa using the XmlNodeConverter. The JsonConvert has two helper methods for converting between JSON and XML. The first is SerializeXmlNode(). This method takes an XmlNode and serializes it to JSON text.

How to detect IPhone / IPad through JavaScript

Posted by Anuraj on Wednesday, December 4, 2013

.Net ASP.Net Javascript

Here is code snippet which helps to identity IPhone or IPad through JavaScript.

How to invoke C# from Javascript in Android

Posted by Anuraj on Saturday, November 30, 2013

.Net HTML5 Javascript Xamarin

This post about to invoke C# from Javascript in Xamarin for Android. My last post related to building hybrid applications with C# and Xamarin, I got few comments like in hybrid application development, host language interface with javascript is an important topic, so I thought of writing a blog post.

How to detect hyperlink click in a webview android with C#

Posted by Anuraj on Thursday, November 28, 2013

.Net .Net 3.0 / 3.5 Xamarin

This post is about detecting hyperlink click in a Android webview with C#. This can be useful in two scenarios.

Building Hybrid application for Android using C# and Xamarin studio

Posted by Anuraj on Thursday, November 28, 2013

.Net HTML5 Xamarin

This post is about creating a Hybrid mobile application for Android using C# and Xamarin studio. Hybrid apps are part native apps, part web apps. Like native apps, they live in an app store and can take advantage of the many device features available. Like web apps, they rely on HTML being rendered in a browser, with the caveat that the browser is embedded within the app. Using Xamarin studio you can create native apps with C# and .Net.

User Group Meeting and Xamarin Workshop - 23rd November 2013 (Saturday) - Kochi

Posted by Anuraj on Tuesday, November 12, 2013

Miscellaneous User Group Activities

Kerala Microsoft User Group (K-MUG) is conducting monthly UG meeting and Xamarin Workshop on 23rd November at Infopark, Kochi.

Preventing Cross-Site Request Forgery (CSRF) Attacks in WebAPI

Posted by Anuraj on Monday, November 11, 2013

.Net ASP.Net MVC Javascript Web API

CSRF is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated. With a little help of social engineering (like sending a link via email/chat), an attacker may trick the users of a web application into executing actions of the attacker’s choosing. A successful CSRF exploit can compromise end user data and operation in case of normal user. If the targeted end user is the administrator account, this can compromise the entire web application.

Copyright © 2017 - Anuraj P. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Hosted with ❤ by GitHub