Tag Archives: ASP.NET

jQuery & MicrosoftAjax “happy together”

I’ve been using jQuery quite a bit lately.  I’ve grown very fond of it.  At the same time, I have been digging into ASP.NET AJAX 4.0.  I just read a post from Bertand Le Roy that made me smile.  In his post, he shows how you can do the following:

<ul class="dv">

    <li>{{ $dataItem }}</li>

</ul>

<script type="text/javascript">
   1:     $(".dv").dataView({ data: ["foo", "bar", "baz"] });

</script>

To me, being able to instantiate a DataView control using the jQuery plugin syntax is PRETTY COOL!  Check out the details of how all this works and download the sample at:

http://weblogs.asp.net/bleroy/archive/2009/05/04/creating-jquery-plug-ins-from-microsoftajax-components.aspx

DevDinnerOnDemand: What’s new in ASP.NET 4.0

digg_url = “http://blogs.msdn.com/devkeydet/archive/2009/03/25/devdinnerondemand-what-s-new-in-asp-net-4-0.aspx&#8221;;digg_title = “DevDinnerOnDemand: What’s new in ASP.NET 4.0”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

I decided not to publish the last Developer Dinner in favor of pointing you to newer sessions last weeks MIX 09 conference.  These sessions basically cover everything I covered at the dinner and more.

Microsoft ASP.NET 4.0 : What’s Next?

Choosing between ASP.NET Web Forms and MVC

Microsoft ASP.NET: Taking AJAX to the Next Level

There are some other great sessions on ASP.NET & MVC as well.  You can check out all the ASP.NET content by going to https://content.visitmix.com/2009/sessions/default.aspx and selecting the ASP.NET tag on the left hand side just under the session/agenda selection tool.

REMINDER: The follow up post for this developer is at:

http://tinyurl.com/aspnet4devdinner

Developer Dinner tomorrow

digg_url = “http://blogs.msdn.com/devkeydet/archive/2009/03/24/developer-dinner-tomorrow.aspx&#8221;;digg_title = “Developer Dinner tomorrow”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

I have really been slacking when it comes to my blog.  I have a few posts planned, but I have been “heads down” on some really fun Windows Azure work that I should be able to talk about soon. 

Hopefully, you don’t use my blog as the source for Developer Dinner announcements since there are more official vehicles:

MSDN Flash: http://tinyurl.com/msdnflash

My team’s blog: http://tinyurl.com/psdevdinnertag (RSS)

In the event that you expected to see an announcement here, I am sorry for the short notice.  There is a dinner tomorrow:

Design your ASP.NET Application with Standards using Expression Web

FOLLOW UP: Developer Dinner on ASP.NET 4.0

digg_url = “http://blogs.msdn.com/devkeydet/archive/2009/02/19/follow-up-developer-dinner-on-asp-net-4-0.aspx&#8221;;digg_title = “FOLLOW UP: Developer Dinner on ASP.NET 4.0”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

Thanks to everyone who attended!  You can find the deck and demo code here:

http://cid-3e032ee80e5d5e45.skydrive.live.com/embedrow.aspx/Public/ASP.NET/4.0

Slide 40 of the deck has links to get the demo code.  Once the next preview release of ASP.NET 4.0 AJAX is published, I will blog about where you can get the samples I demonstrated (DataView / Client Templates). 

I will try to get the recording of the developer dinner published within the next week.

DEVELOPER DINNER: What’s new in ASP.NET 4.0 (Web Forms, AJAX, and JQuery)?

digg_url = “http://blogs.msdn.com/devkeydet/archive/2009/02/09/developer-dinner-what-s-new-in-asp-net-4-0-web-forms-ajax-and-jquery.aspx&#8221;;digg_title = “DEVELOPER DINNER: What’s new in ASP.NET 4.0 (Web Forms, AJAX, and JQuery)?”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

Attend this event for your chance to win an Xbox 360

clip_image001[4]

Xbox 360 will be raffled at the conclusion of the dinner.


Wednesday, February 18, 2009 6:00 PM – Wednesday, February 18, 2009 8:00 PM Eastern Time (US & Canada)
Welcome Time: 5:30 PM

Microsoft Reston Office

12012 Sunset Hills Rd
Reston Virginia 20190-5869
United States

Event Overview

Background:

In October 2008 at the Microsoft Professional Developer Conference in Los Angeles, the ASP.NET 4.0 Roadmap was presented which provided a walk through the 4.0 landscape from ASP.NET and discussed the core ‘themes’ of ASP.NET 4.0 – Web Forms, Core Infrastructure, Model View Controller (MVC), Data and Dynamic Data and AJAX.  ASP.NET 4.0, in combination with the .NET Framework 4.0 and Visual Studio 2010 will deliver some excellent features that will help make your client side coding easier, maintainable and allow you to add some real flashiness to your web pages. The February Developer Dinner will focus on some of the new features of ASP.NET 4.0 as well as a few of the new enhancements, to provide you with an early preview of the exciting capabilities of the Microsoft Developer Platform.

What You Will Learn:

