Sonntag, 7. April 2013

Last post here...

Future posts can be found here:

http://www.usetheweb.ch

Samstag, 6. April 2013

Neue Möglichkeiten mit Visual Studio 2012 Update 2

Die wichtigsten neuen Funktionen in diesem Update sind1:
  • Erweiterte Qualitätssicherung: Erstellen Sie Testfälle über das Webportal und wenden Sie Testfälle über die Cloud mithilfe der Testfallverwaltung im Web auf Ihren Code an.
  • Flexible Planung: Verbesserungen an Work Item‘s und Kanban Board mit der Option für weitere Personalisierung, damit diese ganz genau auf Ihr Team abgestimmt werden können.
  • Branchenentwicklung: Erstellen Sie Branchenanwendungen, die mit HTML5 gerendert sind und LightSwitch für HTML-Clients und SharePoint unterstützen.

Samstag, 30. März 2013

Windows Server 2012 at a glance : Part 1

Tumbling arround the net and trying to get an overview over Windows Server 2012, I decided to create a quick summary containing the top links and a short summary about Windows Server 2012. The ultimate goal (at least for myself) is mastering the MCP 70-410...



Editions

Windows Server 2012 comes in the following editions:

  • Foundation
  • Essentials
  • Standard
  • Datacenter
A very good overview about the possibilities and difference can be found here (in German):


Hyper-V

One of the more prominent roles is the Hyper-V role. Wikipedia offers a nice article about the Microsoft way of virtualization under the following link:


Basics

Basic arcitecture of Hyper-V
Quite impressive is the scalability of Hyper-V Server 2012 in regards to the maximum ammount of memory and disk size of a virtual machine:
  • 1 TB Memory
  • 64 TB Disk Size


Virtual Networking Dive In...

Can be found at this URL:

Hyper-V contains two type of network adapters:
  • Synthetic Network Adapter
  • Legacy Network Adapter
Differences are nicely explained in the link below (German):


Configuration

Ping me baby

Did you know how to enable the pinging of a server, which by the way is disabled by default?

It's all about the Windows Firewall with a new Inbound Rule Set, "File and Printer Sharing (Echo Request - ICMPv4-In) ((Or v6-In, if you'r into IPV6)).


Manage Windows Store Apps

Application Control Policies contain a new feature called "Packaged app Rules". We're able to deny or allow specific Widnows 8 Store Apps to be installed on a Windows 8 Client:


Active Directory

As usual, we start with the basics of the according Wikipedia entry for Active Directory:

AD is structured in:
  • Forest
  • Tree
  • Domain
  • OU
  • Object


Service Locations (SRV) in Active Directory map the name of a service to a name of a server offering this service. 





Freitag, 29. März 2013

WinRT: Transport Security with Basic Authentication

Wieder mal viel gelernt:












http://msdn.microsoft.com/en-us/library/ms733775.aspx

Nur schade, dass für eine Windows 8 Store App ein valides Zertifikat vorausgesetzt wird:
http://social.msdn.microsoft.com/Forums/en-US/winappswithhtml5/thread/b6887fa1-1b29-4747-a0f3-573e77cd10ea/

Um dies zu umgehen, kann der Klassiker eingesetzt werden: Fiddler! Allerdings benötigt dieser ein Add-On, damit der Traffic der in einem eigenen Prozess laufenden Windows 8 Store Apps, auch mitgelesen werden kann.

http://blogs.msdn.com/b/fiddler/archive/2011/12/10/fiddler-windows-8-apps-enable-loopback-network-isolation-exemption.aspx

Dienstag, 19. März 2013

Classics => B.O.F.H


It's backup day today so I'm pissed off. Being the BOFH, however, does have it's advantages. I reassign null to be the tape device - it's so much more economical on my time as I don't have to keep getting up to change tapes every 5 minutes. And it speeds up backups too, so it can't be all bad can it? Of course not.

A user rings

"Do you know why the system is slow?" they ask

"It's probably something to do with..." I look up today's excuse ".. clock speed"

"Oh" (Not knowing what I'm talking about, they're satisfied) "Do you know when it will be fixed?"

"Fixed? There's 275 users on your machine, and one of them is you. Don't be so selfish - logout now and give someone else a chance!"

"But my research results are due in tommorrow and all I need is one page of Laser Print.."

"SURE YOU DO. Well, you just keep telling yourself that buddy!" I hang up.

You'd really think people would learn not to call..

The phone rings. It'll be him again, I know. That annoys me. I put on a gruff voice

"HELLO, SALARIES!"

"Oh, I'm sorry, I've got the wrong number"

"YEAH? Well what's your name buddy? Do you know WASTED phone calls cost money? DO YOU? I've got a good mind to subtract your wasted time, my wasted time, and the cost of this call from your weekly wages! IN FACT I WILL! By the time I've finished with you, YOU'LL OWE US money! WHAT'S YOUR NAME - AND DON'T LIE, WE'VE GOT CALLER ID!!"

