dpeterson

Stories submitted by friends of dpeterson

IronJSMVC: Script ASP.NET MVC in JavaScript using IronJS(pietschsoft.com)

submitted by pwhe23pwhe23(972) 3 days, 10 hours ago

Personally, I enjoy writing much of my applications using a statically typed language such as C#. However, I would really prefer to be able to write UI logic and script certain parts of my applications using a dynamic language if I could. I was thinking about this and the following question came to mind: What would it be like to write an ASP.NET MVC application entirely using JavaScript? read more...

add a comment |category: |Views: 5

tags: another

C#/.NET Little Wonders: Select() and Where() with Indexes(www.blackrabbitcoder.net)

submitted by BlackRabbitCoderBlackRabbitCoder(661) 9 days, 12 hours ago

We’ve talked about the Select() and Where() LINQ extension methods before. The Select() method lets you project from the source type to a new type, and the Where() method lets you filter the list of items to the ones you are interested in. Most people know of these methods in their simplest form, where they simply take a projection and predicate respectively that operates on just an element. However, there are overloads for both of these methods that take a delegate that operates on both the element and the index of the element. read more...

1 comment |category: |Views: 283

tags: another

Faking num lock, caps lock and scroll lock leds(www.aboutmycode.com)

submitted by mcnamaragiomcnamaragio(283) 17 days ago

Some time ago I came across a post where the author wanted to turn on and off num lock, cap lock and scroll lock led light without actually toggling their state. This sounded challenging and impossible but after some googling I found a piece of code in C for achieving exactly what I was looking for. In this post I show how it works and how to port it to C# read more...

1 comment |category: |Views: 143

tags: another

Windows Dedicated Servers vs. Virtual Private Servers(www.epicwinhosting.com)

submitted by bsenoffbsenoff(1583) 17 days, 9 hours ago

Our friends of Epic Win Hosting spell out all of the differences you need to know about. read more...

add a comment |category: |Views: 208

tags: another

C#/.NET Little Wonders: The Enumerable.Repeat() Static Method(www.blackrabbitcoder.net)

submitted by BlackRabbitCoderBlackRabbitCoder(661) 23 days, 12 hours ago

The Enumerable.Repeat() method performs the simple task of creating a sequence by repeating an element a specific number of times. While this is, in of itself, a trivial need, it can also be used to drive more useful results such as repeating a generator delegate, or creating sequences out of single items. read more...

1 comment |category: |Views: 295

tags: another

How to create custom forms in Orchard CMS with Email and reCaptcha(devdirective.com)

submitted by RobertTheGreyRobertTheGrey(447) 26 days, 23 hours ago

Forms should be easy right? Well, forms have a habit of making life difficult for web developers. But now finally, we can see how Orchard CMS can help make this easy with its rich extensibility model. read more...

2 comments |category: |Views: 113

tags: another

C#/.NET Little Wonders: The Enumerable.Range() Static Method(www.blackrabbitcoder.net)

submitted by BlackRabbitCoderBlackRabbitCoder(661) 1 month ago

The Enumerable.Range() method performs a very simple function, but it’s results can be used to drive much more complex LINQ expressions. Feel free to use it for generating simple int sequences all the way to generating sequences of a repeated action. Either way, it’s a good tool to keep handy. read more...

1 comment |category: |Views: 10

tags: another

Building Expression Evaluator with Expression Trees in C# – Improving (www.aboutmycode.com)

submitted by mcnamaragiomcnamaragio(283) 1 month, 4 days ago

Our expression evaluator has support for variables but it has a big disadvantage: values of the variables are bound by position and not by name. This means that you should pass values for the variables in the same order as they appear in the expression. On the other hand binding by name has following advantages: If you change the expression you do not have to worry about keeping order of the variables you pass in sync. In this post we are going to change expression evaluator to bind parameters by name. We will also add a new overload for better performance when we need to evaluate same expression with different parameter values. read more...

add a comment |category: |Views: 122

tags: another

Lazy Programming for Smarties(blogs.dotnetkicks.com)

submitted by bsenoffbsenoff(1583) 1 month, 7 days ago

As a programmer, I can honestly say that I am lazy. Forget the menial job of repeating tasks… if it takes me an hour to complete an iteration, I would rather spend 3 hours automating the process. You never know when you might need to do it again, and the click of a button is much more satisfying than an hour of processing data. I know I’m not the only one who feels this way either, otherwise Andy Hunt and Dave Thomas wouldn’t have codified the DRY principle in The Pragmatic Programmer…. Don’t Repeat Yourself. read more...

1 comment |category: |Views: 296

tags: another

Free DotNetNuke Month(www.epicwinhosting.com)

submitted by bsenoffbsenoff(1583) 1 month, 9 days ago

Sign up today and get a free month with your DotNetNuke instance. read more...

add a comment |category: |Views: 37

tags: another

Top 5 Memory Management Gotchas(www.red-gate.com)

submitted by bsenoffbsenoff(1583) 1 month, 9 days ago

Unmanaged memory is often leaked when you forget to write code to deallocate it; however this can also happen because references are retained to the managed object which is responsible for deallocating it. read more...

add a comment |category: |Views: 214

tags: another

Semantic Versioning 2.0.0-rc.1(semver.org)

submitted by pwhe23pwhe23(972) 1 month, 15 days ago

I propose a simple set of rules and requirements that dictate how version numbers are assigned and incremented. read more...

1 comment |category: |Views: 135

tags: another

Free VPS for a Month from Epic Win Hosting(www.epicwinhosting.com)

submitted by bsenoffbsenoff(1583) 1 month, 23 days ago

Try out Epic Win Hosting for free and see how terrific our service is with DNN, Orchard and other images. EWH is easy to use and powerful! read more...

add a comment |category: |Views: 91

tags: another

Happy Hour starts now: Building apps with the Cocktail platform(drc.ideablade.com)

submitted by bsenoffbsenoff(1583) 1 month, 24 days ago

Belly up to the Happy Hour bar, a Silverlight application (v.4 or v.5) that you'll build from scratch. MVVM, convention over configuration, view composition, screen navigation, data repositories … they are all introduced here in short, easy-to-follow lessons that build progressively from a blank solution to a plausible application. This series gets you started with Cocktail, guiding you towards proven architecture and practices that will sustain your application over time. We show you how … and we explain why. read more...

add a comment |category: |Views: 118

tags: another

DevForce LINQPad driver(www.ideablade.com)

submitted by bsenoffbsenoff(1583) 1 month, 24 days ago

LINQPad makes it easy to test and refine your LINQ queries without having to compile and run the query inside the context of a full application. DevForce makes it easy to use client-side LINQ queries in an n-tier RIA application like Silverlight, WPF, and soon Metro. read more...

add a comment |category: |Views: 0

tags: another

Using Reactive Extensions for Streaming Data from Database(www.aboutmycode.com)

submitted by mcnamaragiomcnamaragio(283) 1 month, 24 days ago

You have probably heard about Reactive Extensions, a library from Microsoft that greatly simplifies working with asynchronous data streams and allows to query them with Linq operators. There are many different scenarios where using rx results in a much more simple and flexible code. This post demonstrates how to use reactive extensions for loading data from database asynchronously in chunks. read more...

add a comment |category: |Views: 168

tags: another