Friday, October 2, 2009

Tip#98: Did you know… The default Application Pool Identity in IIS 7.5 (Windows 7) changed from NetworkService to AppPoolIdentity?

Tip#98: Did you know… The default Application Pool Identity in IIS 7.5 (Windows 7) changed from NetworkService to AppPoolIdentity?


Tip#98: Did you know… The default Application Pool Identity in IIS 7.5 (Windows 7) changed from NetworkService to AppPoolIdentity?

Posted: 02 Oct 2009 11:51 AM PDT

In Windows 7, IIS application pool isolation was taken yet to a different level. The new change introduced in IIS7 (Windows Server 2008) was a new option to run your application pool as AppPoolIdentiy. However, the default for an application pool identity...(read more)

Hanselminutes Podcast 182 - The History and Future of Web Standards with Molly Holzschlag from molly.com

Posted: 02 Oct 2009 12:14 PM PDT

My one-hundred-and-eighty-second podcast is up . Scott's in Mexico this week and he's sitting down with Molly Holzschlag . Molly is a well-known Web standards advocate, instructor, and author and correctly works for Opera as an evangelist. She explains the history of HTML, SGML and XML and we chat about where we think the web is headed. Molly is on Twitter , and at http://www.molly.com . Subscribe: Download: MP3 Full Show Do also remember the complete archives are always up and they have PDF Transcripts , a little known feature that show up a few weeks after each show. Telerik is our sponsor for this show. Check out their UI Suite of controls for ASP.NET . It's very hardcore stuff. One of the things I appreciate about Telerik is...(read more)

Free: Introducing WebsiteSpark and Web Platform Installer v2 RTM

Posted: 02 Oct 2009 11:00 AM PDT

Introducing WebsiteSpark, a new program that invests in small Web dev companies by giving them free software, free support and free marketing. To explain what this means exactly, VP of .NET Platform and Web Technologies, Scott Guthrie, joins Channel 9 for an insightful conversation. Why are we doing this, anyway? What's the story? What's next?

Attend the Visual Studio Extensibility Ecosystem Summit in October

Posted: 02 Oct 2009 11:00 AM PDT

Are you interested in learning to extend Visual Studio 2010? Attend Extensibility Days at the upcoming Dev Tools Ecosystem Summit, October 19 - 23, to develop the skills you need.

ARCast.TV: Perspective and Architectural Insight

Posted: 02 Oct 2009 11:00 AM PDT

Tune in to a recent episode of ARCast.TV to learn more about the next software boom or to watch a video about building line-of-business (LOB) applications in Microsoft Silverlight and Windows Presentation Foundation (WPF). This weekly interview series with influential architects provides perspective and professional insight. From cloud computing to security, ARCast.TV features architects discussing the latest industry trends, technologies, and best practices.

SQL Azure Explorer for Visual Studio

Posted: 02 Oct 2009 04:46 AM PDT

I found a cool project on CodePlex that I wanted to share with you. SQL Azure Explorer for Visual Studio lets you work with SQL Azure inside Visual Studio 2010 Beta 1. It tries to mimic the ordinary Server Explorer.                   Current Features: SQL Azure Explorer which contains: Databases Tables with columns Views with columns Stored procs with parameters Functions with parameters Context menues for: Open Sql Editor Window Select Top 100 Rows Script as CREATE for all tables, views, stored procs and functions SQL Editor Window with built in: SQL Execute Off line parser Script formater Get it here - http://sqlazureexplorer.codeplex.com/ Read More......(read more)

Ribbon Designer

Posted: 01 Oct 2009 05:23 PM PDT

Hello, my name is Samatha Mannem and I am a QA with the IDE team.

The world has become sophisticated and the time has come to make every application geeky as well as fancy. That is where 'Ribbon' has evolved. The recent UI designs that people are attracted to are Microsoft Office and Windows 7 ribbons.

While Visual Studio 2008 SP1 included the ability to create an application that has a ribbon UI, it was difficult for you to configure it as desired. Detailed Information on Ribbon Designer VS2008 is available at http://msdn.microsoft.com/en-us/library/bb386089.aspx. The Visual Studio product team received a lot of feedback on this issue. With Visual Studio 2010, designing a ribbon-based UI is made much easier with the "Ribbon Designer".

 

During project creation, the Application Wizard allows you to select the ribbon style for your application. In addition to Office, Visual Studio and Windows Native which were available for Visual Studio 2008, Windows 7 ribbon style is also available in Visual Studio 2010.

Changing the style of the application can easily be done on the fly. At any time during application development, the style of the ribbon's UI can be changed easily via the 'style' dropdown shown below. Changing the style of the ribbon only affects the ribbon's appearance – it does not in any way disturb the functionality of your application.

With Dev10 creating a ribbon of your style or adding/deleting few tools from the existing Office/Windows ribbon is just a drag and drop action. Writing and debugging complicated UI code is now a thing of the past. Adding behavior to the ribbon's tools is easily done by adding an event handler to each (explained later).

The following images show the variety of controls that can be used on the Ribbon.

Each control shown below can be designed using Ribbon Designer's tool box shown here. This tool box can be viewed either by hovering the mouse over the 'Toolbox' in the Designer window or by using the menu View->Toolbox.  You can add the ribbon like any other resource (dialog, icon) with the Add Resource->Ribbon menu in the Resource view.

 

 

A ribbon resource created can be added to existing MFC application. To do so, modify the application to load the ribbon resource.

CMFCRibbonBar m_wndRibbonBar;    //declare it

if (!m_wndRibbonBar.Create (this))  //create and initialize the ribbon control

{

    return -1;

}

if (!m_wndRibbonBar.LoadFromResource(IDR_RIBBON))

{

    return -1;

}

 Adding various properties to the control can make it function the way user wants it to serve the purpose.

The image and Menu Items of the Button can be set using the properties window and can be viewed by Right clicking on Ribbon ->properties. Setting the properties in this window is same as writing the following code in CMainFrame.cpp.

You can double-click any control on the designer to open an Items Editor and add more items in its sub menu.  You can create event handlers for all other control events by using either the Properties window or right click on a control and choose 'Add Event Handler'.

 

A Resource file in the solution, ribbonname.mfcribbon-ms, contains the property values of each control on the Ribbon.

For example following properties are equivalent to the property window shown. The values modified in the properties window reflect the values in this resource file.

 

With this Ribbon designer, our goal is to make your UI creation easy and flexible to change. Overall we believe that with this designer you will have your Application Ribbon easy to play with. We are excited about this feature and would like to hear back from you.

Austria ReMix Silverlight 3 and .NET RIA Services

Posted: 01 Oct 2009 07:10 AM PDT

ReMix in Vienna, Austria was really great.  The attendees were very engaged and the venue was quite nice.  Simon Guest gave the keynote and did a very nice job of bring together SketchFlow , .NET RIA Services and Sql Azure .  I had the...( read more )...(read more)

Austria ReMix Silverlight 3 and .NET RIA Services

Posted: 01 Oct 2009 07:10 AM PDT

ReMix in Vienna, Austria was really great.  The attendees were very engaged and the venue was quite nice.  Simon Guest gave the keynote and did a very nice job of bring together SketchFlow , .NET RIA Services and Sql Azure .  I had the opportunity give the Silverlight 3 overview today and again I had fun doing it.   I used a this Silverlight 3 deck and did some fun demos: IIS Smooth streaming The Beatles Rockband site  (recently site of the day on FWA site of the day ) Silverlight 3 Control Toolkit Samples Silverlight SEO Silverlight 3 Navigation Application Themes Slidentity After lunch,  I did was on .NET RIA Services..  You can find the demo i did http://bit.ly/4tmJA3 and the full series .   On...(read more)

No comments:

Post a Comment