The evening’s presentation will be a running stream of demonstration focused on the following features and functionality that will be a part of the next release of ASP.NET

  • Web Forms  – You will see how to take control of your control IDs, display images using the new DynamicImage control, learn about better ViewState  management in GridView and ListView, and get more control over the CSS markup of ASP.NET server controls.
  • AJAX – We will explore the new ASP.NET AJAX client template and data binding framework, including declarative UI, controls, data binding in the browser, and integration with Data Services and server pages.
  • JQuery – Microsoft is integrating the open source JQuery library into both the ASP.NET Web Forms and ASP.NET MVC frameworks and providing full product support. Learn how you can take advantage of JQuery to build richly interactive client-side Ajax applications when developing either ASP.NET Web Forms or ASP.NET MVC applications. Also see how JQuery works in combination with ASP.NET AJAX to provide the best framework for building Ajax applications.

Who Should Come:

This is an opportunity to get ahead of the curve of some of the new developer productivity enhancements first hand.  If you are someone who builds, architects, or manages development teams using the Microsoft development platform, this presentation is for you.

Register Here

DevDinnerOnDemand: Introduction to ASP.NET MVC

ASP.NET MVC enables you to build Model View Controller (MVC) applications by using the ASP.NET framework. ASP.NET MVC is an alternative, not a replacement, for ASP.NET Web Forms that offers the following benefits:

  • Clear separation of concerns
  • Testability – support for Test-Driven Development
  • Fine-grained control over HTML and JavaScript
  • Intuitive URLs

What you will learn:

This demonstration focused session covers the fundamentals of the ASP.NET MVC framework.  You will learn how ASP.NET MVC differs from the current ASP.NET Web Forms framework.  Through a series of demonstrations, you will see:

  • How ASP.NET MVC provides you with fine-grained control over HTML and JavaScript
  • Test Driven Development fundamentals
  • AJAX with ASP.NET MVC fundamentals

View Recording:

https://channel9.msdn.com/posts/keydet/US-Public-Sector-Developer-Dinner-for-Partners-ASPNET-MVC/

The follow up post for this developer dinner at:

http://tinyurl.com/aspnetmvcdevdinner

DevDinnerOnDemand: Overview of the .NET Framework 3.5 SP1

digg_url = “http://blogs.msdn.com/devkeydet/archive/2008/11/10/devdinnerondemand-overview-of-the-net-framework-3-5-sp1.aspx&#8221;;digg_title = “DevDinnerOnDemand: Overview of the .NET Framework 3.5 SP1”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

With the .NET Framework 3.5 (the version native to Visual Studio 2008) coming up on its first anniversary, Microsoft is poised to release the first update to the framework in the form of Service Pack (SP1).  This Service Pack is unlike your standard Service Pack, in that it will introduce new features/capabilities to the .NET Framework.  Some of these features where originally planned to be in the initial release of the framework and others are features/capabilities added to enhance or further secure the core .NET Framework.  The August Developer Dinner is going to focus on some of the new features as well as a few of the new enhancements, to give you an introduction of the improved capabilities of the Microsoft Developer Platform.

What you will learn:

This evenings presentation will be a running stream of demonstration focusing on new features and functionality coming in the new Service Pack for several of the key areas of .NET Development today, including Web Development (ASP.NET), Database Development (ADO.NET), Web Services/SOA (Windows Communication Foundation) and User Experience (Windows Presentation Foundation).

You will see demonstrations that will include:

  • Making data access easier with the ADO.NET Entity Framework.
  • Exposing your data access layer using ADO.NET Data Services
  • Building “Data Entry” Web-based applications faster than ever using ASP.NET Dynamic Data.
  • Making AJAX Applications faster with script combining and easier with built in support for handling browser history (i.e. back/forward buttons).
  • How to achieve up to 40% faster startup performance for your WPF applications and further improve the startup experience using a splash screen.
  • Reducing the time it takes to deploy your WPF applications using the New .NET Framework Client Profile.
  • Build services faster using enhancements in WCF.

View Recording:

https://channel9.msdn.com/posts/keydet/US-Public-Sector-Developer-Dinner-for-Partners-NET-Framework-35-SP1/

The follow up post for this developer dinner is http://blogs.msdn.com/devkeydet/archive/2008/08/21/follow-up-developer-dinner-on-net-framework-3-5-sp1.aspx.

FOLLOW UP: Developer Dinner on ASP.NET MVC

UPDATE: I had technical difficulties with the recording yesterday.  Therefore, we were unable to record the dinner.  However, I do plan on recording both last night’s presentation and the 3.5 SP1 presentation from the last dinner.  I hope to have them recorded and published some time soon.  Stay tuned.

Thanks to everyone who attended!  You can download the deck and links to the code here:

http://cid-1f72da7294089597.skydrive.live.com/embedrow.aspx/Public/ASP.NET/MVC

You’ll find the code for my ajax samples and links to other samples I showed there.  Normally, I write my own demos and make code code available for download.  However, this time around, most of my demo code was based on the .NET 3.5 Enhancements Training Kit.  I blogged about the kit here:

http://blogs.msdn.com/devkeydet/archive/2008/08/18/free-training-on-net-framework-3-5-sp1-and-asp-net-mvc.aspx

