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

Detecting Default Values of Value Types

AddThis Social Bookmark Button
Func func = (obj) => obj.Equals(default(Int32)); Func func = (obj) => obj.Equals(default(Int32)); Introduction I don’t know if this happened to you: the need to find out if some instance of a class is the class’ default value. For reference types – which include nullables -, it is always null, and for value types, … Continue reading Detecting Default Values of Value Types

What’s new on the Office Roadmap - 2016-02-14

AddThis Social Bookmark Button
Updates! Updates! Updates! Yup, that would happen if Stevie B was still in the house rocking the Office Roadmap. Another round of updates, this time it looks like a fixup of the mess that happended last time. So some things are reported as NEW in here, but they aren’t really new, they just disappeared for a week or two… Changes 2016-02-13 Launched Apps for Project Pro for Office 365 write support: If you’re building Apps, sorry Add-ins, you can now do write back for Project Apps/Add-ins (from Rolling out) Auto Generated Project IDs in Project Online:
more control of the ID’s generated in Project (from Rolling out) Cloud PBX in Skype for Business: Enterprise voice is now live (from In Development) Data Loss Prevention (DLP) in SharePoint Online: DLP features in SPO is now Launched, from Rolling out Designer: The new Designer feature in PowerPoint should be in your desktop application by now (from rolling out) DLP in SharePoint - Policy Management: It says private preview only and public in september 2015, we’re already way beyond that, so I guess nobody bothered update the text. Anyways - this is a great feature that allows you...(Read whole news on source site)

#VisualStudio 2015 Tips - How to switch between fullscreen IDE mode?

AddThis Social Bookmark Button
It happens many time (during coding or code review process), when we need a bigger space in our favorite Visual Studio IDE to check/read the code completely. Closing all the other docked windows/panel, toolbars and then adding them one by one is really very difficult and time consuming.   Visual Studio 2015 provides us an easy way to switch between a full screen and normal mode. This way, you don’t have to do extra work to create a bigger space. Continue reading to learn more on this topic.  
  If you like to switch between “Full Screen” mode in Visual Studio 2015, go to “View” menu and click on the “Full Screen” menu item. This will place your code in a clean dockless view. If you want to switch to the normal mode, either do the same steps or click on the “Full Screen” button placed in the view.   Alternatively, you can press the keyboard shortcut “Shift + Alt + Enter” to switch between the two different view. Here’s the menu entry where you can find the “Full Screen” mode:   ...(Read whole news on source site)

Compare Speed of For vs Foreach

AddThis Social Bookmark Button
A bit more than 6 years ago, I posted Fun With DataSets, in which I wrote about the Proposed and Current versions of a DataRow. A code snippet in the post was iterating through each DataSet’s collection of DataTables and each DataTable’s collection of DataRows. I was using for loops. Years later, I have 30 comments on that post, but in the most recent thread of comments, we debated the merits of using for loops or foreach loops … which methodology is faster?I had been under the impression, since way back in 2002 and the .NET 1.1 days,
that the for was faster. It may have been true for 1.1 and I, unfortunately, held on to that belief all these years!! But my recent tests prove that wrong for all subsequent versions of .NET … foreach is much faster, roughly 7 to 8 times faster! I was curious if it was always so, and I changed the TargetFramework in my test application to be able to test all the way back to the 2.0 Framework (couldn’t get back as far as 1.1). And yes, it was the same with the 2.0 Framework … foreach wins each time!Here is...(Read whole news on source site)

Interview Question of the Week #058 – What is the Difference Among DECIMAL, FLOAT and NUMERIC?

AddThis Social Bookmark Button
Question: What is the Difference Among DECIMAL, FLOAT and NUMERIC? Answer:  The basic difference between Decimal and Numeric : They are the exact same. Same thing, different name. The basic difference between Decimal/Numeric and Float : Float is Approximate-number data type, which means that not all values in the data type range can be represented exactly. […]

Using a style replacing behavior for making UWP adaptive layouts – REVISED

AddThis Social Bookmark Button
Preface to revision This post was updated significantly on February 13, 2016 as I realized I had once again not adhered to the advice my late math teacher Mr. Rang gave my class somewhere in the 80’s – “do not try to be clever”. My previous attempt at doing this had a clever mechanism in it to find and replace styles based upon the style name, which you had to supply as a string. This limited the use to local resources, and also gave some stability issues. It took me some two weeks to realize I don’t need code
for looking up styles by name - XAML has a perfectly built-in mechanism for that. It’s been there for ages. It’s called StaticResource. Yeah. Indeed. See right. Anyway, I have adapted my behavior, sample code, and now this post.  Intro As I was in the process of porting my app Map Mania to the Universal Windows Platform, I of course extensively used Adaptive Triggers. Now that works pretty darn well, unless you have a whole lot of elements that need to be changed. The credits page of my app looks like this

A Windows 10, UWP ListView Control with Swiped Actions?

AddThis Social Bookmark Button
I came across a forum question which was asking whether someone could provide the starting point for a ListView control which acted in a similar way to the built-in mail app on Windows 10 such that you can use a swipe-left/swipe-right gesture to flag/delete mail on Windows 10. I wanted to answer the question and … Continue reading A Windows 10, UWP ListView Control with Swiped Actions? →

SQL SERVER – FIX: Error: 18456, Severity: 14, State: 58. Login failed for user

AddThis Social Bookmark Button
One of the most common and searched SQL Server failure is around “Logins”. Login failed for user has always been tricky and interesting to troubleshoot. I don’t think there is a silver bullet to easily troubleshoot the same. With every version of SQL Server, there are enhancements made in error reporting, which try to make […]

Atlanta Stop of the Hello World Road Trip

AddThis Social Bookmark Button
Had a great time kicking off the road trip in Atlanta. If you missed it, you’ll be able to hear Jim Wooley’s story soon on the Hello World Podcast! In case you don’t know, at each stop of the http://hwroadtrip.com I’m doing a live recorded podcast as well as an hour talk about ASP.NET Core 1.0. We’re feeding everyone and giving away some great prizes by our sponsors including Pluralsight and Infragistics! If you want to get the code from the ASP.NET Core 1.0 demo, I’m uploading each city to a common Github repo:
https://github.com/shawnwildermuth/HWRoadTripDemos Hope to see you at an upcomign stop. Feel free to stop by the site and register today! http://hwroadtrip.com
Home