Showing posts with label JSON. Show all posts
Showing posts with label JSON. Show all posts

Tuesday, July 7, 2015

JSON Web Token in ASP.NET Web API 2 using Owin


In the previous post Decouple OWIN Authorization Server from Resource Server we saw how we can separate the Authorization Server and the Resource Server by unifying the "decryptionKey" and "validationKey" key values in machineKey node in the web.config file for the Authorization and the Resource server. So once the user request an access token from the Authorization server, the Authorization server will use this unified key to encrypt the access token, and at the other end when the token is sent to the Resource server, it will use the same key to decrypt this access token and extract the authentication ticket from it.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,JSON,OWIN,.Net,Articles,Computer Tutorials, MVC,Token-based Authentication

Thursday, March 6, 2014

Rendering a Partial View and JSON Data Using AJAX in ASP.Net MVC


This article explains how to render a partial view and JSON data using AJAX. I have divided this article into three sections to understand both concepts, the first section describes the basic code and structure that is common in both concepts, the second section describes how to render a partial view using AJAX and the last section describes how to render JSON data on a web using AJAX. I will explain these concepts with a simple example. The example is that books are showing in a web depending on publisher. I choose a publisher from a dropdown list then the books information is shown in the web page depending on publisher. So let's see this example in detail.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials, MVC, MVC4,ASP.Net,AJAX,JSON

Thursday, December 26, 2013

Exchange Json Data with Web API


Web API is the ultimate .NET Framework which allow you to exchange data with a service through HTTP requests. You can send data to it or get back different types of data but the most common usage is the Json format. This post will show you how to send GET, POST, PUT or DELETE HTTP requests to your Web API infrastructure, in order to retrieve, add, update or delete a resource respectively. We are going to use the HttpClient class to make our HTTP client requests. Our solution, will apart by a basic API controller which is going to support all HTTP methods and a simple WebForm page which is going to play the User Interface role.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,JSON,Web APIs

Wednesday, June 5, 2013

MVC Basic Site: Step 4 – jqGrid Integration in MVC 4.0 using AJAX, JSON, jQuery, LINQ, and Serialization


MVC Basic Site is intended to be a series of tutorial articles about the creation of a basic and extendable web site that uses ASP.NET MVC. The first article from this series, named MVC Basic Site: Step1-Multilingual Site Skeleton, was focused mainly on the creation of a multilingual website skeleton by using ASP.NET MVC. Also the user authentication and registration created from scratch was described there. The second article, MVC Basic Site: Step2-Exceptions Management, presents in details the exceptions management rules and their implementation for an ASP.NET MVC website, and provides some utility base classes and source code for Logging and Exceptions Management that can be reused (with very small changes) not only in other ASP.NET sites but also generally in any .NET project. The third article, MVC Basic Site: Step3-Dynamic Layouts and Site Admin with: AJAX, jqGrid, Controller Extensions, HTML Helpers and more, provides the implementation of dynamic layouts and website administration by using AJAX, jqGrid, Custom Action Results, Controller Extension, HTML Helpers, and other utility C# source code and JavaScript that can be extended and reused in other projects. This article is the fourth in the MVC Basic Site series, and presents in detail jqGrid integration in MVC 4.0 by using AJAX, JSON, jQuery, LINQ, and Serialization.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,ASP.Net,jQuery,HTML,HTML5,Javascript,JSON,MVC4,AJAX

Monday, May 27, 2013

A Little HTML5: Using JSON and File API to View Starred Google Reader Posts


A couple of months ago, Google announced that it was retiring its web feed reader Google Reader. As a long-time user of the service, I was disappointed. But there are a couple of substitutes out there like Feedly, The Old Reader, NetVibes, etc. Google gives you the option of exporting your data from Reader through Google Takeout. This is where my inspiration for a little project started. When you go through the process to export your data through Takeout, you receive a zip file. It contains an XML file with all of your subscriptions in OPML format, as well as 7 JSON files containing information like your social connections, stories you "liked," stories you shared with others, notes you took about stories, stories that you put in your favorites list, etc. The problem I found is that none of the above mentioned substitutes know what to do with any of these JSON files.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials, Web, Web Development, JSON, HTML, HTML5, Google Reader Posts

Tuesday, May 14, 2013

JavaScript - Convert JSON String to JSON Object


Introduction: Here I will explain how to convert JSON string to JSON object in JavaScript. Description: In previous posts I explained convert datatable to JSON string in c#,vb.net, convert datatable to xml in asp.net, Convert datatable/dataset to arraylist, convert xml string to datatable in c#, asp.net, C#, SQL Server Interview Questions, send gridview as email body, upload and


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,JavaScript,JSON

Thursday, March 7, 2013

Today iOS Development Tutorials, Resources, Articles, Open Sources and Samples


1. iOS Image Processing Library Allowing You To Define Custom Image Filters Using A JSON File

An open source library allowing you to create image filters using Core Image using an easy to set up JSON file.

According to the readme support image processing types include:

- blur: A gaussian blur
- color: Apply a color blend
- adjustment: Apply image adjustments like brightness, contrast, etc
- curve: [Not Implemented Yet]
- gradient: Supports a gradientType of either linear or radial
- image: Overlay an image using a specific blending mode.
- script: [Not Implemented Yet]
- CoreImage: A free-form CoreImage action that you can use with any supported CIFilter.

You can find Wolfpack on Github here.

A nice library for creating image filters.

2. Open Source iOS Control Providing Keylines That Adjust Based On Device Tilt Like The Music App

An open source control that allows you to create gradient lines that adjust based on device tilt like the lines in the Music app.

You can easily adjust the background and highlight colors.

You can find TLTiltHighlightView on Github here.

A nice subtle effect for augmenting interfaces.

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

iPad,iPhone,iPhone Resources,iPhone Articles,iPhone Development,iPhone Turorial,Mobile Development Tutorials,Mobile Developments,Objective C,JSON,iOS Image Processing,
Image Processing Library,iOS Music Application

Saturday, January 26, 2013

What is JSON?


For some of you this question might be the easiest to answer. But for many developers concept of JSON is not well understood. In my seminars when I use JSON data for demo, I find many developers do not have understanding of JSON. In this post I am trying to address this problem.

In simple words, "JSON is a data interchange format. Due to its lightweight characteristics it is being highly used to exchange data between different platforms and applications"

✔ Read More...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Computer Tutorials,JSON,Web Development

Tuesday, December 25, 2012

JSONModel - A Data Model Framework for iOS


iOS has extensive, built-in support for handling data in JSON, but the details can vary depending on which part of the API you're using. Marin Todorov tries to solve this problem with JSONModel, an Objective-C library that provides more straightforward and consistent JSON handling. You'll find a full writeup about JSONModel's features over at Touch Code Magazine. The library is still in beta, so use with caution.

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

iPad,iPhone,iPhone Resources,iPhone Articles,iPhone Development,iPhone Turorial,Mobile Development Tutorials,Mobile Developments,Objective C,JSON

Friday, November 9, 2012

Building Single Page Web Apps with Sinatra: Part 1


Have you ever wanted to learn how to build a single page app with Sinatra and Knockout.js? Well, today is the day you learn! In this first section of a two-part series, we'll review the process fo building a single page to-do application where users can view their tasks, sort them, mark them as complete, delete them, search through them, and add new tasks.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.


Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
Intermediate,Articles,Computer Tutorials,Web Development,Java Script,JSON,Sinatra

LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails