Al Nyveldt

Adventures in Code and Other Stories

A week from this Saturday, I'll be at the Philly.NET Code Camp 2008.2.  I was at the January Code Camp and had a great time.  There were lots of great people to talk with and interesting sessions that got me thinking about things.

phillydotnet I had met Bill Wolfe, the head of Philly.NET, at MIX08 in March and had offered to be a speaker in the spring Code Camp.  He said to get in touch closer to the camp.  So when the call for speakers went out in early April, I responded.  I was accepted and told a talk on BlogEngine.NET would be great.  I wasn't initially thinking of a BlogEngine.NET talk, but since it is a comfort zone for me I figured it would work out.  There are lots of things I could talk about in relation to BlogEngine.NET so I sent in 3 session summaries and one was chosen.

My topic will be "Learning the ASP.NET Provider model with BlogEngine.NET".  It is a talk that goes into one of the things I really appreciate about BlogEngine.NET.  BlogEngine.NET is an easy to follow, simple project that is great to learn from.  It is a great project to just poke around in the code and see how things work.  Being a relatively small solution with just a web site and a class library project, there isn't much room to get lost.  Also, since there are no 3rd party libraries, you can see how everything works.

My session will get in to the provider model and how BlogEngine.NET uses it.  We'll look at implementing the built in providers like membership and go over making your own implementations of built in providers  Then, we'll spend some time talking about custom providers like the BlogProvider in BlogEngine.NET.  We'll make our own implementation of the BlogProvider as well.  It should be a fun time.

While the talk is very focused on the Provider model, it should be interesting to people curious about BlogEngine.NET as we'll really get into some of the inner workings of how the software works.  Of course, if you are interested in talking BlogEngine.NET or have specific questions, look me up at the Code Camp.  I'd be happy to talk BlogEngine or most any other topic after the session.

ThemePic

I've been asked a few times recently about my Visual Studio look and decided to share about it here.  Visual Studio gives the developer a lot of control over how the development environment looks.  From my experience, only a small percentage of people actually take advantage of it, but it is sometimes nice to change things up a bit.

Finding a Theme

The easiest way to give Visual Studio a "makeover" is to download someone else's custom Visual Studio theme and import it into your environment.  My current theme is based on Ragnarok Grey by Tomas RestrepoTomas is a master dev environment themer and has made a bunch of Visual Studio themes.  That said, the best place to start looking for your theme is likely at Scott Hanselman's VS Theme gallery post.  Scott has put together a nice list of VS Themes along with pictures and links.

Installing a Theme

importwiz1 Once you've found a theme that you like and found a download link, you should have a .vssettings file.  (Note: Make sure you get the file for the version of Visual Studio you are using.  They can be converted, but that is another topic.)

Now, you simply need to import it in Visual Studio.  Luckily, there is a simple Visual Studio wizard to walk you through the process and make a backup of your current settings should you want to go back to what you have now.

The wizard is found under the Tools menu and the option is called Import and Export Settings.  In 3 simple steps, you chose import settings, save your theme (or skip), and then browse out to find your downloaded theme and apply it.

Customizing a Theme

options The changes from a downloaded theme can be pretty dramatic and you might want to tweak it a bit.  You might want the font size smaller or larger.  Maybe just a different font.  You might all find that you have some things that just don't look nice.

Head on into options (Tools...Options) and make the changes that you need.  The Fonts and Colors sections gives you a nice preview of what you'll be getting for the different types of items.

My theme

As I mentioned earlier, I've been using pretty much the stock Ragnorak Grey theme.  I have made a few small changes for ReSharper 4.0 EAP.  The theme didn't cover the ReSharper Styles and a few of them were just unreadable.  So if you a ReSharper guy or gal, you'll likely need to check those ReSharper display items and make sure they are readable in the theme you choose.

