Microsoft CEO and UWM grad Nadella on Brexit vote: 'We're going to continue to invest'

nadella-satya

Despite international fears about the impact on technology companies of the United Kingdom’s decision to exit the European Union, Microsoft Corp. CEO Satya Nadella this week said the vote will not impact the Redmond, Wash.-based company’s investments – or jobs – in the country.

“When it comes to the U.K., we’ve been there for 30 years and we’re going to continue to invest because it’s a huge market and a place which is pretty core to us,” Nadella said on CNBC. “We’re a global company – 55 percent of our revenues are global – so what happens in Britain and (around) the globe matters a lot to us.”

Microsoft (Nasdaq: MSFT) has more than 3,000 employees in six U.K. offices, according to the company’s website. The country accounts for 7 to 8 percent of Microsoft’s revenue, said Nadella, who's a graduate of the University of Wisconsin-Milwaukee. The company, he said, won’t let the Brexit vote impact investments in the U.K. and won’t remove jobs from the country.

Earlier this year, the company's U.K. chief released a statement, writing a vote to exit the EU could risk investments from Microsoft and other technology companies.

“Our view is that the U.K. should remain in the EU,” Microsoft’s U.K. chief executive Michel Van der Bel wrote. “The U.K. remaining in the EU supports important criteria for continued and future investment by Microsoft and others.”

Seattle-area financial experts said last week it will take years to realize the full effect of the Brexit vote for U.S. companies. Many expect a negative impact on technology companies.

Microsoft says Windows 10 Anniversary Update is coming August 2nd

microsoft-build-2016Windows 10's first big update will arrive August 2nd — or, at least, that's what it sounds like. Microsoft published a blog post earlier today that included only a headline, "Microsoft announces Windows 10 Anniversary Update available Aug. 2," and then pulled the story moments later. It's possible that Microsoft just got the date wrong, but, more likely than not, Microsoft seems to have just clicked the publish button earlier than it meant to. Presumably, a formal announcement will come soon.

Microsoft announced Windows 10's Anniversary Update back in March, during its Build conference. The update puts a major focus on Windows Ink, building out its feature set to make stylus use far more powerful. It also brings extensions to Edge, as well as smaller improvements to Hello and Cortana, along with some minor interface tweaks.

Docker opens up Docker for Windows beta to everyone

DockerHomePage

Programmers and developers have been anxiously waiting for an invite into the Docker application beta since earlier this year. During their announcement video, Docker shared that they had over 30,000 interested parties sign up within hours of the initial announcement. A grand total of 70,000 were able to join the beta to provide feedback and get a hands-on experience with the application. But for those that haven’t gotten in, today they can do so with the open beta announced for Docker on Mac and Windows.

The Docker platform is one of the most versatile means for developers and IT to create and test their application software through multiple devices. Docker boasts that the Windows application will provide better performance and reliability as well as advanced options to change CPU, Memory Usage, and many more tweaks to improve development.

With Docker on Windows, users can expect the same experience they’ve had before with enhancements, including deeper integration of running Docker and native virtualization for the Windows platform. The in-container development makes it possible to auto-update the software within the platform–just a save and refresh after, and the application reflects changes made to the coding without any hassle.

The polyglot environment is a major feature for teams, developers, and organizations that use multiple coding on their projects. Mounted volumes will notify the document when it’s changed. Developers are now able to build applications on a Windows machine without the need to add more frameworks. For example, when a developer writes in Java coding, the application will recognize it as Java coding. The same will occur with other supported languages.

The Docker application for Windows will provide better networking than before with built-in DNS servers and easy use over VPN. It will run with Native Hypervisor Support meaning that minimum specifications require a Windows 10 Pro machine with the latest Hyper-V updates. So what are you waiting for? The Docker public beta can be downloaded from their official website.

Xamarin Forms MasterDetail Page Navigation Recipe

In this recipe I will show you how to add a hamburger menu to your Xamarin Forms application using the MasterDetailPage class. The Xamarin.Forms MasterDetail Page consists of one page for the master and one or more pages for the detail.

When used for the main navigation, as in this recipe, we will have a single master page and 4 detail pages. The code for this recipe comes from the Xamarin Forms CRM sample. I have simplified and streamlined the code, and a full Xamarin Studio solution is included at the bottom of this post.

Xamarin.Forms MasterDetail

Think of the MasterDetailPage as the traffic cop of your application navigation. When a user clicks on the hamburger menu, Xamarin.Forms MasterDetail pushes the menu onto the screen. Then when the user taps on a menu item, MasterDetail creates the target page and pushes it onto the stack. Besides those two things, and some styling, MasterDetail doesn’t do much. Have a look at the code.

public class RootPage : MasterDetailPage
{
	public RootPage ()
	{
		var menuPage = new MenuPage ();
		menuPage.Menu.ItemSelected += (sender, e) => 
                             NavigateTo (e.SelectedItem as MenuItem);
		Master = menuPage;
		Detail = new NavigationPage (new ContractsPage ());
	}

	void NavigateTo (MenuItem menu)
	{
		Page displayPage = (Page)Activator.CreateInstance (menu.TargetType);
		Detail = new NavigationPage (displayPage);
		IsPresented = false;
	}
}

Pretty simple right? The only complicated bit is with the (Page)Activator.CreateInstance (menu.TargetType) part, but if you have been doing C# on .Net for a while, you probably have seen it before. All it is, is another way of creating objects.

MasterBehavior

In Xamarin.Forms 1.3, the Xamarin.Forms MasterDetail MasterDetail Page received a new property called MasterBehavior. This property controls how the menu will react when activated. The enumeration MasterBehavior has a few options and they are:

public enum MasterBehavior
{
    Default,
    Popover,
    Split,
    SplitOnLandscape,
    SplitOnPortrait
}

The normal behavior of the MasterDetailPage in landscape mode is “SplitOnLandscape”. I think splitting is normal when using the MasterDetailPage for detail drill in type navigation but not when using it as a hamburger menu or your apps main navigation. When using the MasterDetailPage for app navigation, I set the behavior to popover.

The Menu Page

The menu page is just what the name implies, it’s the Xamarin Forms page that will be shown when the user clicks the menu button. This is the master part of the Xamarin.Forms MasterDetail Page. Our MenuPage is a simple content page with a StackLayout containing a label and a ListView of our menu items.

Please note the public property Menu. This property allows our MasterDetail page access to the ItemSelected event. When the event is fired, the item selected will be sent to the NavigateTo method on the master detail object.

public class MenuPage : ContentPage
{
	public ListView Menu { get; set; }

	public MenuPage ()
	{
		Icon = "settings.png";
		Title = "menu"; // The Title property must be set.
		BackgroundColor = Color.FromHex ("333333");

		Menu = new MenuListView ();

		var menuLabel = new ContentView {
			Padding = new Thickness (10, 36, 0, 5),
			Content = new Label {
				TextColor = Color.FromHex ("AAAAAA"),
				Text = "MENU", 
			}
		};

		var layout = new StackLayout { 
			Spacing = 0, 
			VerticalOptions = LayoutOptions.FillAndExpand
		};
		layout.Children.Add (menuLabel);
		layout.Children.Add (Menu);

		Content = layout;
	}
}

Menu Item

Menu Item is a simple type that holds our menu data and the most important data is the Target type. When a user clicks on a menu item, the NavigateTo method will create a new page from the TargetType, and push that page onto the stack.

public class MenuItem
{
	public string Title { get; set; }
	public string IconSource { get; set; }
	public Type TargetType { get; set; }
}

Menu List View

The menu list view couldn’t be simpler; we use the built in ImageCell for the rows and set the bindings to the properties on the MenuItem type. We set the first item as the selected item and also used it when constructing the MasterDetail Page initial detail class.

public class MenuListView : ListView
{
	public MenuListView ()
	{
		List data = new MenuListData ();

		ItemsSource = data;
		VerticalOptions = LayoutOptions.FillAndExpand;
		BackgroundColor = Color.Transparent;

		var cell = new DataTemplate (typeof(ImageCell));
		cell.SetBinding (TextCell.TextProperty, "Title");
		cell.SetBinding (ImageCell.ImageSourceProperty, "IconSource");

		ItemTemplate = cell;
	}
}

Menu List Data

The MenuListData class is a data structure holding our applications navigation. In your app you could get this data from the database or configuration file. The menu structure of my application doesn’t change much, so I just use code.

public class MenuListData : List
{
	public MenuListData ()
	{
		this.Add (new MenuItem () { 
			Title = "Contracts", 
			IconSource = "contracts.png", 
			TargetType = typeof(ContractsPage)
		});

		this.Add (new MenuItem () { 
			Title = "Leads", 
			IconSource = "Lead.png", 
			TargetType = typeof(LeadsPage)
		});

		this.Add (new MenuItem () { 
			Title = "Accounts", 
			IconSource = "Accounts.png", 
			TargetType = typeof(AccountsPage)
		});

		this.Add (new MenuItem () {
			Title = "Opportunities",
			IconSource = "Opportunity.png",
			TargetType = typeof(OpportunitiesPage)
		});
	}
}

The Content Pages

These pages are what is created when a user clicks on our menu items.

public class ContractsPage : ContentPage
{
	public ContractsPage (){}
}

public class LeadsPage : ContentPage
{
	public LeadsPage (){}
}

public class AccountsPage : ContentPage
{
	public AccountsPage (){}
}

public class OpportunitiesPage : ContentPage
{
	public OpportunitiesPage (){}
}

Download the source code PSC-MasterDetail.zip (79.74 kb)

Happy coding!

Xamarin Studio: complete uninstall on Mac

Remove these directories:

