September 2015 Blog Posts
Windows 10 Pro Insider Preview Build 10547 Install Bug

This may seem a bit familiar.

Trying to upgrade and it would stick at 23%, 77% files copied.  After waiting 20 minutes or so, I powered down so it would revert to the previous version.

I then deselected WCF HTTP Activation for both .NET 3.5 and .NET 4.6, upgraded successfully, then reselected them.

posted @ Sunday, September 27, 2015 5:03 PM | Feedback (0)
Universal Windows Platform and Line of Business (LOB) applications: Things I don’t get yet

So, I was going to build a LOB application using UWP, and ran into a whole host of “I’m old and/or don’t get the new paradigm yet” issues.

Such as:

  • How do you do configuration settings with these things?  I know you are supposed to use ‘web’ technologies and all that (since OData is dead, I’m going WebAPI), but I still want to be able to point to some things in my ‘DEV’ environment, other things in my ‘PROD’ environment.  Don’t I?  That sort of thing doesn’t go away, but there’s nothing like an app.config to work with here.  Some suggestions I’ve seen are to have configuration items in a text file that gets loaded on startup, then having a build step that…..uh, no.
  • How do you do data access with these suckers?  Although you can reference EF 6 from Nuget, and it doesn’t puke when you do it, it doesn’t appear you can actually do anything with it.  So, you are ‘stuck’ with EF 7 Beta 6+ or something, and I’m not sure what, if anything, you get in terms of tooling support, so….um….I know I’m old and all, but, isn’t data access important?
  • Do you really ‘just’ pass ValueSet classes back and forth?  I think messages are awesome but, uh, that seems kind of limited.

I really want to just dive in and embrace this new fangled stuff, but it seems like I really should just build a WPF app.  That’s so 2007.  Does Microsoft support WPF apps these days?  That’s a semi serious question.

posted @ Tuesday, September 15, 2015 9:10 PM | Feedback (0)
Configuring ASP.NET WebAPI 2 to allow Put and Delete

Whew.  That was more difficult than it needed to be.

Since I’ll forget this…..

   <modules runAllManagedModulesForAllRequests="true">
     <remove name="WebDAVModule" />
     <remove name="WebDAV" />
     <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
     <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
     <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
     <remove name="OPTIONSVerbHandler" />
     <remove name="TRACEVerbHandler" />
     <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
     <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
     <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />

posted @ Tuesday, September 15, 2015 1:12 PM | Feedback (0)
No odata support in ASP.NET MVC 6

From here:

Question: Is there support coming for OData?

There is no planned work for Odata support in MVC 6.  Please ask more about this in the home repository and we can follow-up on it.

Well.  That’s awesome.  At least I can retool what I had in development that was based on OData.

posted @ Saturday, September 12, 2015 11:27 PM | Feedback (0)
Nice StackOverFlow response

In response to this:

+1 This is probably the single greatest answer ever provided on stack overflow. Words alone do not suffice in expressing my gratitude for this exceptionally helpful, superbly worded answer. Cries of joy rang out a half a world away when this answer was both read and applied with magnificent levels of success and sincere sensations of relief. A cold beer has especially been set aside for our dear, dear guide, Pieter. May you sir, live a very long and very happy life. An absolutely marvellous contribution. Just marvellous. Thank you. –  rism May 19 '12 at 10:29

posted @ Thursday, September 10, 2015 10:20 AM | Feedback (0)
Bye Bye JetBrains

Mandatory subscription licensing

Fuck that.

posted @ Wednesday, September 09, 2015 9:39 PM | Feedback (2)
Asp.Net 5 & dependencies, still not right

This is not all that shocking, but I was trying to follow this demo, and downloaded the code and tried to run it.

As the article states:

The required dependencies are added to the project.json file. This is the hardest part, as you have to figure out which packages are required and also if the packages work together.

It’s even harder when the packages can’t be found.

From project.json:



Output (after package ‘restore’):



If you go here, you see:



Core and Commands and all that restore just fine, just not, you know, what you actually need.

posted @ Wednesday, September 09, 2015 9:12 PM | Feedback (0)