Profile cover photo
Profile photo
Michael James
46 followers
46 followers
About
Posts

Post has attachment
project.json doesn't have a runtimes section, add '“runtimes”: { “win”: { } }' to project.json within a .Net Class Library
Recently I've started experiencing weird build errors when switch branches on a product. Error : Your project.json doesn't have a runtimes section. You should add '"runtimes": { "win": { } }' to your project.json and then re-run NuGet restore. It's a weird ...
Add a comment...

Post has attachment
The curious case of hidden form fields changing their value....
So today I was looking into an odd issue our CEO experienced using a website. He would get a password reset email and upon following the link and entering a new password it would fail to change with a cryptic message. I said I'd have a quick look and see if...
Add a comment...

Post has attachment
GZip Compression of JSON and IIS
Recently in work we've been monitoring the data usage of one of our main products. In today's modern age as developers we often think of bandwidth as cheap and usually have nice fast internet connections and don't overly worry about the bloat of our pages...
Add a comment...

Post has attachment
Add a comment...

Post has attachment
ADO.Net Async with Transactions... A Lesson Learned
Last night I was testing out a new WebApi Filter I've added to a project, its fairly simple, log some data that comes from a HTTP header to the DB. This particular project has no Entity Framework or anything, just simple ADO.Net, in fact I think the project...
Add a comment...

Post has attachment
Playing further with ASP.Net Core whilst on my hols... VSCode fun and cool new Anti Forgery Validation
I'm on vacation, 10 days in Norfolk with extremely limited connectivity and action packed days with the kids. Whilst here on two nights everyone has fallen asleep before me so I decided it would be a good time to poke around further at ASP.Net Core as I've ...
Add a comment...

Post has attachment
Code therapy brought to you this week by .Net Core 2
So the last week has been hard going so tonight I decided to have some code therapy. I've been meaning to explore .Net Core 2 further and decided tonight was the time to port a library I had written in Mono for Raspbian over to .Net Core land. It's worth no...
Add a comment...

Post has attachment
Its the little things...
In the history of C# we have been spoiled by every version having excellent new language features in. We had Generics, Linq, Tasks, async/await which were massive hitters and transformed the way we worked and wrote code. C#7 however I found has given us lot...
Add a comment...

Post has attachment

Post has attachment
Fixing a Quirky Xamarin.Forms ListView Bug That Lead Me Back to Basics
For the last two evenings I've been chasing what seemed a random bug. The crux of it came down to scrolling large lists within a ListView, 1000's of items, which were grouped, would muddle up the items and often duplicate an item a couple of times. An examp...
Add a comment...
Wait while more posts are being loaded