Top ASP.NET Items

Sponsors

Archives

April 2009 - Posts

VPC’s are coming…
Since several people have asked, the new VPC’s are propping now.  I suspect they should be up and available within the next 12 hours.  Watch the IE or IETeam twitter accounts for updates. Read More...
Updated NUnit Templates for ASP.Net MVC 1.0 RTM
ASP.Net MVC 1.0 RTM has been out for a while and I noticed that people are still downloading an NUnit sample project I created for ASP.Net MVC Preview 3. Since then an AccountController class and a corresponding set of unit tests have been added to the MVC Application project. I created an updated set of NUnit templates with tests for the Home and Account controllers. To install the templates, just extract the zip file from the link below and run installNUnit.cmd . VWD Express is supported along with VSTS as well as support for x86 and x64 bit OS's. If you are installing on Vista or higher, run the cmd file as an admin. NUnit Test Templates Below is a screenshot of the NUnit AccountControllerTest class for Visual Basic. If you build a new...
Glimmer: visually build jQuery animations and stuff
If you’re still intimidated by jQuery or DOM manipulation in general, if you need to quickly build web animations, if you’re more a designer guy, if you think tooling makes sense, or a combination of the above, you should probably check out Glimmer . In a nutshell, Glimmer is a visual tool that builds HTML animations, menus, tooltips on jQuery. It builds all the code you need (HTML, CSS and JavaScript with jQuery) at the click of a button. Check it out! http://visitmix.com/Articles/Glimmer-a-jQuery-Interactive-Design-Tool Read More...
Free ASP.NET MVC “NerdDinner” Tutorial Now in HTML
Last month I blogged about a free end-to-end ASP.NET MVC tutorial called “NerdDinner” that I wrote for the Professional ASP.NET MVC 1.0 book from Wrox Press.  The book is now released and shipping on Amazon .  The NerdDinner tutorial walks through how to build a small, but complete, application using ASP.NET MVC, and introduces some of the core concepts behind it.  You can download a PDF version of the tutorial here . NerdDinner Tutorial Now Also Available in HTML A few minutes ago I finished publishing an HTML version of the NerdDinner tutorial as well.  You can read it online for free here . I split the tutorial up across 12 segments to make it more manageable to read.  I also increased the sizes of the screenshots...
Running Multiple Versions Of IE On The Same Box
There are applications out there that will put IE4/5/6/7/8 on the same machine and let you switch between the different versions of IE, but there are a couple of problems with this.  I typically describe this type of situation as a Frankenbuild.  Any time you start messing with Windows core components, and changing OS level DLL’s, you’re setting yourself up for heartache.  You also don’t know if you’re replacing the whole set, or just a subset of the DLLs.  For example, if you’ve got IE8 installed on the box, and you put the IE6 rendering engine in, you have the IE6 rendering engine, the IE8 JavaScript engine and the IE8 networking stack.  Hmm, no real customer is ever going to see that.  You never know what the...
ScottGu Mix Keynote coding demo posted
A ton of folks have asked us about getting the source code to Scott’s cool coding demo. Watch the demo download the completed example code Note, there are a couple of prereqs: Sql Server 2008 to run it.. works great with the free Sql Express 2008 .NET RIA Services March '09 Preview Silverlight 3 Beta Enjoy! Complete demo steps: 1. In Views/CustomersPage.xaml.cs, in OnNavigatedTo(), add the following: var context = new CustomersDomainContext(); customersList.ItemsSource = context.Customers; context.LoadCustomers(); This code loads the data from the DomainService class on the server. Notice the data is loaded asynchronously, but no ugly, hard to debug async code is needed. 2. In CustomerDetailsPage.xaml.cs OnNavigatedTo, add this code: this...
A blog on Microsoft Ajax client templates and data
Politian has a great blog series where he goes into the details of building a data-driven Ajax application using the new 4.0 client templates and data . Check it out! http://politian.wordpress.com/ Read More...
New series of video tutorials on Visual Web Developer Express 2008
We have started a new series of video tutorials on Visual Web Developer Express 2008. Over the course of next few weeks we will be adding many more videos to this series . These video tutorials will range in complexity from beginner to intermediate and will help Web developers build everything from simple Web applications to full featured Web solutions that incorporate Silverlight as well as third-party libraries like jQuery. To view these video tutorials and other helpful content like recent and must read blog posts visit the Visual Web Developer Express section http://www.asp.net/vwd/ . Read More...
View Model Pattern with .NET RIA Services
Over the weekend, I saw a question on StackOverflow about combining .NET RIA Services and the ViewModel pattern and answered briefly there, but the topic is worthy of a blog post. At a high level, .NET RIA Services generates a data model for use in the client presentation tier based on the application logic you author for the server portion of your application. The question is how could/should this data model fit into a view model. I blogged about the ViewModel pattern a long while back in the context of my Silverlight.FX work. This post will take care of a few things at the same time: (a) show how the two work together, and (b) show how the work in Silverlight.FX itself has evolved over time. For most of the post, I'll walk you through...
Setting X-UA-Compatible with ASP.NET Pages
I got an email today asking about the best way to go about adding the X-UA-Compatible tags on ASP.NET pages where you’ve got a master page, and may want to over ride the X-UA-Compatible tag in some content pages, but not others. After playing around with it in Visual Studio for a few minutes, I pulled together the following scenarios: Access To The Server The optimal way to do this, if you have server level access, is to add the IE=EmulateIE7 as an HTTP Response Header from the server. Then, any pages served from that server will be rendered in IE7 mode. If Internet Explorer finds the X-UA-Compatible tag in both the HTTP Response Header, and as a META tag, the META tag will win out. Thus, if you've added the IE=EmulateIE7 to the server,...
More Posts Next page »