Site: http://www.nikhilk.net/ Link: http://www.nikhilk.net/Rss.ashx
by via Nikhil Kothari's Weblog on 4/29/2011 3:38:03 AM
At MIX11, I presented a session on Script# titled "Script#: Compiling C# to JavaScript" ... and I did a follow up blog post highlighting the key points from the presentation. This blog post covers the Hello World demo, which will show how you can get started with script#, and deploy scripts authored using this approach. It doesn't go into more advanced topics, but hopefully it will also demonstrate a couple of key principles at play: Script# doesn't introduce some new and odd abstract ...
[ read more ]
by via Nikhil Kothari's Weblog on 7/1/2010 2:29:57 PM
The ASP.NET pipeline allows HTTP modules to plug in into the request processing lifecycle and do work at various stages. For example, output caching, authentication, authorization etc. are all implemented as HTTP modules. However one of the problems is that HTTP modules must be registered in configuration. This is a little painful for writing framework components where an HTTP module is essentially an implementation detail. You don't want every app developer using your framework to have to add ...
by via Nikhil Kothari's Weblog on 8/26/2009 6:20:20 PM
In my last post, I described BLinq, or LINQ to Bing, an API that allows you use LINQ to access the Bing search results (ok, so perhaps BLinq was not the best of names, given prior art on that name ... but anyway). I also alluded to .NET RIA Services integration, which I'll cover in this installment. In fact, IQueryable and the LINQ pattern lie at the very heart of .NET RIA Services, in allowing developers to access data in a consistent manner not just on client or server but across client and se ...
by via Nikhil Kothari's Weblog on 8/22/2009 5:35:45 PM
As part of validating and playing with some of the extensibility features in .NET RIA Services, I needed to write a LINQ provider. This was also a good opportunity to delve into some of the deeper technical aspects of the IQueryable construct, expression trees and related concepts, which I had not gotten into first-hand until now. For my prototyping, I decided to write a LINQ provider for querying Bing to search for pages and images. This post will focus on using the LINQ provider itself, and se ...
by via Nikhil Kothari's Weblog on 11/15/2008 6:02:19 AM
Earlier today, Live Search released a simple REST and JSON-based API for performing search with full flexibility for developers in terms of how to use the results (code named "Silk Road"). The previous API happened to be SOAP-based. Cool (and finally)! Check out the general documentation and the JSON example. In brief, you issue a request to http://api.search.live.net/json.aspx?AppId={appID}&Market=en-US&Query={query_words}&Sources=web, and you get back a JSON structure as ...
by via Nikhil Kothari's Weblog on 11/5/2008 11:02:33 PM
In my last post, I blogged about the upcoming C# 4.0 dynamic feature and using it to work with JSON data in a more natural late-bound manner. I also alluded to where I was heading with the idea - issuing calls to REST services through a dynamic interface. Specifically, I was thinking of being able to have a dynamic object represent a proxy to a REST service, and having its encapsulated late-binding behavior turn method calls into actual HTTP requests, serializing parameters into URL query string ...
by via Nikhil Kothari's Weblog on 11/3/2008 3:18:25 PM
C# 4.0 features a new dynamic keyword that allows you to mix in a bit of late-bound code in the midst of your otherwise statically typed code. This helps cleanup the string-based programming mess that is a characteristic of late-bound code. In fact, there are a number of scenarios that would benefit from dynamic typing in my opinion in addition to interop with other dynamic code (such as Silverlight talking to the DOM or a .NET app talking to Office automation APIs). For example: Accessing JSON ...
by via Nikhil Kothari's Weblog on 10/17/2007 1:37:12 AM
Pointers to some interesting works built on top of Script# - first a client-side MVP sample, and second, a project called Ext#. ...
by via Nikhil Kothari's Weblog on 9/24/2007 8:45:31 PM
Script# supports programming against Silverlight 1.0. You can start writing your RIA and associated components and controls in C# rather than in JavaScript... today! This series of posts will build a photo carousel one step at a time to illustrate this approach. Part 3 completes the series by adding data-binding and templating to the carousel and by querying Flickr using JSONP to fetch the actual photos to display in our photo viewer scenario. ...
by via Nikhil Kothari's Weblog on 9/16/2007 11:41:59 PM
Script# fully supports programming Silverlight 1.0. You can start writing your RIA and associated components and controls in C# rather than in JavaScript... today! This series of posts will build a Flickr photo viewer one step at a time to illustrate this approach. Part 2 starts building relatively more interesting functionality - specifically the carousel control. ...
by via Nikhil Kothari's Weblog on 9/12/2007 7:53:30 PM
Script# fully supports programming Silverlight 1.0. You can start writing your RIA and associated components and controls in C# rather than in JavaScript... today! This series of posts will build a photo carousel one step at a time to illustrate this approach. Part 1 builds the very basics of this scenario, and is primarily focused on introducing Script# and Silverlight working together. ...
by via Nikhil Kothari's Weblog on 6/13/2007 1:12:52 AM
The new .reflector assembly list file feature of .NET Reflector can be used to streamline the class browsing experience for Script#... ...
by via Nikhil Kothari's Weblog on 5/22/2007 1:24:18 AM
A new build of Script# is now available, complete with full support for creating Microsoft ASP.NET AJAX components, controls and behaviors... this post includes a video demonstration of building a script watermark behavior, and gives me a chance to reflect on this project exactly a year since its initial release... ...
by via Nikhil Kothari's Weblog on 4/16/2007 5:09:26 PM
Microsoft Silverlight formerly known by its code name "WPF/E" has now been announced... ...
by via Nikhil Kothari's Weblog on 2/14/2007 12:37:41 AM
The latest release of Script# enables authoring Windows Vista Sidebar gadgets using C#. It also comes along with a sample gadget that enables searching MSDN content and a project template to get you up and running quickly. ...
by via Nikhil Kothari's Weblog on 1/10/2007 7:59:49 AM
A simple Virtual Earth-style Hello World application demonstrating usage of map control APIs from Script# introduced in the latest build. ...
by via Nikhil Kothari's Weblog on 12/22/2006 2:55:50 AM
C# offers a nice syntax for LINQ. While it is not quite possible to use the same syntax in script, the concepts do carry over, and the interesting constructs can be implemented. This post provides a couple of examples, and a quick reference for the relevant script APIs that come into play... ...
by via Nikhil Kothari's Weblog on 12/5/2006 7:26:31 AM
A whole bunch of technologies working together - AJAX, Script#, JSONP, and the just announced, WPF/E client runtime that enables scriptable media and vector graphics in the browser... ...
by via Nikhil Kothari's Weblog on 11/14/2006 8:46:23 PM
JavaScript doesn't have a nice literal syntax for date values, which results in some complications in JSON serialization. This post describes the approach we adopted to enable serialization of date values... ...
by via Nikhil Kothari's Weblog on 11/14/2006 12:24:07 AM
A brief intro on an update to the HTTP tracing feature in Web Development Helper to enhance the display of async post-back/partial rendering responses sent by the server when using the UpdatePanel server control. ...
by via Nikhil Kothari's Weblog on 8/3/2006 5:41:55 PM
This post demonstrates how you can use anonymous delegates from C# and Script# to implement functional programming patterns in JavaScript. ...
by via Nikhil Kothari's Weblog on 8/2/2006 2:48:30 AM
An interesting diagram illustrating the birth and evolution of programming languages from 1954 through 2005... ...
by via Nikhil Kothari's Weblog on 6/30/2006 5:45:59 PM
The June Atlas CTP fixes some bugs, and adds support for dynamic UpdatePanels opening up scenarios such as UpdatePanels within data-bound controls or WebParts, and more importantly, custom control scenarios. This post demonstrates the control development usage. ...
by via Nikhil Kothari's Weblog on 6/5/2006 1:00:00 AM
I have added an entry for Script# to my projects page, for better tracking of updates... starting with v0.1.1.0 update that I have placed online today. ...
by via Nikhil Kothari's Weblog on 5/22/2006 11:11:21 PM
Script# brings the C# developer experience (programming and tooling) to Javascript/Ajax world. This post shares a project for enabling script authoring via C#... ...
The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.