Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

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

Follow us on FB

Search

The Beauty (And The Beast) Of Code Generators

AddThis Social Bookmark Button
Lately, I’ve spent a lot of time using Yeoman for generating AngularJS and MEAN applications. I’ve had a love/hate relationship with code generators for a long time, but have never really been able to articulate exactly why, so I thought I’d take a minute to write it out. The Benefits The benefits are easy to explain. They ...

Entity Framework Pitfalls: Mapping Discriminator Columns

AddThis Social Bookmark Button
When you use a discriminator column, that is, a column that holds a value that tells Entity Framework what type the row refers to, or what restriction it shall use when querying the entity, you cannot map this column as a property in your entity.For example, imagine you want to use “soft deletes”, that is, use a database column to represent the “deleted” state of a record instead of actually physically deleting it from the table; you might have an IS_DELETED column of some integer type, that would hold either a 1 or a 0, depending on whether
the record is deleted (1) or not (0). In that case, you would build a mapping like this in OnModelCreating:

Keeping popups above the bottom app bar in Windows 8.1 store apps

AddThis Social Bookmark Button
Recently, I wrote about the KeepFromBottomBehavior that helped me to deal with popups that appeared on the bottom of the screen, but were covered by the app bar when using the full screen by applying ApplicationViewBoundsMode.UseCoreWindow. When I started porting parts of Travalyzer to Windows 8.1 as a companion app, I kind of ran into the same problem: popup appearing ‘under’ the bottom app bar. (This time I replaced the map by a simple blue area, to prevent you from needing to install the Bing Maps SDK to run the sample). So
I kind-of ported my KeepFromBottomBehavior to Windows 8.1, and got the following result. Which is exactly what I wanted. If the App bar is open, the popup up appears above the App bar, if it is closed, it appears on the very bottom of the screen: The code is actually a lot simpler than the KeepFromBottomBehavior for Windows Phone 8.1, using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace WpWinNl.Behaviors { public class KeepFromBottomBehavior : SafeBehavior { private double originalBottomMargin; private AppBar bottomAppBar; protected override void OnSetup() { ...(Read whole news on source site)

Hiring for VS Online and Team Foundation Server

AddThis Social Bookmark Button
Microsoft has an extensive recruiting effort.  But we recently decided to try something new to try to find more people who might want to help build VS Online and Team Foundation Server.  We added a Jobs page to visualstudio.com.  It has a little info on what we do and links to job postings on the Microsoft careers site and some information about who we are.  We've got quite a few positions open right now and are hoping to fill them as quickly as we can. This is a bit of an experiment.  If it works well, we will probably expand it
to include other parts of Visual Studio. Brian  
...(Read whole news on source site)

C# Program to swap two numbers without using temporary variable

AddThis Social Bookmark Button
Introduction This program in C# developed using .NET Framework and Visual Studio  will demonstrate how to swap numbers without using temporary variable. C# Program to swap two numbers without using temporary variable using System; namespace GinktageConsoleApp { internal class Program { private static void Main(string[] args) { int Input1, Input2; Console.Write("Input the First Number "); [...]...(Read whole news on source site)

Download #Windows 10 (build: 9926) - January 2015 Release

AddThis Social Bookmark Button
Microsoft released Windows 10 Technical Preview release build: 9926 for the people registered under Windows Insider Program. This January 2015 release adds new features including Cortana support, enhanced UI and a set of other stuffs. Find the steps mentioned below to download the Windows 10 (build: 9926) to try the new features coming in Windows 10. Also, ISO links are available for offline installation.   If you are already part of the Windows Insider Program and already installed Windows 10 Technical Preview, you can download the January release build #9926 by following the below steps:Press “Win + C” to bring
the charm bar Click “Settings” and then “Change PC Settings” Click on “Update and recovery” menu item and then “Preview builds” If it shows “Download new preview build” at the right panel, click “Download now” button to start the download process. Once it downloads the latest build, it will start the installation process automatically keeping your apps and settings intact. Alternatively, you can download the offline version of the build and do the manual process to install the Windows 10 build : 9926 in your system. Remember that, it’s currently comes under Technical Preview and hence there could be lots of development bugs still...(Read whole news on source site)

Home