mgroves

Stories submitted by mgroves

What went wrong: IDbConnection life cycle(crosscuttingconcerns.com)

submitted by mgrovesmgroves(260) 3 months, 26 days ago

My new site Cross Cutting Concerns launched and almost immediately crashed once people actually started looking at it. What exactly happened, and how did separation of concerns make it easy to fix? read more...

add a comment |category: |Views: 8

tags: another

PostSharp Principles: Day 3 - Applying Aspects with Multicasting Part(www.sharpcrafters.com)

submitted by mgrovesmgroves(260) 10 months, 28 days ago

Yesterday we started looking at multicasting. Today we’ll go even further with assembly level declarations and how to prevent aspects from being applied. read more...

add a comment |category: |Views: 22

tags: another

5 Ways That Postsharp Can SOLIDify Your Code: Authorization(www.sharpcrafters.com)

submitted by mgrovesmgroves(260) 1 year, 2 months ago

One of the best uses of AOP is to take cross-cutting concerns that repeat themselves over and over in your system, and move them into their own class. Authentication and authorization are important parts of many applications, but too often the code to check if a user is authorized is spread all over the app. A class should have one and only one reason to change, so let's get the "auth" stuff into its own class. read more...

add a comment |category: |Views: 280

tags: another

5 Ways That Postsharp Can SOLIDify Your Code: Caching(www.sharpcrafters.com)

submitted by mgrovesmgroves(260) 1 year, 3 months ago

Sometimes there's just no way to speed up an operation. Maybe it's dependent on a service that's on some external web server, or maybe it's a very processor intensive operation, or maybe it's fast by itself, but a bunch of concurrent requests would suck up all your resources. There are lots of reasons to use caching. PostSharp itself doesn't provide a caching framework for you (again, PostSharp isn't reinventing the wheel, it's just making it easier to use), but it does provide you with a way to (surprise) reduce boilerplate code, stop repeating yourself, and separate concerns into their own classes. read more...

1 comment |category: |Views: 335

tags: another

StupidGrid for ASP.NET WebForms (0.1 alpha release)(mgroves.com)

submitted by mgrovesmgroves(260) 2 years, 3 months ago

I recently had need for a ASP.NET WebForms grid that would do something you’d think would be relatively simple. I looked and I looked, but I couldn’t find anything that quite fit right. Since I couldn’t find the perfect fit, I just created my own. Just feed it a user control, and you're done. read more...

add a comment |category: |Views: 10

tags: another

My first foray into Ruby on Rails(jonkruger.com)

submitted by mgrovesmgroves(260) 2 years, 7 months ago

I finally broke down, set aside some time, and learned Ruby on Rails. My previous experience had been the Ruby Koans, random discussions with people, and a couple quick demos. So basically I knew Ruby, but not Rails. read more...

add a comment |category: |Views: 8

tags: another

Anonymous Types – Dynamic Programming With C#(somewebguy.wordpress.com)

submitted by mgrovesmgroves(260) 2 years, 10 months ago

For fun, I took a little time to write another version of AnonymousType. This one is a lot more flexible than the one before, but you aren’t really using C# the way it was intended to be. Instead of using reflection you’re using a Dictionary, specifically with strings (for the property names) and objects (for the values). read more...

add a comment |category: |Views: 15

tags: another

Simplify Using Anonymous Types - Using Anonymous-typed MVC views(somewebguy.wordpress.com)

submitted by mgrovesmgroves(260) 2 years, 10 months ago

On a recent project I got a little tired of trying to manually do this each time. I ended up writing a wrapper class (included at the end of the post). The example below shows how you can use this class AnonymousType. read more...

add a comment |category: |Views: 17

tags: another

Alan Stevens - Coding In Public(vimeo.com)

submitted by mgrovesmgroves(260) 3 years, 1 month ago

Alan Stevens presenting his very thought provoking "Coding in Public" talk for the Central Ohio .NET Developer Group. Make sure not to miss out on Alan playing guitar and bantering with Brian Prince at the end for a good laugh. read more...

add a comment |category: |Views: 3

tags: another

FlexBox Demonstration(fairwaytech.com)

submitted by mgrovesmgroves(260) 3 years, 1 month ago

A flexible drop-down box, supporting Ajax and Google-suggest-like features for jQuery. read more...

add a comment |category: |Views: 132

tags: another

JavaScript Unit Testing Frameworks(webdevdotnet.blogspot.com)

submitted by mgrovesmgroves(260) 3 years, 1 month ago

Not only should you have unit tests for your User Interface & Middle Tier code, but you should also consider unit testing your JavaScript code. There are several different Unit Testing frameworks made for JavaScript that you have to choose from. read more...

add a comment |category: |Views: 10

tags: another

The Basics of Caching and Microsoft Velocity(davidgiard.com)

submitted by mgrovesmgroves(260) 3 years, 2 months ago

This screencast describes the basic concepts of caching and the upcoming Microsoft Distributed Cache, which is code named "Velocity" read more...

add a comment |category: |Views: 21

tags: another

How to Build a Super Duper News Scroller(net.tutsplus.com)

submitted by mgrovesmgroves(260) 3 years, 2 months ago

This week, we'll learn how to combine PHP, SimplePie, and jQuery to build a simple news scroller widget for your website. It's much easier than you might think; so let's begin. read more...

add a comment |category: |Views: 22

tags: another

Top 5 Sites To Learn Some CSS Programming(makeuseof.com)

submitted by mgrovesmgroves(260) 3 years, 2 months ago

Web design might not be the most accessible area to everyone, but CSS and HTML can be very useful, and these are two parts of coding which are really easy. Let’s take a look at where you can get the lowdown on CSS! read more...

add a comment |category: |Views: 13

tags: another

jQuery Disable On Submit Plugin(evanbot.com)

submitted by mgrovesmgroves(260) 3 years, 2 months ago

This small plugin disables form buttons when the user submits the form. This prevents novice users from double clicking the button and submitting the form twice. read more...

add a comment |category: |Views: 54

tags: another