Welcome to MSDN Blogs Sign in | Join | Help

In Bob Muglia’s keynote at the PDC2009, Cameron Skinner presented a demo focused on some of the exciting new features coming in Visual Studio 2010, .NET Framework 4, and the server platform. The demo was built to show of  ASP.NET MVC 2, Windows Identity Foundation,  and the beta of the new Windows Server AppFabric.

For people who are interested in this demo app, you can now download the Tailspin Travel application from Codeplex (download here). In addition to the feature use cases that were presented in the demo, the released version of Tailspin contains many additional scenarios to help you see a broader view of possibilities with the respective technologies.

At the keynote today at PDC09, we announced the RTM of Windows Identity Foundation which is a .NET Framework component which provides an open platform to enable simplified identity access to both on-premise and cloud applications.

You can go to the following location to download the Windows Identity Foundation.

To add to this announcement, Vittorio on the team has just launch a Windows Identity Training Course on channel9 in the learn section.

Please go out and check the latest details

image Here is a great recap of the keynote for TechED Europe. Pretty funny that 3 people got to go on stage in comfy chairs and watch the keynote while drinking beer.

Stephen Elop closed out the day with the announcement of general availability of Exchange 2010.  In the keynote, he talked about some of the new features in 2010, like the new protection and management capabilities. He also talked about Cloud Computing, and how we're putting the choice in the hands of IT Pros - you can decide which parts, and how much of your environment you want to move to the cloud. The Windows Server team also showed off some of the stuff they're doing around management and provisioning - really good stuff!

Go here to see more.

Today we have launched the Windows Server 2008 R2 Training Course for Developers on Channel 9.  This will enable you to explorer this significant Windows Server release via a self-paced training course of videos and hands-on-labs with a focus on performance, web, management, and other server solution scenarios.   You will also be able to learn about developing applications for “many-core” scale, enable efficient “trigger-started” services, explore new Windows PowerShell features, create integrated solutions with the File Classification Infrastructure, build Web Platform extensions, and automate your dev-test environment with VHD and Hyper-V API’s.

 

For a full list of all the content, please see below. A lot of great information.

 

  • Designed for Performance
    • Scale Your Applications to Many
    • The “Many-Core” Application Platform
    • User-Mode Scheduling
    • C++ Conconcurrency
    • Parallel Profiler
  • Designed for Efficiency
    • Build Trigger-Started Services
    • Designed for Efficiency
    • Service Management
    • Power Management with R2
    • Design Efficient Background Services
  • Server Core .NET Application Server
    • Build ASP.NET Applications for Windows Server Core
    • Server Core .NET Application Host
    • How to Deploy ASP.NET Applications on Server Core
    • How to Debug ASP.NET Applications on Server Core
    • Deploying IIS7.5, FastGCI, and PHP on Server Core
  • The Extensible Web Platform
    • The Extensible Web Platform
    • Microsoft Web Platform and IIS Extensibility.
    • Deploy IIS 7.5 + FAST-CGI + PHP on Server Core
    • Deploy Web Applications
    • Web Platform Extensions
  • Extreme Web Services
    • Native Web Services with the Windows Web Services API
    • Extreme Web Services
    • WWSAPI Client (part 1 of a 2)
    • WWSAPI Service (part 2 of a 2)
    • WWSAPI At PDC'08
  • The Extensible File Classification Infrastructure
    • New File Classification Infrastructure
    • The Extensible File Classification Infrastructure
    • How to Manage Stale Data
    • Compress Stagnant Files
    • Business Critical Files
    • The FCI AP
  • Windows PowerShell is Powerful Automation
    • PowerShell V2 for Developers
    • Windows PowerShell is Powerful Automation!
    • Variables, Types, and Operators
    • Arrays, Conditionals, Collections, and Loops
    • Create Object CmdLets
    • Remote Sessions
    • Advanced Remote Sessions
  • VHD and Hyper-V APIs Enable Creative New Solutions
    • Application Testing with Hyper-V Hyper-V
    • VHD and Hyper-V APIs
    • VHD and Hyper-V

image It amazing that we are now (just) less that 100 days to the Olympic days. The new, interactive Silverlight player was recently launched on http://www.nbcolympics.com so its worth going there to see what is being planned by NBC.

The site is going to broadcast the event in full HD using silverlight and taking advantage of Smooth Streaming which is part of Internet Information Server.

This follows on from the great experience that we built with Sunday Night Football on NBC, where we are streaming the match live in HD, and also providing many new angles of the game, effectively building a better experience than you would see on your TV. For the Sunday night game, I have now switched to the PC to watch it – its pretty amazing.

On my travels, one thing that I got asked a lot about is sending email from your web application. This is typically when you need to send a confirmation at the end of a transaction. I got a number of questions about how you do this without using Microsoft Exchange, etc, etc. While the full answer is here (including source code), below is some of the high level details.

The answer to the first problem is pretty simple. Using the .NET framework there is a class which handles the sending for you.

In C# you getting the following syntax, with Visual Basic below. They both use the System.Net.Mail namespace, plus you will probably need others such as System.Net.Mime to help with the encoding.

C# example

SmtpClient smtpClient = new SmtpClient();
MailMessage mail = new MailMessage();
mail.To.Add(newUserEmail);
mail.Subject = "Welcome to Sample App";
mail.IsBodyHtml = false;
mail.Body = string.Format(
    "Welcome {0} to Sample App!\nNow you can log in to the site!",
    newUserName);

smtpClient.Send(mail);

 

Visual Basic .NET example
Dim smtpClient As New SmtpClient()
Dim mail As New MailMessage()
mail.To.Add(newUserEmail)
mail.Subject = "Welcome to Sample App"
mail.IsBodyHtml = False
mail.Body = String.Format("Welcome {0} to Sample App!" & Constants.vbLf & "Now you can log in to the site!", newUserName)

smtpClient.Send(mail)

While this will create the email ( EML file ) and place it in a specific directory, you will probably need to format the message in a professional way, using some form of template based email. One option here is to use XSL to translate templates into specific mail messages, where you are taking a set of data represented as XML and rendering this into HTML using the XSLT. Below is a basic example.

 

XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
<Properties>
  <UserName>frankm</UserName>
  <E-mail>frankm@contoso.com</E-mail>
</Properties>

When developing the XSLT templates, take into account the XML-serialized dictionary structure to retrieve the values using XPath in a value-of element. For instance, to retrieve the UserName value, use the following snippet in the XSLT template:

XSLT
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html" indent="yes" />

  <xsl:template match="/">
    ...
    User Name: <xsl:value-of select="Properties/UserName"/>
    ...
  </xsl:template>
</xsl:stylesheet>

 

Rather than cutting a pasting lots of code, please go to the following example that I have placed on the web which contains all the source code and documentation to wire this up.

Jason Olson links up with Andrew Hall and Brad Sullivan as part of the Channel9 10-4 show to take a look at some new enhancements and improvements made to the debugger and debugging experience in Visual Studio 2010.

Areas include

  • Sticky Data Tips
  • Adding values (including notes) to data tips
  • Breakpoints Window enhancements
  • Export and Import of Breakpoints and Data Tips
  • Threads Window enhancements
  • Dump debugging improvements
  • Integrated IL Interpreter
Get Microsoft Silverlight

For more details go here.

Jason just announced the Beta 2 version of DPE’s Visual Studio 2010 Training Kit is now live (you can find it at http://tinyurl.com/Beta2Training).

Training Kit

A training kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize a variety of Visual Studio 2010 and .NET Framework 4 technologies.

The Beta 2 release of the Training Kit contains 15 presentations, 19 hands-on labs, and 13 demos. Many technologies are covered in this release, including: C# 4, VB 10, F#, Parallel Extensions, Windows Communication Foundation, Windows Workflow, Windows Presentation Foundation, ASP.NET 4, Entity Framework, ADO.NET Data Services, Managed Extensibility Framework, and Visual Studio Ultimate.

There’s a lot of content covered here. See for yourself:

Presentations

  • What’s New in .NET Framework 4
  • What’s New in Visual Studio 2010
  • Introduction to ASP.NET MVC
  • Introduction to Managed Extensibility Framework
  • Introduction to .NET RIA Services
  • Introduction to “Velocity”
  • Parallel Computing for Managed Developers
  • Web Deployment with Visual Studio 2010
  • What’s New in ASP.NET AJAX 4
  • What’s New in ASP.NET Web Forms 4
  • What’s New in C# and VB
  • What’s New in ADO.NET Data Services
  • What’s New in Entity Framework 4
  • What’s New in Windows Presentation Foundation 4
  • What’s New in Windows Workflow 4

Hands-On Labs

  • Introduction to ADO.NET Data Services
    • Exercise 1: Creating and Consuming ADO.NET Data Services
    • Exercise 2: Consuming ADO.NET Data Services using ASP.NET AJAX
    • Exercise 3: Extending Data Services with Service Operations and Interceptors
    • Exercise 4: Adding Client-Side Paging with Row Count
  • ASP.NET AJAX 4
    • Exercise 1: Leveraging a Client-Side Template
    • Exercise 2: Using the DataView Control
    • Exercise 3: Creating Custom Markup Extensions
    • Exercise 4: Declaratively Instantiating Behaviors
  • Creating Plan My Night – ASP.NET MVC Application
    • Exercise 1: Creating an ASP.NET MVC Application, Plan My Night
    • Exercise 2: Creating Entity Framework Data Model
    • Exercise 3: Adding AJAX For Searching Activities
  • Enhancing Plan My Night – ASP.NET MVC Application
    • Exercise 1: Adding Caching using “Velocity”
    • Exercise 2: Structuring an Application using MVC Areas
  • Introduction to ASP.NET Web Forms 4
    • Exercise 1: Controlling Server Control ClientIds
    • Exercise 2: Enabling Bi-Directional Routing Support
    • Exercise 3: Granular ViewState
  • Microsoft Office Programmability in C# and Visual Basic
  • Introduction to F#
    • Exercise 1: Types in F#
    • Exercise 2: Using the Let keyword
    • Exercise 3: Functions
    • Exercise 4: Lists
    • Exercise 5: Pattern Matching and Recursion
    • Exercise 6: Types and Discriminated Unions
  • Introduction to the Managed Extensibility Framework
    • Exercise 1: Using MEF To Dynamically Add Modules to an Application
    • Exercise 2: Dynamically extending a form
  • Introduction to “Velocity”
    • Exercise 1: Setting up and running “Velocity”
    • Exercise 2: Programming directly against “Velocity” as a generic object cache
    • Exercise 3: Using Velocity’s SessionState provider with ASP.NET
    • Exercise 4 (Optional): Configure “Velocity” Cache in a cluster
  • Introduction to Workflow 4
    • Exercise 1: Hello Workflow
    • Exercise 2: Refactoring Workflows
    • Exercise 3: The CodeActivity
    • Exercise 4: Dynamic Workflows with XAML
    • Exercise 5: Testing Workflows
    • Exercise 6: WorkflowApplication
    • Exercise 7: Adding If/Else Logic
    • Exercise 8: Error Handling
    • Exercise 9: Activity Designers
    • Exercise 10: Hosted Designer
  • Introduction to Parallel Extensions
    • Exercise 1: Parallelize existing algorithm using static Parallel helper class
    • Exercise 2: Create and run parallelized Tasks
    • Exercise 3: Using the Task<T> class to create and run tasks that return a value
    • Exercise 4: Parallelizing LINQ queries using PLINQ
  • Test-Driven Development in Visual Studio 2010
  • WCF Service Discovery
    • Exercise 1: Ad-Hoc Discovery
    • Exercise 2: Metadata Extensions
    • Exercise 3: Announcements
    • Exercise 4: Discovery Proxy
    • Exercise 5: Legacy Discovery
  • Web Development in Visual Studio 2010
    • Exercise 1: Using HTML Code Snippets
    • Exercise 2: Web.config Transformations
    • Exercise 3: Packaging and Deploying Web Applications
    • Exercise 4: Packaging and Deploying Web Applications for IIS
  • Building a Data-Driven Master/Detail Business Form using WPF 4
  • Multi-touch Gesture – MFC
  • Multi-touch WMTouch – MFC
  • Ribbon – MFC
  • Taskbar - MFC

Demos

  • ContosoAutomotive (Parallel Extensions + MEF + WPF)
  • AdventureWorks AJAX
  • ASP.NET AJAX Ten-In-One
  • Managed Languages Ten-In-One
  • Barrier
  • CountdownEvent
  • Hello Visual Studio 2010
  • Introduction to the Managed Extensibility Framework
  • Parallel Baby Names
  • Parallel For Loop
  • Parallel LINQ (PLINQ)
  • Parallel Tasks
  • “Velocity”

Brian in the team walks everyone through downloading and installing Visual Studio 2010 Ultimate Beta 2 and Visual Studio 2010 Team Foundation Server Beta 2. This is episode 33 of the 10-4 show on Channel9.

Get Microsoft Silverlight


This video references several important URL's. Those URL's, as well as some other handy links for beta 2, are as follows:
- Download instructions for all files in this video
- Compatibility hotfix for Team Explorer 2008 connecting to Team Foundation Server 2010
- More information about the Windows Server 2008 VHD
- Beta 2 home on MSDN
- Information on "Go Live" license
- MSDN Forums
- Visual Studio Connect site (report bugs / suggestions)
- Team Foundation Server 2010 Deployment Guidance
- Visual Studio 2010 and .NET Framework 4 Training Kit

You may also be interested in viewing 10-4 Episode 20, which provides more details on configuring your base operating system.

 

image Today we are releasing VS2010 Beta 2 to all MSDN subscribers with general availability on the web to follow on Wednesday. Beta 2 has a huge focus on increased stability, improve performance, and meeting many of the customers scenarios which they have been requesting in this release. 

The other thing you might notice is the new branding. This is similar to the branding for the .NET framework and a little cleaner that the old logo ( which I think has been around for all my Microsoft career ).

From a language perspective,  .NET Framework Beta 2 will be released in English, Japanese, German and Arabic, and Visual Studio Beta 2 will be released in English, Japanese, and German.

In addition to shipping the new (81% smaller) Client Profile of the .NET Framework, Beta 2 is the first version of Visual Studio to ship the new simplified product line up. This means that we now have

  • Microsoft Visual Studio 2010 Ultimate with MSDN: the comprehensive suite of application lifecycle management tools for software teams to ensure quality results from design to deployment.
  • Microsoft Visual Studio 2010 Premium with MSDN: a complete toolset for developers to deliver scalable, high quality applications.
  • Microsoft Visual Studio 2010 Professional with MSDN: the essential tool for professional development tasks to assist developers in implementing their ideas easily.

This release also allows partners and customers to “Go-Live”, with details about this on Jeff’s blog.

You can find all the new information at the following location.

We have just released a significant update of the Microsoft Ajax Library (Preview 6).  This provides a set of new capabilities to the client-side AJAX library, and can be used with any version of ASP.NET and ASP.NET MVC projects. 

The major new capabilities are:-

  • Better Imperative Syntax: A new, simplified, code syntax for creating client controls.
  • Client Script Loader: A new client-side script loader that can dynamically load all of the JavaScript files required by a client control or library automatically, and executes the scripts in the right order.
  • Better jQuery Integration: All Microsoft Ajax controls are now automatically exposed as jQuery plug-ins.

To get started, you can download the Preview 6 release from CodePlex or you can access the Microsoft Ajax Library scripts directly from the Microsoft Ajax Content Delivery Network (CDN), by adding the following script tags to your ASP or HTML pages.

        <script src=”http://ajax.microsoft.com/ajax/beta/0910/Start.js” type=”text/javascript”></script>

 

Happy scripting

 

If you want to get trained on how to support, deploy and develop for Windows HPC Server and you are based in the USA, Canada, United Kingdom, Germany, Switzerland, or Mexico, please go to the following link

 

image

The Trustworthy Computing security response communications team has just released this months Security Bulletin to TechNet EDGE

This Bulletin contains details about the 13 released bulletins, 8 being critical and 5 being important, plus other advisories.

Get Microsoft Silverlight

For bulletin details, please visit:
http://www.microsoft.com/technet/security
or
http://www.microsoft.com/security

We just released IIS Media Services 3.0, a set of extensions for Internet Information Services 7 (IIS) that provide an integrated HTTP-based media delivery platform.  This includes the new IIS Live Smooth Streaming and the separate IIS Advanced Logging package. 

So how did we get here? Well over the last 6 months key broadcasters have been using beta versions of IIS Media Services 3.0 to successfully broadcast some of the world’s premier live events. These include the Tour de France, Roland Garros 2009 International French Open Tennis Tournament, IAAF Athletics World Championships, FINA Swimming World Championships, FIFA Confederations Cup South Africa 2009 as well as events such as the Michael Jackson Memorial. Also in a combined effort with Microsoft, NBC Sports and others, Wimbledon Live delivered more than 6,500 minutes of live and on-demand Smooth Streaming video via a high-definition (HD), interactive online video experience and each Sunday this Fall, NBC and Microsoft are broadcasting Sunday Night Football on-line in HD, utilizing live DVR controls, multiple camera angles, slow motion, ad integration, analytics, and other cutting-edge features.  26 such trial deployments are currently highlighted on the Smooth Streaming Showcase.

The components available are as follows

With this release, the key elements of the IIS media server platform now include:

· Smooth Streaming, adaptive streaming of media over HTTP

· Live Smooth Streaming, for live adaptive streaming of broadcast events

· Smooth Streaming Player Development Kit, for creating custom clients

· Bit Rate Throttling, meters the speed that media is delivered to a player

· Web Playlists, secure sequencing of media content

· Advanced Logging, with real-time client- and server-side logging

· Application Request Routing (ARR), providing HTTP proxying and caching

Download the latest IIS Media offerings

You can download all of the IIS media server platform components, and the Smooth Streaming PDK, using the Web Platform Installer button on the IIS Media page (http://www.iis.net/media).

image Nov 17th seemed to be a long way away…then... Now we are into October and in practically 5 weeks we will be off to the races!! There are lots of exciting things that I can’t talk about obviously, but there are a lot of things that I can start to share.

Firstly we just announced on Friday that the Scott Guthrie would be keynoting, along with our senior VP of Office and SharePoint, Kurt DelBene.

Secondly, we also published many new Windows sessions which will help this event, together with the Windows 7 bootcamp to become the place to learn how to build amazing applications for Windows 7. There are a number of sessions that we can’t announce prior to the PDC, and these will become available after the keynote announcements.

We have also finalized a lot of the work to bring together a large majority of Microsoft’s Technical Fellows and Distinguished Engineers for our “Technical Leaders” series which will bring together some interesting industry perspectives. There is also all the usual things that make the PDC “the PDC”. These are all here again.

The best thing to do to keep up-to-date with what is happening is to subscribe to the PDC RSS feed.

More Posts Next page »
 
Page view tracker