Update 04/14/2008:  I've removed the fix below now that the BlogEngine.NET team has made an official announcement.  Upon further review, 1.2.0.0 users were not effected by this security flaw and there isn't much reason for this patch to exist.  If you have already used this patch, please update your software to version 1.3.1.0 as soon as you get a chance.  (The update will add the js.axd line back into your web.config.)  You should then remove the JSInsert extension from your installation.

I was made aware of a security issue in BlogEngine.NET just over an hour ago.  I wanted to make an immediate fix available for who wanted it.  The team will work up an official hot fix for this soon, but this can hold you over until then.

If you are a BlogEngine.NET user running 1.2 or 1.3, I'd strongly suggest you follow the instructions below.

First, if you are running 1.3.0.0, there are a few people who have already made the fix to the core.dll and have made it available for download.  If you aren't comfortable with that or have 1.2 or a version in between the releases that you don't want to take the time to update immediately, follow on.  Head on over to the BlogEngine.NET project site to get the patch.

BEJSIssueFirst, you remove the js.axd handler from the web.config.  To do this, you need to open your web.config file, scroll to the bottom and find the httpHandler section.  There is a line with the js.axd handler listed.  You can just remove it.

I'm including a copy of the web.config file that was release as part of 1.3 with this line removed below.  If you've never edited this file and are using 1.3, you may just put this new file in place.

Second, since we are removing functionality, we need to add it back in another way.  I made a quick extension that will do just that.  Simply copy the extension file, JSInsert.cs into your your App_Code\Extensions folder.

Following these 2 simple steps should secure your blog from this new vulnerability.

Download the updated web.config

Download the JSInsert Extension

I recently picked up a new laptop.  After getting Vista installed, I made list of everything I'd need to get started.  Most were from my head as I use many of these things daily, while others I noticed from my work machine, after I had made the list.

Software

  • Camtasia Studio - I use this for my screencasts now.  I love this program.
  • Daemon Tools Lite - ISO support is always needed, especially around installing time.
  • Digsby - This is my IM client of choice these days.  I wish the twitter support was better though.
  • FireFox - Do I need to say anything else?  This has its own section below.
  • FoxIt Reader - Much nicer than Adobe Acrobat Reader for my needs.
  • Guild Wars - One game to rule them all...
  • Live Writer - The best blogging tool I've seen yet.
  • NotePad++ - My text editor of choice these days.
  • Office - Word, Excel, PowerPoint,... you know the drill.
  • Paint.NET - A great free .NET based graphics program.
  • PDF Creator - Great for making PDFs.
  • Skype - IM and Voice chat.  A must have tool these days.
  • SQL Server - It is an occupational hazard.
  • UltraMon - Multi-monitor support at its best.
  • Visual Studio - Both 2005 and 2008 installed.
  • VMWare Workstation - I prefer it to Virtual PC.
  • Window Clippings - A nice little screenshot maker.
  • WinZip - I know there are lots of others but this is what I'm using.  With all the other new stuff on my box, you can consider this my "comfort food" software.
  • Witty - My Twitter client of the day.  The current beta works fine or me, but I'm not completely sold yet.  It is .NET based and open source, so I could look into the changes I'd like to see, I guess.

Development Specific Things

  • ASP.NET MVC - An alternative to ASP.NET Web Forms in its current state.
  • MbUnit - Unit Testing Framework of choice.  (I'm interested in trying xUnit, but I haven't yet.)
  • Ragnarok Grey (VS Theme) - My current favorite Visual Studio theme.  Both for VS2005 and VS2008
  • ReSharper - A awesome tool.  I've been using the early 4.0 with 2008.  So far, so good.
  • Rhino Mocks- Mock objects anyone? While it doesn't need installed per se, I like to have the files in a known place.
  • SVN Bridge - The only way to use Subversion at CodePlex.
  • TestDriven.NET - Great testing add in
  • Tortoise SVN - Great Subversion Client
  • Visual SVN - TortoiseSVN that works perfectly inside Visual Studio
  • WinMerge - Nice Comparison Utility

