Quantcast
Channel: TechNet Technology News
Viewing all 13502 articles
Browse latest View live

Turn up the joy and save big with the Microsoft Store Holiday Super Sale

$
0
0

Exclusive offers on must-have holiday gifts including Surface Book, PCs, Xbox games and more!

Still looking for last-minute holiday gifts? Microsoft Store has the perfect gift for the tech person in your life with its Holiday Super Sale starting December 17 through December 24. Save on your holiday shopping with the technology you want, all in one place and at great prices. Whether you’re looking for a deal on Surface or Xbox games, find your perfect Holiday gift by visiting your local Microsoft Store or microsoftstore.com.

Turn up the joy and save big with the Microsoft Store Holiday Super Sale

Holiday Super Sale U.S. offers at microsoftstore.com and in store include:

Turn up the joy and save big with the Microsoft Store Holiday Super Sale

  • Save up to $400 on select Surface Book devices
  • Save up to $429 on select Surface Pro 4 devices with Type Cover
  • Save up to $1,100 on select PCs
  • Save up to 50% on select Xbox games and accessories
  • Save up to $20 on a variety of FitBit products
  • Save up to $300 on a variety of Parrot products
  • Get a $100 Microsoft Store gift card/gift code with purchase of an HTC Vive VR device
  • Get a $100 Microsoft Store gift card/gift code with purchase of an Oculus Rift VR device
  • Purchase either a Ventev wall or car charger plus the screen protector and choose any Lumia case for $59.99 (no device purchase required)
  • Save up to 33% on a variety of Adobe Elements
  • Save $20 on JBL Flip 3 (now $79.95 and 119.99 depending on model type)

Turn up the joy and save big with the Microsoft Store Holiday Super Sale

Additional exclusive in-store offers include:

But don’t delay, because the holidays are right around the corner and the sale prices are only available for a limited time. In fact, expert associates in Microsoft Stores across the country can help you get to know a new device or be your personal shopper to cross those gifts off your list. Customers who take advantage of the deals if they shop online at microsoftstore.com will get free shipping and free returns on every item, every day. And all orders must be placed by December 20 at 9:59 a.m. (PST) to be delivered by the end of the day on December 24.

Microsoftstore.com deals begin December 17 through December 24. All deals are available while supplies last. In-store offers are available starting at the time the store opens until close, for local store hours visit microsoftstore.com/locations. To learn more about our upcoming deals, head over to microsoftstore.com.

Happy shopping!

The post Turn up the joy and save big with the Microsoft Store Holiday Super Sale appeared first on Windows Experience Blog.


Windows 10 Tip: How to edit holiday photos with the Microsoft Photos app

$
0
0

We’ve showed you how to draw on your memories with the Photos app update– today, we’re going to show you all the ways you can use the app to edit your holiday photos!

Editing your images has never been easier

Windows 10 Tip: How to edit holiday photos with the Photos app

In the first version of the new Edit experience, we introduced a new simple way of enhancing and adjusting your pictures with new filters and smart sliders. Just launch Edit from the full screen viewer to get started. With the new editor, you can also easily crop, rotate and enhance your images. If you want to add a filter as well, go ahead and select one from the new set of beautiful-looking filters. We also added the possibility for you to further adjust the enhance and filter strengths. For more adjustments, try out the smart Light, Color and Warmth sliders that will guarantee great result.

To give you even better control, we are adding several more sliders in the Adjust tab. Just click on Light and Color to expand and you will get more sliders for that granular control of contrast, exposure, shadows, highlight and tint to make your pictures shine the exact way you want them to. Soon to come in a Photos app update.

Add a personal touch to your memories with animated ink

Windows 10 Tip: How to edit holiday photos with the Photos app

Did you know that you can ink on both photos and videos using pen, mouse and touch? The ink will animate back to you in the way you drew it. It even works to ink on videos during playback.

Inking is a perfect way to express yourself or to highlight special parts of your photos and videos, maybe during a live presentation or by simply sharing your ink creations with your family and friends.

To start inking, use your pen directly in the full screen viewer or tap the Draw icon. Then let your creativity flow. The ink creations will animate by themselves!

Share your holiday memories with friends and family

Windows 10 Tip: How to edit holiday photos with the Photos app

Now that you’ve enhanced your photos with the new Edit experience and gotten creative with inking, share your masterpieces with friends and family right from the Photos app.  You can Copy your files to paste elsewhere, or click Share and select an app.

Have a great week!

The post Windows 10 Tip: How to edit holiday photos with the Microsoft Photos app appeared first on Windows Experience Blog.

Get ready for the holidays with new collections in the Windows Store

$
0
0

We’re excited to share that the Windows Store team has put together awesome collections of apps, movies, TV shows, games and more to help get you in the holiday spirit! 

Get ready for the holidays with new collections in the Windows Store

MOVIES & TV

All your favorite holiday hits are in the Movies & TV section of the Windows Store. From feel-good family favorites to non-traditional classics, our Holiday Movies & TV Guide is your go-to source for seasonal entertainment. Here’s a few of our favorites:

Holiday Family Films
Find plenty of yuletide cheer with perennial favorites like Elf, A Christmas Story, National Lampoon’s Christmas Vacation and Miracle on 34th Street.

Holiday Animated Favorites
Celebrate with merry animated movies like The Polar Express and spirited characters like Rudolph, Frosty, Mickey Mouse and more.

Non-traditional Holiday Movies
For a different take on the season, try Bad Santa, Edward Scissorhands or Krampus: The Christmas Devil.

New Release Holiday Movies
Start a new holiday tradition with romantic and comedic movies such as The Night Before, Holiday Breakup, and A Christmoose Story!

Get ready for the holidays with new collections in the Windows Store

MUSIC

Grab a mug of hot cocoa, get cozy, and play holiday-themed music to get in the spirit. Or let these holiday classics and new arrivals serve as the beat behind your holiday get-togethers. Either way, Microsoft Groove has holiday music for any occasion:

Holiday Classics
Celebrate the season with enduring favorites featuring Nat King Cole, Frank Sinatra, Harry Connick, Jr., and of course, the soundtrack from A Charlie Brown Christmas.

New Holiday Music
Discover the latest festive albums, with music from Neil Diamond, Kylie Minogue and Luciano Pavarotti, among others.

Get ready for the holidays with new collections in the Windows Store

APPS

Whether you’re looking to be entertained or doing the entertaining this holiday season, the Windows Store has you covered with great Apps for the Holidays:

Sling TV*
Your ultimate destination for sports, shows, news, movies, and more, both live and on demand (subscription required, free trial available). Don’t miss a full lineup of holiday entertainment from your favorite TV and movie channels, including Disney Channel’s “Dis the Season” holiday celebration! Get the Best of Live TV today — for a limited time, you can watch for 14 Days FREE! (restrictions apply).

iHeartRadio
Your favorite music and radio comes together in this free app. And now, you can fa-la-la-la-la with non-stop holiday favorites spanning music genres, with channels like iHeartChristmas-Classics -Country, -R&B, -Rock, North Pole Radio, and more.

