Community Blogs

Browse by Tags

Related Posts

  • Daily tech links for .net and related technologies - November 21-23, 2009

    Daily tech links for .net and related technologies - November 21-23, 2009 Web Development ASP.NET MVC: Creating reports using Chart control T4MVC 2.5.01: added support for Html.RenderAction and Html.Action Web Application Configuration Analyzer (WACA) The Search Developer Story in SharePoint 2010 – Query Interfaces Using the Microsoft Ajax Library 3.5 with the CDN Microsoft AJAX Library Preview 6 & Data Binding Web Design User Interface Design Is Not About Lorem Ipsum And Pretty Boxes The Ultimate...( read more ) Read More...


  • Object Oriented JavaScript using Prototype Object

    Object Oriented JavaScript using Prototype Object   This document describes the benefit of using Object Oriented Approach in JavaScript Codes and implements Calendar Management component having a few functions like Add/Edit/Delete Events on selected date.   As we all know Object Oriented Programming (OOP) is a major part and practice for reusability. Most of the times even if we are following standard ways to code on server-side, we just forget or omit about client side structure of application. As a result it becomes hectic to manage later, when application is modified to release a newer version of the same.   As per my personal experience on the same, I found prototyping and object oriented JavaScript a perfect solution. There...


  • Serialize and Deserialize JSON

    On one of the projects I am working on I needed a way to work get the JSON string generated from some sort of serialization process. If you are working Ajax or MVC controller actions, this work is done for you automatically, but I wanted the string all by itself. After some searching I ran across this article How to: Serialize and Deserialize JSON Data . The article is great, and gave me everything I needed to know, but I thought I would make it a little cleaner and wrap it all up in a class. Below is the a generic class that will serialize and deserialize JSON: using System.IO; using System.Runtime.Serialization.Json; public class JsonSerializer { public JsonSerializer() { } public string Serialize(T instance) { using (MemoryStream stream Read...


  • JavaScript class browser: once again with jQuery

    I’ve already posted twice about that little class browser application. The first iteration was mostly declarative and can be found here: http://weblogs.asp.net/bleroy/archive/2009/09/14/building-a-class-browser-with-microsoft-ajax-4-0-preview-5.aspx The second one was entirely imperative and can be found here: http://weblogs.asp.net/bleroy/archive/2009/10/15/entirely-unobtrusive-and-imperative-templates-with-microsoft-ajax-4-preview-6.aspx This new version builds on top of the code for the imperative version and adds the jQuery dependency in an attempt to make the code leaner and simpler. I invite you to refer to the imperative code (included in the archive for this post ) and compare it with the jQuery version, which shows a couple of ways...


  • The Microsoft Ajax Library and Visual Studio Beta 2

    Visual Studio 2010 Beta 2 was released this week and one of the first things that I hope you notice is that it no longer contains the latest version of ASP.NET AJAX. What happened? Where did AJAX go? Just like Sting and The Police , just like Phil Collins Read More......( read more ) Read More...


  • How to render the same template on the server and client with minimal redundancy

    Last week, I wrote a post about how the new Microsoft Ajax Library Preview 6 made it a lot easier to write unobtrusive and imperative data-driven applications . Because for the previous preview, I had written a cool little class browser using a declarative style, I thought it would be nice to rewrite this in a completely imperative way. The mistake I made though was to call it unobtrusive. Never mind that ‘unobtrusive’ is a perfectly well-defined word that actually existed way before JavaScript. ‘Unobtrusive JavaScript’ has a very specific meaning that people feel strongly about. To be worthy of that label, an application must basically conform to (at least) those two requirements: Markup and behavior are strictly separated. That means no DOM...


  • Hanselminutes Podcast 184: Preview of ASP.NET 4 with Scott Hunter

    My one-hundred-and-eighty-forth podcast is up . Scott's in Seattle this week and catches Microsoft Program Manager (and one of 1000 Scott's) Scott Hunter who shares insights in the history and future of ASP.NET 4. What's coming in VS2010? Read More......( read more ) Read More...


  • Using the New Microsoft Ajax Minifier

    Last night, Scott Guthrie announced that the ASP.net team published a free tool that enables you to improve the performance of your Ajax applications by reducing the size of its JavaScript files. The new tool is named the Microsoft Ajax Minifier. You Read More......( read more ) Read More...


  • Entirely unobtrusive and imperative templates with Microsoft Ajax Library Preview 6

    Today is the release of the sixth preview of Microsoft Ajax Library. Don’t get fooled by the somewhat silly and long name: this is a major release in many ways. The scripts have been majorly refactored since preview 5. Check out the other posts out there (links at the bottom of this post) to see just some of the many new features that are in there. Some of my favorite are all the small improvements that have been made to make imperative instantiation of components and templated contents easier than ever. Many of you have told us that you preferred to do things imperatively and this release makes it a lot better. When Preview 5 came out, I built a simple class browser using the declarative syntax. The class browser shows the hierarchy of namespaces...


  • Daily tech links for .net and related technologies - October 9-11, 2009

    Daily tech links for .net and related technologies - October 9-11, 2009 Web Development Using MvcContrib ScriptInclude, Stylesheet, And T4MVC ASP.NET MVC Cheat Sheets NerdDinner with Fluent NHibernate Part 3 - The infrastructure ASP.NET Profiles in Web Application Projects ASP.NET 4.0 Roadmap 15 Helpful Website Usability Facts & Guidelines How to trigger an ASP.NET validator from JavaScript? ASP.NET MVC learning resource: Request-Handling Pipeline Poster Adventures with the SEO Toolkit Web Design...( read more ) Read More...


Page 1 of 53 (522 items) 1 2 3 4 5 Next > ... Last »
Microsoft Communities