zigamorph

Stories kicked by zigamorph

JSON.NET Strong Naming And NuGet Woes(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 month, 23 days ago

This post requires a little understanding about how strong naming works. It’s complicated, but basically here is the jist: When you compile a library against a strong named assembly, only that specific version of the assembly can be used with the assembly that you are compiling with out resorting to heroics. You may say what is the big deal that is how all libraries are compiled and linked. But that isn’t true in .NET, if you don’t have a strongly named assembly, you have for better terms a weakly named assembly. And with weakly named assemblies there is not enforcement of the version, just the library name. So this makes it possible for developers to update a referenced library without actually recompiling the original library that referenced it. This is very powerful in the right hands, and pretty much what makes services like NuGet function with references so many intermingling of references between projects. So once you understand that and it has sort of sunk in. Now consider what kind of monkey wrench would be thrown in to NuGet references process if libraries were strongly signed. Now consider the project that is strongly named is also the 5th most popular project on NuGet with over 125,000 downloads and is one of if not the most interreferenced library in NuGet. That is a monkey wrench of epic proportions that can cause some real damage isn’t it. Well you have probably guessed that this isn’t some hypothetical problem that I am posting about in this work item. This is an actual problem in NuGet and is causing the community great pains against this ever popular and wonderful library. I understand certain people like installing JSON.NET into the GAC and I have no problem with that, and I think it should continued to be signed for them. But why not stop signing just the assemblies that you push to NuGet. Because this problem is only going to get worse when the ASP.NET Web Stack starts building steam and this problem escalates out of control. read more...

add a comment |category: |Views: 2

tags: another

Cleaning Up Your Git Repository For NuGet 1.6(coderjournal.com)

submitted by zigamorphzigamorph(3319) 5 months, 14 days ago

Provides an article detailing how to clean up the packages directory to get your project and repository ready for NuGet 1.6. read more...

1 comment |category: |Views: 35

tags: another

Adding Git Command Line To Visual Studio(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 2 months ago

If you are an avid Git user like I am, but also happen to work in a Visual Studio environment, you know that getting to your Git Bash command prompt is anything but easy. read more...

add a comment |category: |Views: 35

tags: another

A Smarter Entity Framework Include Method(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 3 months ago

One of the things I have always disliked about Entity Framework and their support for LINQ is that while your whole LINQ statement is compile time checked to make sure you didn’t fat finger any SQL statement, the Include() statement is not. read more...

add a comment |category: |Views: 12

tags: another

Adding Your Application To The Graph(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 4 months ago

Alternatively, if you really have bytes to kill, and you want to add relevant meta information to your page. You should probably be looking at the Open Graph Protocol: read more...

add a comment |category: |Views: 5

tags: another

Setting up a CloudFront Mirroring CDN in 5 minutes(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 5 months ago

Gives step by step instructions on how to setup Amazon's CloudFront Mirroring CDN in 5 minutes or less. read more...

add a comment |category: |Views: 13

tags: another

Lucene.Net needs your help (or it will die)(codeclimber.net.nz)

submitted by simonechsimonech(10.1k) 1 year, 6 months ago

The Apache Foundation wants to kill Lucene.net. If you use it please chime in and help. This post explains a bit more in detail why this is happening read more...

add a comment |category: |Views: 929

tags: another

Timing The Execution Time Of Your MVC Actions - Nick Berardi's Coder J(coderjournal.com)

submitted by javeryjavery(5523) 1 year, 7 months ago

Awesome approach for timing MVC Actions read more...

add a comment |category: |Views: 153

tags: another

Easy Mail Delivery with SMTP Smart Host(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 7 months ago

I knew the downfalls of using the default localhost and the potential mail delivery problems if I didn’t properly set the DomainKey, DKIM, SPF, SenderID, Reverse PTR, and blah blah blah. But it wasn’t really worth the hassle for me to properly set all this, because I can sent the number of emails sent from my server on one hand each day. And a 4 out of 5 times they were administrative emails sent to my Gmail account. But given all that it is still no excuse for poor email hygiene. read more...

add a comment |category: |Views: 160

tags: another

With Each Step Forward, Microsoft Takes Two Back(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 9 months ago

So why is Microsoft continuing to target PHP 3 users, when they should be targeting PHP 5 and Ruby on Rails users for the mind share of rapid application development? I am calling on Microsoft to take this abomination of a document down, and just put up a simple Razor syntax language reference at the very least, and at the very most gut this document and create a document that doesn’t perpetuate bad software development practices and becoming a shining star to software developers and not a rusty anchor. read more...

add a comment |category: |Views: 5

tags: another

Turning JSON into a ExpandoObject(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 10 months ago

Recently I had the need for a web service of mine to take a JSON blob as an input. This isn’t really exciting or all that interesting a problem, but I really didn’t enjoy the code smell that came from drilling in to the resulting Dictionary object that comes from desterilizing the JSON object into something that .NET understands. read more...

add a comment |category: |Views: 83

tags: another

Run Cassandra As A Windows Service(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 11 months ago

One of the main issues that comes up over and over again for Cassandra is: How do I run Cassandra as a Windows Service? In this post I am going to answer that question and in the process demonstrate how to do it in less than 10 minutes. read more...

add a comment |category: |Views: 46

tags: another

Using LINQPad to Query Stack Overflow(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 11 months ago

In case you haven’t read, Stack Overflow and the rest of the Stack Exchange sites are now able to be queried using OData. This is great because as Jeff points out in the blog post: …if you just want to play with the data, it’s kind of tedious: you have to download the entire 700 plus megabyte archive, import it into some kind of database system — and only then can you even begin thinking about how to query out the results you’re looking for. This hurdle has stopped me from performing some basic querie... read more...

add a comment |category: |Views: 55

tags: another

How Fluent Cassandra Handles Runtime Types(coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 11 months ago

Explains how runtime types are serialized, stored, and deserialized in the Cassandra database when using .NET read more...

add a comment |category: |Views: 9

tags: another

Your First Fluent Cassandra Application (part 2)(www.coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 11 months ago

Last time I demonstrated how to create your first Fluent Cassandra app. After we finished learning about how to create records and save them to the database, I issued a challenge to implement comments for our command line blog app we created. read more...

add a comment |category: |Views: 44

tags: another

Your First Fluent Cassandra Application(www.coderjournal.com)

submitted by zigamorphzigamorph(3319) 1 year, 11 months ago

As your are probably aware by now if you follow my Twitter status or have looked in to some of my recent posts. I am developing a library called FluentCassandra which is a .NET library for using the Cassandra database in a .NETty way. The project has progressed quite nicely in the last couple of months and I am finally ready to start talking about it and giving examples on how it can be used in your applications. So lets gets started… read more...

add a comment |category: |Views: 437

tags: another