Audiobooks from Audible
Whether traveling or stealing away quiet moments this holiday, turn anytime into story-time with Audiobooks from Audible. Catch up on 2016 Best Sellers, New Releases, or holiday gems like A Christmas Carol: A Signature Performance by Tim Curry, How the Grinch Stole Christmas, and more.

Yummly
Food is a big part of the holidays, and this handy app provides recipe recommendations based on your personal tastes. Its powerful recipe search engine accesses thousands of the world’s top recipe sites and blogs, taking food allergies into account and helping create personalized menus.

Get ready for the holidays with new collections in the Windows Store

GAMES

The Windows Store is a great source for Holiday Games, too. Check out the super-funny to super-scary in these favorite games, each featuring special content and offers for the holidays:

Treat yourself to rewards
Until Dec. 30, earn 200 Microsoft Rewards points for every dollar you spend on on select past, present and future games.

Minecraft: Windows 10 Edition Beta
The block-by-block building of this globally popular game gets its own, Festive Mash-up Pack ($3.99) with a new world, new textures – including snow – and 21 new, holiday-themed skins including Dasher, Xmas Sweaters, Blue Santa, and more.

Candy Crush Soda Saga
Winter sales makes the holiday fun here as sweet as it gets, with themed, in-game events throughout December, from a Wild Treasure Hunt and Chained Cake Climb to the Candy Collection, Mystery Starter Pack and Delicious Duel.

Hidden City: Mystery of Shadows
Uncover the real story behind mirages of an unknown city that have been seen around the world, now with 108 new quests, 18 collections, two new scenes and two graphically beautiful events, Christmas and Theatre.

Don’t miss the action, the stories, the music and festive fun in our holiday collections – check out favorites old and new in the Windows Store today!

*Available to new customers upon account activation.  Offer ends 1/11/17. US-only.

The post Get ready for the holidays with new collections in the Windows Store appeared first on Windows Experience Blog.

How to revert to a previous version of a Microsoft Operations Manager Management Pack

$
0
0

~ Chandra Bose | Senior Software Engineer

There are times when you may want to revert back to older version of a Management Pack (MP) for a given workload. Currently, the Operations Manager UI allows you to delete and re-import Management Packs from the “Installed Management Packs” screen, however there can be issues when there are multiple and multi-level dependencies on the MP that you are trying to delete.

To mitigate these potential issues, we have a new script available that will help you to revert Management Packs with ease.

Note that this script is an enhanced version  of an earlier script provided by its original author here (thanks to Microsoft’s own Christopher Crammond!)

Here’s how to use the script:

1. Open the Operations Manager Command Shell prompt in Administrator mode.

2. Download the script to remove a management pack with dependencies from here.

3. Run the script using the name of the Management Pack you want to remove. For example:

(Example 1) –>.\RecursiveRemove.ps1

(Example 2) –>.\RecursiveRemove.ps1 Microsoft.SQLServer.2014.Discovery

You can see the ID or System Name of the MP that you want to uninstall by selecting it in the “Installed Management Packs” view by clicking “Properties” in the Actions Pane. Simply copy the content in the “ID :” text box in the General tab.

Feel free to give your comments in the section below.

Chandra Bose | Senior Software Engineer | Microsoft

OpsMgr 2012 R2 OpsMgr 2007 OpsMgr 2016

Free Intermediate ASP.NET Core 1.0 Training on Microsoft Virtual Academy

$
0
0

At the end of October I announced that Maria from my team and I published a Microsoft Virtual Academy on ASP.NET Core. This Free ASP.NET Core 1.0 Training is up on Microsoft Virtual Academy now for you to watch and enjoy! I hope you like it, we worked very hard to bring it to you.

Again, start with Introduction to ASP.NET Core 1.0, and explore this new technology even further in Intermediate ASP.NET Core 1.0.

Intermediate ASP.NET Core 1.0

Intermediate ASP.NET Core 1.0

We've just launched Day 2, the Intermediate day. If the first is 100 level, this is 200 level. In this day, Jeff Fritz and I build on what we learned with Maria in Day 1. We're also joined by Rowan Miller and Maria later in the day as we explore topics like:

  • Tag Helpers
  • Authentication
  • Custom Middleware
  • Dependency Injection
  • Web APIs
  • Single Page Apps
  • Entity Framework Core and Database Access
  • Publishing and Deployment

In a few weeks (maybe sooner) we'll publish Day 3 which we'll do exclusively on Macs and Linux machines. We'll talk about Cross-Platform concerns and Containers.

NOTE: There's a LOT of quality free courseware for learning .NET Core and ASP.NET Core. We've put the best at http://asp.net/free-courses and I encourage you to check them out!

Also, please help me out by adding a few stars there under Ratings. We're new. ;)


Sponsor: Do you deploy the same application multiple times for each of your end customers? The team at Octopus have taken the pain out of multi-tenant deployments. Check out their latest 3.4 release


© 2016 Scott Hanselman. All rights reserved.
     

Connecting my Particle Photon Internet of Things device to the Azure IoT Hub

$
0
0

Particle Photon connected to the cloudMy vacation continues. Yesterday I had shoulder surgery (adhesive capsulitis release) so today I'm messing around with Azure IoT Hub. I had some devices on my desk - some of which I had never really gotten around to exploring - and I thought I'd see if I could accomplish something.

I've got a Particle Photon here, as well as a Tessel 2, a LattePanda, Funduino, and Onion Omega. A few days ago I was able to get the Onion Omega to show my blood sugar on a small OLED screen, which was cool. Tonight I'm going to try to hook the ParticlePhoton up to the Azure IoT hub for monitoring.

The Photon is a tiny little device with Wi-Fi built-in. It's super easy to setup and it has a cloud-based IDE with tons of examples written in C and Node.js for you to use. Particle Photon also has a node.js based command line. From there you can list out your Photons, see their available functions, and even call functions over the internet! A hacker's delight, to be sure.

Here's a standard "blink an LED" Hello world on a Photon. This one creates a cloud function called "led" and binds it to the "ledToggle" method. Those cloud methods take a string, so there's no enum for the on/off command.

int led1 = D0;
int led2 = D7;
void setup() {
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
Spark.function("led",ledToggle);
digitalWrite(led1, LOW);
digitalWrite(led2, LOW);
}

void loop() {
}

int ledToggle(String command) {
if (command=="on") {
digitalWrite(led1,HIGH);
digitalWrite(led2,HIGH);
return 1;
}
else if (command=="off") {
digitalWrite(led1,LOW);
digitalWrite(led2,LOW);
return 0;
}
else {
return -1;
}
}

From the command line I can use the Particle command line interface (CLI) to enumerate my devices:

C:\Users\scott>particle list
hansel_photon [390039000647xxxxxxxxxxx] (Photon) is online
Functions:
int led(String args)

See how it doesn't just enumerate devices, but also cloud methods that hang off devices? LOVE THIS.

I can get a secret API Key from the Particle Photon's cloud based Console. Then using my Device ID and auth token I can call the method...with an HTTP request! How much easier could this be?

