A Developer’s Guide to Windows 10

https://www.microsoftvirtualacademy.com/en-us/training-courses/a-developers-guide-to-windows-10-12618/?Wt.mc_id=dx_MVP36769

Do Windows 10 and Visual Studio 2015 make a developer’s job easier? You bet they do! And now that the Windows 10 Universal Windows Platform (UWP) is here, find out how simple it is for you to create outstanding end user experiences tailored to a wide array of device types, from the smallest Lumia phone to the new 84″ Surface Hub, all running the same app!

Walk through the core developer scenarios with experts Andy Wigley and Shen Chauhan, and see how to take an app from the Visual Studio 2015 designer all the way to the Windows Store. Find out what all the excitement is about, and watch cool demos, including how to cloud-enable your in-store app, a look at implementation and diagnostics in Visual Studio (to help you stay productive), and an exploration of Cortana integration, speech-to-text input, and inking. Get the details on everything you need to know to build compelling app experiences, with less work than ever before, on Windows 10, which is expected to run on a billion devices in the next few years!

Learn

·         Explore the Universal Windows Platform.

·         Take a look at XAML controls in UWP.

·         Explore windowing and in-app navigation.

·         Learn about adaptive UI.

·         Get the details on adaptive code.

·         Look at the application lifecycle.

·         Find out about XAML performance.

·         Dig into new tooling in Visual Studio 2015.

·         Hear about the Microsoft Web Platform.

·         Learn about improvements to XAML data binding.

·         Take a look at background execution.

·         Hear about building an Azure back end.

·         Get to know Live Tiles, Notifications, and the Action Center.

·         Hear about App Services.

·         Get details on porting Windows 8.1 apps to Windows 10.

·         Learn to submit your app to the Windows Store.

·         Take personal computing beyond the mouse and keyboard.

·         Explore app-to-app communication.

https://www.microsoftvirtualacademy.com/en-us/training-courses/a-developers-guide-to-windows-10-12618/?Wt.mc_id=dx_MVP36769

Posted in .Net, Community | Tagged , , | Leave a comment

The operation failed because an index or statistics with name ‘index name’ already exists on table ‘table name’

The short article shows you one of the possible ways to resolve “The operation failed because an index or statistics with name ‘index name’ already exists on table ‘table name’”.

The error indicate that is a duplicated index name as the one you want to create. Again, you will likely bump into this if you have Entity Code First model.

When you see the above message then DO NOT google search “The operation failed because an index or statistics with name ‘index name’ already exists on table ‘table name’”. You will waste a lot of time on that.

For me, I will just drop the index and let it create again.

DROP INDEX index_name ON table_name

Posted in .Net, Community | Tagged , | Leave a comment

Unable to update database to match the current model because there are pending changes and automatic migration is disabled

This short article shows you one of the ways to resolve the error “Unable to update database to match the current model because there are pending changes and automatic migration is disabled.”

When you have an existing Code First project sometime you will bump into the error “Unable to update database to match the current model because there are pending changes and automatic migration is disabled”.

Go to Tools -> NuGet Package Manager -> Package Manager Console (based on Visual Studio 2015).

Type:

PM> Add-migration

cmdlet Add-Migration at command pipeline position 1

Supply values for the following parameters:

Name: TourismContext

Scaffolding migration ‘TourismContext’.

The Designer Code for this migration file includes a snapshot of your current Code First model. This snapshot is used to calculate the changes to your model when you scaffold the next migration. If you make additional changes to your model that you want to include in this migration, then you can re-scaffold it by running ‘Add-Migration TourismContext’ again.

PM>

The TourismContext is just a name of the context, you might not use the same name.

After this type:

PM> Update-database

Posted in .Net, Community | Tagged | Leave a comment

Could not load file or assembly ‘Microsoft.Web.Infrastructure

This short article shows you how to resolve the error “Could not load file or assembly ‘Microsoft.Web.Infrastructure… “

Go to Tools -> NuGet Package Manager -> Package Manager Console (based on Visual Studio 2015).

Type Install-Package Microsoft.Web.Infrastructure.

You console will look like the one below.

PM> Install-Package Microsoft.Web.Infrastructure

Attempting to gather dependencies information for package ‘Microsoft.Web.Infrastructure.1.0.0’ with respect to project ‘BookStore’, targeting ‘.NETFramework,Version=v4.5’

Attempting to resolve dependencies for package ‘Microsoft.Web.Infrastructure.1.0.0’ with DependencyBehavior ‘Lowest’

Resolving actions to install package ‘Microsoft.Web.Infrastructure.1.0.0’

Resolved actions to install package ‘Microsoft.Web.Infrastructure.1.0.0’

Adding package ‘Microsoft.Web.Infrastructure.1.0.0’ to folder ‘C:\Users\chanmm\Downloads\AngularJS-WebAPI-BookStore\AngularJS-WebAPI-BookStore\packages’

Added package ‘Microsoft.Web.Infrastructure.1.0.0’ to folder ‘C:\Users\chanmm\Downloads\AngularJS-WebAPI-BookStore\AngularJS-WebAPI-BookStore\packages’

