I registered for ROCKPAPERAZURE, downloaded the Bits, after installing the pre-reqs, click F5 and got a 404/blank page.

After some troubleshooting I found that install the following applications through the Microsoft Web Platform Installer, the issue was corrected.  I also verified this with Kevin D. Wolfe - as he had the same issue – thanks Kevin:

  1. IIS 7 Recommended Configuration (Good to clean up IIS installs)
  2. Application Request Routing 2.5

Anyway happy Rock, Paper, Azure!, follow the link for more info or to compete.

 

Printing in Silverlight has been made pretty simple, how it comes with some caveats because it opnly supports rasterized image printing.  Not 100% a problem but in LOB applications will run into issue with printing thinks like PDF, because all formatting is lost in reflect to the final printed document.

Here is a quick code method on printing in Silverlight 4:

PrintDocument documentToPrint= new PrintDocument();
documentToPrint.DocumentName = "Sample Document";
documentToPrint.StartPrint += new EventHandler(documentToPrint_StartPrint);
documentToPrint.PrintPage += new EventHandler(documentToPrint_PrintPage);
documentToPrint.Print();

 

The Life Cycle of a page when requested for the first time:

Initializing: During this phase, the server creates an instance of the server control

Loading: During this phase, the instance of the control is loaded onto the page object in which it is defined.

PreRendering: During this phase, the control is updated with the changes made to it. This prepares the control for rendering.

Saving: During this phase, the state information of the control is saved. For example, if a value is set for the control during the Load event, it is embedded in the HTML tag that will be returned to the browser.

Rendering: During this phase, the server creates the corresponding HTML tag for the control.

Disposing: During this phase, all cleanup tasks, such as closing files and database connections opened by the control are performed.

Unloading: During this phase, all cleanup tasks, such as destroying the instances of server control are performed. This is the final event in the life cycle of a server control

The processing sequence in which a page is processed during a postback event is:

Initializing: During this phase, the server creates an instance of the server control

Loading view state: During this phase, the view state of the control posted by the client is reloaded into the new instance of the control.

Loading: During this phase, the instance of the control is loaded onto the page object in which it is defined.

Loading the postback data: During this phase, the server searches any data corresponding to the control that is loaded in the data posted by the client.

PreRendering: During this phase, the control is updated with the changes made to it. This prepares the control for rendering.

Saving state: During this phase, the change in the state of control between the current request and the previous request of the page is saved. For each change, the corresponding event is raised. For example, if the text of a textbox is changed, the new text is saved and a text_change event is raised.

Rendering: During this phase, the server creates the corresponding HTML tag for the control.

Disposing: During this phase, all cleanup tasks, such as closing files and database connections opened by the control are performed.

Unloading: During this phase, all cleanup tasks, such as destroying the instances of server control are performed. This is the final event in the life cycle of a server control

The events associated with the relevant page cycle phases are:

  • Page Initialization: Page_Init
  • View State Loading:LoadViewState
  • Postback data processing: LoadPostData
  • Page Loading: Page_Load
  • PostBack Change Notification: RaisePostDataChangedEvent
  • PostBack Event Handling: RaisePostBackEvent
  • Page Pre Rendering Phase: Page_PreRender
  • View State Saving: SaveViewState
  • Page Rendering: Page_Render
  • Page Unloading: Page_UnLoad
 

Register at http://www.tampacodecamp.com/

I will be giving 3 session this year, line of busniess talks on Silverlight, MVC, and Windows Phone 7.

I will have 3 licenses of NetAdvantage and CodeRush to give away.

 

Was another great weekend with the development community, got to meet allot of great people and Maddux had a great time.

Got to present Linq 4.0 and Silverlight LOB this time around and had a great turn out.  Infragistics helped with providing 3 NetAdvantage Licenses for give aways – thanks Infragistics and the winners.

I am now moving my discussions to Line of Business presentations, so that was the last time the Linq 4.0 presentation will be presented.

Again, thanks everyone for coming and thanks to the coordinators.

 

I am currently at Tallahassee code camp presenting on Linq 4.0 and Silverlight LOB.

I have 3 Infragistics NetAdvantage Licenses to give away.

 

Was honored in becoming a Infragistics MVP.

Please visit Infragistics here

I will be posting some examples soon using Infragistics controls.

Killer Apps. No Excuses.

 

The IE 9 Beta is upon us, you can download it here

Joe Homnick suggested checking out the following sites:

  • The Killers (http://www.thekillersmusic.com/html5) – one of the biggest rock bands in the world go live with a full IE9-optimized HTML5 site today! Showcasing video, Canvas, WOFF fonts, SVG – this site is full of easter eggs and the band love what IE9 provides.
  • Jitterbugs (http://html5.cynergysystems.com) – a game that uses Canvas, SVG, WOFF and audio to deliver an experience that you’d have never been able to do in a browser before IE9. Try it on Chrome – it runs almost hilariously slowly.
  • WebVizBench (http://www.webvizbench.com) – a benchmark for HTML5 built with data from KEXP that scales up to even high-end graphical hardware – with video, animations, WOFF and Canvas, you’ll want to try this on your home machine!
  • Rough Guides (http://makethemost.roughguides.com/) – this blurs the lines between a web page and a full application, integrating data from Flickr and curated content into a beautiful, zoomable interface.
  • Never Mind the Bullets (http://www.nevermindthebullets.com/) – a parallax comic built with HTML5.
  • Agent 008 Ball (http://www.agent8ball.com) – a pool game with a spy theme that uses Canvas, audio, WOFF fonts.
  • AP Timeline Reader (http://html5.labs.ap.org/) – a news reader with a difference – browse through the articles that you’re interested in reading and add them to a queue; then read them in a clutter-free environment with customizable fonts and high-res photos.

Enjoy!

 

Southwest Florida .Net Code Camp is September 25, 2010 this year. Go here for more info.

I will be presenting Developing in MVC2 and Silverlight LOB.

So, if you are in the area or would like to joins us – please register.

 

Jacksonville code camp 2010 was a great success, some where around 440 attendees. I had 2 sessions, one on BizTalk the other on Linq. I had around 32 in my BizTalk presentation and about 70 in my Linq presentation. I also assisted Joe Healy with the Windows Phone 7 panel and load fest with Kevin and Nikita.

I am going to post my presentations and sample code in the next couple of days.

© 2011 Greg Leonardo Suffusion theme by Sayontan Sinha
show
 
close