alexexmachina

Stories kicked by alexexmachina

Talking To CouchDB in .Net With Relax(www.sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 2 years ago

Introduction to a .Net API for talking to CouchDB. read more...

add a comment |category: |Views: 10

tags: another

Creating Windows Services With Symbiote Daemon(sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 2 years, 1 month ago

A 9 minute introduction to the Symbiote framework's Daemon library demonstrating how easy Symbiote makes things like creating windows service. This is meant to be a very simple introduction to this new open source collection of libraries. read more...

add a comment |category: |Views: 14

tags: another

Using jQuery To Control ASP.Net Client Side Validation(sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 2 years, 9 months ago

I recently had to add functionality to a ASP.Net 3.5 web form of ours that allowed a user to provide a suggested alternative when the value they needed wasn’t available in a drop down box. To do this, I wanted to be able to turn our client side validation on and off for the controls involved. read more...

add a comment |category: |Views: 28

tags: another

Create Dictionaries From Two IEnumerables With Zip In .Net(sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 3 years, 2 months ago

Want a way to quickly and simply combine two IEnumerables into a Dictionary? Check out my .Net implementation of Haskell's Zip function. I even include MSUnit tests. read more...

add a comment |category: |Views: 12

tags: another

DatabaseRepository Sneak Preview(sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 3 years, 2 months ago

Examples from the new version of Nvigorate's ORM functionality. (coming soon-ish) Shows classes, map files, configuration and code examples for CRUD operations for a very simple domain model. read more...

add a comment |category: |Views: 2

tags: another

ArgumentOutOfRangeException in DropDownList - ASP.Net(sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 3 years, 3 months ago

Tired of the ArgumentOutOfRangeException in your Data Bound DropDownLists? I kept running into this issue on a project where the data integrity was out of my control. See one approach for adding a way to customize how you can elegantly handle this exception and change control behavior. read more...

add a comment |category: |Views: 36

tags: another

How The Adapter Pattern Saved My Sanity(sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 3 years, 8 months ago

I show how I used the adapter pattern to enable writing WCF service contracts against a base class but keeping the implementation child-type specific. It allowed us to go from 26 contracts down to 2 (one for each base class that our objects inherited from). read more...

add a comment |category: |Views: 17

tags: another

Using Lambdas To Write A Faster Factory(sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 3 years, 9 months ago

A while back, Scott Hanselman started a series of posts about leveraging lambdas as anonymous functions for a factory pattern in his BabySmash program. Recently I had to refactor a large portion of the persistence layer and realized that I needed a factory that would create SqlParameters with the correct SqlDbType given different sets of circumstances. read more...

add a comment |category: |Views: 25

tags: another

Faster Than Reflection - Lambda Almighty(sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 3 years, 9 months ago

In my previous post Using Lambdas To Write A Faster Factory I was demonstrating a neat use of lambdas in conjunction with a dictionary to create a concise and quick factory pattern. Since then I've found some other really nice uses for lambdas and stumbled across some other LINQ related goodness. In this post, I'm going to demonstrate a way to use Lambdas in place of reflection for reading and writing values at runtime and run some performance numbers by you. read more...

add a comment |category: |Views: 37

tags: another

Eliminate Nulls(sharplearningcurve.com)

submitted by alexexmachinaalexexmachina(1020) 3 years, 10 months ago

I realize that Microsoft, under pressure from a lot of developers who wanted to further bastardize null, introduced nullable value types in the 2.0 version of the framework. But I think I can make a rock-solid argument for why 1) nulls are not intended to drive business or programmatic logic and 2) should only be allowed in code or database on the rarest of occasion. read more...

add a comment |category: |Views: 17

tags: another

WCF SvcUtil Proxy Generation Issues(blogs.ittoolbox.com)

submitted by alexexmachinaalexexmachina(1020) 3 years, 11 months ago

We recently ran into a bug that occurs in WCF's SvcUtil where the proxy generation can run amok and generate proxies for every datatype referenced in the service. read more...

add a comment |category: |Views: 42

tags: another

WCF Service Factory Pattern - The Problem(blogs.ittoolbox.com)

submitted by alexexmachinaalexexmachina(1020) 4 years ago

I've yet to find a way around WSDL's inability to support generics. If this doesn't sound like a problem to you, either you know something I don't (please educate me) or you've yet to run into the right situation where you're writing a common service bus that multiple applications will be using for their persistence and access layer. read more...

add a comment |category: |Views: 146

tags: another

Cutting Through The Hype - What You Should Know About SharePoint(blogs.ittoolbox.com)

submitted by alexexmachinaalexexmachina(1020) 4 years, 2 months ago

I had always dreaded working with SharePoint, now that I'm elbow-deep in SharePoint, I figured I'd try to give an objective write-up about it for those who don't know much about it but would like to know more. read more...

add a comment |category: |Views: 9

tags: another

To Kill A Project: Part I - Timelines(blogs.ittoolbox.com)

submitted by alexexmachinaalexexmachina(1020) 4 years, 6 months ago

In my experience there are common behaviors, paradigms, attitudes and fallacies which permeate the management of IT projects that are directly responsible for the obscene rate of project failure. In the first part I'm going to talk about how unrealistic timelines will ensure failure. read more...

1 comment |category: |Views: 0

tags: another

Frans Bouma Is Right About The .Net Source Release (Mostly)(blogs.ittoolbox.com)

submitted by alexexmachinaalexexmachina(1020) 4 years, 7 months ago

Ok, so I got a little cranky and wrote Microsoft Releases .Net Framework Source ... and Receives Criticism. I did a stupid thing, over-generalized and assumed that all criticism Microsoft had received to that point would be the same mindless drivel about how everything they do is chock-full of pure evil.... read more...

add a comment |category: |Views: 1

tags: another

Microsoft Releases .Net Framework Source ... and Receives Criticism(blogs.ittoolbox.com)

submitted by alexexmachinaalexexmachina(1020) 4 years, 7 months ago

So if you're up on Microsoft or .Net, you've probably heard by now that Microsoft is going to release the source to the .Net Framework. I see this as a positive step and think it can only help .Net developers not just support, but understand what they're working with. Anyone curious enough about .Net has been decompiling .Net source via Reflector for quite a while now (I know I have). read more...

add a comment |category: |Views: 6

tags: another