|
|
These blog entries are written by industry experts and leaders. We consider this content to be a good read for any software developer or web technologist.
Browse by Tags
All Tags » Talks » Visual Studio (RSS)
-
The last two days I've been speaking at the the MIX:UK conference that was held this week in London. We had a sold out crowd of 500 people come to learn more about some of the new Microsoft web technologies. I gave 5 talks at the conference, including the Keynote and 4 breakout talks: Building Silverlight Applications with .NET (Part 1 and 2), and Building ASP.NET 3.5 Applications with VS 2008 (Part 1 and 2). I also had the chance to participate on 2 panels (including a really fun one where we sat around and drank tea, ate biscuits, and discussed technology trends). Below are the slides + demos from my talks if you are interested in downloading them. Building Silverlight Applications with .NET (Part 1 and 2) This two part session drilled into how to build Silverlight 1.1 applications using .NET. I really like the slide + sample approach of this talk (I first gave it at MIX:Hungary in June), and think it provides a really good way to learn the programming concepts of Silverlight 1.1 using .NET. Note: All samples are built using the current Silverlight 1.1 Alpha and VS 2008 Beta2 with the Silverlight Tools Alpha Installed. Building ASP.NET Applications using VS 2008 and .NET 3.5 (Part 1 and 2) This two part session was primarily a demo driven talk that shows off many of the new improvements for ASP.NET with .NET 3.5 and VS 2008. - Click here to download the slides from the talk.
- Click here to download the samples from the talk (these require VS 2008 Beta2).
To learn more about VS 2008 and .NET 3.5 Beta2 for web development, please also check out these recent blog articles of mine that cover some of its features in more detail: General: VS 2008: ASP.NET in .NET 3.5: LINQ to SQL: New Language Features: One last note... I usually get at least 4-5 emails a week from people asking whether they can re-use some of my slides/samples for their own presentations (or books). My answer to this is always "absolutely!" Please do not worry about asking for permission on this - you can always re-use any of the content from my talks and blog postings (and feel free to re-use slides and decks wholesale). I write this content to help people learn how to use .NET - so you helping spread the information is pure goodness from my perspective (my blog is technically not part of my official job, rather just a side hobby I enjoy and find useful). Hope this helps, Scott 
|
-
I'm just about to hop on the flight back to Seattle after finishing up a 10 day business trip to Europe where I spoke at conferences and user group events in Budapest, Amsterdam and Zurich. Although trips like these are a little exhausting, I find them really valuable as a way to connect with developers from around the world, as well as provide me the opportunity to create and deliver new presentations and samples. One of the talks I delivered on this trip was a new "Building Silverlight Applications using .NET" talk that people seemed to really like. Building Silverlight Applications using .NET Talk I tried to keep the format and samples in this talk simple, and used a model where I used a few slides to explain each programming model concept in Silverlight, and then showed a very simple sample for each concept that helped demonstrate concretely how it worked. In the talk I covered: - XAML
- Using Shapes and Text
- Using Controls
- Layout (Canvas and Layout Managers)
- Brushes
- Transforms
- Handling Events and Writing Code
- Building Custom UI Controls
- Reaching out and Programming the HTML of a page from a Silverlight control
- Handling HTML Events in Managed Code (e.g. html button click handled in C#/VB on the client)
- Exposing managed APIs to HTML JavaScript in the browser
- Using the File Open Dialog support
- Using the HTTP Network APIs
- Using the Web Service APIs
- Isolated Storage for local data caching
The slide deck comes to 83 slides - but I think does a good job of explaining everything step by step (it is also an easy deck to read - so even if you don't want to run the samples locally I'd recommend taking a look through the deck since I think you'll find it useful). You can download the slides + demos of this talk below: Included in the .zip download are readme instructions on how to run all of the samples on your own machine. Quick Answer to a Common Question about .NET with Silverlight One of the most common questions I received when giving the talk was - "do I need to have the .NET Framework installed in order to use Silverlight?". The answer to this is no - a cross platform version of the .NET Framework is included in the 4MB Silverlight 1.1 download, which means you do not need to have anything extra installed on the client in order to program Silverlight with a .NET programming model in the browser. The Silverlight version of the .NET framework includes the same CLR engine (same GC, type-system, JIT engine) that ships with the full .NET Framework, and a subset of the .NET Framework namespace libraries. You can see the full list of all classes/namespaces that are included by opening up the Object Browser when you create a new Silverlight application using Visual Studio (click here for a sample screen-shot of this). People are usually pretty stunned/confused to hear that it is possible to get this much stuff in so small and quick an install package. Let me just say it wasn't easy. <g> Other Silverlight Talks and Blog Posts For a broader overview talk of Silverlight, as well as some cool (more complete) samples you can download, please check out my previous "Lap Around Silverlight" talk and blog post here. You can learn even more about Silverlight from my summary post here. And you can watch me build a Silverlight application using .NET from scratch in this video here. The talk above borrowed a number of slides from a few other Silverlight and WPF/E talks that others and I have given (although almost all of the code samples I showed in my talk are new). In particular, my WPF/E talk from earlier in the year, Jamie Cool and Nick Kramer's Two Talks at MIX, and Stefan Schackow's Extending the Browser Programming Model with Silverlight talk at MIX. You can watch Jamie, Nick and Stefan's talks online (along with all of the other MIX talks) for free here. Hope this helps, Scott 
|
-
I've finished my whirlwind speaking tour of Europe (Belgium, UK and Netherlands in less than one week), and was fortunate to have had the chance to present to several hundred people along the way. Many thanks to everyone who came out to attend my talks! Here are the first two slide decks + samples from the talks I gave: ASP.NET Tips and Tricks: This talk covered ASP.NET UI, AJAX, Caching and Deployment Tips and Tricks, and Visual Studio 2005 tips/tricks. The samples include updated versions of ASP.NET AJAX that all work with ASP.NET AJAX 1.0. You can download the slides+samples here. You can learn more about the Visual Studio build performance optimization suggestions by reading this past post of mine on improving build performance. You can also find several dozen more ASP.NET and Visual Studio Tips/Tricks of mine on my Tips and Tricks summary page. Building an End-to-end Web Application from scratch using ASP.NET 2.0, ASP.NET AJAX, IIS7 and Visual Studio: This talk walked through building a rich data-driven application from scratch using ASP.NET 2.0, ASP.NET AJAX 1.0, IIS7 and Visual Studio (all of which are now officially shipping products). You can download the deck + completed sample here. This talk demonstrates the following features: IIS7 distributed configuration, Master Pages, Building a DAL using DataSets, Building Data Driven Edit Pages, Building Catalogue Browsing Pages, Site Navigation, Url Rewriting, Site Navigation, CSS Control Adapters, ASP.NET AJAX, ASP.NET AJAX Control Toolkit, Membership/Roles, IIS7 Admin UI, SQL Cache Invalidation, and WebPart portal support. Hope this helps, Scott P.S. I'll be posting more slides+samples from my other talks in the days ahead (including my Orcas and WPF/E talks). 
|
-
One of my goals this year is to use video more with my blog. My theory is that video is often a better medium than text to walkthrough how something works, and can also help you avoid the tedium of reading though some of my really long blog posts... :-) Over the next few months I'm going to try and create a new video every other week or so on various topics. Many of these videos are going to involve first looks at some of the new features coming with Visual Studio "Orcas", which is our new release that will ship later this year. For today's video I decided to focus on introducing LINQ - which I think is one of the most exciting features coming with "Orcas". At a high-level, LINQ makes the concept of query a first class programming concept within .NET. Using LINQ you can easily query relational databases, XML files, as well as any plain-old .NET object. You can also easily use your own data source abstractions with LINQ to provide rich domain models for various data providers (for a great example of this check out Fabrice's LINQ to Amazon implementation that supports LINQ queries against Amazon data exposed via web-services). Both VB and C# include rich language integration with LINQ as part of the "Orcas" release, including full intellisense, compile-time checking, and debugging support. Watch or Download the Video This first video starts with a new project, and then demonstrates the basics of using LINQ against a SQL Database to build a simple data reporting page (including support for aggregate values computed from multiple tables, and efficient server-side paging within the database). You can watch the video online here (it is 24 minutes in length). Or you can download a .zip version of it here if you want to save and watch it locally. Note that it might take 30-60 seconds to buffer (since it is a large video). In the event that my server is swamped with requests, I'll update the location and post it on one of the Microsoft video servers later this week. For more information on LINQ (including the slide deck for a "Building ASP.NET Data Driven Application Using LINQ" talk of mine), please check out my previous post here. For other ASP.NET 2.0 Tips, Tricks and Tutorials please check out my ASP.NET Tips and Tricks summary listing page. Specifics Topics Covered in this Video My walkthrough in this video illustrates a number of new features: 1) A brief demonstration of some of the new WYSIWYG HTML designer capabilities (including split-view and a brief look at the new CSS manager - both of which I'll cover in more detail in the future in a separate video): 2) How to create classes that model data using the new VS "Orcas" ORM designer for LINQ to SQL: 3) How to use the new LINQ intellisense support within the VS "Orcas" code editor to get full intellisense and compilation support for queries: 4) How to use LINQ to SQL to create a data report that combines Product entity data with aggregate unit and revenue values computed from OrderDetail entities associated with the Product entities. This data report uses server side database paging to efficiently retrieve only 10 rows of data at a time (so that with a 100,000 row products table you only ever retrieve 10 rows of data from the database regardless of which page index you are on within a report): Future Videos I'll be drilling into LINQ some more with future videos (I barely scratched the surface with this one). Additional segments will include content on: - Type inference and the "var" keyword (and why that is so cool)
- Supporting Insert, Update and Deletes scenarios using LINQ to SQL
- Using SPROCs with LINQ to SQL
- Richer JOIN support with LINQ to SQL
- LINQ to XML and LINQ to Objects
- Using the new LINQDataSource controls and other ASP.NET Data Controls to easily create Web UI with LINQ
I'll also obviously have many more ASP.NET and web-related video topics to cover including: - The new HTML WYSIWYG Designer and CSS support
- Client-JavaScript Intellisense
- JavaScript Debugging
- ASP.NET AJAX Extender Support
- Database Dump and Upload Integration
- Unit Testing
- Multi-targeting support (showing how you can use VS "Orcas" to build ASP.NET 2.0 projects - without having to upgrade your framework/server)
Hope this helps, Scott P.S. If you have other topics and/or subjects you'd like me to drill in on with videos, please post them in the comments section of this post. 
|
-
Many thanks to everyone in New Zealand who attended my "ASP.NET 2.0: Tips and Tricks" talk this morning. You can download the slides + samples from my talk here. The samples are number in numbered order and correspond to the slides: Enjoy! Scott P.S. I will also be posting the slides+samples from my LINQ talk a little later today (I first need to jump on a plane to Australia and am running out of time <g>). So stay tuned for those as well.

|
-
Many thanks to everyone in New Zealand who attended my "ASP.NET: End-to-End - Building a Complete Web Application Using ASP.NET 2.0, Visual Studio 2005, and IIS7 (Parts 1 and 2)" talk this afternoon. You can download the slides from my talk here. You can then download the application I built here (note: this .zip file is actually the version I published after the US TechEd, but is the same code I wrote on stage today). There is a "ReadMe.txt" file in the root of the demos .zip file that walksthrough how to setup the demos. I've included two versions of the app -- one is in the "IIS7" directory and allows you to run the application using IIS7 on Windows Vista Beta2. The other is a slightly modified version of the sample that also works on IIS5, IIS6, and the built-in VS 2005 Web Server. The difference is that the non-IIS7 version doesn't use URL-rewriting for the pretty-URL feature. Hope this helps, Scott

|
-
Several people have sent me email lately asking for a suggested short-list of my best/favorite past blog posts to read (I’ve done 200 posts over the last 12 months and apparently it takes too long to read them all <g>). I’ve put together a summary page of ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas that you can check out here. It currently contains links to 37 posts that I’ve done in the past that I think are interesting and worth spending sometime to read. I’ve organized the list by area topic (UI, Data, Security, Visual Studio, etc). My goal is to post at least 1-2 new/original ASP.NET Tips/Tricks/Recipes to my blog each week going forward. I’ll also make sure to update the summary page above as I add new ones – so you might find it useful to bookmark if you want to quickly look them up. Hope this helps, Scott

|
|
|
|