The kit has just about everything I showed in my demos and more!  I did make some updates to the training kit code to reflect ASP.NET MVC preview 5 and my own coding preferences.  However, I need to check with the team that built the training kit before I can share the code. 

I am also keeping a running list of ASP.NET MVC sites/blogs I follow:

http://devkeydet.spaces.live.com/lists/cns!1F72DA7294089597!894/

Although it is already in the list linked to above, I want to call out Stephen Walther’s blog.  If you have a “How do I..” kind of question, chances are Stephen answers it on his blog.  

During the presentation, I called out a few specific urls:

ASP.NET Routing Debugger

ScottGu on ASP.NET MVC Preview 5 (validation is discussed here)

Web Client Software Factory (WCSF) Testability Guidance (for those of who want to stick with WebForms)

MVC Storefront 

Here’s a description of the MVC Storefront from the http://www.asp.net/mvc site:

“The MVC Storefront project documents the building of an Ecommerce application using ASP.NET MVC and Test-driven development. The goal of this starter kit is to introduce the development process of a large-scale application that goes beyond the typical demo or sample application and to create something applicable and reusable in a very open, transparent way.

Rob Conery has documented the development process on his blog and created a video series for many of the development steps. During the process Rob has solicited feedback from members of the community and also held design sessions with prominent Microsoft MVPs. The Project is ongoing and will update with each change in the MVC Framework.”

Tonight’s dinner in Reston, Va will be recorded.  I will try to make the recording available by Friday.

PARTNER DEVELOPER DINNER: Introduction to ASP.NET Model View Controller (MVC)

Microsoft Developer Dinner Series for Partners

Presenting

Introduction to ASP.NET Model View Controller (MVC)

The "Same Event" on different days in DC and Virginia, pick one!

Where

Date/Time

Registration Link

Address

DC

Wed. October 15th

(6:30-8:30PM)

Register for DC

Microsoft DC Office

5335 Wisconsin Ave., NW,

Washington, DC 20015

(Metro Red Line Stops below building, Parking under the Microsoft building will be Validated)

Virginia

Thurs. October 16th

(6:00-8:00PM)

Register for Reston Virginia

Microsoft Innovation and Technology Center

12012 Sunset Hills Road, Reston, VA 20190

Topic:

Introduction to ASP.NET Model View Controller (MVC)

Presenter:

Marc Schweigert

Developer Evangelist

Microsoft Public Sector Evangelism Team

Background:

ASP.NET MVC enables you to build Model View Controller (MVC) applications by using the ASP.NET framework. ASP.NET MVC is an alternative, not a replacement, for ASP.NET Web Forms that offers the following benefits:

  • Clear separation of concerns
  • Testability – support for Test-Driven Development
  • Fine-grained control over HTML and JavaScript
  • Intuitive URLs

What you will learn:

This session will be demonstration focused covering the fundamentals of the ASP.NET MVC framework.  You will learn how ASP.NET MVC differs from the current ASP.NET Web Forms framework.  Through a series of demonstrations, you will also see how ASP.NET MVC provides you with fine-grained control over HTML and JavaScript.

Who should come:

This is an opportunity to get ahead of the curve before ASP.NET MVC is released.  If you are someone who builds, architects, or manages development teams building Web Applications, this presentation is for you.

Attend this event for your chance to win an Xbox 360

clip_image001[4]

Xbox 360 will be raffled at the conclusion of the dinner.

Your Opportunity to Provide Feedback!

If you are a developer or technology professional who works either directly or indirectly for the U.S. Federal, State, Local governments and educational institutions, please

read on.

Are you interested in sharing your thoughts regarding free Microsoft Public Sector developer online technology presentations? If so, please take 2-3 minutes to provide feedback regarding the type of application development oriented technical training that would be beneficial to you and your organization. Please click here to provide feedback.

Your feedback is highly valued. Thank you for your time.

RELEASED: Virtual Earth JavaScript Intellisense Helper for 6.2

Thanks to the quick effort from Chris Pietschmann, I am happy to announce that we have an updated version of the Virtual Earth JavaScript Intellisense Helper that is in sync with the update Virtual Earth Map Control 6.2.  You can learn more about what’s new in 6.2 at http://blogs.msdn.com/virtualearth/archive/2008/09/24/announcing-the-virtual-earth-web-service-and-virtual-earth-map-control-6-2.aspx

UPDATE: I wanted to also mention a special thanks to Nicolas Boonaert.  Chris wrote the updates, Nicolas performed QA/testing, and I packaged up the release.

If you aren’t familiar with the intellisense helper, here’s our description from CodePlex:

“The purpose of this project is to fully enable JavaScript Intellisense for the Virtual Earth Map Control inside of Visual Studio 2008.

Creating Microsoft Virtual Earth mashups and applications just got a whole lot easier. This JavaScript library enables Intellisense for the Microsoft Virtual Earth 6.2 (current release) AJAX control in Visual Studio 2008.”

vejs1.png

You can download the helper at http://www.codeplex.com/VEJS/Release/ProjectReleases.aspx?ReleaseId=17699.