Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



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

Follow us on FB


#1,156 – Changing Circular Progress Control to Be Only an Arc

AddThis Social Bookmark Button
An earlier post presented a circular progress control that displayed a pie-shaped filled area indicating progress. We can change the control to draw just the outer part of the circle (an arc) as a progress indicator.  We make the following changes: Do not draw line to origin at end of shape Set isClosed parameter in BeginFigure […]

NHibernate Pitfalls: Deletes

AddThis Social Bookmark Button
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.While I was writing Deleting Entities in NHibernate, I noticed that actually it referred some pitfalls concerning deleting, so I decided to add them to the proper collection.There are several ways to delete entities in NHibernate, as you can see in the referenced post. The problems with each approach are:
Using Executable HQL: no cascade to related associations occurs, no events are raised;
Using Delete with an entity proxy: forces loading of all cascaded lazy associations before deleting; requires
a Flush to apply changes (if it needs to be explicit or not depends on you flush settings);
Using Delete with a query string: no cascade occurs, no events are raised, no notification about the number of affected records and also requires a flush.
...(Read whole news on source site)

SP2013 Workflows and WSPublishState does not exist

AddThis Social Bookmark Button
Column 'WSPublishState' does not exist. It may have been deleted by another user. This is a quick blog of something that troubled me for nearly an afternoon. Scenario SP2013 workflow Packaged as Sandbox Solution with list definitions in Visual Studio   The errors happen during Feature activation.  Both from within Visual Studio's Deploy as well as via Site Settings - Activate Feature.  The feature activation fails because WSPublishState column doesn't exist.   Resolution   I fixed this by splitting the list definition and workflow
definitions into different features.  This leads me to ponder if there is a conflict caused by the list, workflow and workflow association being created all within the same feature....(Read whole news on source site)

What is new in RavenDB 3.0: RavenFS

AddThis Social Bookmark Button
A frequent request from RavenDB users was the ability to store binary data. Be that actual documents (PDF, Word), images (user’s photo, accident images, medical scans) or very large items (videos, high resolution aerial photos). RavenDB can do that, sort of, with attachments. But attachments were never a first class feature in RavenDB. With RavenFS, files now have first class support. Here is a small screen shot, I’ve a detailed description of how it works below. The Raven File System exposes a set of files, which are binary data with a specific key. However, unlike a simple key/value store, RavenFS does much
more than just store the binary values. It was designed upfront to handle very large files (multiple GBs) efficiently at API and storage layers level. To the point where it can find common data patterns in distinct files (or even in the same file) and just point to it, instead of storing duplicate information. RavenFS is a replicated and highly available system, updating a file will only send the changes made to the file between the two nodes, not the full file. This lets you update very large files, and only replicate the changes. This works even if you upload the...(Read whole news on source site)

The Morning Brew #1692

AddThis Social Bookmark Button
Software Announcing Microsoft.AspNet.Facebook 1.1 beta – Kirthi – .NET Web Development and Tools Blog Updated Service Bus 1.1 for Windows Server 1.0.4 Client Assembly – Dan Rosanova WebApiContrib/CollectionJson.Net – Mike Amundsen / Glen Block Information A Journey With Trusted HTML in AngularJS – K.Scott Allen Revisiting AngularJS with TypeScript – Jeremy Likness Overview of C# […]

APress Deal of the Day 11/September/2014 - Windows 8 Apps Revealed Using XAML and C#

AddThis Social Bookmark Button
Originally posted on:’s $10 Deal of the Day from APress at is Windows 8 Apps Revealed Using XAML and C#. The author, Adam Freeman is an excellent author! APress have introduced a new feature called Access whereby the book of the day can be viewed within your web browser. “The key features of developing for Microsoft’s eagerly anticipated Windows 8 operating system are unveiled in this fast-paced 88-page primer.”

NHibernate Pitfalls: Get and Filters

AddThis Social Bookmark Button
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here. This was suggested a long time ago by Kelly Brownsberger (@kbrowns). What happens is, even if you have filters defined, they are not applied on a call to ISession.Get(). This is by design: you are explicitly asking for an entity with some id, so NHibernate just returns you that. On the other hand, static where restrictions defined at the entity level still apply.

NHibernate Pitfalls: Criteria and Collections of Non-Entities

AddThis Social Bookmark Button
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.Criteria API – and QueryOver, for that matter, which is just a strongly-typed wrapper around Criteria – cannot work with collections of non-entities: elements, components or dictionaries. If you need to work with those, you need to use one of the other APIs – LINQ, HQL or SQL.

Two free video courses: Intro to ASP.NET MVC and Responsive UI with Bootstrap

AddThis Social Bookmark Button
I'm really excited to announce that two of my latest courses on Microsoft Virtual Academy are now live! Both are recordings of live courses Christopher Harrison and I lead in the beautiful Channel 9 studios, and include downloads of all slides, code and live chat logs. These are live events with two instructors and an active chat, and we pushed the demo code to GitHub throughout the event so attendees could get their hands on it immediately. One really nice benefit of this format (compared to most other video training) is that we were able to watch for common questions and
answer them live. It's also hugely motivating to hear from viewers around the world, many who are staying up late at night. Nothing starts the morning off like "Hello from Bangladesh! Hi from Brazil!" Hellos from Holland, Poland, Bulgaria... even New Jersey! Quick links for the impatient: Introduction to ASP.NET MVC Building Responsive UI with Bootstrap Note: These courses are on Microsoft Virtual Academy, which requires you to log in with a (free) Microsoft Account. No cost or obligations, and the account bookmarks where you're at across multiple courses which is pretty helpful. Introduction to ASP.NET MVC Christopher...(Read whole news on source site)