Andrew's Blog

Random Thoughts of an ASP.Net Code Monkey

Book Review: MCTS 70-515 Web Applications Development with Microsoft .Net Framework 4 Self-Paced Training Kit

January 25, 2011 22:44 by Andrew Westgarth

For many reasons I haven’t had much time to blog in the last few months.  This is something with the coming of the New Year I’m aiming to rectify.  One of my other personal/work goals is to complete the Microsoft Professional Developer (Web Developer) Certification.  This requires me to site and pass four exams:

  1. 70-515: Web Application Development with Microsoft .Net Framework 4 (TS)
  2. 70-513: Windows Communication Foundation Development with Microsoft .Net Framework 4 (TS)
  3. 70-516: Accessing Data with Microsoft .Nest Framework 4 (TS)
  4. 70-519: Designing and Developing Web Applications with Microsoft .Net Framework 4

First on my list of exams to study for and complete was 70-515: Web Applications Development with Microsoft .Net Framework 4.  I had the exam booked for Tuesday 18th January 2011 and I’m pleased to say after a lot of intense and hard swotting I passed the exam.  Due to the severe disruption caused by the bad weather on both sides of the Atlantic it became very difficult to get hold of a printed copy of this book when it was due to be available in the UK.  There was a digital version available but I still like to read a physical book, although I am being tempted more and more of late by the Kindle.  Fortunately I was able to get a copy of the printed book prior to my exam, just!

WARNING: I don’t think this would be a useful review if I didn’t stress at the beginning that while this book covers the topics which the exam covers, it should not be your only resource of learning.  I made use of my attendance of relevant sessions at User Groups, real world experience on projects and additional reading, such as Steve Sanderson’s excellent Pro ASP.Net MVC 2 Framework, Second Edition which is an excellent book for getting to grips with ASP.Net MVC 2.

MCTS 70-515 Web Applications Development with Microsoft .Net Framework 4 Self-Paced training Kit CoverThe Self-Paced Training Kit

The Self-Paced Training kit is an excellent tool to help study for the exam.  They follow a standard package format of the

  • Self-paced study guide;
  • Practice Tests;
  • Over 300 practice and review questions;
  • Code Samples in VB.Net and C#;
  • eBook edition of the study guide.

The study guide is broken up into fourteen chapters, which breaks the curriculum into manageable segments of learning.  One technique for working through these guides is to take one chapter per night and work through each chapter covering the topic in great detail.  Planning to spend extra time when needed.  The chapters discuss the individual topics in some detail, have Labs to go through and get practice in implementing the topic discussed. At the end of each chapter there are Scenario based questions to guide you into choosing the right solutions for the problems faced and there are also review questions for each section.  The fourteen chapters combine to cover the objectives of the 70-515 Exam:

  • Developing Web Forms Pages;
  • Developing and Using Web Forms Controls;
  • Implementing Client-Side Scripting and AJAX;
  • Configuring and Extending a Web Application;
  • Displaying and Manipulating Data;
  • Developing a Web Application by Using ASP.Net MVC 2.

Verdict

This self-paced training guide was an invaluable tool for me in my preparation for the exam.  The guide breaks down the objectives into manageable chunks and highlight areas which need to be covered.  The Labs cover each topic as you progress through each chapter.  My one major criticism of the labs is that each lab often starts by setting up a new project/solution with the same name as the previous lab which is really frustrating.  Personally I would much rather have started a new solution per chapter and modified the solution/projects as I went through the labs in that chapter.  The review questions are a great way to review your knowledge and how much you’ve taken in after completing studying each chapter.  The Scenario based exercises are even better as they make you think how your knowledge would be applied in the real world.

I would recommend buying and working your way through the MCTS 70-515 Web Applications Development with Microsoft .Net Framework 4 Self-Paced Training Kit as part of your preparation for the 70-515 exam, however I would also recommend additional sources to compliment your learning.  For example the MVC area was easier for me to pick up as I have completed some projects using the Framework and have also read other books on the topic, whereas the Client-Side Scripting element was harder for me to pick up as I have had less exposure to that area of study.

If you’re studying for the 70-515 exam good luck and I hope you find this book and review useful!  I’m off to search for materials so I can prepare for my other exams as the equivalent training guides won’t be available for quite some time yet.

Sparkling Websites and New Enhancements for the MS Web Platform Announced

September 24, 2009 22:42 by Andrew Westgarth

