Blog
Blog posts on .NET, Azure, and more.
Building Hybrid application for Android using C# and Xamarin studio
November 28, 2013 by Anuraj
.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
November 12, 2013 by Anuraj
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
November 11, 2013 by Anuraj
.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.
How to execute a Stored Procedure with Entity Framework Code First
November 08, 2013 by Anuraj
.Net ASP.Net MVC EF Code First Entity Framework SQL Server
Recently I worked on a project, which I started as code first and then I forced to switch to Database first. This post is about executing procedures from EF code first. Here is my class structure and procedures.
Creating a Web API Controller with dynamic type
November 05, 2013 by Anuraj
.Net .Net 4.0 ASP.Net MVC Web API
Most of the time while working with Web API; we were dealing with particular model from our domain and creating GET/POST/PUT/DELETE methods that map to CRUD operations. But today I faced an issue, where I need to store some data, and I don’t have a mapping class for the same. As WebAPI doesn’t support two classes in Post action using FromBody attribute, I did it by combining FromBody and FromUri attributes, like this.
Copyright © 2024 Anuraj. 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. Powered by Jekyll. Hosted with ❤ by GitHub