kevinbabcock

Stories kicked by kevinbabcock

Microsoft and jQuery(www.west-wind.com)

submitted by jch0001jch0001(145) 1 year, 6 months ago

Microsoft & jQuery read more...

add a comment |category: |Views: 468

tags: another

Superior unit testing in Visual Studio with Telerik JustMock(www.telerik.com)

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

Fast and controlled unit tests independent of external resources; mocking of non-virtual methods, sealed classes and static methods & classes; Arrange, Act, Assert pattern. Try now read more...

add a comment |category: |Views: 205

tags: another

Make cross-domain Ajax requests with jQuery(www.myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 2 months ago

Learn how to circumvent the browser's same-origin policy and make cross-domain requests from the browser using jQuery's JSONP implementation. read more...

add a comment |category: |Views: 61

tags: another

Conditional Client-side Row Selection with the RadGrid for ASP.NET AJA(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 4 months ago

This post demonstrates how to add conditional client-side selecting to rows in a Telerik RadGrid. read more...

add a comment |category: |Views: 96

tags: another

ORM Comes to SQL Azure(blogs.msdn.com)

submitted by wzackwzack(1968) 2 years, 6 months ago

More ORMs that work with SQL Azure may come out in the future, but to my knowledge this is the first one. read more...

2 comments |category: |Views: 199

tags: another

12 ASP.NET MVC Best Practices(codeclimber.net.nz)

submitted by keyvankeyvan(4086) 2 years, 6 months ago

In this post Simone Chiaretta outlines a list of 12 best practices to use with ASP.NET MVC. read more...

add a comment |category: |Views: 848

tags: another

A generic way to find ASP.NET ClientIDs with jQuery(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 7 months ago

ASP.NET ClientIDs and NamingContainer naming are a nuisance when working with jQuery as these long IDs complicate finding elements on the page. In this post I show a very simple way to retrieve munged ClientIDs by just their ID names with a small helper function that still returns the jQuery wrapped set. read more...

add a comment |category: |Views: 333

tags: another

LINQ to SQL, Lazy Loading and Prefetching(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 7 months ago

Lazy loading in an ORM can be really useful or a royal pain if you walk through a lot of data. LINQ to SQL uses lazy loading of related entities and entity sets but there are a couple of ways that allow you to do eager loading instead. Both require some extra effort and foresight. read more...

add a comment |category: |Views: 293

tags: another

200 Page Manual on Inversion of Control (plus or minus 199)(blog.wekeroad.com)

submitted by AndreiR23AndreiR23(75) 2 years, 7 months ago

Very nice and simple explanation of DI / IoC with an example in ASP.NET MVC. read more...

add a comment |category: |Views: 18

tags: another

Principles, Patterns, and Practices of Mediocre Programming(stevesmithblog.com)

submitted by ssmithssmith(1160) 2 years, 7 months ago

A list of anti-patterns, principles, and practices of software development. read more...

add a comment |category: |Views: 38

tags: another

Design Patterns – Using the State Pattern in C#(dotnetcube.com)

submitted by dncdudedncdude(1350) 2 years, 7 months ago

The State Pattern is a behavioral pattern that can be used to alter the behavior of an object at run time. As the state of an object changes, the functionality of the object can change drastically. This change of behavior is hidden from the Client and the Client interfaces with a wrapper object known as the Context. The State Pattern is a dynamic version of the Strategy Pattern. read more...

add a comment |category: |Views: 397

tags: another

Integrating OpenID in an ASP.NET MVC Application using DotNetOpenAuth(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 8 months ago

OpenId is getting more popular and with it requests to integrate it into Web sites as a user authentication mechanism. In this post I'll discuss the OpenId integration on CodePaste.net in an ASP.NET MVC application discussing both high level OpenId concepts, the process and the code implementation. read more...

1 comment |category: |Views: 301

tags: another

jQuery UI Datepicker and z-Index(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 8 months ago

The jQuery UI datepicker is a nice and easy to use datepicker control but if you're using it with other components that use absolute positioning you might run into issues with z-Index precendence. Here's a discussion of the problem and a couple of easy solutions around it. read more...

add a comment |category: |Views: 271

tags: another

Implementing a jQuery-Calendar ASP.NET Control(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 8 months ago

Updated the jQueryDatePicker control from an old version of Mark Grabansiki's jQuery calendar to the latest version of jQuery.ui. This is an easy to use wrapper around the control to make it easy to drop the control onto a page with minimal configuration fuss and provide POST back functionality on the inline behavior. read more...

add a comment |category: |Views: 316

tags: another

ADO.NET DataTable Serialization and Web Services(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 8 months ago

f you’re working with traditional ADO.NET data types – like the DataTable – in your data access code and wanting to wire up a web service to serve up data, you’ve likely run into some issues. You’re either getting errors due to failed serialization or trying to deal with complex deserialization issues on the other end. A robust solution would be to create entity types to wrap your data into easily digestible (and serializable) objects. You can roll your own or use an Object/Relational Mapper such as Entity Framework or Telerik’s OpenAccess ORM. Another option would be to use a custom converter. But if you’re after a quick solution, you might just consider converting your ADO.NET objects into other CLR objects that the built-in JavaScriptSerializer knows how to convert, and that are easier to work with in the context of web services. read more...

add a comment |category: |Views: 48

tags: another

Calculate the Seconds, Milliseconds and Microseconds using C# VB.NET(devcurry.com)

submitted by samsertsamsert(2159) 2 years, 8 months ago

Useful post to Calculate the Seconds, Milliseconds and Microseconds between two DateTime read more...

add a comment |category: |Views: 490

tags: another