C:\Users\scott\>curl https://api.particle.io/v1/devices/390039000647xxxxxxxxx/led -d access_token=31fa2e6f --insecure -d arg="on"
{
"id": "390039000647xxxxxxxxx",
"last_app": "",
"connected": true,
"return_value": 1
}

At this moment the LED on the Particle Photon turns on. I'm going to change the code a little and add some telemetry using the Particle's online code editor.

Editing Particle Photon Code online

They've got a great online code editor, but I could also edit and compile the code locally:

C:\Users\scott\Desktop>particle compile photon webconnected.ino

Compiling code for photon

Including:
webconnected.ino
attempting to compile firmware
downloading binary from: /v1/binaries/5858b74667ddf87fb2a2df8f
saving to: photon_firmware_1482209089877.bin
Memory use:
text data bss dec hex filename
6156 12 1488 7656 1de8
Compile succeeded.
Saved firmware to: C:\Users\scott\Desktop\photon_firmware_1482209089877.bin

I'll change the code to announce an "Event" when I turn on the LED.

if (command=="on") {
digitalWrite(led1,HIGH);
digitalWrite(led2,HIGH);

String data = "Amazing! Some Data would be here! The light is on.";
Particle.publish("ledBlinked", data);

return 1;
}

I can head back over to the http://console.particle.io and see these events live on the web:

Particle Photon's have great online charts

Particle also supports integration with Google Cloud and Azure IoT Hub. Azure IoT Hub allows you to manage billions of devices and all their many billions of events. I just have a few, but we all have to start somewhere. ;)

I created a free Azure IoT Hub in my Azure Account...

Azure IoT Hub has charts and graphs built in

And made a shared access policy for my Particle Devices.

Be sure to set all the Access Policy Permissions you need

Then I told Particle about Azure in their Integrations system.

Particle has Azure IoT Hub integration built in

The Azure IoT SDKS on GitHub at https://github.com/Azure/azure-iot-sdks/releases have both a Windows-based Azure IoT Explorer and a command-line one called IoT Hub Explorer.

I logged in to the IoT Hub Explorer using the connection string from the Azure Portal:

iothub-explorer login "HostName=HanselIoT.azure-devices.net;SharedAccessKeyName=particle-iot-hub;SharedAccessKey=rdWUVMXs="

Then I'll run "iothub-explorer monitor-events" passing in the device ID and the connection string for the shared access policy. Monitor-events is cool because it'll hang and just output the events as they're flowing through the whole system.

IoTHub-Explorer monitor-events command line

So I'm able to call methods on the Particle using their cloud, and monitor events from within Azure IoT Hub. I can explore diagnostics data and query huge amounts of device-to-cloud data that would potentially flow in from my hardware devices.

The IoT Hub Limits are very generous for free/hobbyist users as we learn to develop. I haven't paid anything yet. However, it can scale to thousands of messages a second per unit! That means millions of messages a second if you need it.

I can definitely see how the the value an IoT Hub solution like this would add up quickly after you've got more than one device. Text files don't really scale. Even if I just IoT'ed up my house, it would be nice to have all that data flowing into a single hub I could manage and query securely.


Sponsor: Big thanks to Telerik! They recently published a comprehensive whitepaper on The State of C#, discussing the history of C#, what’s new in C# 7 and whether C# is the top tech to know. Check it out!



© 2016 Scott Hanselman. All rights reserved.
     

Integral Analytics moves to Azure SQL Data Warehouse from AWS for high performance

$
0
0

With greater focus on new forms of energy and technological progress in the space of solar energy, the world in which traditional power utilities operate has been going through significant change. Integral Analytics helps power utilities be on top of this change by helping them tap into other sources of data, such as econometrics and customer-owned power assets, to learn how customers currently use power and how that usage will likely change over time. This helps the power utilities plan the right level of resources and be well positioned for the future. For example, by fusing econometric data with traditional load data, utilities can gain valuable insights on the future growth of electrical load for better planning.

A key piece of the solution that Integral Analytics delivers involves extracting intelligent insights from huge amounts of data – workloads can run up to 25 TB of data, including text data and aggregates from meters, transformers and substations.

Integral Analytics (IA) deployed the first version of their solution on Amazon Redshift, but ran into limitations related to the offering and costs. For IA, not being able to pause the instance when not in use proved to be a hassle. IA had to take a snapshot of the data for backup purposes and then get rid of the entire instance. Looking to reduce costs, the IA team found the complete offering from Azure much more compelling. Some of the key reasons IA chose Azure SQL Data Warehouse were the ease of scaling an instance, instance pausing for cost optimization, support for .NET tools, flexibility of scaling compute, and storage separately. IA was also impressed with the easy integration of advanced analytics tools like Azure Machine Learning.

Learn more about Integral Analytics switch to Azure from AWS.

In the words of Bill Sabo, Managing Director of Information Technology, Integral Analytics, “When we learned about the pause and resume capabilities of SQL Data Warehouse and integrated services like Azure Machine Learning and Data Factory, we switched from Amazon Redshift, migrating over 7 TB of uncompressed data over a week for the simple reasons of saving money and enabling a more straightforward implementation for advanced analytics. To meet our business-intelligence requirements, we load data once or twice a month and then build reports for our customers. Not having the data-warehouse service running all the time is key for our business and our bottom line.”

IA chose Azure SQL Data Warehouse not only for the differentiated capabilities it delivers, but also because of its integration with various products within Azure to provide a full end to end solution – from data storage and processing to advanced analytics and intelligent insights.

Case Study AI ImageQuoting Kevin Kushman, COO, Integral Analytics – "Azure SQL Data Warehouse is a fundamental part of our IT ecosystem. Cloud-based data solutions like Azure are going to be crucial for data-intensive companies like ours."

Learn more about the story of how Integral Analytics is using Azure SQL Data Warehouse.

If you have not already explored this fully managed, petabyte scale cloud data warehouse service, learn more at the links below.

Learn more

What is Azure SQL Data Warehouse?
SQL Data Warehouse best practices
Video library
MSDN forum
Stack Overflow forum

5 most popular questions from the Power BI Ask Microsoft Anything event

$
0
0
A couple of weeks ago, the Power BI Team held its first Ask Microsoft Anything event, and it was a fantastic success! We received several pages of questions on the AMA community forum, and for over an hour a mixed group of Power BI Program Managers, Marketing Managers, and Developers answered them all. If you missed this event, we’ve collected the five most popular questions and answers below. Don’t see your question? Keep an eye out for the next AMA event and get your answer live!

Azure Analysis Services is now available in North Europe and West US

$
0
0

Azure Analysis Services is a new preview service in Microsoft Azure where you can host semantic data models. Users in your organization can then connect to your data models using tools like Excel, Power BI and many others to create reports and perform ad-hoc data analysis.

We are excited to announce that Azure Analysis Services is now available in North Europe and West US.

Azure Analysis Services is now available in the following regions: North Europe, West Europe, West US, South Central US and West Central US.

Learn more about Azure Analysis Services or try creating your first data model.