Browser Specific things

Well, that is what I've downloaded and setup to start.  I have a lot more stuff installed elsewhere, but I decided to start with the basics and add things as I need them.  I'm sure there will be plenty of adding over the next few weeks.  If I've completely missed something that I shouldn't be living without, you can let me know in the comments.

My MIX 08 Recap

vectormark_blue Well, I just got back yesterday from my first MIX experience and wanted to write up a recap of the event.  Everyone likely came to MIX from a slightly different place, with slightly different expectations, and left with there own feelings on the event.  For me, it was a good overall event.  It really comes down to 3 things for me.  People, Passion, and Content.

I came to MIX knowing almost no one there.  I can honestly say I saw only two people I had met before at MIX.  One of them, Dave Laribee, I had met just the week before at the Philly ALT.NET meeting and the other was a man who had taught a college class I took many years ago.  (I racked my brain trying to figure out who he was and by the time I figured it out, I never saw him again.)  So other than talking with Dave again, everyone else I talked with was someone I was meeting for the first time during the event.

While knowing no one was tough, just about everyone I talked with was very nice and I appreciated meeting so many cool people at MIX.  There were a few people I had hoped to meet and I ended up getting to talk with most of them.  I also met a bunch of people I didn't expect to meet and really enjoyed getting to know them a little as well.

These outside of session conversations where really the best part of MIX.  One could not help be feel the passion and energy of some people as they talked about software and what they were working on.  It was cool to talk with people who are excited about what they were doing and just really into making great software and experiences.  Sharing ideas, discussing issues, and getting insightful feedback with a bunch of people with varied background was awesome.

The Content was good overall.  I went to a bunch of sessions and enjoyed most of them.  I'm sure the keynotes have been covered, so I won't say too much other than they were cool and that Steve Ballmer was great.

Scott Hanselman's session was very good.  He had the only session on ASP.NET MVC.  I had hoped to hear more about it at MIX then I did, but this session was just excellent.  Scott is an excellent presenter and I'm glad I was able to catch this talk.

I sat in on some of the Astoria (ADO Data Services) sessions and it is a lot cooler than I thought it was coming to the conference.  I'm not sure I'll use this in my work, but it really has given me something to think about.

I really enjoyed some of the panel sessions as well.  I attended 2 of them and both were interesting.  I really enjoyed hearing different views on the same questions.  The panelists were well chosen as far as I could see.

The best session I missed was the Story of the Ribbon.  You might be wondering how I would know what the best session I missed was, but I'm pretty sure this was it.  If you missed it at the conference, go and watch it.  (It is only 72 minutes if you skip the Q&A.) 

I was sitting at lunch with Jon Galloway who I had met earlier and some others when Miguel de Icaza joins the table.  Miguel could not stop telling us how awesome the Ribbon presentation was so I decided I had to see it although I must admit I was still skeptical.  Anyway, I watched it today and it rocks.  It is all about UI research and the process used to in making the new Office UI.  It is very informative and gave me a term to something I often think about when designing UI, Longitudinal Usability.  Anyway, this session was so cool I'll likely take time to go back and watch some of the other User Experience track sessions.

If you missed the conference, you should really take the opportunity to watch some of the presentations which are all available over the web.

Well, that is my 2 cents on MIX 08.  I'm glad I was able to attend.  (and yes, I got to play around with the Surface, and it rocked as well.)

About

BioPic Hi. My name is Al Nyveldt and I'm a software developer from central Pennsylvania, USA.

I'm on the BlogEngine.NET development team and write on a variety of development related topics. More...

Follow me on Twitter
Contact me via email

Recent Comments

Quote of the Day

"Truth is generally the best vindication against slander."

- Abraham Lincoln

Sponsor

Recommended Books



Archives


Disclaimer

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

© Copyright 2008

Sign in