Jim Becher

Deploying MVC 3 Razor – Bin issues

The current application I’m working on requires me to publish an MVC 3 Razor web application.  I’m using sFTP as the protocol to my hosting provider.  After the first publish I was unable to run the application.   It kept throwing errors that I was missing assemblies.    The first error I got was that the application was missing the Microsoft.Web.Infrastructure.dll.   I …

Read more

MVC 3 Razor

I am really starting to like MVC 3 razor.   I’m continually reminded of old school ASP coding.  Even some situations where you wrote in <br> <hr> and other html tags into your business layer. In the current application I’m working on I’m calling a system call and returning it as a string vs an object.   The reason is that …

Read more

Win Phone 7 – datacontractserializer

I’m in the middle of writing a Windows Phone 7 application.  In the JSON call and collection I’m using.  I wanted to use a datacontract.  For a bit I could not get my class to recognize [DataContract] and [DataMember] .  I even had a direct reference in the class : using System.Runtime.Serialization; I’m not sure of the reason but after troubleshooting it for a …

Read more

MVC – Mini Profiler

I’ve been really happy with the nuget platform for adding packages to VisualStudio.  If you have not yet tried nuget head on over to nuget.org.  One of the more recent packages I’ve been using is the mini-profiler. It is a little plug-in (can’t think of another term) that allows you profile a page and elements that are executed. Here is the …

Read more

Conpoto – Send a drink

If you are in the Grand Rapids area and have some friends you owe a cold beverage.  You should check out www.conpoto.com. It is a local site for the Traverse City, Holland, or Grand Rapids area.   There are some great establishments setup to purchase a beer for your buddy.  Feel free to send me one. Founder or Hopcat will work.      

SMTP windows 7 developer

Vista and Windows 7 did not come with an SMTP server installed.   They removed this feature after smtp was found to be somewhat vulnerable on XP, and running on way too many developer PC’s.   I’ve been using papercut as a local smtp server when I am developing an application that has to send mail.  Papercut allows you to capture the …

Read more

Windows Phone 7 Dev – Images and ApplicationBarIconButton

I have been working on a windows 7 phone application. I know, many of you may give me a hard time about developing for winphone7 vs iPhone or android. Well, I’m working on getting to each of them eventually. Currently Phone 7 made sense. So far development has been pretty straight forward. I was adding an application bar to the bottom …

Read more

Commuting to Work on Bike

I’ve been commuting to work on my bike this last week. It has been great. The car was in the shop so I finally had a reason to commute. I’ve been planning on doing it but never was motivated enough to start the process. This last week I did not have a car so I had to. It turned out to …

Read more

US Soccer (world cup)

The us women’s soccer team is doing great. Tonight they beat France to head to the world cup finals. It was a great match to watch 3-1. I love to see the US do well in soccer. The prior game against Brazil was just amazing. Being a player down and then going the full overtime and extended time to tie the …

Read more

Secure your home network – Block sites – OpenDNS

I get all types of security questions from home users.  How do I secure my wireless so people can’t use it?  How can I make sure people can’t steal files on my computer?  How can I keep the kids from going to sites they are not suppose to be on? For the last one, how to secure and block sites I recommend OpenDNS. …

Read more

iPad Tips and Tricks

I love it when I come across a new thing on the iPad that I did not know.  I was reading a tip’s and tricks blog post on the ipad and I learned about how to pause an app from being installed. http://www.howtogeek.com/howto/14529/the-complete-list-of-ipad-tips-tricks-and-tutorials/ You basically hit the icon of the app that is in the (waiting or loading) state and it …

Read more

32bit or 64bit compiled application

How do you tell if an app has been compiled in 32bit, 64bit or any cpu.  There is a great little tools called corflags.  Corflags is built into visual studio.  You can open a visual studio command prompt to run this tools.  I created a vs2010 solution with 3 projects, the project were compiled with the above 3 options.  Here is …

Read more

iPhone and iPod sync multiple calendars – google apps

If you use google apps and an iPhone or iPad you have probably tried to add other calendars to your in app calendar application.  A very simple way to do this is to use iphoneselect.   Iphone select allows you to select the calendars from a webpage and then configure your iPad or iPhone app to sync with them Google APPS: https://www.google.com/calendar/hosted/YOURDOMAINNAME/iphoneselect …

Read more

Old tube

I don’t often head over to youtube and just watch shows.  I typcically find a podcast or something that leads me to youtube.  But today, I was thinking of a song and just typed in the only few words I could remember and got it on youtube.  So, today I’m a youtube fan. Here are a few of the random songs …

Read more

Command Line tips

I find myself in a command prompt in windows a lot.  I enjoy using it.  From simple items like getting an ip address or copying files (robocopy)  I use it a lot.   More recently I have been in powershell a lot more.  Powershell uses most of the same tricks as the command prompt. I have used these tips and tricks …

Read more