This morning Scott Guthrie announced a new program to help Small Web Development Companies (10 employees or less) and individual Web Developers who develop Web Sites and Services.  The program runs for three years is free to join, all that is payable is a $100 fee on exit.  Benefits of the program include:

  • Windows Web Server 2008 R2 – licenses;
  • SQL Server 2008 licenses;
  • 1 Expression Studio 3 license;
  • 2 Expression Web licenses;
  • 3 Visual Studio 2008 Professional licenses
  • and more…

For full details of the announcement see Scott Guthrie’s blog post and to register visit the WebsiteSpark portal.

Announcements from the IIS Team

Today has been a day for announcements with the IIS Team also announcing a list of new releases – Bill Staples has full details of the releases – which are:

For more information refer to iis.net and to Bill’s blog post, I’m off to read up on today’s great announcements.

Categories: ASP.Net | IIS | Microsoft
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Handling Webpage Display Issues in Internet Explorer 8.0 using IIS

September 9, 2008 22:32 by Andrew Westgarth

I have been using Internet Explorer 8.0 since the release of Beta 1.  IE 8 requires more standards compliance in the code of web pages for them to display correctly.  Today I was catching up on my RSS Feeds and came across this very useful article - Configuring IIS to work around webpage display issues in Internet Explorer 8.0 and this article discusses the use of adding a HTTP Response Header which then informs IE to run in IE Compatibility mode, therefore rendering the page as it would render in Internet Explorer 7.

The article gives complete details of how to set this up on IIS6 and 7 (integrated and classic mode) and it is very straight forward.  I have implemented it on our live webserver but not on our development server - so we can fix the issues rather than relying on compatibility mode.  Also the default is to set this for your entire server, i.e. any sites, applications and pages served.  However by adding this remove tag into the root web.config of a site you can remove the use of the HTTP Response Header from that particular site and the site will run in true mode (remember to place the httpProtocol element within the system.webServer element in your configuration):

<system.webServer>
  <
httpProtocol>
    <
customHeaders>
      <
remove name="X-UA-Compatible"/>
    </
customHeaders>
  </
httpProtocol>
</
system.webServer>

I must stress I definitely see this as a temporary workaround and only as a backup plan to buy you a little time to sort out the rendering issues!  I would always advocate coding your XHTML and CSS to correct standards!!  Standards Compliance has many added benefits including search engine optimisation and accessibility benefits for users of your sites!!

Categories: ASP.Net | IIS
Actions: E-mail | Permalink | Comments (2) | Comment RSSRSS comment feed

Tutorial for Using ASP.Net MVC Framework on Different Versions of IIS

September 5, 2008 22:49 by Andrew Westgarth

Last night Alan Dean came up to VBUG in Newcastle to speak on ASP.Net MVC Framework.  One of the discussion points we had was any potential issues for hosting sites on IIS due to the routing and url rewrite elements of the MVC Framework.  I wasn't clear on the implications, and I hadn't seen much traffic personally on the issue.  So with a task of downloading ASP.Net MVC Framework Preview 5 so I could have a good look at it and understand it all as an alternative to Webforms, and looking into the implications and workarounds for hosting within versions of IIS I went of in search of information.

I immediately thought that with IIS7 and applications running in Integrated Mode, which is the mode I aim to run all of my applications on IIS7 in, there should be no configuration changes or modifications required since ASP.Net is part of the pipeline so all requests are processed by ASP.Net by default.  In classic mode ASP.Net requests are processed through the aspnet_isapi.dll as they would be in IIS6 so unless files are mapped to the ASP.Net Isapi filter then they wouldn't be processed.  In reading up about ASP.Net MVC on the ASP.Net website I found a great tutorial on Using ASP.NET MVC with Different Versions of IIS - hopefully this will be of help to you looking to configure and use the ASP.Net MVC Framework on IIS.

Categories: ASP.Net | How To | IIS
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

RemixUK - Ready Steady Speak Competition! - Win an XBOX 360!

September 1, 2008 11:22 by Andrew Westgarth

Ready Steady Speak is back for the RemixUK Event in Brighton on Thursday 18th and Friday 19th of September 2008.  Are you a budding speaker? A Designer with a passion for what you do who would like to educate us Developers in how it's done or some other aspect of design which we really don't get?  Are you a Developer who wants to get his message across to designers about just how cool the latest features in Web Development Technologies are or do you just want to share your knowledge with your fellow designers and developers?  If so then Ready Steady Speak at RemixUK could be the ideal opportunity!

RemixUK is all about the conversation and the opportunity for Web Developers and Web Designers to mix and discuss their roles and technologies and work together to shape the future of the Web!.  Ready Steady Speak is a unique way for you to have a go at delivering a short presentation to a very receptive audience of like minded people, and hopefully once you get a taste you'll go on to deliver full presentations or more nugget style presentations at local usergroup events, Barcamps etc around the country!  I've presented at a number of events and conferences now and the Buzz is amazing - so I very much encourage you to have a go!  If you have any questions or doubts email me - using the contact form on this blog and I'll do everything I can to help you!

