Skip to content

New posts will be at adammokan.net

02-Mar-12

Since this blog has mostly been focused on Microsoft technology and I have moved into different technology in my new job (see this post), I have decided to start a new blog on Tumblr at http://adammokan.net.

I will continue to keep this site up but content updates will be limited.

career change

28-Feb-12

I’ve had a fairly interesting six months and blogging has taken a back seat to a lot of work.

For those that read this that I’ve met over the years, you may or may not know by now that I made a career shift back in January and I am now employed as a Senior Architect for a software company based in California (I still live in metro-Phoenix and work out of Gangplank in Chandler most days).

This move has me working with technology like Node.js, RabbitMQ, JavaScript client-side template “frameworks” like Backbone, Ember, and so-on. Aside from that, I spend a lot of time in the Bash shell and do some work with Erlang here and there.

This has all been quite a major shift from my focus on Microsoft development over the years, even though I’ve always been the type of person to be aware of and play with other technology available. I was looking for a new challenge and definitely found one. I’ve had to retrain my brain in many ways over the past two months and it’s been hard at times, but the amount of new things I’ve learned is staggering. My goal is to become a more well-rounded developer and I think this was the next step for me.

I just wanted to post a quick update and indicate that the blog isn’t dead, but I’m trying to figure out how it will fit into the work I’m doing now.

MVC Mini Profiler

14-Nov-11

I’ve started to use the very helpful Mini-Profiler in my apps and love the base functionality provided and optional approach to profiling specific portions of your application. It’s worth mentioning that Mini-Profiler is open source and used in production by the folks at StackOverflow, so feel confident that it is a solid assembly with plenty of options to meet your needs.

For those that haven’t checked it out, bring MiniProfiler into your application via NuGet with a

Install-Package MiniProfiler

If you are working in a web project (MVC, WebForms), you simply add the following line of code in your head block AFTER your jQuery reference (this line is formatted as Razor for MVC 3) -

@MvcMiniProfiler.MiniProfiler.RenderIncludes()

One thing worth mentioning is that on IE9, I had some issues with the UI of the profiler displaying appropriately. I looked around and found a post mentioning adding the following to your CSS file and sure enough, it fixed my IE9 issue. So, give it a shot if you have any problems displaying the profile on Internet Explorer.

div.profiler-popup
{
    overflow: visible !important;
}

Mini-Profiler UI on a simple ASP.NET MVC 3 page

I’ve had success using this for profiling ASP.NET MVC3 applications as well as Entity Framework 4.2 “Code First” queries within the apps, which is great. I still really like the Entity Framework Profiler tool from Hibernating Rhinos and rely on it heavily, but Mini-Profiler does a good job of showing ORM query issues.

I plan to try this out with some old WCF projects in the near future as well. In the meantime, pop it into one of your development applications and make sure your code is performing how you expect.

Slides from my “Intro to SignalR” presentation at Desert Code Camp

08-Nov-11

I uploaded the slides from my “Intro to SignalR” presentation at Desert Code Camp 2011.2 which was held this past weekend (11/05/2011) at Chandler-Gilbert Community College.

I did add some additional bullet points and text content to the slide deck since I’m not a big fan of standing in front of a bunch of that during a presentation and would rather talk with the attendees and show some code. Either way, check the slides out if you’d like.

http://www.slideshare.net/adammokan/introduction-to-signalr-10082193

Next up is some tweaks to my samples, which were not cooperating with me so much during my session. I will expose that repo on Github soon and post an update.

Enjoy.

Presenting on SignalR at Desert Code Camp 2011.2

02-Nov-11

I will be presenting on SignalR at Desert Code Camp this weekend (November 5th, 2011), for anyone in the metro-Phoenix area.

My SignalR session begins at 11:30am (hour long) and will be held in room IRN-125.

For more info on Desert Code Camp, visit http://nov2011.desertcodecamp.com