Archive | ASP.NET RSS feed for this archive

List<ExpandoObject> to Excel Export

February 4, 2013

2 Comments

I’m writing this to share a quick solution I implemented to solve a need on a small project. It works, but feels dirty. If you have a cleaner reco, PLEASE let me know. Handler: (My apologies for screenshots. Git Gists were not keeping the formatting when I selected c#)   Extension Method: HEADS UP This […]

Continue reading...

ASP.NET Web API: Always Set Content-Type

September 5, 2012

4 Comments

I lost a few hours on my project one night last week because of this. Backstory I have been really enjoying my latest project using Asp.NET Web API & EF5. Although I’ve had a bit of a (mostly EF) learning curve, it’s gone swimmingly, and I’ve been blown away at the parsing magic performed by […]

Continue reading...

My Week at //build/ Part 2

October 3, 2011

1 Comment

An interesting thing happened to me this week. A coworker came to my desk JAZZED UP. He told me he had read Part 1 & could feel my excitement through my post. It’s incredibly fun to be told what resonates with people. He told me he could totally identify with my description of dreaming to […]

Continue reading...

How to Strip Out HTML Markup

June 16, 2011

0 Comments

A coworker recently asked for my advice on the best way to parse Html using C#. Upon further “what exactly are you trying to do” questioning, he explained that he wanted to display the description of an RSS feed for his side project, but many descriptions include more than just text (images, anchor tags, etc). […]

Continue reading...

WCF HTTP Basic Authentication with SSL3 through Fiddler

May 6, 2011

0 Comments

I’m consuming a 3rd party REST api with WCF as documented here and it’s pretty slick, but I ran into a debugging issue when trying to debug my WebInvoke Method=”POST” [OperationContract] using Cassini & Fiddler due to these parts of the API Implementation: All access to the production system will be over SSL/TLS. HTTP Basic […]

Continue reading...

Paste XML As Types: Visual Studio 2010 Extension

May 5, 2011

2 Comments

I used the WCF REST Starter Kit a couple of years ago to build a REST API for a project I was on, and I fell in love with “Paste XML As Types.” I was surprised it wasn’t built into Visual Studio 2010 & I’ve wanted it on more than one occasion, so I decided […]

Continue reading...

TFS: File Modified Timestamp Option Needed

April 27, 2011

2 Comments

We’re currently transitioning from Surround SCM to TFS across our organization. There is a preference we need that I have been unable to find in TFS. NEED: In Surround SCM, we have the option to pull the files down to our local machine with 3 different date/time options: Current (files on your system get the […]

Continue reading...

Visual Studio—>Debug—>Exceptions

April 4, 2011

0 Comments

Yesterday I was told about an option in Visual Studio I had not previously been aware of, and boy, am I excited about it! Debug—>Exceptions (Ctrl+D,E) Break when an exception is: Common Language Runtime Exception: Thrown is un-checked by default. Why do I care? How can this help me? How many times have you seen […]

Continue reading...

OH: “Just Use a Tuple” – Say What?

March 29, 2011

5 Comments

After hearing someone at a conference  tell a presenter, “just use a tuple to solve that,” then seeing tuples all over the place when I was stepping through the Sprite and Image Optimization Preview 3 on Codeplex, I wanted to see what this new buzzword was all about. My initial web searches led to these […]

Continue reading...

What? Me, Interesting? Are You Crazy or Just Being Kind?

March 13, 2011

30 Comments

Disclaimer: If you decide to read this, please do so with the understanding that this is MY story. I don’t (and I can’t) speak for anyone else. All I can do is tell MY experience. This was written as a soul-searching self-discovery after being so inspired by Scott Hanselman at Microsoft Web Camp in Austin […]

Continue reading...