Blog entries for category "windows":

Syndicate content

Bringing back the Console to .NET for Windows Store Apps – A fully Immersive Console

Keywords: , , .

Some of my friends already know that I have been working on something new over the last few months. Having helped shipping Windows 8, its Store App runtime for .NET applications, and the Async language and Framework features in .NET 4.5 was an awesome experience. I am very proud of our work. But over the last several moths I worked on something new – first a side project, it has now become a full feature. I wished I could have done this as a part of the .NET Team, but resource constraints and business priorities did not make this possible. Today I can talk about it publically, as my own boss. Exciting!

I continue working very closely with the Framework teram, and together we are announcing todfay a crucial update to Windows 8 Store App API Framework.

 
                                                                                                                                                                                                                                                                                       

.NET time-travel or the lost hour of DST

Keywords: , , .

Every year again comes the DST change...

And every year again .NET developers get confused about a whole hour mysteriously missing from their logs. Others, in contrast, seem to experience an unwelcome déjà vu and to encounter things twice.

In this brief article I discuss how the DateTime type causes many of these problems and give a few tips on using the DateTimeOffset type to avoid most of the problems associated with DateTime in the context of DST transitions.

                                                                                                                                                                                                                                                                                       

The pitfalls of time zone naming conventions

Keywords: , , .

Do you know why "Greenwich Standard Time"-zone has no daylight saving time? And why "US Eastern Standard Time" does not actually apply anywhere on the Atlantic coast of the United States? In this brief article I talk about the pitfalls of name IDs in the Windows time zone database and about what to look out for when doing time zone programming under .NET.

                                                                                                                                                                                                                                                                                       

Windows forces Guest user login when connecting through a local network

Keywords: , .

This took me ages to find out, so here is the solution for the benefit of everyone who is having a similar issue:

Problem:

In a local Windows-based network you are trying to connect to a machine (e.g. in order to browse its local file storage). When connecting, it offers you to connect as Guest user only and does not offer you the option to connect as a local user of the target machine (which is what you would normally want).

Solution (in brief):

In your local security settings, find the policy for "Network access: Sharing and security model for local accounts" and set it to "Classic – local users authenticate as themselves".

Step by step solution: