Tag | AJAX Posts

The current project I am starting we are debating using a win form client vs a web client. I feel like I have done this argument (discussion) many times. In the past I have always felt that you had more control with a winform. Now with new tools such as ajax,jquery, and css, we are able to make our web applications seem like win forms. Which do you prefer? I realize that requirements drive decisions, but I would love to hear stories or thoughts?
Lately I've had a few people approach me after speaking engagements or conferences and ask for some advice on becoming a .NET developer. Sometimes this has been moving into IT from an unrelated field or other times it's just been a transition of existing development skills into .NET. Now if you have been in this industry for awhile (and had any success) you have apparently demonstrated at least some capability to migrate your skills from one newly released technology to the next. In 2009 it's hard ...
I have been building mobile line of business applications for a while now. Over the past few years, I have separated out the client and middle tier explicitly (using web-services). This has enabled me to rapidly build different front end applications for a range of different devices. I have recently extended our timesheet application to run on iPhone/iPod Touches using a combination of .Net and the excellent IUI library built by Joe Hewitt. One thing, I needed however was a calendar control mimicking ...
There might be other reasons for this error but this is what I found out: You might get the error when you have a databound AJAX reorderlist and you are trying to persist the reordering using database. The SELECT and UPDATE methods should have the same number of fields, even if they are not used in UPDATE, the signature of both the methods should be matching else you will get this error. Here is very good article on how to use AJAX Reorderlist with ObjectDataSource by Justin Saraceno. http://weblogs.asp.net/just... ...
So I thought, ahead of new year, I should just prove end-to-end the components of the GPSd service. What better way than to plot our current position on a map. Using a converted version of the GPSd client, that we talked about previously, I parse the NMEA data coming from the GPS and produce an XML file of the following - <?xml version="1.0" encoding="utf-8" ?> <movingmap> <latitude>51.267</... <longitude>-1.108<... <bearing>182</bear... ...
In the post below I am going to run down a short-list of some of the less-popular performance tips and the reasoning behind them. There are loads of blog postings and articles on asp.net performance enhancements, and I urge you to check those out as well. Onto the good stuff... Session.ReadWrite versus Session.ReadOnly It goes without saying that using the Session object will incur some performance overhead so if possible it should be turned off in the web.config. That said, If you’re using the Session ...
John Katsiotis has a great example up on one of the new ASP.NET AJAX Features, client-side templates. This means that you can refer to properties in your HTML. John has a much better example on his blog, but essentially you can do stuff like this: And your .NET code would basically return an object of type employee to your HTML. The framework will handle populating the input values based on the properties names assigned (e.g., value="{{ PropertyName}}"") public static List GetVal() { List emplist ...
[If you are looking for a quick answer, jump here.] Yesterday morning was probably one of my least favorite in recent memory. I arranged to take the day off to go shopping with my wife, but I had to check-in to make sure everything was okay at the office. I checked my email from home and found that there were suddenly two issues reported on my project that was scheduled for an update in production that night. Needless to say I had to address the problems. It turns out that neither were more than ...
ADO.NET Data Services enable applications to expose data as a data service to be consumable via web clients. The data service which can be easily accessible via regular HTTP requests. CRUD operations are performed using HTTP verbs - GET, POST, PUT and DELETE. The data service responses open formats such as JSON and Aop/APP which are idal back-ead for AJAX-style applications, Rick Interactive Applications and other web clients. ADO.NET client libraries and developer tools works with both on premises ...
(Blondie - Picture This) This post has nothing todo with the title, but just thought it was funny... Last week, I began writing an AJAX calendar control within Visual Studio. This is how far I got: However, I had an interesting problem. I resumed my laptop from Hibernate (I was not in a hot bag situation that day). I was staying in a hotel using a standard WIFI connection provided by the hotel. Clicking a button on my calendar control caused an AJAX event to pull back data. However because I was ...
I just had the privilege (trauma?) of setting up my new machine and had to install everything from the scratch. I will save the rest of my experiences, for another post, but for now I thought of sharing, what I had to install to work with the latest stuff for Web Development in ASP.NET. These are pretty quick to install and helps you build cutting edge websites. 1. Install Visual Studio 2008 (you can get a trial version from http://msdn.microsoft.com/h... or the free ...
Chris Anderson, Tim Heuer, Michael S. Scherotter, and Jonathan van de Veen. Shoutout: If you don't read Scott Guthrie's blog, shame on you :) ... he posted his latest aggregation today: Dec 2nd Links: ASP.NET, ASP.NET Dynamic Data, ASP.NET AJAX, ASP.NET MVC, Visual Studio, Silverlight/WPF . From SilverlightCream.com: Building a Silverlight Line-Of-Business Application – Part 4 Chris Anderson over at SilverlightShow put up the fourth part of his LOB series ... definitely a keeper. Silverlight install ...
Just wanted to write a bit about the upcoming Day of .NET conference coming soon to St. Louis. We are putting the final pieces together this week and currently have nearly 200 people registered. The conference will be on December 13th, 2008 and, if you want more information or just want to register, please check out the site at www.StLouisDayOfDotNet.com. If you are waiting to register, please be aware that our registration closes on Monday, December 8th and we cannot accept on-site registrations. ...
As one of the books part of the 75 centimeters of MS Press books I won as Speaker Idol at TechEd EMEA Barcelona I selected the training kit for the WCF Exam (70-503). Here's my review on this book. You can buy the book at http://www.microsoft-press.... Included in the book is : - a DVD with Visual Studio 2008 Professional Edition (90 day evaluation). Nice to have for people without VS2008 at their work environment and want to learn WCF and prepare for the exam. - ...
In this issue: Jonathan van de Veen, Bart Czernicki, Tim Greenfield, Ben Waggoner, Ning Zhang, Jesse Liberty, Jonas Follesø, Jafar Husain, Expression Team Blog, Adam Kinney, and Gerard Leblanc. Also: Jose R. Guay Paz reports Enter the Manning Free Ebook a Day giveaway... free is a definite good deal! Jeff Weber details that the Popfly Game Creator Updating to Silverlight 2. If you want to see what can be done with Popfly, check out the MSDN team blog roll on my blog page. Matthias Shapiro has updated ...
I often get asked by other developers at work or during presentations about various tools that I use. Most of the tools I use are relatively well known, but I'm going to create this post so that I have a single point where you can download everything without a bunch of Googling. Almost all of the tools on this list are free. My only disclaimer is that this is simply my personal list of the tools I use most often. If you're looking for a *real* list that is extremely comprehensive, then I recommended ...
How do you stay up on new technologies? How do you approach learning a specific new technology? The first thing you have to accept is that the Microsoft technology stack has gotten so vast that it is simply impossible for a single person to be an expert in everything. This is the most important aspect to remember. This post is simply to describe my personal approach for staying up on new technologies in the hopes that other people will find something valuable in this to add to their toolbox. In terms ...
Virtual TechDays is back and this time, I would be covering topics around ASP.NET AJAX Improvements in .NET 3.5 Service Pack 1, Internet Explorer 8 for Web Developers and .NET Application Development. If you want to have a quick preview of what I am talking on, you can check my previous posts However, there are a few more enhancements that help AJAX driven web developement and if you are an ASP.NET / AJAX Developer you really dont want to miss the sessions. The ASP.NET and IE 8 Sessions are on Day ...
I have spent the last 2 days trying to figure out why a Page_Load event in a user control (.ascx) hosted in a (.aspx) file was posting back twice to the server. After reading and Googling for all sorts of suggestions (most are for when projects are upgraded from .NET 1.1 to .NET 2.0 and the events are set to AutoEventWireUp="true". I tried this and a host of other stuff, in the end it turned out to be an ASP.NET Image control that I was using for the AJAX Control Toolkit CollapsiblePanelExtender ...
Here's the complete list of sessions from PDC and my personal favorites. You can find all the recordings of these sessions at www.microsoftpdc.com. Here's my personal favorites: Windows Azure (Hosted ASP, Workflow, Silverlight, RAW / Azure Storage) A Lap Around Windows Azure (ES16) - 0:46 Slides | WMV-HQ | WMV | Zune A Lap Around the Azure Services Platform (BB01) - 1:12 Slides | WMV-HQ | WMV | Zune Live and Mesh (Sync, Feeds, Resources, Contacts, etc.) A Lap around the Live Framework and Mesh Services ...
In this issue: Bart Czernicki, Martin Mihaylov, Katrien De Graeve, Silverlight SDK, Arturo Toledo, crocusgirl, John Papa, Andy Beaulieu, Jeff Wilcox, Justin Angel, Corey Schuman, and Jesse Liberty. Wow -- I did NOT miss yesterday and I have 12 solid links for today... everyone's been *really* busy :) Also: David Anson reports an update to his LayoutTransformControl: An unexceptional layout improvement [Two LayoutTransformControl fixes for Silverlight 2!], and you can now set both ScaleX and ScaleY ...
In AJAX based applications its common that user might end up breaking your AJAX calls by clicking on numerous places in very short interval of time. Let us assume there is a page where there are several of hyperlinks which make WebService calls and do some stuffs on callback. If user clicks on five hyperlinks being impatient or may be just for fun, there will be five different WebService calls made. All of those calls had the same parameters or UI state while they were invoked. But on completion ...
Being a user group leader (Bartlesville .NET User Group) I get a lot of messages for recruiters looking for jobs. Given the current market situation I like to pass these on. This one looks pretty interesting. If you are interested give Darbi a call and let him know I sent you: Know anyone (maybe you) who might be interested in the following position? It is located in Oklahoma City, Oklahoma. It is a direct hire position with a great company. If you are interested or know someone who is, send me a ...
If you have seen Bertrand’s video on Script Combining to improve AJAX performance, you must have really felt like using it in your site to figure out the scripts downloaded in your page and minimizing the size, improving performance etc., Well, this post is just to say that, the ScriptReferenceProfiler is available at CodePlex http://www.codeplex.com/asp... You need to download the binaries and add it as a reference to your website/project. Once you add ...
Updated the code Snippet with the Method and Event Handler parameters for the ScriptManager's Navigate Event. One of the common navigation tools in a website is the back button of the browser. People use the back button quite frequently to go back to the page already visited. When there is a postback, the browser is updated with the information of the page visited and hence the back button gets enabled automatically. Assuming there is a GridView control that we are using in a page which fetches a ...
Planning to move to the Azure Cloud, but already tied to the Membership API? I have recently written an article on Windows Azure which guides you to build a complete Membership provider library which can be leveraged by existing application to link to Microsoft’s cloud platform Windows Azure with no friction. Goals of this project were to be able to use regular ASP.NET Login controls, existing Membership code e.g. Membersip.UpadateUser(), MembershipUser.ChangePasswo... Last, but not least one of ...
Script Manager Object allows developers to add AJAX Capabilities to ASP.NET page, this object contains end request event in the client side, this event fired when the AJAX request completed. AJAX request may complete successfully, with errors or timeout. End Request event have args object, the args object can be used to examine the request completion. The args object contains the following members: args._errorHandled - Boolean property indicates whether you handled the error or not. args._response ...
Here's a simple way to avoid postbacks in your site, still be SEO friendly and degrade gracefully to JavaScript free browsers (and handle middle clicks and copy&paste) in ASP.NET MVC using jQuery. First, we'll create an alternate MasterPage called No.master with no content, only one ContentPlaceHolder: <asp:ContentPlaceHolder ID="MainContent" runat="server" /> Now, we're able to tell via HTTP Headers if a Request is an Ajax Request, so we'll write a new method in our Controller Base class ...
In this issue: David Miles, Shawn Oster, Jeff Weber, Justin Angel, and Nikola Mihaylov. I stand corrected in that the Kongregate tutorials referenced in the Jeff Weber link below are being ported to Silverlight ... the tutorials, NOT Kongregate... sorry for any confusion! The subject was correct, my commentary wrong :( David Anson has made some changes to his ChartBuilder... check out his post: Improving ChartBuilder's cultural sensitivity [ChartBuilder app/source updated!] I've read a bunch here ...
I recently wrote an internal memo identifying accessibility problems with Telerik RadWindows for the website I'm currently working on. I post the items here hoping that they might be useful for some of you out there. Some of this is specific to our environment (IE6) and design standards but may be helpful for you too. Some apply to other modal window implementations as well. 1. Modal windows complicate the page. One of the primary axioms of designing for accessibility is simplification. I also experienced ...
Background Way back in March I posted about a custom GridView I was working on. Then in June, I said that I would be posting some guidelines "in the coming weeks". Needless to say, I've been busy with other things. I am hoping to provide some basic guidelines on how to customize a ASP.Net GridView. I am no expert. The experts build components for retail use. Also, I've taken a server-side approach to the problem which is perhaps a little outdated with AJAX technology available. In my case, I use ...
The Chippewa Valley .NET Users Group is holding their first Code Camp on Nov. 8th, 2008 in Eau Claire, WI. I’m one of the presenters, and I'll be talking about XNA. I think it's pretty neat how Doug Rhoten and Dan Krueger (the CVCC planning committee) are providing a Microsoft Technologies track and an Agnostic/Cross-over track. With that, there will be sessions covering topics such as Cloud Computing, Rails, XNA, AJAX-enabled Websites with Java and NetBeans, C++, Real World practices with WPF & ...
Greg's links to all PDC videos and presentation slides is very useful... http://coolthingoftheday.bl... I prefer all links as presented on Greg's page rather than having to navigate through the heavyweight AJAX pages of the Microsoftpdc.com site to find videos and slides: https://sessions.microsoftp... Update: 10 Nov 2008 If you can't find a PDC video, perhaps it has not yet been published, follow this feed to find out newly ...
That is, don't use Cassini in your development environment if you aren't planning to use it in production. For example, my customer is running IIS on their server. Why shouldn't I do the same? With what I have seen with Cassini, there is no reason. Cassini is great, but there are noticeable differences between it and IIS. I am using a third party menu that performs poorly through Cassini, but works fine on IIS. Others have documented differences in behavior with Cassini. Scott Lilly describes a couple ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-style-parent:""; line-height:115%; font-size:11.0pt;"Calibri",... mso-fareast-"Times New Roman";} On making every AJAX call I cannot just keep filling the drop down list, as I have to clear the dropdown after every success call. So I need a function which is capable of making the drop down list empty. function ClearDropDown(ddl) { var ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-style-parent:""; line-height:115%; font-size:11.0pt;"Calibri",... mso-fareast-"Times New Roman";} Couple of days back, while implementing JQuery I had requirement of adding item to the drop down list after an AJAX Call. This is very simple when we talk about Asp.net AJAX but in Jquery you by yourself need to handle many things at the ...
My first book is finally starting to show up on the Internet! http://www.amazon.com/ASP-N... This book explores the creation of a social networking site or community site from the ASP.NET/C# developers point of view. The application that is built follows an enterprise approach to building a web site and utilizes concepts such as domain driven design, repository pattern, structure map, ...
Here at PDC, Los Angeles, there is one thing for sure. ASP.NET Sessions are overflowing invariably across all days. Yes! There are way too many exciting things that I can cover over a single post and in this short duration that I wanted to keep them off until I am back. Quick announcements. ASP.NET Builds on various features such as Dynamic Data, MVC, Astora, AJAX & Futures are available at CodePlex http://codeplex.com/aspnet ASP.NET 4.0 Roadmap provided insight into the features considered for ...
An inherent problem with AJAX-style applications is browser navigation. AJAX pages don’t post back when performing requests tasks so they can’t remember their “previous states”. The problem comes when users click the browser's back button. What happens is browsers don’t return to a previous “state” of the page, instead, the browser unloads the page entirely and returns to the previous page. Technically speaking, this is OK because one may argue it’s just how AJAX works. However, a more user-friendly ...
This keynote is all about Windows 7 (the Vista that shoulda been) and new things from ScottGu's team. While yesterday was about the back-end infrastructure of the new cloud platform Azure from Microsoft, today's keynote focused on the front end of Microsoft. One funny question from Ray Ozzie was wondering what we would do at work all day if we didn't have a computer on our desk. Here are some random notes from the keynote. "The PC will be more relevant in the next era." - Ray Ozzie Today we barely ...

Note: The Wireless network at the keynote failed miserably, so this will be posted with a delay.

Scott Guthrie about tools and app development

 New APIs for multitouch and other Windows 7 API.

Note: Lots of attention put in Win32 development with C++.

Read the rest of this entry »

NOTICE: Due to a scheduling conflicts as Halloween activities the October meeting has been moved 1 week to Wednesday, November 5th. Sorry for any inconvenience. .Net User Group Meeting location: At Lamar Advertising Wednesday, November 5th, 2008 5:45 PM - 8:15 PM Sponsored by: Portico Learning Solutions Presenter Jeremy Beckham BIO: Jeremy is a Senior Developer for High Power Consulting, Inc. and has over 5 years of experience in .Net and SQL Server development. He's worked on projects ranging from ...
Those who are excited like me about the news of jQuery integration into Visual Studio, started adopting jQuery replacing ASP.NET AJAX Client side API. Microsoft also declared there will be a patch for Visual Studio which will support jQuery as well as intellisene for that. For the enthusiasts who just can't for it, here is the way how we can start developing using jQuery with full intellisense support inside Visual Studio 2008: 1. Download jquery-1.2.6-vsdoc.js 2. Inside your JavaScript files, add ...
Went to the ASP.NET Roadmap session…nothing really earth shattering, but some good improvements coming with ASP.NET 4.0. They’re focusing on four themes for the next version: - Best platform for standards (HTML, CSS, Ajax) - Great Line of Business Platform - Support Pattern Based Dev (MVC) - Re-Invest in the Core So knowing that, what are some things we can expect? Here are some highlights: Client ID’s will now be manageable by developers (you give a custom prefix, but an appendix will still be applied ...
This session is by Scott Hunter, Program Manager at MSFT In July 2007 - ASP.NET Futures was released That was followined by an Extensions Preview of ASP.NET 3.5 in Dec 07 Then in March 08 - we started doing some new stuff - ASP.NET 3.5 SP1 - MVC and more The ASP.NET will continue to release out-of-bound items. CodePlex is the main driver for that. www.codeplex.com/aspnet - This is where you will find the interim drops. Currently there are ~1,000 downloads today If you want to see all the latest and ...
State of Ajax: The Universe is Expanding Dion Almaer (Google) and Ben Galbraith (Ajaxian.com) The Ajax revolution is complete: Sophisticated JavaScript user interfaces are nearly ubiquitous. Yet, ... Advancded Gadget and UI Development Using Google's AJAX APIs Derek Collison (Google) The Google AJAX APIs can be used to build sophisticated Gadgets and UI controls for your website. For instance,... A World Beyond AJAX: Accessing Google's APIs from Flash and Non-JavaScript Environments Vadim Spivak ...
GWT and Client-Server Communication Miguel Mendez (Google) It's a rare Ajax application that doesn't need network access. To the despair of many a developer, though, there are almost as many ways ... Reusing Google APIs with Google Web Toolkit Miguel Mendez (Google) We like to say that GWT brings software engineering to the crazy world of Ajax, and of course straightforward code reuse is a cor... GWT Extreme! Ray Cromwell (Timepedia.org) In this session, see Google Web Toolkit used in exotic and ...
Extend the Reach of your Google Apps Environment with Google APIs Jackie Bodine, Ryan Boyd (Google) and Ron Hess (Salesforce.com) Google Apps already gives your organization an out-of-the-(virtual... Spice up Your Web Apps with Google AJAX APIs Mark Lucovsky (Google) Integrating Google Search into a website can be simple using the Google AJAX APIs. Mark will show how a few lines of JavaScript ... Visualize your Data: Google Visualization API The new Google Visualization API lets you access multiple ...
Ok so I've hit an ANNOYING snag in my automation travels at my New Co. which is starting to drive me NUTS. Apparently, on one of their Web Apps, the client couldn't tell when the application was processing something and therefore busy. This is in part due to the fact that when the application login is successful, they render it in a popup with no navigation or menus or anything. So you can't see the "e" spinning or the progress bar. I also suspect they are using a lot of AJAX calls as well but I ...
Ann Arbor Day of .NET is a blast. Here's just a quick update to share my code and slides from my talk, Browser Magic with jQuery. Slides Demo 1 (Filtering a table of Northwind Products) Demo 2 (Adding AJAX to an existing MVC application) I swear I'll actually update this blog with more in depth posts about my demos within the week ...