AJAX

There are 5 entries for the tag AJAX

Building a Single Sign On Provider Using ASP.NET and WCF: Part 4

This is the fourth and final article in a four part series on building a single sign on (SSO) provider using the ASP.NET platform. Make sure to check out part 1, part 2 and part 3.Source CodeImplementing a Single Signon ProviderThis is all a rehash since I've covered each point in detail to this point, but I'd like to tie everything together at this point and provide the source code. If you'd like detailed descriptions about how/why review the previous 3 parts. The full source code will be available here. When an unauthenticated client requests a secured resource...

Building a Single Sign On Provider Using ASP.NET and WCF: Part 3

Using JSONP with WCFThis is the third article in a four part series on building a single sign on (SSO) provider using the ASP.NET platform. If you just want to know about JSONP and WCF and aren't interested in implementing SSO read ahead. Otherwise, make sure to check out part 1 and part 2. (Part 4 and the source code are now available).JSONPAlso known as “JSON with Padding” is more of a back door to allow cross domain AJAX requests. By dynamically generating <script /> tags in the current page it gets around the “Access to restricted URI denied” error...

Building a Single Sign On Provider Using ASP.NET and WCF: Part 1

This is the first in a 4 part series on building a single sign on provider using the ASP.NET platform (ASP.NET and WCF). Originally, I wrote the article as a single post but it was pretty long, even for me. Part 1 addresses the problem in general and how I decided to architect it. Part 2 discusses setting up FormsAuthentication for WCF Part 3 discusses JSONP communication between the client and WCF Part 4 describes the implementation details and includes the source code. Part 1: Planning an SSO Solution We're using a custom...

Sending DateTime Parameters from AJAX to WCF Operations (methods)

Yesterday I got stuck on a problem with a DateTime parameter I was attempting to submit to a WCF operation (method). I was trying to call call the operation using POST and the format was JSON. I was getting the value from the javascript Date object like this:var eventDate = new Date();var json = { date : "/Date(" + eventDate.getTime() + ")/" };// value of date would be "/Date(65746416843)/"(yes that number is completely off the top of my head)But after the POST operation the date on the server side was 7 hours ahead. I knew it was because I am...

Using Ajax with ASP.NET MVC

One of the features I continue to wait for from the ASP.NET MVC team is a server control library to work with the MVC framework. So as I have been working on a project using ASP.NET MVC I have begun developing my own library of server controls.Recently, I began looking at the ExtJs library as a client-side script library for my project. I love how extensible the library is and the documentation is very good. However, there seems to be quite a bit of boiler plate code to be written for any data driven controls. So I decided to look...

 

 

Copyright © Mark J. Miller