Happy holidays 2016

$
0
0

Today is my last day in the office for the year.  I just want to take a moment to say thank you to everyone who reads my blog and engages on TFS and VS Team Services.  It’s great working with all of you.

Overall, it’s been a good year.  We shipped TFS 2015 Update 2 and 3 and TFS 2017.  We continued our tradition of substantial Team Services updates every sprint.  Overall service stability improved over the year (knock on wood), though we certainly had a few rough patches and learned how to improve from them.  As I reflect over it, I’m proud of what we have accomplished and I hope you all like it.

Some of my favorite highlights from this year include:

  • The marketplace became real and now has hundreds of really useful extensions – for both Team Services and TFS.  New extensions are published almost every day.
  • Package management shipped with both Nuget and NPM support and Maven on the way.
  • Code search shipped, making it easy to search your entire code base with semantic understanding for common languages.
  • The new release management service went from promising approach to really powerful release orchestration across almost any app type and platform.
  • The pull request experience is now really awesome!  Improved UX, policies, iterations and more.
  • Our Java support really became first class with improvements across the board – IDE integration, build and release tasks, test integration, Jenkins integration, etc.
  • Great improvements in our build reports – integrating test results, code coverage and more.
  • The web based test experience became a viable alternative to the rich client.
  • Good progress on the new work item customization experience.
  • Good progress on a UX refresh to improve consistency, modernize the look and reduce clicks and navigation overhead, along with lots of performance improvements.
  • A new import service to bring TFS project collections into Team Services and our first set of really large enterprise customers (other than ourselves) on the service and happy.

And this is just a small sampling.  Check out our release timeline to see more.  I’m very much looking forward to 2017 being another great year.

I wish you all happy holidays and a great beginning to the new year.  I look forward to chatting with you again in January.  I’ll monitor blog comments on and off over the next 10 days but expect I’ll be a bit slower than usual.

Happy Holidays!

Brian

Microsoft Graph Preview for Exchange 2016 customers

$
0
0

We are interested in working with Exchange 2016 customers or partners to help us validate Exchange hybrid scenarios using Microsoft Graph. This will be a self-paced development project where your developers will scope and get technical help to unblock Graph API issues from the product team. In order to participate, you will need to join the Exchange TAP program. Here is a mini FAQ about this program:

What are the technical requirements?
To develop and validate an Exchange hybrid solution, you will need to have Exchange 2016 CU3 or later deployed with your on-premises Active Directory synced with Azure AD. To learn more about the hybrid deployment: https://channel9.msdn.com/Events/Ignite/2016/BRK3045

How many developers will I need?
Expect to have 1 maybe 2 developers to scope and develop a Microsoft Graph solution.

Do I need to have an existing Exchange Web Services solution?
It would be a nice-to-have but we do not require it. We’re more interested in finding customers who want to support hybrid Exchange 2016 deployments and validating the benefits that the Microsoft Graph provides.

What is the timeframe for this?
We are planning to start this project in January 2017 and look to finish before the summer of 2017.

Do we have to travel to Redmond?
No. The tech is already in Preview and available to use from any dev laptop with internet access.

Why are you offering this?
We find collaborating directly with our customers and partners help us to make improvements to the Microsoft Graph to support deeper and broader customer needs. We hope to add what we learn to our product roadmap.

If you are interested in applying for this program, then please send an email to exchangehybridgraph@service.microsoft.com and include the following information:

  1. Who will be the primary lead for this project?
    • Company:
    • First, Last Name:
    • Business Title:
    • Work e-mail:
    • Work phone:
  2. Is your company enrolled in the Exchange TAP?
  3. What hybrid scenario do you envision working on?
  4. Describe how you would like to technically solve it?
  5. Have you or your team tried to solve this hybrid scenario using Exchange Web Services? How did it go?
  6. Have you or your team programmatically used the Microsoft Graph? Please describe a project if you have built one.
  7. Please tell us about your development team that will work on this project.

Cheers!

Microsoft Outlook Team

5 ways a cloud-based email solution saves you time

$
0
0

5-ways-a-cloud-based-email-solution-saves-you-time-1

Email continues to be one of the most popular communication methods for businesses, and that’s not going to change anytime soon. With email taking the lead in business communications, you need to ensure your business is set up for success. Here are five ways how cloud-based email can save time for both your IT department and users.

#1—Eliminate hardware or solution maintenance

Moving your email to the cloud means no more attention wasted on onsite servers. Additionally, migration and continuous software updates can help decrease (or even eliminate) maintenance-related downtime. Without the need for on-premises hardware upkeep, your IT team has more time to take on other projects.

#2—Avoid costly downtime

Every moment your email is down costs your company in a number of ways. With onsite email solutions, updates, scaling, and other threats could potentially lead to downtime. In 2016, unplanned outages cost companies up to $2.4 billion, according to research by the Ponemon Institute. That’s more than double the cost in 2010. The top three factors costing your company during downtime? Business disruption, lost revenue and reduced employee productivity, the report states.

Elevate your email

Companies with cloud-based email reap greater benefits with an automated and standardized system. And IT departments stay in control with more uptime and the latest security features. Learn the top reasons why now is the time to move your email to the cloud.

Get the eBook

#3—Seamless integration means more efficiency

Don’t bog down your teams with clumsy servers and cumbersome integration processes. An integrated email solution saves time and energy for your employees. Additionally, cloud-based email has rapid application delivery, which helps ensure that business processes remain efficient.

#4—Easily scale and update

Cloud email solutions provide you with the ability to quickly scale and update—saving your IT team a lot of headaches. Companies that migrate to cloud-based email see the benefits of standardized and automated functionality.

#5—Better security and compliance

For many industries and businesses, security and compliance are vital to ensure trust and help follow strict regulations. Unfortunately, maintaining high security standards and adhering to compliance regulations takes a lot of time and hinders productivity when managing it on your own. Effective cloud-based secure email solutions help organizations comply with global, regional and industry-specific requirements like healthcare (HIPAA), government and homeland security (FISMA), education (FERPA), and banking. And applications stay up-to-date with evolving privacy compliance standards.

All of this is simplified into one huge benefit: increased productivity—which can save your company time and money.

Learn more

The post 5 ways a cloud-based email solution saves you time appeared first on Office Blogs.

New to Office 365 in December—accessibility updates and more

$
0
0

Today’s post was written by Kirk Koenigsbauer, corporate vice president for the Office team.

This month, there are several updates to the Office apps to help you more easily create accessible content and more. Read on for the details.

Enabling more accessible and efficient content creation

Earlier this month, we covered a number of accessibility updates for Office 365 that help lay the foundation for a more inclusive digital environment. These improvements address both the creation and consumption phases when working with documents. Particularly noteworthy are the following capabilities built to empower all customers to create content that is inclusive and readable without friction.

  • Accessibility Checker front and center—The Accessibility Checker is now easily discoverable in Word, Excel, PowerPoint, OneNote, Outlook and Visio, helping you ensure your content can be consumed without barriers by people with varying levels of vision, hearing, cognition and mobility. The Accessibility Checker analyzes your material and provides recommendations alongside your document, helping you understand how to fix errors and create more accessible content over time. Click Check Accessibility under the Review tab to get started.

Accessibility Checker results being shown in Word, specifically selected is an image flagged which needs alt-text provided, as well as an explanation for why the fix is necessary.

The Accessibility Checker is now easily discoverable, helping you find and fix issues that might make your content difficult for people with disabilities to consume.

Availability: Accessibility Checker is now available and easily discoverable in Word, Excel, PowerPoint, OneNote, Outlook and Visio on Windows desktops. It is also available in several Office for Mac and Office Online applications.
  • Intelligent alternate text for images—PowerPoint already leverages intelligent image analysis—including facial detection, color extraction and more—to optimize professional designs offered to you by Designer. Soon you’ll get automatic suggestions for alternative text descriptions (alt-text) for images in both PowerPoint and Word, helping save you time and ensuring your media-rich presentations and documents can be understood by people with visual impairments. Powered by the Microsoft Computer Vision Cognitive Service, this capability will get smarter through machine learning as more people use it, and over time we will bring it to more apps and platforms. Stay tuned for more.

Alt-text is being automatically generated for an image of a snow covered mountain in a PowerPoint slide. The Alt Text pane is showing with the suggested alt-text, and a tooltip on the image itself explains that a description for the image has been created.

Office will offer automatic alt-text suggestions with the help of intelligent image analysis.

Availability: Automatic alt-text suggestions are coming soon in PowerPoint and Word on Windows desktops for Office 365 subscribers.
  • Easily requesting accessible content in Outlook—Now you can enable a MailTip in Outlook on the web which alerts coworkers to your preference for accessible content. The prompt they see while composing email to you reminds them to run Accessibility Checker before sending. This helps ensure coworkers fix any issues that might make the content difficult for people with disabilities to consume. We’ll bring this capability to Outlook on Windows desktops in the future. Get started by visiting Accessibility preferences from the General tab of Outlook on the web settings.

 An email with an inline image is being composed in Outlook on the web. A Mail Tip is showing explaining that the recipient prefers accessible content. The GIF shows the process of clicking a link to check for accessibility issues, the Accessibility Checker flags the lack of alt-text for the inline image, and then alt-text is being shown being added for the image. The Accessibility Checker is run again and there are no more issues.

Enable a MailTip in Outlook on the web to alerts coworkers to your preference for accessible content.

Availability: The MailTip requesting accessible content is currently available for commercial Office 365 customers in Outlook on the web. It is coming soon for commercial Office 365 customers in Outlook on Windows desktops.
  • Easy and accessible hyperlinks—Soon you’ll be able to easily attach hyperlinks to recent cloud-based files or websites and simultaneously create more meaningful display names for people consuming your document using screen readers. Now when you click to insert a hyperlink, a Recent Items list similar to the one in Outlook will show your recently used files on SharePoint, OneDrive and OneDrive for Business, as well as webpages already copied to your clipboard. Once you select a link to insert, its file or webpage name—instead of its long URL—will automatically be added as the display text (which you can modify as you wish).

In PowerPoint, a text box is selected where a hyperlink is to be added. The new link dropdown is clicked, revealing a Recent Items list of documents and a website currently copied on a clipboard. A document is selected, which inserts the document’s name as a hyperlink in the text box.

A Recent Items list will soon help you easily attach hyperlinks with meaningful display names for recent cloud-based files or websites.

Availability: The Recent Items list for hyperlinks in Word, Excel, PowerPoint and Outlook on Windows desktops is coming in the next few months for Office 365 subscribers. This capability in Office Mobile apps on Windows and Android is also coming in the next few months.

Other Office 365 updates this month

We also have a couple additional updates this month. There are more details at the links below:

Learn more about what’s new for Office 365 subscribers this month at: Office 2016 | Office for Mac | Office Mobile for Windows | Office for iPhone and iPad | Office on Android. If you’re an Office 365 Home or Personal customer, be sure to sign up for Office Insider to be the first to use the latest and greatest in Office productivity. Commercial customers on both Current Channel and Deferred Channel can also get early access to a fully supported build through First Release. This site explains more about when you can expect to receive the features announced today.

—Kirk Koenigsbauer

The post New to Office 365 in December—
accessibility updates and more
appeared first on Office Blogs.

Halo Wars: Definitive Edition Early Access available now

$
0
0

It’s finally here – I’m thrilled to say early access to Halo Wars: Definitive Edition starts today for folks who pre-ordered the digital version of Halo Wars 2 Ultimate Edition!

Having Halo Wars on PC has been something the community has asked for since the game launched so many years ago, and it’s surreal that it has finally happened with Halo Wars: Definitive Edition. Halo Wars: Definitive Edition is set to launch in February alongside Halo Wars 2 Ultimate Edition, but we thought it would be great to give everyone a chance to start playing now to sharpen their skills in preparation for the next game. The game you’ll get today is early access – it’s only available to people who pre-ordered the digital version of Halo Wars 2 Ultimate Edition.

In addition to the great campaign and multiplayer modes fans will remember, Halo Wars:Definitive Edition also features a new multiplayer session browser in place of the legacy matchmaking system. This allows players to create and join their favorite multiplayer, skirmish, or co-op campaign games quickly and easily on their preferred platform.

If you don’t receive your code today, don’t worry! Codes are rolling out through the coming weeks, but anyone who pre-ordered by December 14 should receive one today, so keep an eye out – check out the FAQ here for more info on how to find and redeem your code. And of course, since Halo Wars: Definitive Edition is an Xbox Play Anywhere title; your code will work on both Xbox One and Windows 10 PC!

Head over to Xbox Wire to read more!

The post Halo Wars: Definitive Edition Early Access available now appeared first on Windows Experience Blog.

Troubleshooting ‘Unsupported Cluster Configuration’ errors in Virtual Machine Manager 2012 R2

$
0
0

~ John Clyburn | Senior Consultant

Hi everyone, my name is John Clyburn and I’m a senior consultant here at Microsoft. I was recently working at a customer site where we were getting “Unsupported Cluster Configuration” errors in the SCVMM console for VMs in a Hyper-V cluster so I thought I’d take a minute today to discuss what we did in the hopes that it might help you if you run into a similar situation. There can be many different symptoms and resolutions for a problem like this so just be aware that what I describe here is specific to my particular scenario. 

In this case, all of the VMs were still online and running without issue, I could log on to the VMs, and there were no service interruptions to the services running on the VMs. The customer had the following configuration:

  • SCVMM 2012 R2 UR11 (Clustered).
  • Two Windows Server 2012 Hyper-V (Clustered) for hosts.
  • CSV and SOFS shares for storing virtual machines setup via SCVMM.

Several of the virtual machines displayed the following error in the VMM console under the status column:

Unsupported Cluster Configuration

In SCVMM, when we would right- click the VM and select Properties–>Status, we saw this error:

Error (13924) The highly available virtual machine (VMNAME) is not supported by VMM because the virtual machine uses non-clustered storage.