/Applications/Xamarin Studio.app
/Developer/MonoTouch
/Developer/MonoAndroid
/Library/Frameworks/Mono.framework
/Library/Frameworks/Xamarin.Mac.framework
/Library/Frameworks/Xamarin.Android.framework

Locations in your user directory:

~/Library/Caches/Xamarin
~/Library/Caches/XamarinStudio-4.0
~/Library/Developer/Xamarin
~/Library/Developer/XamarinStudio
~/Library/Logs/Xamarin
~/Library/Logs/XamarinStudio-4.0
~/Library/Preferences/Xamarin
~/Library/Preferences/XamarinStudio-4.0
~/Library/Xamarin
~/Library/Xamarin.Mac
~/Library/MonoTouch
~/Library/MonoAndroid
~/Library/XamarinStudio-4.0

That's all there is afaik.

Electron 1.0

For the last two years, Electron has helped developers build cross platform desktop apps using HTML, CSS, and JavaScript. Now we’re excited to share a major milestone for our framework and for the community that created it. The release of Electron 1.0 is now available from electron.atom.io.

electron

Electron 1.0 represents a major milestone in API stability and maturity. This release allows you to build apps that act and feel truly native on Windows, Mac, and Linux. Building Electron apps is easier than ever with new docs, new tools, and a new app to walk you through the Electron APIs.

If you’re ready to build your very first Electron app, here’s a quick start guide to help you get started.

Microsoft has hit $1 trillion in all-time revenue, and with more profit than Apple

microsoft-satya-nadella-6

Last quarter, Microsoft hit a major milestone: $1 trillion in all-time cumulative revenue reports technology consultant Jeff Reifman.

He noticed the milestone while researching a post about Microsoft's tax breaks in the state of Washington.

Microsoft hit the milestone in its last quarter, according to the spreadsheet posted by Reifman.

Apple hit $1 trillion in revenue earlier, in 2015, his research shows.

On the other hand, when it comes to profits, Microsoft has come out slightly ahead of Apple: $261.6 billion in cumulative profits for Apple, and slightly more, $265.2 billion for Microsoft.

Amazon and Google, younger companies than Microsoft and Apple, have not yet hit the $1 trillion revenue mark, but are about half-way there, Reifman reports. Amazon, for instance, came in at $545 billion in all time revenue but only $3.31 billion in profit.

As for Google, Reifman's research shows it has so far earned $417.3 billion in all-time revenue with $96.3 billion, cumulatively, in profit.

Introducing the IIS Administration API

The IIS team has been working on a new RESTful API to manage your IIS configuration. While still under development, the team was eager to share a preview of the new API. The API allows configuration of IIS resources such as authorization rules, modules, and applications.

iisRest

The API has been built with Hypertext Application Language (HAL) to allows APIs to have built-in discoverability. Starting at the root of the API, you can browse the entire API surface.

In addition to the API, the IIS team has also built an API explorer that makes it easy to browse the entire API surface.

Head on over to https://jimmyca-srv2.cloudapp.net:55539 and use the access token OgMks6N7CtZTptX2DTnLe8JvkmATOuqw1ZJnZzK1RojeYs251Wlfvg to check out the API explorer.

If you want more information visit the IIS blog at https://blogs.iis.net/adminapi/  and watch that space as the IIS team continues to post updates.

ASP.NET LinkButton: children disappears after postback

I have a LinkButton with image and label inside it or tags i and span as in the following picture.example_linkbutton

The code in the page is:

<asp:LinkButton ID="LinkButton1" runat="server">
    <i class="glyphicon glyphicon-plus"></i>
    <span class="js-add-button" runat="server" id="Span1">Add New</span>
</asp:LinkButton>

After a postback everything inside the LinkButton disappeared. I've spent two days to understand why and the solution is very easy.

<asp:LinkButton ID="LinkButton1" runat="server">
    <i class="glyphicon glyphicon-plus" runat="server"></i>
    <span class="js-add-button" runat="server" id="Span1">Add New</span>
</asp:LinkButton>

The tag i doesn't have runat="server" and for that you lost all content inside the LinkButton.

Happy coding!

Microsoft takes on IFTTT with Flow

microsoft-flow

IFTTT is one of the most useful online services. Today, Microsoft is taking on IFTTT with its new service called “Flow”. The company is launching the preview of Flow today, and it works almost like IFTTT.

Unlike IFTTT, Flow isn’t mostly focused on consumers — instead, it’s mostly focused on enterprise integrations. Flow lets you automate your workflow, and be more productive. With Flow, you can setup GitHub to automatically send a Slack notification and add a card in Trello when a new issue is submitted. Additionally, you can also archive your tweets to OneDrive, which is also an interesting flow. There are more than 35 connections available on Flow.

Microsoft Flow is live right now, and you can check it out here.

Advertsing

125X125_06

Planet Xamarin

Planet Xamarin

Calendar

<<  September 2017  >>
MonTueWedThuFriSatSun
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

View posts in large calendar

Month List