Top ASP.NET Items

Sponsors

January 2008 - Posts

Microsoft Ajax Library Book Published
I recently got a copy of Microsoft AJAX Library Essentials: Client-side ASP.NET AJAX 1.0 Explained by Cristian Darie and Bogdan Brinzarea . I think it is very, cool that there is a whole book on the Microsoft Ajax Library ( download )... I think this is a far two unsung asset of the ASP.NET 3.5 . The first half of the book is really an Ajax and javascript overview.. the big take away from this section is that you DO NOT want to be doing this stuff by hand. You gotta use a framework. Of course, I am slightly partial to the Microsoft Ajax Library, put Dojo, Prototype, or any of the many others would be better than doing this by hand! The second half of the book is a good walk through of the Microsoft Ajax Library.. how to do basic networking,...
JScript IntelliSense: Handling Errors
I often get the question “Why isn’t IntelliSense working?”. The most common cause is an error in one of the referenced scripts. If there was an IntelliSense update error, the status bar will tell you. Given this situation, the Error List will complement the status bar with one of two messages. Error Message 1: A script failed to execute… This type of error is commonly caused by either a syntax error, calling a member that doesn’t exist, or an infinite loop. The filename/source is provided to help you debug. After the script error is fixed, IntelliSense will automatically retry. Note: I’ve noticed the line number to be off by 1; we’ll be fixing that. Error Message 2: Something more serious… In rare occurrences, our execution/analysis engine Read...
Video from Building a Great Media Driven Web Site (with Silverlight and ASP.NET)
A while back I did a customer briefing about how to use Silverlight and ASP.NET to build a great media driven web site. You can find the write-up, demo, and slides on my original post. Recently, I got a hold of the video! Read More...
Getting absolute coordinates from a DOM element
For some reason, there is no standard API to get the pixel coordinates of a DOM element relative to the upper-left corner of the document. APIs only exist to get coordinates relative to the offset parent. Problem is, it's very important to get those coordinates for applications such as drag and drop, or whenever you need to compare coordinates of elements that may be in completely different parts of the document. In Microsoft Ajax, we implemented such a function but it proved to be one of the most difficult problems we had to solve. Not so surprisingly, every single browser has its own coordinate quirks that make it almost impossible to get the right results with just capability detection. This is one of the very rare cases where we reluctantly...
You can't domisticate a server!
Someone just pointed me at this " Stay At Home Servers " website. Y'all know I'm a big Windows Home Server fan. Pretty solid geek humor, check it out! Read More...
How to disable optimizations when debugging Reference Source
When you debug code in the .NET Framework using the newly available Reference Source functionality in VS 2008 , you may notice that many variables are not available for inspection. This is because you're debugging against retail-optimized code.  In many cases, since you can still step through, this is something that's manageable. But what if you really need to get a better idea of what's going on?  Fortunately, there is a way. What you need to do is to tell the CLR not to load the pre-JIT (aka NGEN) images.  Here is how to do it.  First, create a CMD file that sets an environment variable, then launches Visual Studio.  I called mine "NoOptDevEnv.cmd", and it's contents are as follows: set COMPLUS_ZapDisable...
ASP.NET MVC Example Application over Northwind with the Entity Framework
Over last month over the holidays, Lance Olson and I spent some time porting ScottGu's excellent MVC example over the Entity Framework . I thought I'd share the results here and get your thoughts\feedback. For this example, you will need: VS2008 (Free trial ) ASP.NET 3.5 Extensions ADO.NET Entity Framework Tools Dec 07 Preview Northwind sample database (just northwnd.mdf ) If you are the type that likes to eat your desert first, you can skip to the end and just download the full working solution . Getting Started File/New Project - Select ASP.NET MVC Web Application and Test This creates a single solution with both a web application project as well as a project we can use for unit testing. Both are pre-populated with the basic stuff you need...
VS 2008 Web Deployment Project Support Released
This past Friday we released the final RTW (release to web) support for VS 2008 Web Deployment projects.  You can learn more about it and download it for free here .  Web Deployment projects can be used with either the "ASP.NET Web Site" or "ASP.NET Web Application Project" options built-into VS 2008, and provide a few additional build, packaging and deployment options for you to use.  You can read an old tutorial post of mine here to learn more about they work. The VS 2008 Web Deployment Project version supports all of the existing features provided by the VS 2005 web deployment download.  It also adds additional support for: Easily migrating VS 2005 Web Deployment Projects to VS 2008 Web Deployment Projects...
Senior Developers for ASP.NET and Silverlight Wanted!
There has never been a more exciting time to be a web developer! The pace of innovation in the web space is amazing. Ajax, MVC, Dynamic Data, and Silverlight! My team owns growing these platform technologies to the next level, making them great for the future of business applications and we need your help! Are you JavaScript guru who has a passion to make Ajax easier for the masses? Are you the resident expert in ASP.NET and consistently think about how data driven applications could be easier to build? Are you a TDD or patterns wonk that sees how ASP.NET MVC is a game-changer? Are you excited about the potential of Silverlight for business applications, and particularly the potential for the ASP.NET+Silverlight combination where we have the...
Facebook Client Library built on Script#
Facebook's latest offering to application developers - a client-side script API, built on Script#! Read More...
More Posts Next page »