The full details of the RemixUK Ready Steady Speak Competition are:

Contestants will present a 5 min session on a subject of their choice relating to Web Development or Web Design.  They will present in front of the REMIX audience and in front of a panel of judges.  If there are more than a  certain number of contestants (TBD), there will be ‘heats’ earlier in the day with the winners of the heats in a ‘speak-off’ in the evening session.  The ‘speak-off’ will take place as stated in the evening of the first day of MIX and the first prize is an XBox 360 + Goodies! 

Prerequisites:

Mandatory

· Speakers must NOT have previously presented ‘full sessions’ at DDD, TechEd, DevWeek, SDN, SQLBITS, VBUG Conference, NxtGenUG FEST or any similar such conferences.

· Speakers must create a new session of their own with new material which can be based on existing material but cannot be a simple copy of it.

· Speakers must limit their session to as close to 5 mins as possible( overrunning time will cause the speaker to be marked down.)

· Speakers must not have previously won Speaker Idol or “Ready Steady Speak” UK Launch

· Speakers must state their desire to enter the competition by no later than COP Monday 15th September 2008 by email.

Desirable

· Speakers should provide if at all possible their own laptop, but one can be provided if necessary.  The speaker should notify the organisers of any software prerequisites.

· Speakers should have spoken previously at a User Group meeting even if only for a 10 min mini-session or ‘nugget’.  This is NOT mandatory.

 

So come on and have go it'll be a great and very rewarding experience!!!  I'm really looking forward to making the very long trip down to Brighton and look forward to meeting lots of new great people!

728x90_speaker_b

IMTC 2008 - IIS 7 for ASP.Net Developers Teaser

April 2, 2008 16:11 by Andrew Westgarth

Here is a brief introduction to my session IIS 7 for ASP.net Developers which I will be presenting at IMTC 2008 in Dublin on Friday 4th April 2008 at 11:30.

Categories: ASP.Net | Events | IIS
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

What is VBUG All About? With Added Silverlight Goodness

April 1, 2008 23:00 by Andrew Westgarth

Recently VBUG Vice Chairman Tim Leung, prepared a brief video about the work we do at VBUG and the support we give developers in aiming to achieve our goal of Developing the Developer!, for the Microsoft VS08/SQL08/Server 08 Launch Event in Birmingham.  We didn't want to waste all of Tim's hard work and not use the video for anything other than the launch event, so last night I took a look into how we could stream the video using Silverlight and was surprised to see how easy it is :).

First I was concerned with bandwidth usage, yes it's a small video but still I didn't have any idea of how many view it would receive, but then I remembered that Microsoft are offering Silverlight hosting as part of the initiative to get developers working with the technology.  They provide 10GB of storage for videos and applications with an aggregated 5TB of Bandwidth per user account per month.  All you need to get an account is a Windows Live ID.  So off I headed to silverlight.live.com and setup an account :). 

Next I uploaded our video.  From here you can choose to create an application for your content.  I didn't have time for this and to be honest I haven't had chance to do a great deal with Silverlight yet.  So then I was stumped at how to embed our video on our pages at www.vbug.com but then whilst managing my uploaded video I noticed that it offered a code snippet with details of how to insert an iFrame into any web page, so off I went and copied this snippet into our VBUG home page and voila we now have streaming video content on our web site. 

I've also put the video here at the bottom of this post, to demonstrate how easy it is and to answer a few questions about what VBUG is and does.  Let me know what you think :).

Categories: ASP.Net | VBUG
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Book Review: Professional IIS 7 And ASP.NET Integrated Programming

March 3, 2008 23:38 by Andrew Westgarth

Professional IIS 7 and ASP.NET Integrated Programming by Dr. Shahram Khosravi - Book Cover

I managed to get hold of this book a few months ago, about the time I flew out to Tech Ed in Barcelona.  Unfortunately it's taken me till now to write up my impressions and views on this book.  Initially I was a little apprehensive about reading this book due to two particular reasons: firstly I don't generally get along with Wrox Press books and in the past have found them difficult to read compared to other titles from other publishing houses; secondly this book is a considerable size - totaling 670 pages!!  I was however eager to read it, as I am any new titles that appear on the subject of IIS 7.  This one had particularly grabbed my attention due to it's initial indications of specific relevance of how to exploit the power of IIS 7 in ASP.NET Applications and Programming.