As stated earlier, there can be many different causes for the Unsupported Cluster Configuration error, however in my particular case it was caused by a misconfiguration of the storage and property path settings on the VMs. When using a cluster, all of the VM storage properties settings must be stored on highly available storage like a cluster shared volume, and in my case not all of the VMs storage properties were being placed on a highly available storage.

For an example of the same error being caused by a network misconfiguration, here’s an article written by Microsoft’s own Chuck Timon that documents how he approached and resolved the same error:

https://blogs.technet.microsoft.com/scvmm/2013/09/10/working-through-an-unsupported-cluster-configuration-scenario-in-virtual-machine-manager/

The solution below demonstrates how to correct the Unsupported Cluster Configuration error caused by a misconfiguration of the storage and property path settings on a VM that is stored on a cluster volume. If the VM storage and property path is not pointing to folders that are highly available, you will receive the unsupported cluster configuration error. Follow the steps below to correct it.

In the Scenario below, I will use the following names in the example solution:

  • Failed VM Name: SRV-FAILED-01
  • VMM computer Name: SRV-VMM-01
  • VMM Cluster Name: VMM01
  • VM storage path on servers: CSV installation uses C:\ClusterStorage\Volume1\VM_1 and SOFS installation uses \\SRV-SOFS-01.CONTOSO.LOCAL\MGMT-VHD1

Resolution Steps:

1. On the VMM server open an administrative Virtual Machine Manager Command Shell and run Get-VMMServer. For the computer name use SRV-VMM-01, or for a cluster, use the cluster name of VMM01. Click Enter.

2. In VMM PowerShell, run Get-SCVirtualMachine -Name | FL * and check to see if any of the following paths are not on HA storage such as a cluster CSV volume:

  • VMCPath
  • CheckPointLocation
  • Location

Note that the only way to see the above info is by using PowerShell. You will not see them in the properties of the VM.

3. If any of the paths point to local storage on the Hyper-V system then this is the problem. An example would be if it’s listed as C:\ProgramData\Microsoft\Windows\Hyper-V. This path will cause the error.

4. Record the following settings from the VM:

  • Network settings
  • IP Number
  • All drives VHDX file path
  • VM Generation

5. Shutdown the VM. Optionally but recommended, export the VM in Hyper-V to the local file system for a backup.

6. If the VM is displayed in Failover Cluster Manager (FCM), launch FCM and navigate to , then right-click the VM and select Remove.

7. Delete the VM (SRV-FAILED-01) from Hyper-V. Note that we’ll have to delete the VM and recreate it but DO NOT DELETE IT IN SCVMM because SCVMM will delete all the files and we do not want that. Delete it in Hyper-V Manager by going to the Hyper-V manager console on the node that owns the VM, right-clicking the VM and selecting Delete. This will leave the VMs folder with all the VHDX files in it.

8. In SCVMM, the VM should now show as ‘Missing’. However, even if it does not, open PowerShell in VMM and run Get-SCVirtualMachine -Name | FL *. If you get data back, arrow up (to run the command again), but make the command look like this:

Get-SCVirtualMachine -Name | Remove-SCVirtualMachine -Force

The VM should now be gone in the VMM console.

9. Now, in Failover Cluster Manager, right-click Roles –> Virtual Machines –> New Virtual Machine.

10. On the Select the Target cluster node page, select the same Hyper-V host and click OK.

11. On the Specify Name and Location page, specify the following:

  • Name: >. Note that you should use the same VM name.
  • Select Store the Virtual Machine in different locations and use , or <\\SRV-SOFS-01.CONTOSO.LOCAL\MGMT-VHD1\. Just make sure that the disk path is on HA Storage.

Click Next.

12. On the Specify Generation page, select the appropriate generation.

13. On the Assign Memory page, set the memory.

14. On the Configure Networking page, set the networking.

15. On the Connect Virtual Hard Disk page, add the VM using the existing VM VHDX file. It’s important that you do not create a new disk. Navigate to the existing OS VM disk and add it, using either C:\ClusterStorage\Volume1\VM_1\ or \\SRV-SOFS-01.CONTOSO.LOCAL\MGMT-VHD1\SRV-VMM-01\SRV-FAILED-01.vhdx>.

Click Next.

16. On the Summary page, click Finish, then on the second Summary page click Finish again.

IMPORTANT: DO NOT START THE VM YET.

17. Add the Shared VHDX file to the VM.

18. Edit the VM by right-clicking it and selecting Settings. Navigate to SCSI Controller, highlight Hard Drive and click Add. In the Virtual Hard Disk box type the path to the existing shared VHDX file. This will be either C:\ClusterStorage\Volume1\SHAREDVHDX\VMMWitness.vhdx or \\SRV-SOFS-01.CONTOSO.LOCAL\MGMT-VHD1\SHAREDVHDX\VMMWitness.vhdx>

DO NOT CLICK APPLY YET!

19. Expand Advanced Features and select Enable virtual hard disk sharing, then click Apply.

20. Confirm that the Checkpoint File Location and the Smart Paging File Location is pointing to the CSV or SOFS share and not a local folder on the Hyper-V host. This would be C:\ClusterStorage\Volume1\VM_1\ or \\SRV-SOFS-01.CONTOSO.LOCAL\MGMT-VHD1\SRV-FAILED-01\. If it doesn’t then the VM will not be able to migrate between the Hyper-V cluster nodes.

21. Under Network Adapter, set the appropriate Virtual Switch and click OK to save the settings.

22. Start the VM in failover manager, then connect to the VM and login.

23. Set the VMs IP number.

At this point the VM should now be able to migrate in failover cluster manager and VMM.

Test the migration to verify.

Once complete, you should no longer see the “Unsupported Cluster Configuration” errors in the SCVMM console.

John Clyburn | Senior Consultant | Microsoft

VMM 2012 R2 VMM 2016


The week in .NET – .NET Core triage on On .NET, ShareX

$
0
0

To read last week’s post, see The Year in .NET – Visual Studio 2017 RC and .NET Core updated, On .NET with Stephen Cleary and Luis Valencia, Ulterius, Inferno, Bastion, LoGeek Night.

I might not post next week, for reasons you’ll surely understand, or I might do so one or two days late… Happy holidays!

On .NET

Last week, we had Karel Zikmund, Wes Haggard, and Immo Landwerth on the show to talk about .NET Core triage and project management:

Because it’s the holiday season, we won’t have have a live show until next year, but I will publish more of the short interviews that we recorded at the MVP Summit, so stay tuned for new videos on Channel 9 and YouTube.

App of the week: ShareX

ShareX is an astonishingly complete screen capture tool that supports both still and video capture, and upload to popular file sharing services. The best thing about it however is that it’s free, open source, and written in C#.


.NET

ASP.NET

F#

Check out the F# Advent Calendar for loads of great F# blog posts for the month of December.

Check out F# Weekly for more great content from the F# community.

Xamarin

Azure

Data

And this is it for this week!

Contribute to the week in .NET