I hear the phone drop and the sound of running feet - he's obviously going to try and get an alibi by being at the Dean's office. I look up his username and find his department. I ring the Dean's secretary.

"Hello?" she answers

"Hi, SIMON, B.O.F.H. HERE, LISTEN, WHEN THAT GUY COMES RUNNING INTO YOUR OFFICE IN ABOUT 10 SECONDS, CAN YOU GIVE HIM A MESSAGE?"

"I think so..." she says

"TELL HIM `HE CAN RUN, BUT HE CAN'T HIDE'"

"Um. Ok"

"AND DON'T FORGET NOW, I WOULDN'T WANT TO HAVE TO TELL ANYONE ABOUT THAT FILE IN YOUR ACCOUNT WITH YOUR ANSWERS TO THE PURITY TEST IN IT..."

I hear her scrabbling at the terminal...

"DON'T BOTHER - I HAVE A COPY. BE A GOOD PERVY AND PASS THE MESSAGE ON.."

She sobs her assent and I hang up. And the worst thing is, I was just guessing about the purity test thing. I grab a quick copy anyway, it might make for some good late-night reading.

Meantime backups have finished in record time, 2.03 seconds. Modern technology is wonderful, isn't it?

Another user rings.

"I need more space" he says

"Well, why not move to Texas?" I ask

"No, on my account, stupid."

Stupid? Uh-Oh..

"I'm terribly sorry" I say, in a polite manner equal to that of Jimmy Stewart in a Weekend Family Matine Feature "I didn't quite catch that. What was it that you said?"

I smell the fear coming down the line at me, but it's too late, he's a goner and he knows it.

"Um, I said what I wanted was more space on my account, *please*"

"Sure, hang on"

I hear him gasp his relief even though he'd covered the mouthpeice.

"There, you've got *plenty* of space now!"

"How much have I got?" he simps

Now this *REALLY* *PISSES* *ME* *OFF*! Not only do they want me to give them extra space, they want to check it, then correct me if I don't give them enough! They should be happy with what I give them *and that's it*!

Back into Jimmy Stewart mode.

"Well, let's see, you have 4 Meg available"

"Wow! Eight Meg in total, thanks!" he says, pleased with his bargaining power

"No" I interrupt, savouring this like a fine red at room temperature, with steak, extra rare, to follow; "4 Meg in total.."

"Huh? I'd used 4 Meg already, How could I have 4 Meg Available?"

I say nothing. It'll come to him.

"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaagggggghhhhhH!"

I kill me; I really do!


The electronic rights of the original BOFH are owned by DATAMATION magazine.
All other rights are retained by Simon Travaglia.

Sonntag, 13. Januar 2013

BackgroundWorker in Windows RT


As you might have already noticed, the BackGroundWorker class is missing in Windows RT / app development.

The BackgroundWorker was actually just a wrapper for the following class:
System.Threading.ThreadPool.

So the fun begins again with Threading.

The ThreadPool for Win RT is well documented in the Windows Store Apps Development Center:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.system.threading.threadpool.aspx

For those, who like to actually work with an emulated BackgroundWorker, there are also some folks in the web who did build a custom version of the BackgroundWorker like:
http://www.lhotka.net/weblog/CommentView,guid,9cc11080-eeb5-41c0-bde7-b437d28d56fc.aspx#commentstart


Freitag, 11. Januar 2013

Apple Fakes... Part 1

Um es in "unserer" Sprache auszudrücken:

var bigfake = A.Fake<IGarantieverlaengerung>();
bigfake.IsLegal.Should().BeTrue();

=> Test failed ... bigfake.IsLegal ...expected true but found false.


Wobei "I" ausnahmsweise nicht für Interface steht...

IGarantieverlängerung



Auszug aus dem folgenden Online Artikel von 20 Minuten:
http://www.20min.ch/digital/news/story/13313863

"Das Unternehmen Apple, aber auch die Schweizer Wiederverkäufer von Apple-Produkten sind unter Beschuss. Sie werden von Konsumentenschützern massiv kritisiert. Grund sind die neuen gesetzlichen Garantiebestimmungen, die auch für jedes verkaufte Apfel-Gerät, ob iPhone, iPad oder Mac-Computer gelten."

Und weiter

"Der Vorwurf ist happig: Viele Apple-Verkäufer machten den Konsumenten unklare Informationen über die Garantie, die ihnen nach Schweizer Recht zustehe. Unzählige Händler von Apple-Produkten verwehrten das Recht auf eine zweijährige Garantie mit dem Argument, der Lieferant Apple gewähre ihnen gegenüber auch nur eine einjährige Herstellergarantie."

Weitere Infos dazu vom Kassensturz:
http://www.srf.ch/konsum/themen/konsum/bschiss-mit-garantie-haendler-verstossen-gegen-das-gesetz

Mittwoch, 9. Januar 2013