Most Read

Facebook Twitter
Programming Interview Questions and Answers: Entity Framework transaction scope examples Transactions as a core building block of entity framework. The DbContext object which we heavily use for interacting with the database uses transactions internally without you having to do anything extra. In case you need to manually provide transaction support, here is how you can do it. In this post, I cover three cases in which transaction scope is being used to show rollback when an error occurs during an update of multiple entities:when you have multiple save calls to the context;when you have single save with multiple object; and transactions across multiple contexts. Let’s first review our simple model and context object. To re-create this project, use Visual Studio 2010 console project with Entity Framework 5.0 RC bits from nuget. Programming Interview Questions and Answers: Entity Framework transaction scope examples
Knowledgebase - activePDF Technical Support
Canvas Fireworks
Creative CSS3 Animation Menus
Sample App with Backbone.js and Twitter Bootstrap Sample App with Backbone.js and Twitter Bootstrap Backbone.js is a lightweight JavaScript framework that provides the basic infrastructure (Model, Collection, View, and Router classes) to bring structure to your Web applications. Twitter Bootstrap is a UI toolkit that provides simple and flexible HTML, CSS, and Javascript to implement popular user interface components and interactions. In other words, Backbone.js and Twitter Bootstrap focus on different areas of your application: core architecture and user interface respectively.
Performance and the Entity Framework Introduction If you are using the Entity Framework (EF), then you need to understand the best practices for improving its performance, or you will suffer the consequences! Background Performance and the Entity Framework
jQuery's replaceWith and using it to create a new insertion mode for Ajax update targets - Building Web Applications This replaces the contents of the element, i.e. the DIV element itself is not replaced. Sometimes it is useful or even necessary to replace a complete element, not only its children. For that we have jQuery's replaceWith method: jQuery's replaceWith and using it to create a new insertion mode for Ajax update targets - Building Web Applications
I’ve been creating some cool stuff using ASP.Net MVC 3 lately and came across a situation where I’d like to have quite a complex model/object bound to an Action on my Controller based on a set of posted values from a form. In order to do this, a custom ModelBinder is necessary to collect the data from the posted values, turn it into my custom object, and bind that object to my Action’s parameter. The easy part is to write code to turn the posted values into my custom object and return it, the tricky part is trying to get the in-built back-end MVC validation working for my model… which is currently using DataAnnotations. I really didn’t feel like writing my own logic to validate my model against DataAnnotations and also didn’t want to write the logic to take into account that DataAnnotations might not be the current developers validation provider of choice. So after much digging through the source of MVC and using Reflector, I finally found the solution. Custom MVC ModelBinder with Complex Models/Objects/Interfaces using built in MVC Validation Custom MVC ModelBinder with Complex Models/Objects/Interfaces using built in MVC Validation

Powerful New CSS- and JavaScript-Techniques (2012 Edition)

Powerful New CSS- and JavaScript-Techniques (2012 Edition) Advertisement Since our last round-up of useful CSS techniques, we’ve seen a lot of truly remarkable CSS geekery out there. With CSS3, some of the older techniques now have become obsolete, others have established themselves as standards, and many techniques are still in the “crazy experimentation” stage. Since the release of the previous post, we’ve been collecting, sorting, filtering and preparing a compact overview of powerful new CSS techniques.
Coding Horror Coding Horror I'm getting pretty sick of being nagged to install your damn apps. XKCD helpfully translates: Yeah, there are smart app banners, which are marginally less annoying, but it's amazing how quickly we went from "Cool!
In software development we face many constraints, and we usually think of constraints as bad things that make our jobs miserable. If we had no constraints, we’d build beautiful software with impeccable error handling because there would be no errors. In one of my first jobs I wrote firmware for lab devices. Each device had a 32kb ROM for program storage, and those 32kb of memory constrained the type of software I could create, and the tools I could use. K. Scott Allen K. Scott Allen
Article Archive
Interview With Khajag Apelian“Type Design Is Not Only About Drawing Letters” Having started his career studying under some of the best typographic minds in the world, Khajag Apelian not only is a talented type and graphic designer, unsurprisingly, but also counts Disney as a client, as well as a number of local and not-for-profit organizations throughout the Middle East. Even more impressive is Khajag’s willingness to take on work that most people would find too challenging. Designing a quality typeface is a daunting task when it’s only in the Latin alphabet. Khajag goes deeper still, having designed a Latin-Armenian dual-script typeface in four weights, named "Arek", as well as an Arabic adaptation of Typotheque’s Fedra Display.

Smashing Magazine

Smashing Magazine
New addtions to the 1,000+ jQuery Plugins Directory
Note Scott Hanselman (me): I had been meaning to write up my productivity tips for years. Isn't that ironic? However, after giving a presentation at SXSW on Productivity this year, Danny Schreiber from Zapier took it upon himself to do just that. I had no idea that Danny did this until I saw he shared his very excellent write up on the Zapier Blog. It is also reproduced here with Danny's permission. So this is my talk, filtered through Danny's brain, out his fingers, and now back on my blog. Scott Hanselman

Scott Hanselman