Have you ever needed to generate a MachineKey to use in your application’s configuration file or in machine.config? You may need a MachineKey in several scenarios. One of them is the scenario where you deploy your application in a web farm. One another scenario is to need to encrypt Forms […]

Easiest way to generate MachineKey

If you’ll try to pass null to the RenderPartial method it will actually pull the model from the page and will, most likely, give an error. So instead of [crayon-5d36ea4254a14658755321/] you better write [crayon-5d36ea4254a2e213204504/] That’s how the RenderPartial method works (I know should have been documented, blogged about, etc…, me […]

ASP.NET MVC RenderPartial With Null Model

Volley is an HTTP library that makes networking for Android apps easier and most importantly, faster. Volley is available through the open AOSP repository. Volley offers the following benefits: Automatic scheduling of network requests. Multiple concurrent network connections. Transparent disk and memory response caching with standard HTTP cache coherence. Support […]

Transmitting Network Data Using Volley

In this blog I will explain HTTP Post Method in Web API. SNO Action HTTP Method Relative URI 1. Create New Record POST /api/Record you need to create an object in web api project with Activity, CustomValue, PropertyIndex properties [crayon-5d36ea42561c7500759222/] and HttpPost will be Creating Resources HTTP POST Note: Method […]

Creating POST method in Web API

An example of an easy way to post XML data and get the response (as a string) would be the following function: Snippet [crayon-5d36ea4256c7b149719089/]

HTTP post XML data in C#

Source code is available at Github. Actual extensible and idiomatic jQuery UI widget. The widget can be styled using Themeroller or any premade jQuery UI theme. Works with jQuery UI Bootstrap Degrades gracefully for browsers without JavaScript (see example).   Demo  

jQuery Tag-it!

‘Paste JSON As Classes’ is a cool feature in ASP.NET and Web Tools 2012.2 RC. This feature will help you generate strongly typed classes in C# or VB.NET from valid JSON text. With ASP.NET and Web Tools 2012.2 RC installed, you will see new menu option like below for C# […]

Paste JSON As Classes’ in ASP.NET and Web Tools 2012.2 ...

Redis is cache technology  open source for memory data structure store, used as database, cache and message broker. It supports many data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps,hyperloglogs and geospatial indexes with radius queries. You can use with many technology. Redis has built-in […]

Introduction to Redis