As always, this weekly post couldn’t exist without community contributions, and I’d like to thank all those who sent links and tips. The F# section is provided by Phillip Carter, the gaming section by Stacey Haffner, and the Xamarin section by Dan Rigby.

You can participate too. Did you write a great blog post, or just read one? Do you want everyone to know about an amazing new contribution or a useful library? Did you make or play a great game built on .NET? We’d love to hear from you, and feature your contributions on future posts:

This week’s post (and future posts) also contains news I first read on The ASP.NET Community Standup, on Weekly Xamarin, on F# weekly, and on Chris Alcock’s The Morning Brew.

Create great looking, fast, mobile apps using JavaScript, Angular 2, and Ionic 2

$
0
0

 

In a recent Visual Studio Toolbox episode, I highlighted some new Ionic 2 templates for use with the Visual Studio 2015 Tools for Apache Cordova (TACO). These new Ionic 2 RC templates are now available for you to try out and in this post I’ll talk you through what’s new.

>Download Ionic 2 templates on the Visual Studio Extension Gallery.

What is Ionic?

Ionic is a JavaScript framework that helps you build Android, iOS, and Windows 10 devices using the design patterns of the native operating system. Ionic builds on top of Apache Cordova, an open source framework that helps you build mobile apps using HTML, JavaScript, and CSS. These mobile apps have access to native device capabilities, like the camera or accelerometer, and can be published through public or private app stores just like any native mobile app.

Ionic provides HTML-based controls that go beyond the primitive UI of HTML; giving you a set of ready-made UI controls that are optimized for mobile devices. If you need to work with tabs, lists, navigation bars – Ionic has those for you. If you want micro-interactions, animations and buttery smooth scrolling – Ionic has those for you, too.

ionic-2-ui-overview

Examples of how the Ionic UI controls adapt to each device. Taken from the Ionic Azure Conference app demo application.

Ionic has been around since 2012 and over 3,000,000 apps have been built using it. Ionic 1 was built using Angular 1 and released in 2014. The Ionic team is now nearing the first release of Ionic 2, built on top of Angular 2.

How do I build apps with Ionic?

When you build an app with Ionic 2, you’re building an app using Angular 2. This means that you’ll use TypeScript as your programming language of choice, which brings several benefits. You be able to:

  • Use future JavaScript features (like classes and modules) today instead of waiting for your target mobile platforms to support them. TypeScript compiles to simple, human-readable, JavaScript.
  • Commit code changes with higher confidence, thanks to type checking and refactoring tools that make sure your code is working the way you expect before and after a change.
  • Investigate bugs, or new code bases, more quickly thanks to high-confidence navigation tools like Find References or Peek.

You’ll also work with Sass, a language to define styling for your apps. Sass provides valuable features for CSS development, like support for variables, and it compiles down to simple CSS files.

When building your Ionic 2 application, you focus on building self-contained components which combine HTML & CSS templates for presentation with JavaScript/TypeScript for component logic. These components are then combined into pages – i.e. the individual screens of your application.

For example, if you look at this default page for the Ionic 2 Blank template:

ionic2blanktemplate

The following TypeScript defines the component that creates this page:

import { Component } from '@angular/core';import { NavController } from 'ionic-angular';
    @Component({  selector: 'page-home',  templateUrl: 'home.html'
    })export class HomePage {
      constructor(public navCtrl: NavController) {
    
      }
  
      onLink(url: string) {
          window.open(url);
      }
    }

The @Component decorator is used for the HomePage class to identify this as an Angular component and the templateUrl argument specifies the URL of the HTML for this component, which looks like:

<ion-header>  <ion-navbar>    <ion-title>      Ionic Blank
        ion-title>  ion-navbar>ion-header><ion-content class="home" padding>    <h2 class="center">Ionic 2 - Blank Starterh2> 
 
        <div class="center">        <p class="ionic-logo">p>    div>    <ion-card>        <ion-card-header>            Docs are here to help you
            ion-card-header>        <ion-list>            <button ion-item 
                  (click)="onLink('http://go.microsoft.com/fwlink/?LinkID=820516')">                <ion-icon name="jet" item-left>ion-icon>                Getting Started
                button>                    ion-list>        
        ion-card>ion-content>

Finally, here’s a snippet of the Sass that defines the styling of this page:

