Geeks With Blogs
Blue Probe It’s the parting gift when you host an alien abduction .NET
Azure VM - Endpoint Not found: There was no endpoint listening

The only solution was to delete the VM and recreate.  There are ways to clone the VM from the VHD that was used, but the original VM must be deleted. 

Strangely enough I had a running VM, then added an SSL cert to a separate Cloud Service via the portal, and that seemed to doom my VM.  It went into a stopped state, and when trying to start it received the error above.

Posted On Sunday, May 5, 2013 8:48 AM

PluralSight MVC course error - No parameterless constructor defined
The ASP.NET apps I develop/support at work have all been WebForms. So while taking a lovely course by Scott Allen on PluralSight, I decided to skip the IOC crap in my lab. Wrong! In order for the EF DBContext (interface) to be passed into the constructor for my controller, I need magic to occur. StructureMap provides this be giving my app a DBContext object each time the IDepartmentDataSource interface is asked for. See the following controller constructor: public DepartmentController(IDepar... ......

Posted On Saturday, April 27, 2013 12:02 PM

Calling a web service through a reverse proxy
I had a w/s that when I first read the WSDL in test, was http, but needed to be accessed from behind a reverse proxy with https. Here are the steps: Change the app.config, <httpTransport> to <httpsTransport> Change the app.config and the url address in the <endpoint>to the reverse proxy address Add System.Net.ServicePointMana... = delegate { return true; }; to disable certificate validation. This will validate all certificates (including invalid, ......

Posted On Thursday, July 5, 2012 8:39 AM

Winforms application settings using custom types
I started down the path of saving window size settings in the application settings. The fact that I was repeating the same basic info for each form led me to investigate using a custom type to encapsulate this info. The custom type you want to save will have a couple of properties on it, but when you add it to the application settings, you just configure 1 setting. I couldn’t just use the utility to add my type, I had to edit the file. Here’s the steps: 1) Update the settings.settings file 2) Make ......

Posted On Tuesday, November 17, 2009 4:59 PM

Copyright © Ken Hortsch | Powered by: