Alt-inserting linefeed (and other ascii codes)

June 13, 2014

I’ve learned to typ a danish Ø (as in Øredev) using “ALT + 0216″, and I love the ability to being able to type the character anywhere anytime.

So – can this be extending to typing linefeed into a Visual Studio resource field? oh yeah!

Just type “ALT + 0010″ to insert a linefeed!

Looong list of chars here:

http://office.microsoft.com/en-001/onenote-help/insert-ascii-or-unicode-latin-based-symbols-and-characters-HA010167539.aspx

manage wireless networks in windows 8.1 command prompt

June 11, 2014

http://windows.microsoft.com/en-us/windows-8/manage-wireless-network-profiles

 

netsh wlan show profiles

netsh wlan delete profile name=”andy”

List of Windows 8/Phone modern symbols

June 9, 2014

Real title: ‘Guidelines for Segoe UI Symbol icons’

http://msdn.microsoft.com/en-us/library/windows/apps/jj841126.aspx

The SUMIFS Excel function

June 4, 2014

Often I find myself wanting to sum numbers based on critera on another column – SUMIFS to the rescue!

http://office.microsoft.com/en-001/excel-help/sumifs-function-HA010047504.aspx

Adds the cells in a range that meet multiple criteria. For example, if you want to sum the numbers in the range A1:A20 only if the corresponding numbers in B1:B20 are greater than zero (0) and the corresponding numbers in C1:C20 are less than 10, you can use the following formula:

=SUMIFS(A1:A20, B1:B20, “>0″, C1:C20, “<10″)

IMPORTANT The order of arguments differ between the SUMIFS and SUMIF functions. In particular, the sum_range argument is the first argument in SUMIFS, but it is the third argument in SUMIF. If you are copying and editing these similar functions, make sure you put the arguments in the correct order.

Syntax
SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2,
criteria2], …)

Natural food – prevents and helps against diabetes

April 10, 2013

Just had to link to this, the Swedish MD Andreas Eenfeld of dietdoctor.com (kostdoktorn.se), has created a great reference page about diabetes in Swedish.

Swedish version: diabetes

English articles from Andreas regarding diabetes: diabetes on dietdoctor.com

 

Links for certification skills measured – 70-513: TS: Windows Communication Foundation Development with Microsoft .NET Framework 4

January 7, 2011

Sharing my personal study reference for the WCF cert. I added links to the MSDN docs where I could find a suitable place, please feel free to send me improvement suggestions (should it be put in a wiki page instead maybe?..). Enjoy!

Creating Services (20%)

  • Create service and operation contracts.

    This objective may include but is not limited to: one-way, duplex, and request reply; creating and specifying  fault contracts; configuration-based contracts; exposing service metadata; selecting serialization (e.g., data contract serializer vs. XML serializer)

    This objective does not include: designing service and operation contracts; transactions, instantiation, security-related attributes

  • Create data contracts.

    This objective may include but is not limited to: managing Known Types; controlling data serialization; using required and order attributes on data members; implementing versioning using IExtensibleDataObject; POCOs

    This objective does not include: using custom serializer (ISerializationSurrogate)

  • Create message contracts.

    This objective may include but is not limited to: body and header elements; using required and order attributes on members

  • Implement generic message handling.

    This objective may include but is not limited to: creating a catch-all contract; reading and writing messages; working with properties; working with headers

    This objective does not include: inheriting from Message class; using BodyWriter; creating Fault messages

  • Implement RESTful services.

    This objective may include but is not limited to: accessing HTTP context; WebGet/WebInvoke, UriTemplates; JSON/POX

  • Create and configure a Routing service.

    This objective may include but is not limited to: filters, static and dynamic, context-based routing, content-based routing; router interfaces

  • Create and configure a Discovery service.

    This objective may include but is not limited to: configuring ad hoc and managed modes; Discovery scopes; service announcements

Hosting and Configuring Services (18%)

  • Create and configure endpoints.

    This objective may include but is not limited to: default and standard bindings; custom bindings created from standard binding elements; standard endpoints; transports including HTTP, TCP, named pipes, UDP, MSMQ code-based service configuration; message encoding

    This objective does not include: creating a custom binding element; creating new standard endpoints, loading configuration from a location other than the default application configuration file, security, transaction, reliable sessions

  • Configure Behaviors.

    This objective may include but is not limited to: applying service, endpoint, and operation behaviors in configuration and code

    This objective does not include: creating a custom behavior; creating and using dispatch behaviors,loading configuration from a location other than the default application configuration file

  • Implement self hosting.

    This objective may include but is not limited to: configuring and instantiating a service host

    This objective does not include: implementing a custom service host

  • Implement Web server hosting.

    This objective may include but is not limited to: configuring IIS/WAS for WCF; deploying to IIS/WAS; file-less configuration; specifying a ServiceHost

    This objective does not include: Windows Application Server

Consuming Services (18%)

  • Create a service proxy.

    This objective may include but is not limited to: using a proxy class or channel factory to create a proxy; creating a proxy for an asynchronous communication; creating a proxy for a duplex communication

    This objective does not include: SvcUtil command-line switches

  • Configure client endpoints.

    This objective may include but is not limited to: standard bindings, custom bindings created from standard binding elements, configuring behaviors; code-based and configuration-based bindings; configuring addresses

    This objective does not include: security; creating custom behaviors

  • Invoke a service.

    This objective may include but is not limited to: invoking a service operation synchronously and asynchronously; handling service faults ; using the Message class; managing the life cycle of the proxy (open channels, close channels, abort channels, handle faulted channels); implementing duplex communication

  • Consume RESTful services.

    This objective may include but is not limited to: access HTTP context; JSON/POX

  • Implement service Discovery.

    This objective may include but is not limited to: configuring target scope; monitoring service announcements

Securing Services (17%)

Managing the Service Instance Life Cycle (13%)

  • Manage service instances.

    This objective may include but is not limited to: per call; per session; single; code and configuration; activation and deactivation; durable services; throttling

  • Manage sessions.

    This objective may include but is not limited to: code and configuration; session management attributes; throttling; reliable sessions; transport-level and application-level sessions; invoking a callback contract

  • Implement transactions.

    This objective may include but is not limited to: distributed transactions; transactional queues;transaction flow; configuring transaction binding attributes; WS-AtomicTransaction (WS-AT); transactional behavior attributes at the service and operation level; using transactions in code

  • Manage concurrency.

    This objective may include but is not limited to: single, multiple, and reentrant concurrency modes; SynchronizationContext and CallbackBehavior

    This objective does not include: deadlocks and other multithreading issues

  • Manage consistency between instances, sessions, transactions, and concurrency.

    This objective may include but is not limited to: possible combinations between instances, sessions, transactions, and concurrency (for example, instance mode single with concurrency mode multiple)

Monitoring and Troubleshooting Distributed Systems (14%)

        This objective may include but is not limited to: WMI; performance counters; event logging

Custom .NET DateTime formats

December 16, 2010

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

How to generate cs classes from xsd to consume xml

December 14, 2010

xsd /classes /language:cs /namespace:AndyHammar.Samples XsdFile.xsd

short:

xsd /c /l:cs /n:AndyHammar.Samples XsdFile.xsd

Howto write the ellipsis character on Windows

November 16, 2010

ALT + keypad 0133

update web reference: The components required to enumerate Web references are not installed on this computer.

June 7, 2010

cmd: “C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe” /resetskippkgs

From: http://social.msdn.microsoft.com/Forums/en/vstsdb/thread/bc3d9061-89c8-48b1-8e4e-9a876de955f3


Follow

Get every new post delivered to your Inbox.