This is a mirror of official site: http://jasper-net.blogspot.com/

PerfView

| Wednesday, February 27, 2013
Overview

PerfView is a performance analysis tool focusing on ETW information (ETL files) as well as CLR memory information (heap dumps). It can collect and view ETL files as well as XPERF CSV files. Powerful grouping operators allow you to understand performance profiles in ways other tools can't. PerfView is used internally at Microsoft by a number of teams and is the primary performance investigation tool on the .NET Runtime team. Features include:
 
•Non-invasive collection - suitable for use in live, production environments
 •Xcopy deployment - copy and run
 •Memory
 ◦Support for very large heaps (gigabytes)
 ◦Snapshot diffing
 ◦Dump files (.dmp)
 •CPU Performance
 ◦Support for managed, native, and mixed code
 ◦Can read XPerf logs
 ◦Profile diffing

Read more: MS Downloads
QR: Inline image 1

Posted via email from Jasper-net

CLR Profiler for .NET Framework 4

|
Overview

The CLR Profiler includes a number of very useful views of the allocation profile, including a histogram of allocated types, allocation and call graphs, a time line showing GCs of various generations and the resulting state of the managed heap after those collections, and a call tree showing per-method allocations and assembly loads.

Read more: MS Downloads
QR: Inline image 1

Posted via email from Jasper-net

NP .NET Profiler

|
Overview

NP .NET Profiler Tool is designed to assist in troubleshooting issues such as slow performance, memory related issues, and first chance exceptions in .NET applications. 

It can troubleshoot following types of .NET applications : 

•Windows Store Applications
ASP.NET Web Applications 
• .NET Windows Applications (WCF, WPF and WF ) 
• .NET Console Applications 
• .NET Window Services 
• .NET COM+ Components 
• Azure Service 

A step-by-step walk-through is available here 
You can also find FAQ on NP .NET Profiler at this link

Read more: MS Downloads
QR: Inline image 1

Posted via email from Jasper-net

A lot of HRESULT codes...

| Tuesday, February 26, 2013
Just found a huge list of HR codes... BTW, let me explain the type of information I publish here. It's not exactly a blog, it's rather a  public notebook, where I put the stuff I want to be at hand, and if somebody else will find it useful, so better! And yes, I know, there is error lookup in Visual Studio, but when you investigate a test machine or a customer computer, you don't have Visual Studio at hand, but you usually have Internet...

NameHexDecimal
E_UNEXPECTED0x8000FFFF-2147418113
E_NOTIMPL0x80004001-2147467263
E_OUTOFMEMORY 0x8007000E-2147024882
E_INVALIDARG0x80070057-2147024809
E_NOINTERFACE0x80004002-2147467262
E_POINTER0x80004003 -2147467261
E_HANDLE0x80070006-2147024890
E_ABORT0x80004004-2147467260
E_FAIL0x80004005-2147467259
E_ACCESSDENIED0x80070005-2147024891
E_PENDING0x8000000A-2147483638
CO_E_INIT_TLS0x80004006-2147467258
CO_E_INIT_SHARED_ALLOCATOR 0x80004007-2147467257
CO_E_INIT_MEMORY_ALLOCATOR0x80004008-2147467256
CO_E_INIT_CLASS_CACHE0x80004009-2147467255
CO_E_INIT_RPC_CHANNEL 0x8000400A-2147467254
CO_E_INIT_TLS_SET_CHANNEL_CONTROL0x8000400B-2147467253
CO_E_INIT_TLS_CHANNEL_CONTROL0x8000400C-2147467252
CO_E_INIT_UNACCEPTED_USER_ALLOCATOR0x8000400D-2147467251
CO_E_INIT_SCM_MUTEX_EXISTS0x8000400E-2147467250
CO_E_INIT_SCM_FILE_MAPPING_EXISTS 0x8000400F-2147467249
CO_E_INIT_SCM_MAP_VIEW_OF_FILE0x80004010-2147467248
CO_E_INIT_SCM_EXEC_FAILURE0x80004011-2147467247
CO_E_INIT_ONLY_SINGLE_THREADED 0x80004012-2147467246
CO_E_CANT_REMOTE0x80004013-2147467245
CO_E_BAD_SERVER_NAME0x80004014-2147467244
CO_E_WRONG_SERVER_IDENTITY 0x80004015-2147467243
CO_E_OLE1DDE_DISABLED0x80004016-2147467242
CO_E_RUNAS_SYNTAX0x80004017-2147467241
CO_E_CREATEPROCESS_FAILURE 0x80004018-2147467240
CO_E_RUNAS_CREATEPROCESS_FAILURE0x80004019-2147467239
CO_E_RUNAS_LOGON_FAILURE0x8000401A-2147467238
CO_E_LAUNCH_PERMSSION_DENIED0x8000401B-2147467237
CO_E_START_SERVICE_FAILURE0x8000401C-2147467236
CO_E_REMOTE_COMMUNICATION_FAILURE0x8000401D -2147467235
CO_E_SERVER_START_TIMEOUT0x8000401E-2147467234
CO_E_CLSREG_INCONSISTENT0x8000401F-2147467233
CO_E_IIDREG_INCONSISTENT 0x80004020-2147467232
CO_E_NOT_SUPPORTED0x80004021-2147467231
CO_E_RELOAD_DLL0x80004022-2147467230
CO_E_MSI_ERROR 0x80004023-2147467229
CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT0x80004024-2147467228
CO_E_SERVER_PAUSED0x80004025-2147467227
CO_E_SERVER_NOT_PAUSED0x80004026-2147467226
CO_E_CLASS_DISABLED0x80004027-2147467225
CO_E_CLRNOTAVAILABLE0x80004028-2147467224
CO_E_ASYNC_WORK_REJECTED0x80004029-2147467223
CO_E_SERVER_INIT_TIMEOUT0x8000402A-2147467222
CO_E_NO_SECCTX_IN_ACTIVATE0x8000402B -2147467221
CO_E_TRACKER_CONFIG0x80004030-2147467216
CO_E_THREADPOOL_CONFIG0x80004031-2147467215
CO_E_SXS_CONFIG0x80004032 -2147467214
CO_E_MALFORMED_SPN0x80004033-2147467213
S_OK0x000000000
S_FALSE0x000000011
(more....)