Added package ‘Microsoft.Web.Infrastructure.1.0.0’ to ‘packages.config’

Successfully installed ‘Microsoft.Web.Infrastructure 1.0.0.0’ to BookStore

PM>

Posted in .Net, Community | Tagged , , , | Leave a comment

SharePoint Online 2013 vs. SharePoint 2013 On-Premise

This short articles show you all the features that is meant for SharePoint On-Premise.

When you reach this page https://technet.microsoft.com/en-us/library/jj819267.aspx then you will find the article comparing SharePoint Online Edition and SharePoint On-Premise Edition separately. Somehow the features it compares are the same.

I extracted out what is in On-Premise but not in SharePoint Online as the table below.

Development Features

SharePoint Online

SharePoint On-Premise

BCS: Profile Pages

No

Yes

BCS: Rich Client Integration

No

Yes

Custom Site Definitions

No

Yes

Custom Site Provisioning

No

Yes

Full-Trust Solutions

No

Yes

IT Pro Features

SharePoint Online

SharePoint On-Premise

Alternate Access Mapping (AAM)

No

Yes

Claims-Based Authentication Support

No

Yes

Configuration Wizards

No

Yes

Distributed Cache

No

Yes

Host Header Site Collections

No

Yes

Improved Self-Service Site Creation

No

Yes

Managed Accounts

No

Yes

Quota Templates

No

Yes

Read-Only Database Support

No

Yes

Remote BLOB Storage

No

Yes

Request Management

No

Yes

Request throttling

No

Yes

Resource throttling

No

Yes

SharePoint Health Analyzer

No

Yes

State Service

No

Yes

Streamlined Central Administration

No

Yes

System Status Notifications

No

Yes

Unattached Content Database Recovery

No

Yes

Usage Reporting and Logging

No

Yes

Content features

SharePoint Online

SharePoint On-Premise

Email enabled lists and libraries

No

Yes

IRM using Azure Rights Management

No

Yes

IRM using Windows Server AD RMS

No

Yes

Office Online (edit)

No

Yes

Office Web Apps Server integration

No

Yes

PowerPoint Automation Services

No

Yes

Surveys

No

Yes

WCM: Multiple Domains

No

Yes

Word Automation Services

No

Yes

Insights features

SharePoint Online

SharePoint On-Premise

PerformancePoint Services

No

Yes

PerformancePoint Services (PPS) Dashboard Migration

No

Yes

Scorecards & Dashboards

No

Yes

SQL Server Reporting Services (SSRS) Integrated Mode

No

Yes

Search features

SharePoint Online

SharePoint On-Premise

Advanced Content Processing

No

Yes

Custom entity extraction

No

Yes

Extensible content processing

No

Yes

On-premises search index

No

Yes

Search connector framework

No

Yes

Sites features

SharePoint Online

SharePoint On-Premise

Custom Managed Paths

No

Yes

 

In additional, one of the critical features for development is not existed in SharePoint Online. That is the Web Designer Galleries.

SharePoint On-Premise Site Settings looks like the one below.

clip_image002

SharePoint Online is the one below and this Web Designer Galleries does not exist.

clip_image004

Posted in .Net, Community, Microsoft Office | Tagged , , , , , | Leave a comment

Getting Started with Windows 10 for IT Professionals

This is a free Windows 10 IT Pro course.

https://www.microsoftvirtualacademy.com/en-US/training-courses/getting-started-with-windows-10-for-it-professionals-10629/?Wt.mc_id=dx_MVP36769

As an IT Pro, how can you securely enable your organization with Windows 10? Find out, in this practical and informative course. Windows offers management features that empower IT professionals to address the current shift toward a mobile workplace, a realization of heterogeneous ecosystems, bring your own device (BYOD) and choose your own device (CYOD) scenarios, and the cloud.

Walk through what’s new in Windows 10 deployment and management, with a team of experts. Look at runtime provisioning, mobile device management (MDM), secure authentication, and much more. Plus, find out what Windows as a Service means for you and your organization.

Learn

·         Learn how to secure your organization via included biometric capabilities.​ ​

·         Explore Windows 10 security.

·         Define traditional management, with Group Policy, System Center, and related components, like MDM.

·         Learn to deploy Windows 10.

·         Learn how to protect your data with containers without boxing yourself in.

·         Explore the benefits of runtime provisioning.

https://www.microsoftvirtualacademy.com/en-US/training-courses/getting-started-with-windows-10-for-it-professionals-10629/?Wt.mc_id=dx_MVP36769

Posted in .Net, Community, Operating System | Tagged , , , , , , , | Leave a comment

We couldn’t find any data in your Excel workbook

This short article shows you how to resolve the error “We couldn’t find any data in your Excel workbook” in Power BI

When you click Import for Import Excel data into Power BI.

clip_image002

You might see the follow error.

clip_image004

What you need to do is open the Excel and add a Table to the area your data when to import.

It works for me.

clip_image006

Posted in .Net, Community | Tagged | Leave a comment