VisualStudioFeeds

All Visual Studio blogs in one place

AddThis Social Bookmark Button
AutoMapper is one of the essential tools in my ASP.NET MVC toolbelt.  I use it on every MVC project I do.  It's saved me countless lines of code over the years.  And yet, there's always been one thing that bugged me about it: it violates the idea of "common closure."  I've built a better way to handle this, but as my friends have accused reminded me, I might have forgotten to share this approach publicly.  Until now. With AutoMapper, you typically place your mapping configuration in a completely separate profile class, which creates an artificial barrier between
two things that are likely to change together: your view model and its mapping definition.  I came up with an alternative many years ago, but as my "friends" have pointed out, I apparently haven't blogged it or talked about it openly before my Pluralsight course.  To try and make up for that serious misstep on my part, I've extracted the relevant part of my Pluralsight course and made it available for free on YouTube.  You can check it out here: ASP.NET MVC - Better Conventions for AutoMapper. Full disclosure: this is a small piece...(Read whole news on source site)

AddThis Social Bookmark Button
The SQL Server Data Tools (SSDT) provide access to many SQL Server features from within Visual Studio. One of those features, available from the SQL Server Object Explorer, is the visual Data Editor. While the Data Editor has always been great for inserting, updating, and viewing data, it did not support any sorting or filtering … until now! NOTE: For an introduction to SSDT and the SQL Server Object Explorer, see this post. For an introduction to the SSDT Data Editor, see this post. The March 2014 release of SSDT added support for
SQL Server 2014 databases. But it ALSO provided new features in VS 2012 and VS 2013 for sorting and filtering the data in the Data Editor! If you are using VS 2012, you can use the update option to get this update (SQL | Check for Updates). If you are using VS 2013, the update should appear in the Notification window when you click the notification flag: If not, you can look for it under Tools | Extensions and Updates. Once you have it installed, your Data Editor will have two additional buttons: The first button...(Read whole news on source site)

Search

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Home