In essence I would say that this book is a must have on the bookshelf of any serious ASP.NET developer who is looking to exploit and use the full power of IIS 7 in their applications.  As opposed to a previous title I reviewed - Book Review: IIS7 Implementation and Administration - this book is most definitely aimed at the Developer.  There are only 12 chapters in this title however they are very detailed chapters and really go into great detail.  Topics covered include using the integrated configuration system (<system.webserver>), how to extend the configuration system, extending the management interface, extending the request pipeline and it even has a great chapter on the integration of WCF in IIS 7 - something which I've been looking for good sources of information on.

What is great about this book is how in each element Dr. Khosravi has gone into immense detail and broke down each part of the object model and configuration model, explaining the effects of each option and the affect that can have on your application and the web server itself.  This is a feature which I and I would imagine many others will turn to over and over again as new requirements appear in my/their projects.  Although initially the content of this book can be daunting to a beginner in time they will grow in knowledge along side this book, and it is a title which can be constantly revisited and digested at the reader's own pace, this is a must for any IIS/ASP.NET Developer's bookshelf.

In response to my initial two concerns about this title, I've been convinced.  I enjoyed reading this book and possibly my reading style and ability has improved/changed since I last read a Wrox title, but I didn't have a lot of problems reading this book, although the content can be quite heavy going as it is so detailed, which I've already identified as a strength.  The size of the book is also of no problem and indeed is vindicated in the quality of the content.

Book Details:

Title: Professional IIS 7 and ASP.NET Integrated Programming

Author: Dr. Shahram Khosravi

Publisher: Wrox

Link to purchase on Computer Manuals : http://www.compman.co.uk/scripts/browse.asp?ref=852426

Tech Ed Developers - Days 3-5

November 11, 2007 23:30 by Andrew Westgarth

Carlos Aguilar Mares Now to cover days 3-5 (Wednesday to Friday) of Tech Ed Developers.  On Wednesday morning I saw the final part of Carlos Aguilar Mares' session on Extending the IIS 7.0 Pipeline.  This was a great session and covered numerous ways in which Developers can extend the IIS7 pipeline using managed code covering elements such as Modules, Handlers, Configuration and Debugging - Carlos has posted the slides and examples on his blog - , also Carlos very kindly agreed to be interviewed for a forthcoming VBUG Podcast, look forward to publishing that soon.

Other sessions which I attended included a Virtual Earth Deep Dive, a session which I was looking forward to and hoping to get a lot from, but I left severely disappointed.  We didn't see a demo of Virtual Earth until forty minutes into the session and even then it was a very consumer related session.  This was a level 300 session and the high content of 'marketing' was very, very disappointing.  I was hoping as I assume were the many other developers in the room to see a lot more examples and information on the API and how developers can make best use of it.  In fact I saw a session on the whole of the Live platform last year at Tech Ed and felt I got more from that multi-facetted session than this supposedly specialised session.

Steve Maine I attended sessions on WCF and the Web, from Steve Maine, which was of a good high quality and showed how the platform is maturing with AJAX, REST and Syndication Services.  I also attended a very interesting session Vittorio Bertoccifrom Vittorio Bertocci on Securing ASP.Net and WCF Applications using Cardspace.  This session was very interesting and showed how easy it WILL be to implement Cardspace into applications, however there is one big flaw, the server controls and tools are currently not available and all that was said is they are coming 'soon'.  The session did however complement some of the knowledge I have of Cardspace and I will be looking into this further.  

Matt Gibbs Matt Gibbs, delivered a session showing ASP.Net Developers what is coming in the next version of ASP.Net, and by next I don't mean ASP.Net 3.5, Matt covered features coming in ASP.Net vNext which we should see sometime next year.  These new features included improved standardisation and adherence to standards, the session also covered in more detail Silverlight vNext, Astoria, new Data Controls and the MVC Framework.

 

The last session which I saw at Tech Ed Developers was on the topic of Avoiding Pitfalls with Windows Workflow Foundation in ASP.Net Applications presented by Gyorgy Balassy.  This was an excellent session but it was held on Friday morning and it was a level 400 session.  I was glad I was at the session as it was full of great content although as the presenter appreciated first thing in the morning this was a little heavy.  I'm looking forward to reviewing it again and writing up detailed notes on it.

Tech Ed Developers 2007 - Day 1 and 2 - Catch Up

November 7, 2007 10:30 by Andrew Westgarth

I've finally managed to take a few minutes and sit in the community lounge and write up some notes from the first two days of Tech Ed Developers 2007.  We've had a couple of very busy days so far and the pace is most definitely not slowing.  On Monday morning a large group of like minded community individuals from all over EMEA went along at a MS Influencers event where various topics and issues that the community face were discussed, such as how to increase numbers, get funding and sponsorship, increase engagement and how to take the benefits of online technologies, such as Live Meeting as we at VBUG use for online meetings.

