My VS Live Las Vegas Session Contents for TypeScript and Touch Enabled Web Sites
Posted On Tuesday, March 26, 2013 at at Tuesday, March 26, 2013 by Ben HJust a couple quick links to my slides and demos from my VS Live sessions. I spoke on TypesScript and how to Build Touch Enabled Web Sites. Attendees at both sessions where great. Thanks for attending! Please fill out the session evals to let us know how we are doing.
Thanks again for attending. More to come related to VS Live Vegas…
Telerik and KendoUI Phoenix User Group Tour 2013
Posted On Thursday, March 07, 2013 at at Thursday, March 07, 2013 by Ben HLast week I had the honor of speaking at the North West Valley .NET User Group and the South East Valley .NET User Group in Phoenix. As a Telerik Insider, Telerik sends me to different User Groups and Code Camps in the Western United States. I am not required to speak on Telerik products but in this case I did discuss how to use KendoUI in both ASP.NET MVC and outside of MVC using the MVVM pattern. The talk is a great talk that shows the “how to” as well as allows the group to compare and contrast the two different patterns. The Phoenix area has some great developers and the discussions before, during and after the presentation were awesome! As I said, I’m not required to talk about or promote Telerik products but I do because I love using their tools and software. Whether you are a .NET, Android, IOS or JavaScript developer Telerik has something that will add value to your work. Here are a couple pictures I took while in Phoenix:
Here is a link to my slides and demos:
Slides and Completed Demo Code
Thanks to Telerik for sending me to Phoenix and thanks to the Phoenix Community for having me! I’d also like to give a shout out to my company Aspenware for allowing me to work remotely from Phoenix for a couple days. Aspenware get’s it. I love working there!
VS Live Redmond Recap. Who’s ready for VS Live Orlando?
Posted On Thursday, October 27, 2011 at at Thursday, October 27, 2011 by Ben HLast week was VS Live in Redmond. I’m just recovering enough to write a post about it. It was a great conference. The best thing about this conference is the interaction between presenters and attendees. As a presenter I love the ability to talk offline with attendees at all the different events setup by the conference organizers. I also like interacting with the rest of the presenters at the conference as well. I really feel energized and ready to go after taking in all the information at the conference.
I presented two sessions in Redmond. One on Internet Explorer\HTML5\CSS3 and one on using MEF to build composable applications. Both sessions went well. The attendees had great questions and were well engaged. During these sessions a few code changes and demos were done. Below are links to the updated slides and demo code:
Let me know if you have any feedback regarding the content of these files. Other than that I want to say thank you to all those that attended my sessions.
After all that happened in Redmond I am jazzed to do it all again in Orlando. If you have not registered for the Orlando conference do it here now as early bird pricing ends next week. As a presenter I love to attend the other sessions at the conference and gain as much knowledge as possible. In Redmond I was always conflicted on which sessions to attend. I’m looking forward to catching those sessions I missed in Orlando.
Hopefully the temperature in Orlando will be a bit warmer as well. See you there.
VS Live October 17–21 in Redmond
Posted On Monday, August 29, 2011 at at Monday, August 29, 2011 by Ben HWe all know that PDC… I mean BUILD is coming up in a couple weeks in Anaheim, California. Microsoft is keeping all the announcements (Including a real agenda) for BUILD really close to the vest. One thing is for sure, there will be some fallout after BUILD. Many questions, rumors and suspicions will be debated out there in cyberspace. What better place to get the real answers than at Microsoft Headquarters in Redmond? VS Live in Redmond includes sessions from some of the top names in the industry, including many Microsoft Product\Program Managers. No one knows what will come out at BUILD (Or no one can talk about it until after BUILD). In the short time between BUILD and VS Live the speakers will undoubtedly be up to speed on what is going on in the Microsoft world. Join us at VS Live and have access to all the speakers to get your questions answered by real world software engineers.
Early bird rates are available until Sept. 7th. Click on the image below to register for VS Live in Redmond and get a special speaker discount.
By the way I will be presenting on HTML 5 and MEF at VS Live in Redmond. I sincerely hope to see you there.
Server Side and Client Side Caching with .NET and the Microsoft Sync Framework
Posted On Wednesday, June 30, 2010 at at Wednesday, June 30, 2010 by Ben HI recently presented at the Denver Visual Studio User Group on this topic. The approach I took was to start with an out of the box working Silverlight application and then tweak to using caching for performance reasons. The next step is to persist that cache on the client side to make it even faster and not even require a round trip to the server. After that I took it even further by saving the entire data structure to isolated storage to allow offline use of the application using the out of browser option of Silverlight. Finally I expanded it even further by turning it into a WPF application that stored the data in a local SQL Server data base that was synced back to the server using the Microsoft Sync Framework. To me this is a pretty natural progression of an application. Build the prototype and then tweak it through different phases to expand it’s capability.
While building these demos I had to refactor a bunch of things through the progression of the changes. This again to me is very natural. I find that if I start by simply solving the problem the pieces of the system that need to be refactored and extend become crystal clear in the end. Where as if I try to architect the application for every possible future change I tend to end up with an over architected system. Again keep it simple and refactor later.
I think we all know caching is an essential part of almost every web based application. That was the gist of the first part of the presentation. The last part showed some of the pros and cons of the Microsoft Sync Framework. There is some great documentation around this framework here. If you are new to the sync framework I suggest taking the time to read through a couple of these docs to understand how it works. My slides also contain some of information regarding the sync framework. My personal take on it is it is pretty easy to get started with. The issue I have is what happens when you get errors. Synchronizing two data sources is by nature a difficult process and errors will occur. Using this framework is kind of like using a black box. You sometimes want more control than you are going to get. Bottom line if I was looking to sync multiple data sources I would start with this framework. It is a no brainer to get started with and provides a ton a cool functionality. However, if I started having issues I might revert back to my old ways of just building a sync tool for my own need.
I had a great time presenting and putting together this talk. Below is a link to the slides and the completed solution if you are interested.
Design Patterns and Best Practices Using the ADO.NET Entity Framework
Posted On Saturday, March 20, 2010 at at Saturday, March 20, 2010 by Ben HThe last session I taped was a demo filled session on how to create a robust multi-layer application using the ADO.NET Entity Framework as the data access layer strategy. Entity Framework is not perfect. However, it is a great starting part that allows for extensibility that makes is a nice part of an application’s architecture. EF 4.0 has taken great strides and gives the developer total control of the generated code via T4 templates. This session contain less than 10 slides and pretty much 40 minutes of demos. If you are interested in watching this session please sign up to attend the virtual conference. The cost is minimal ($190) and the ROI will be huge. Check out a list of all the great sessions and register at www.vconferenceonline.com. You can get a $30 discount if you use my VIP code of BHOELTINGSPVC10. Enjoy!
Building a Multi-Page Silverlight Application
Posted On at at Saturday, March 20, 2010 by Ben HI also finished taping my Silverlight session. In this session we start from scratch with building a Silverlight navigation application. We walk through setting up the URI mapping to provide deep linking. We also wire up some data that the deep linking will use to look up data based on the link. This is a great session for anyone thinking about using Silverlight to build a multiple page applications. If you are interested in watching this session please sign up to attend the virtual conference. The cost is minimal ($190) and the ROI will be huge. Check out a list of all the great sessions and register at www.vconferenceonline.com. You can get a $30 discount if you use my VIP code of BHOELTINGSPVC10. Enjoy!
Beginning C# and Object Oriented Programming
Posted On at at Saturday, March 20, 2010 by Ben HI just finished up taping of two sessions for the SSWUG virtual conference. The sessions were Beginning OOP with C# part I and II. I think the sessions went well. The sessions walk through the basic concepts of creating and using objects. They start simple and expand to refactor the solution as the business requirements change. If you are new to C# and trying to make sense of it all these are the sessions for you. If you already understand the basic concepts of OOP, in part II we dig into some more advanced topics related to interacting with database and saving, updating and deleting the data in your objects. I think there is something for everyone in this two part series. If you are interested in watching these sessions please sign up to attend the virtual conference. The cost is minimal ($190) and the ROI will be huge. Check out a list of all the great sessions and register at www.vconferenceonline.com. You can get a $30 discount if you use my VIP code of BHOELTINGSPVC10. Enjoy!
More on C# Dynamic Programming
Posted On Tuesday, July 14, 2009 at at Tuesday, July 14, 2009 by Ben HJust wanted to share this article on C# dynamic programming from DevFusion. It explains the difference between anonymous types and dynamic programming. Don’t get too caught up on the opinions of the author Mike Jones. Whether you agree with him or not this is a great explanation of using the dynamic keyword in C#.
Enjoy!
Silverlight 3 Jumpstart Book
Posted On Monday, July 13, 2009 at at Monday, July 13, 2009 by Ben HJust wanted to let everyone know that my employers and friends Dave and Julie Yack have done it again. They have published another book. This one is a 200 page jumpstart to the recently released Silverlight 3. I helped do some tech editing of the book the last couple weeks and I can say it is really good for getting started with Silverlight. Read more about the release on Julie’s blog here. You can also get some more details about the book at the books website http://silverlightjumpstart.com/Default.aspx or on Amazon.
Happy reading….
Dynamic Programming with C# 4.0
Posted On Friday, July 10, 2009 at at Friday, July 10, 2009 by Ben HYesterday Joe Mayo talked to the South Colorado .NET User Group about the new features of C# 4.0. The most interesting change is the addition of the “dynamic” datatype. This datatype allows developers to declare a variable that is not actually typed until runtime. This is different than the “var” keyword which actually types the variable using the return value from the right side of the equals sign. Let’s take a look at a quick example:
1: private void Main()
2: {
3: Dog thisDog = new Dog();
4: AnimalSpeak(thisDog);
5:
6: Cat thisCat = new Cat();
7: AnimalSpeak(thisCat);
8:
9: Frog thisFrog = new Frog();
10: AnimalSpeak(thisFrog);
11:
12: Bird thisBird = new Bird();
13: AnimalSpeak(thisBird);
14: }
15:
16: private void AnimalSpeak(dynamic Animal)
17: {
18: Animal.Speak();
19: }
The dynamic datatype is very powerful, especially when it comes to dealing with COM interop. It also will aid test driven development (TDD) by allowing developers to write unit tests without worrying about the actual implementation of the objects they are testing until after the tests are written. Again very powerful.
However, with great power comes great responsibility.
I feel that there are a couple issues with dynamic programming. It seams we have come full circle with .NET. I remember when .NET first came out and everyone was promoting type safety as a huge benefit. Now with dynamic programming we can bypass type safety and just wing it. One problem I have with this is that the errors are runtime errors. So, for example lets say we are accessing a COM object dynamically. In our dev environment we have a the new version of the COM object that supports some new functionality we are using. If we move the application to test or prod and forget to upgrade the COM object, the application may start and run without a problem but will bomb at runtime whenever a user tries to access that one section of our app that is using the new functionality. To me this puts too much emphasis on QA testing when the application still compiles but may bomb at runtime.
Another disadvantage of dynamic programming is the lack of intellisense. If you declare the variable as dynamic then intellisense will not work. Again, this opens up the issue of misspelling some of the properties or methods that will not get caught until runtime. I really like intellisense so I will not use dynamic unless it is the last option.
My fear is that many developers will get lazy with dynamic programming and use it in the wrong situations. Using it as a replacement for using interfaces or good old fashion reflection may cause more runtime issues that slip past testing and hit production users. Some developers may see that as job security. I see it as a sure fire way to lose customers.
SQL Server and .NET Virtual Conferences
Posted On Friday, April 10, 2009 at at Friday, April 10, 2009 by Ben HI am happy to say I am presenting at the Spring ‘09 SSWUG.ORG .NET vConference on April 22, 23, 24. I recorded my sessions earlier and I’m please with the results. If you are not familiar with the vConference format you can get a 10 minute sample of one of my presentations here. The cost of the conference is only $125 and since it is a virtual conference there are no additional expenses. There really is some great content presented by outstanding presenters. Here is the link to check out all the SSWUG vConferences going on:
https://www.vconferenceonline.com/upcoming.asp
I also wanted to point out a free event that is going on Friday, April 17th. Here is the link to the free event:
https://www.vconferenceonline.com/shows/spring09/sql/s09event.asp
I will keep this blog updated with my content and slides once the conference begins.
Extending the ADO.NET Entity Framework
Posted On Tuesday, March 24, 2009 at at Tuesday, March 24, 2009 by Ben HLast night I gave a presentation on the ADO.NET Entity Framework at the Denver Visual Studio User Group. It was a great discussion and the questions from the audience helped me tell the story I was trying to tell. That story is that the Entity Framework is a great data access tool. It’s extendable and in turn flexible enough to meet the needs of the small point solutions to the enterprise caliber solutions. What I really like about it is the ability to start simple. Let’s get a solution up and running and then go back and extend\refactor certain areas to improve the architecture and\or performance. That’s not saying we shouldn’t do some design work up front, but let’s start by getting a solid solution built and then add on features and improvements in the future.
Sometimes I think architects focus too much on creating the perfect architecture instead of creating a flexible one. The solution just needs to work given the current requirements. Beyond that, it also needs to be flexible so it can change when new requirements and features get defined. EF lends itself very well to flexibility and extensibility.
The zip file below contains the final solution. That solution has all the extensions we did to the context as well as the entities in the context. It also includes a basis for a validation framework. The validation framework could use some tweeks to make it better. I leave that to you and your creative minds.
The zip file also contains a SQL script that will quickly and easily create the sample DB for you. Both the schema and the data. All you need to do is change the location of the DB file (.mdf) and the log file (.ldf) in order to run the script. Once you get the DB created you will have to change the server name in the connection string located in the web.config. After that everything should run great. Here is the zip:
I hope that you enjoyed the talk. If you would like the step by step guide to creating the initial model and setting up the inheritance please visit Rob Bagby’s blog of EF.
Rocky Mountain Tech-Trifecta : A Week Later
Posted On Monday, March 02, 2009 at at Monday, March 02, 2009 by Ben HIt’s been a week since the Rocky Mountain Tech-Trifecta and I’m still getting caught up and processing everything that I learned there. I presented a couple sessions and I also attended a bunch of sessions. Fun stuff. I think the event was huge success. Thanks to my employer Colorado Technology Consultants, Inc. for letting me spend so much time volunteering for the event. A special shout out to Julie Yack for all the time and effort she put in. Please visit her blog at http://julieyack.blogs.com for a couple cool pictures from the event as well as some fun facts.
As stated above, I did two sessions at the Tri-Fecta. The code and slides are below. Please email me any questions or comments to benh@coloradotc.com. You can also catch up with me on Twitter. My handle is benhnet.
Thanks again to everyone that volunteered, organized and attended.
Updated 3/3/2009: I forgot one of the projects being referenced in the Design Patterns for UX. I have updated the link so please download the project again and it should work.
.NET Events in Colorado
Posted On Wednesday, January 28, 2009 at at Wednesday, January 28, 2009 by Ben HI know January is almost over, but to me the year is still new. I wanted to inform everyone about all the awesome User Groups and Community events in Colorado.
One of the most exciting upcoming events is the first ever Rocky Mountain Tech Tri-Fecta on Saturday, Feb. 21. I cannot explain how cool this event is going to be! It’s basically an all day geek fix. There will be sessions related to .NET development, SQL Server and Windows Server. So, if you work with MS products or know someone who does this is the event for you. We have tons of speakers (Scott Hanselman is coming!) from all over the country and many who work for Microsoft and have inside info you cannot get anywhere else. If you like what you are hearing please be sure visit the www.rmtechtrifecta.com site to register for the event to reserve your spot.
Next I wanted to let people know about the South Colorado .NET User Group. I have taken over the leadership of this group from Julie Yack. Julie Yack, David Yack and David Milner round out the leadership team for this group. Next Tuesday we have Kathleen Dollard coming down from Ft. Collins to talk about rethinking Object Orientation. SHould be great! Please check out the link above to get more details.
Here are the links to all the MS related user groups I can think of in Colorado.
Denver Visual Studio User Group
North Colorado .NET User Group
Colorado Springs SQL Server User Group
Colorado Springs Windows User Group
Rocky Mountain Windows Technology User Group
Please let me know if I missed a group.
Virtual Conference Day 3
Posted On Friday, November 07, 2008 at at Friday, November 07, 2008 by Ben HToday was another great day at the vConference. I attended some great sessions over the course of these three days and now I'm excited to go back and watch the ones I missed on demand. I hope everyone had as much fun as I did with the conference!
I did finally get my hosting situation figured out. That means I can get my slides and demos out here for people to download. I do believe that the vConference site will have this stuff posted eventually, but in case they don't here you go:
SharePoint:
.NET:
Virtual Conference Day 2
Posted On Thursday, November 06, 2008 at at Thursday, November 06, 2008 by Ben HDay 2 of the conference was just as good as day 1. We had great sessions all day long. I attended a bunch of the sessions and had some great conversations with many of the attendees. One of the issues we ran into today was the demos where not available. I was going to post them here, but I'm having some issues with my ISV and getting the files to the server. I will post them ASAP.
In the mean time, enjoy the rest of the conference.
Virtual Conference Day 1
Posted On Wednesday, November 05, 2008 at at Wednesday, November 05, 2008 by Ben HDay one of the Virtual Conference is over. It was a good day. We had dueling Dynamic Data Presentation going on from David Yack and Rachel Appel. If you missed one go to the on demand section of the conference and watch the other. After watching both of these sessions you can become an expert on Dynamic Data.
I also attended many of the other session. Rob Bagby did a great Rest session and Scott Golightley did an awesome WCF session. Kathleen Dollard gave two great sessions and Tim Heuer got us started with SilverLight. Not to mention a killer Keynote delivered by yours truly.
And all this was just the .NET Conference.
I also delivered my two sessions on SharePoint and Line of Business applications. These were with the SharePoint conference. Again, if you missed it please check it out on demand. If you have any questions please direct them to me. I'd be happy to help.
Tomorrow I deliver my two sessions on WPF data binding. Please check them out. It's also not too late register and attend. You would also get access to all the on demand sessions from day one. Here is the link to the registration and my discount code.
Enjoy!
PDC is awesome but... Don't forget the Virtual Conference next week.
Posted On Monday, October 27, 2008 at at Monday, October 27, 2008 by Ben HThe PDC is a great place to get the latest news related to Microsoft Technologies. It's a good idea to keep up to date with what is going on in the world of Microsoft. However, most of the stuff released and demoed there is bleeding edge stuff that won't be available for live deploys for months or even years. That's where the SSWUG.org Virtual Conferences being held next week come in. Three days of great content, most of which can be used in the applications you are building right now and can be deployed TODAY!!! Four conferences are being held that include: SQL Server, SharePoint, .NET and BI. Not only is it great content, but's it's only $100!!! Or if you use my discount code you can get it for $90. My discount code is:
SPVIPBH
Please use this code to save yourself $10 and go have a burrito at Chipotle on me. Mmmmm Chipotle.......
.NET Developer Virtual Conference - Update 9/30/2008
Posted On Tuesday, September 30, 2008 at at Tuesday, September 30, 2008 by Ben HJust wanted to update everyone on a couple of things related to the .Net Virtual Conference. In my previous post, I explained the idea of the conference and discussed all the great content that is available. In these hard economic times, getting access to this type of content for $100 is a great opportunity to save some money without compromising the bottom line. Well, things have gotten even better! Announcing a change to the .NET Developer Virtual Conference. Now the .NET Developer Virtual Conference also provides access to the SharePoint, Business Intelligence and the SQL Server virtual conferences. Read the details here. Now you pay the same price ($100) and get access to over 120 session. Pretty awesome. PLEASE NOTE THE DATE CHANGE FOR ALL CONFERENCES. THE CONFERENCES WILL NOW OCCUR ON NOV. 5th, 6th and 7th. Here is the registration link. Do not miss out on this opportunity to be in the know!
On a personal note I recorded my sessions last week and I think they went pretty well. My WPF talks are not the flashy, shiny WPF sessions you've seen in the past. These sessions will help you with the actual guts of doing a useful WPF application. Leave all that flashy, shiny stuff to those artsy designers and their black turtlenecks.
I was also subjected to an interview that was posted by Chris Shaw. If your interested in my answers to the tough questions in the interview please click here. Please do not be scared away by my ugly mug at the top of the article. If you look around on Chris Shaw's blog you will find some of the interviews with the other presenters.
