Home / ASP.NET Weblogs

November 2009 - Posts

Posted to:

Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1

Last week we launched the ASP.NET Ajax Library Beta during PDC, oh and we donated it to the CodePlex Foundation under new BSD license (FTW).  As the email volume has been fading away running up to Thanksgiving in the US and everyone at work is recovering from conferences, I took this golden opportunity to sit down and build a small sample with the new library now that we are in Beta. Since the ASP.NET Ajax Library takes care of JSONP requests for me (which enables cross-domain service requests) it is really easy to hit a service like the Twitter Search API which in turn provides me with a JSON result and a callback to trigger functionality which does something with the result. This allows us to build a Twitter Search application that is...
Posted to:

T4MVC 2.6: MVC 2 Areas support

To get the latest build of T4MVC: Go to T4MVC page on CodePlex   One of MVC 2's major new features is the support for breaking up a large application into "Areas". This works by following a structure that looks like: Root folder Models Views Controllers Areas NerdDinner Models Views Controllers Blog Models Views Controllers So basically you still have your top level Models/Views/Controllers folders, and in addition to that you can have an arbitrary number of “Areas”, each having their own set of Models/Views/Controllers folders. Starting with MVC 2.6, T4MVC lets you use areas in much the same way it lets you access top level items.  e.g. you can now write: <%= Html.ActionLink("Delete Dinner", MVC.NerdDinner...
Filed under: , , ,
Posted to:

Script# Update - v0.5.5.0

The long-awaited event (by some) ... an updated script# build, along with next steps, new channels for Q&A and staying up-to-date via @scriptsharp on twitter... [ Full post continued here... ] Read More...
Filed under:
Posted to:
by: 
11-29-2009, 8:55 PM

Microsoft AJAX CDN – Now with SSL Support

Back in September I blogged about the new Microsoft AJAX CDN (Content Delivery Network) service that the ASP.NET team is now providing.  The CDN provides edge caching support for AJAX libraries (including jQuery and ASP.NET AJAX).  The service is available for free, does not require any registration, and can be used for both commercial and non-commercial purposes.  It offers a great way to speed up your external facing web-sites. SSL Support Now Provided One of the features in September that we said was coming (but which was not available at the initial launch) was SSL support for scripts served off of the CDN.  This is necessary for scenarios where you have SSL enabled pages on your site, and you want to reference a script...
Posted to:
by: 
11-28-2009, 1:13 AM

PDC09 Talk: Building Amazing Business Applications with Silverlight 4, RIA Services and Visual Studio 2010 – Now in Visual Basic!!

I had a great time at my talk  PDC2009 talk, but i was disappointed that I could not demo in both C# and VB… So here is the next best thing: A full play-by-play of the demo, but all in VB!   Enjoy. What you need to get started: Visual Studio 2010 Beta2 Silverlight 4 Beta (now includes RIA Services ) Completed Solution (in VB) Check out the slides and video   from the talk Starting Off I am starting off with the new Business Application Template that gets installed with RIA Services.  This new template includes: Pattern for page navigation Log\Logout and new user registration support Localizable User settings Shared Code For this demo, I am going to used a customized version of the template.. After you create the project...
Posted to:
by: 
11-27-2009, 3:33 AM

Presenting in Europe Next Week

I’m off to Europe next week to do a bunch of technical presentations.  I’m presenting for 5-6 hours in a bunch of different cities, and will be doing talks that cover: ASP.NET 4 and VS 2010, ASP.NET MVC 2, and Silverlight 4. Below are details on the different cities I’m visiting, and how to register to attend the talks: Oslo, Norway - December 1st Stockholm, Sweden – December 2nd Copenhagen, Denmark – December 3rd Brussels, Belgium – December 4th I’ll also be attending the BizSpark Camp in Paris on December 8th and will be doing a presentation there as well: Paris, France – December 8th Hope to see some of you at once of these events in person! Scott P.S. In addition to blogging, I’m also now using Twitter for quick updates and to share...
Posted to:
by: 
11-25-2009, 2:11 PM

Silverlight and RIA Services: Implementing Search

Some of you likely noticed that my PDC09 demo included a stubbed out Search function that I didn’t really get to walkthrough during the talk.   I thought I’d do a blog post showing how it is done. To get started you need: Visual Studio 2010 Beta 2 Silverlight 4 Beta  (which includes RIA Services) You can download the completed solution as well.   and be sure to check out the full talk .     First let’s write a new method on the DomainService to return the search results.  In this case I want to return any Plates who’s name matches (grouped by Restaurant)  and any Restaurant who’s name matches.  public IQueryable < Restaurant > SearchRestaurants( string term) { //Find all plates that match, grouped...
Filed under: ,
Posted to:

T4MVC now has a real home and a dedicated forum!

Up until now, most things related to T4MVC were happening through my various blog posts about it.  And while that was sort of working ok for a while, it was also less than ideal for a couple reasons. First, there was no single place to go to in order to get information about it.  You’d basically have to go through the various posts that describe the various features as they were added.  And as the number of posts grew, so did the pain involved in doing that. The second issue is that there was no good place to discuss it, ask questions and report issues.  So all of those things were mostly just happening organically as comments in my various posts, which really doesn’t work so well.  Blog Post comments don’t support threading...
Filed under: , , ,
Posted to:

Web Deployment Painkillers: VS 2010 & MS Deploy

Last week I did a talk at the PDC 2009 and the talk is now available to view online live at www.microsoftpdc.com/Sessions/FT56 The abstract of the talk was “ Learn about next generation of ASP.NET Web Deployment with tips & guidance on how you can reuse and extend the technologies available with VS 2010 to build a hassle free web deployment solution for your team. See how to use VS 2010 and MS Deploy to assist with with creating virtual directories in an automated fashion, setting up app pools correctly, uploading only the changed content, replicating servers in web farms, modifying Web.config files for testing/staging/pre-Prod/UAT/Production environments, setting up team build environment or deploying databases.” Hope you will enjoy it...
Posted to:

ASP.NET 4.0 ScriptManager Improvements

.NET Framework 4 Beta 2 has been out for a little while now. There are some subtle improvements to the ScriptManager control in ASP.NET 4.0 that few have picked up on yet. Allow me to introduce you to them! First, let me say that this is strictly about...( read more ) Read More...

1 2 3 4 5 Next > ... Last »

Archives