Soma Somasegar Monday afternoon was the Keynote from Soma Somasegar, Microsoft VP of Developer Division, this was by far a better keynote presentation than we received last year, it was vibrant and upbeat.  Plus although it had an element of marketing to it the key message was that Soma and Microsoft are very, very focussed on involving the Community and enabling everyone to benefit from the power which the community has behind it.  This is a great message to be hearing as a UK Community Leader and reinforces all that I believe in and it's a great boost to hear a senior VP have such passion that myself and the many other great leaders in the UK do.  There were a number of announcements in Soma's keynote, but what I really liked about the way he handled the announcements, was that yes they are important (some very), they were not the reason he was delivering Tech Ed - his other announcements and content was more important to him, it was an excellent way to handle the announcements.

Announcements in Soma's Keynote:

  • Visual Studio 2008 will be available for download by MSDN Subscribers by the end of November 2007 with full retail launch February 27th 2008;
  • Consequently .Net Framework 3.5 will be available for download by the end of November 2007
  • Microsoft Sync Framework CTP -
  • Software and Services Blueprints (The first in a series of blueprints for developing S&S)
  • Changes to Partner Program
    • New open license terms for extending the VS IDE to support any platform
    • VS Premier Partners get access to VS IDE Source Code
  • Popfly - 100K downloads since public beta was opened on October 17th!
  • Popfly explorer plug in for VS released!

Dick Lantim Read Soma's blog post about his Keynote - TechEd Developer in Europe.  Following Soma's keynote I attended a session on Developers and Designers working together delivered by Dick Lantim and Aude Moussett. Aude Moussett I was looking forward to seeing the interoperability between the process flow from Designer and Developer however I was very disappointed with this session.  There seemed to have been very little preparation put in and the speakers seemed extremely nervous and uncomfortable with the language.  I didn't get as much as I'd hoped from this session.  I will review the session on video when the Tech Ed DVDs arrive but I was very disappointed.

Roy Osherove From a disappointing session came a great one.  Next I saw Roy Osherove deliver - Agile Development with Team System.  Roy is a great speaker and I remember hearing about his infamous songs last year on the NxtGenUG podcasts.  Indeed Roy finished his session with a version of The Police's Every Breath You Take - this was amazing and as a Police fan I really enjoyed it.  Roy covered Agile Development, Scrum and TDD and I found this whole session development and whilst Roy showed how we can use Team System for elements of the Agile Process he actually covered the methodology more and explained what it is all about which was great and brought a lot of clarity to Agile Development for me.

Monday finished with the Exhibition Hall Welcome which was a great way of meeting people and socialising with exhibitors and the community.  Also it was the start of the community activities including Speaker Idol and Swaggily Fortunes, we have some pictures on the Tech Ed Facebook group - http://www.facebook.com/group.php?gid=2713709966&ref=mf  and they can also be found on my skydrive account for those who don't have a Facebook login - http://cid-f697bcd4bd5a1c5a.skydrive.live.com/browse.aspx/Tech%20Ed%202007/

Francois Ajenstat Tuesday was another great action packed day and I saw a great session on SQL Server 2008 and the Entity Framework, from Francois Ajenstat.  This was a great introductory session covering elements such as Resource  Francois Ajenstat - Co PresenterGovernance, Intellisense, no longer having a requirement for IIS for Reporting Services and Multi Server Management.  The release date was also cleared up in that there are expected to be at least two more CTPs before a full release in Q2 2008.

Ben Robb Following this session I went to Ben Robb's session on Building Accessible Web Sites using Microsoft Office SharePoint Server 2007 and the Accessibility Toolkit for MOSS.  I am currently involved in a large project with MOSS for content managed sites and as I am very interested in Accessibility, and have been for a number of years, this was a must see session.  I'm going to cover this topic better when I get back home and can install the Accessibility Toolkit and have a full look at it and write up my thoughts and experiences.  In the meantime you can find out more about the Accessibility Toolkit at http://aks.hisoftware.com

Shanku Niyogi The Final session I am going to cover from Tuesday (as the last one I saw was part one of a two parter due to finish on Wednesday morning) was Shanku Niyogi covering Developing Data Driven Applications using the New Dynamic Data Controls in ASP.Net.  I was quite intrigued by this session but I was disappointed by the delivery and therefore will follow up on this session also on my return to the UK.  Overall the first two days have been great and full of information, I think I could do with a pensieve though so I can save my thoughts, free some room up and add them back in at the end of the week!

Post calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012