QR: Inline image 1

Posted via email from Jasper-net

Modern UI for WPF

|
Inline image 2

A set of controls and styles converting your WPF application into a great looking Modern UI app. This open source project is a spin-off of XAML Spy, the visual runtime inspector for Silverlight, Windows Phone, Windows Store and WPF. Read the announcement at xamlspy.com.

Read more: Codeplex
QR: Inline image 1

Posted via email from Jasper-net

How to develop your own Boot Loader

| Monday, February 25, 2013
Who may be interested

Most of all I’ve written this article for those who have been always interested in the way the different things work. It is for those developers who usually create their applications in high-level languages such as C, C++ or Java, but faced with the necessity to develop something at low-level. We will consider low-level programming on the example of working at system loading.

We will describe what is going after you turn on a computer; how the system is loading. As the practical example we will consider how you can develop your own boot loader which is actually the first point of the system booting process.

What is Boot Loader

Boot loader is a program situated at the first sector of the hard drive; and it is the sector where the boot starts from. BIOS automatically reads all content of the first sector to the memory just after the power is turned on, and jump to it. The first sector is also called Master Boot Record. Actually it is not obligatory for the first sector of the hard drive to boot something. This name has been formed historically because developers used to boot their operating systems with such mechanism.

Be ready to go deeper

In this section I will tell about knowledge and tools you need to develop your own boot loader and also remind some useful information about system boot.

So what language you should know to develop Boot Loader

On the first stage on the computer work the control of hardware is performed mainly by means of BIOS functions known as interrupts. The implementation of interrupts is given only in Assembler – so it is great if you know it at least a little bit. But it’s not the necessary condition. Why? We will use the technology of “mixed code” where it is possible to combine high-level constructions with low-level commands. It makes our task a little simpler.

In this article the main development languages is C++. But if you have brilliant knowledge of C then it will be easy to learn required C++ elements. In general even the C knowledge will be enough but then you will have to modify the source code of the examples that I will descried here.

If you know Java or C# well unfortunately it won’t help for our task. The matter is that the code of Java and C# languages that is produced after compilation is intermediate. The special virtual machine is used to process it (Java Machine for Java, and .NET for C#) which transform intermediate code into processor instructions. After that transformation it can be executed. Such architecture makes it impossible to use mixed code technology – and we are going to use it to make our life easier, so Java and C# don’t work here.

So to develop the simple boot loader you need to know C or C++ and also it would be good if you know something about Assembler – language into which all high-level code is transformed it the end.

Read more: Codeproject

Posted via email from Jasper-net