page-home {
        .center {
            text-aligncenter;  
        }
        
        .ionic-logo {
          displayinline-flex;      position:relative;      width:87px;      height:87px;      border:3.5px solid #5E86C4;      border-radius:100%;      -moz-border-radius:100%;      -webkit-border-radius:100%;      -moz-animationspin 2s infinite linear;      -webkit-animationspin 2s infinite linear;    }
 
        /* ... */
    }

When you build your project, Ionic takes care of compiling the TypeScript (.ts) files to JavaScript (.js) files, and Sass (.scss) files to CSS. It also places all the compiled files in the right places for Cordova to build your application and run it on a mobile device.

Try out the Ionic 2 tutorial on the TACO documentation site, to experience it for yourself.

What’s new for Ionic 2 & TACO?

Our Tools for Apache Cordova (TACO) team, has been working closely with the Ionic team for years to make sure that Visual Studio developers have a first-class experience when using the Ionic framework and the TypeScript language,. We previously released templates for beta versions of Ionic 2, and now we’ve refreshed these for the latest Ionic 2 RC 4 release.

The new templates mirror the standard starter templates included in Ionic:

  • Blank
  • SideMenu
  • Tabs

Each of these templates adapts to match the look and feel of the device you’re using, as you can see in this following comparison of the SideMenu template:

ionicstartertemplateplatformcomparison

Getting started with Ionic 2 RC templates

You can use these templates with Visual Studio 2015; Visual Studio 2017 RC isn’t supported yet, but we’re working on it. To use these with Visual Studio 2015, there are a few additional extensions you need to install:

  • TypeScript 2.0.6 editor– Adds support for version 2 of the TypeScript language, used by Ionic.
  • Microsoft ASP.NET and Web Tools– Among other changes for ASP.NET & web development, this adds support for new versions of NPM and the task runner explorer, used by the Ionic templates.
  • NPM Task Runner– Adds NPM script support to the Visual Studio task runner explorer, used to perform builds in Ionic.

Finally, you’ll install the new Ionic 2 RC template extension and can follow along with the Ionic 2 tutorial in the TACO documentation.

Join our Insiders and share your thoughts

After you try out the Ionic 2 RC templates, please let us know what you think! For early access to future Ionic & Cordova related updates, join our TACO insiders.

You can also share feedback via the Report a Problem option in the upper right corner of the Visual Studio IDE itself and track your feedback on the developer community portal. If you have a question about Ionic development, check out the Ionic Forum.

Jordan MatthiesenJordan Matthiesen (@JMatthiesen)
Program Manager, JavaScript mobile developer toolsJordan works at Microsoft on JavaScript tooling for web and mobile application developers. He’s been a developer for over 19 years, and currently focuses on talking to as many awesome mobile developers as possible. When not working on dev tools, you’ll find him enjoying quality time with his wife, 4 kids, dog, cat, and a cup of coffee.

Microsoft Cognitive Services QnA Maker Helps Developers

$
0
0
As announced earlier this week on the Bot Framework Blog, the Microsoft Cognitive Services QnA Maker, is a free, easy-to-use, REST API- and web-based service that trains AI to respond to users’ questions in a conversational way. QnA Maker works in three steps: extraction, training, and publishing. To start, feed it anything from existing FAQ URLs to documents and editorial content.
 
Bot Makers determine the source of their knowledge base content and, by extracting semi-structured data in the form of questions and answers in an FAQ document or webpage, the QnA Maker Service can create a knowledge base within a matter of minutes. Read the full post on the Bing Developer blog.

-The Bing Team

CMake support in Visual Studio 2017 – what’s new in the RC.2 update

$
0
0

In case you missed the latest Visual Studio news, there is a new update for Visual Studio 2017 RC available. You can either upgrade your existing installation or, if you’re starting fresh, install it from the Visual Studio 2017 RC download page. This release comes with several enhancements in Visual Studio’s CMake experience that further simplify the development experience of C++ projects authored using CMake.

If you’re just getting started with CMake in Visual Studio, a better resource will be the overview blogpost for CMake suport in Visual Studio that will walk you through the full experience including the latest updates mentioned in this post. Additionally, if you’re interested in the “Open Folder” capability for C++ codebases that are not using CMake or MSBuild, check out the Open Folder for C++ overview blogpost.

This RC update adds support to the following areas:

Opening multiple CMake projects

You can now open folders with an unlimited number of CMake projects. Visual Studio will detect all the “root” CMakeLists.txt files in your workspace and configure them appropriately. CMake operations (configure, build, debug) as well as C++ IntelliSense and browsing are available to all CMake projects in your workspace.

cmake-rc2-multipleroots

When more than one CMake project uses the same CMake configuration name, all of them get configured and built (each in their own independent build root folder) when that particular configuration is selected. You also are able to debug the targets from all of the CMake projects that participate in that CMake configuration.

cmake-rc2-configurationdropdown

cmake-rc2-buildprojects

In case you prefer project isolation, you can still create CMake configurations that are unique to a specific CMakeLists.txt file (via the CMakeSettings.json file). In that case, when the particular configuration is selected, only that CMake project will be available for building and debugging and CMake-based C++ IntelliSense will only be available to its source files.

Editing CMake projects

CMakeLists.txt and *.cmake file syntax colorization. Now, when opening a CMake project file, the editor will provide basic syntax colorization and IntelliSense based on TextMate.

cmake-rc2-syntaxcolorization

Improved display of CMake warnings and errors in Error List and Output Window. CMake errors and warnings are now populated in Error List window and double-clicking on one in either Error List or Output Window will open the CMake file at the appropriate line.

cmake-rc2-errorlist

Configuring CMake

Cancel CMake generation. As soon as you open a folder with a CMake project or operate changes on a CMakeLists.txt file, the configuration step will automatically start. If for any reason, you don’t expect it to succeed yet, you can cancel the operation either from the yellow info-bar in the editor or by right-clicking on the root CMakeLists.txt and selecting the option “Cancel Cache Generation”

cmake-rc2-cancel-editorbar

Default CMake configurations have been updated. By default, VS offers a preset list of CMake configurations that define the set of switches used to run CMake.exe to generate the CMake cache. Starting with this release, these configurations are “x86-Debug”, “x86-Release”, “x64-Debug” and “x64-Release”. Note that if you already created a CMakeSettings.json file, you will be unaffected by this change.

CMake configurations can now specify configuration type (e.g. Debug, Release). As part of a configuration definition inside the CMakeSettings.json, you can specify which configuration type you want the build to be (Debug, MinSizeRel, Release, RelWithDebInfo). This setting is also reflected by C++ IntelliSense.

CMakeSettings.json example:
cmake-rc2-configurationtype

All CMake operations have been centralized under a “CMake” main menu. Now you can easily access the most common CMake operations for all the CMakeLists.txt files in your workspace from a central main menu called “CMake”.

cmake-rc2-cmake-mainmenu

Use “Change CMake Settings” command to create or edit the CMakeSettings.json file. When you invoke “Change CMake Settings” from either the main menu or the context menu for a CMakeLists.txt, the CMakeSettings.json corresponding to the selected CMakeLists.txt will be open in the editor. If this file does not exist yet, it will be created and saved in the same folder with the CMakeLists.txt.

More granular CMake cache operations are now available. Both in the main menu as well as in the CMakeLists.txt context menu, there are several new operations available to interact with the CMake cache:

  • Generate Cache: forces the generate step to rerun even if VS considers the environment up-to-date
  • Clean Cache: deletes the build root folder such that the next configuration runs clean
  • View Cache: opens the CMakeCache.txt file from the build root folder. You can technically edit the file and save, but we recommend using the CMakeSettings.json file to direct changes into the cache (as any changes to CMakeCache.txt are wiped when you clean the cache)
  • Open Cache Folder: Open an Explorer window to the build root folder

Building and debugging CMake targets

Build individual CMake targets. VS now allows you to select which target you want to build in addition to opting for a full build.

cmake-rc2-buildtarget

CMake install. The option to install the final binaries based on the rules described in the CMakeLists.txt files is now available as a separate command.

Debug settings for individual CMake targets. You can now customize the debugger settings for any executable CMake target in your project. When selecting “Debug and Launch Settings” context menu for a specific target, a file launch.vs.json is created that is prepopulated with information about the CMake target you have selected and allows you to specify additional parameters like arguments or debugger type.

cmake-rc2-debugsettings

Launch.vs.json:

{
  "version": "0.2.1",
  "defaults": {},
  "configurations": [
    {
      "type": "default",
      "project": "CMakeLists.txt",
      "projectTarget": "tests\\hellotest",
      "name": "tests\\hellotest with args",
      "args": ["argument after argument"]
    }
  ]
}

As soon as you save the launch.vs.json file, an entry is created in the Debug Target dropdown with the new name. By editing the launch.vs.json file, you can create as many debug configurations as you like for any number of CMake targets.

cmake-rc2-debugtarget

What’s next

Download Visual Studio 2017 RC.2 today, try it with your favorite CMake project and then share your experience. We’re interested in hearing both about the good and the bad as well as how you see this experience evolving beyond the upcoming Visual Studio 2017 RTM release.

We hope you enjoy these updates and you’ll keep the feedback coming.

Visual Awesomeness Unlocked: Pyramid 3D Chart by Collabion

$
0
0
Like the name suggests, a pyramid chart has a triangular structure. Lines run across it, dividing it into sections with thicknesses proportional to their values. A pyramid chart represents data in the form of percentages, with the whole chart representing 100%. A pyramid 3D chart built with Collabion helps you visualize the total data, as well as the hierarchical structure of it, in the form of a pyramid-like structure. A filtered pyramid chart, on the other hand, is represented in the form of a graduated glass pyramid filled by liquid, where the graduations indicate the values of different sections after data filtration. See more on this recent addition to the Custom Visual Gallery!
Viewing all 13502 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>