background preloader


Facebook Twitter


New Recommendations for Using Strings in .NET 2.0. Dave Fetterman Microsoft Corporation May 2005.

New Recommendations for Using Strings in .NET 2.0

Gui Prototyping Tools. Here is an alphabetical list of tools helping with drawing screen mock-ups. 10screens create and share clickable rich prototypes online, Now free as of July 2012 Allows multi-level drill-down of workflows to screens.

Gui Prototyping Tools

Templates for various mobile devices with soft keyboard support Adobe FireWorks CS4 Adobe Flash Catalyst (former Thermo) production-ready version available in April 2010, as part of Adobe CS5 specialized tool, for interaction design create prototypes based on designers work (e.g. photoshop, illustrator files) Antetype - automatic layout - no more pixel pushing widget library (400+ pre-made) responsive web design - breakpoints, content wrapping, fluid designs interactions - clickthrus, mouse events wireframes, visual design, prototypes iOS Viewer web viewer OS X viewer Mac OS X only 30 day free trial - Examples and Inspiration : App Mockup Tools Get it now!


CompactFramework. SandCastle. Create ActiveX in .NET Step by Step. Introduction.

Create ActiveX in .NET Step by Step

OWIN and Katana. Windows Services. Generics in the .NET Compact Framework - Welcome to Live Mesh! Parametric polymorphism (aka Generics) is one of the most interesting new features added to .NET CLR and languages in version 2.0 (Whidbey).

Generics in the .NET Compact Framework - Welcome to Live Mesh!

There are many good articles describing the feature and its’ implementation for the full .NET CLR. For those who interested in the design fundamentals of generics I’d strongly recommend the article by Don Syme and from Microsoft Research, who originally designed and implemented .NET generics. Bulk Insert into SQL CE 3.5 in C# Adding much data to a SQL CE database can be very slow.

Bulk Insert into SQL CE 3.5 in C#

If you try to for example add 10000 single records in one table with normal SQL INSERT command’s it would take at least 50 sec. So this could really use a performance boost. SQL Compact 3rd party tools. This is an attempt at a comprehensive list of SQL Server Compact Microsoft and 3rd party tools, both commercial and non-commercial.

SQL Compact 3rd party tools

Please let me know if I have missed anything, and I will add it. Microsoft supplied tools SQL Server 2005 Management Studio Express SP2 (free, SQL CE 3.1)Link: SQL Server 2008 R2 Management Studio Express (free, SQL CE 3.5 SP2)Link: LINQ Challenges and SQL Server Compact Edition. Code, code and more code.: Re-implementing Expression for Compact Framework. How to detect and avoid memory and resources leaks in .NET applications. Rupreet/archive/2005/11/02/58873.aspx. There are some scenarios where need to check programmatically if the given file is a .NET assembly or not.


How do we do that? One way is to use reflection and try to load that file (assembly). If the assembly gets loaded, and doesn’t throw any exception, then yes, it’s a valid .NET assembly. If it’s not a valid file, then it’ll throw a “BadImageFormatException”. The idea of checking weather a file is assembly or not by loading it and checking if exception is thrown or not; doesn’t seem to be too clean way at least to me. The .NET File Format. Index Introduction The standards of the .NET format are public, you can find them on Microsoft and in your .NET SDK (look after "Partition II Metadata.doc"), but they are intended to be more like a reference, not really a guide.

The .NET File Format

So, the truth is that a description of the format can be useful. I mean, there's a huge difference between having the WinNT.h and having the full explanation of its structures and stuff. The documentation given by Microsoft has some explanations, but a lot of passages aren't very clear at all. Getting Started. Building a .NET Disassembler (Part 1) There was a time, long ago, when I was in college, and thought it would be awesome to crack code.

Building a .NET Disassembler (Part 1)

This largely means digging into the bytes of an application, and seeing how it works, and possibly modifying the application code to suit your needs. Back in the days where just about everything was C/C++ or at least native code, this meant using a disassembler (like win32dasm for example) and strong assembly language skills. Reading PE format using data marshaling in .NET - Sergey Akopov. I recently picked up a book on IL by Serge Lidin titled Expert .NET 2.0 IL Assembler.

Reading PE format using data marshaling in .NET - Sergey Akopov

It is by far the most interesting book that I’ve read on .NET internals, which is actually fairly easy to follow thanks to the friendly nature of the managed environment and the awesomeness of the author. If you want to satisfy your curiosity about disassembling and generating IL code, this is the best book on the market. Anyway, the first couple of chapters in the book go over the Portable Executable (PE) format which is really vital in understanding how your compiler pieces together assemblies and how the loader is able to resolve dependencies and get everything into memory to get things executing.

While going through the explanation of the PE format in the book is enough to understand the bare minimum, i decided to go hands-on and write a little PE parser. Before i throw down some code, I’d like to reference a few resources which will help in understanding the PE format better. So, where do we begin? Peering Inside the PE: A Tour of the Win32 Portable Executable File Format. Matt Pietrek March 1994 Matt Pietrek is the author of Windows Internals (Addison-Wesley, 1993). Peering Inside the PE: A Tour of the Win32 Portable Executable File Format.

Matt Pietrek March 1994 Matt Pietrek is the author of Windows Internals (Addison-Wesley, 1993). He works at Nu-Mega Technologies Inc., and can be reached via CompuServe: 71774,362 This article is reproduced from the March 1994 issue of Microsoft Systems Journal. Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format. Long time ago, in a galaxy far away, I wrote one of my first articles for Microsoft Systems Journal (now MSDN® Magazine). The article, "Peering Inside the PE: A Tour of the Win32 Portable Executable File Format," turned out to be more popular than I had expected. To this day, I still hear from people (even within Microsoft) who use that article, which is still available from the MSDN Library. Unfortunately, the problem with articles is that they're static. Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format, Part 2. Ast month in Part 1 of this article, I began a comprehensive tour of Portable Executable (PE) files.

I described the history of PE files and the data structures that make up the headers, including the section table. The PE headers and section table tell you what kind of code and data exists in the executable and where you should look to find it. This month I'll describe the more commonly encountered sections. I'll talk a bit about my updated and improved PEDUMP program, available in the February 2002 download.

If you're not familiar with basic PE file concepts, you should read Part 1 of this article first. The Exports Section. Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format. Calculating Metrics and Searching with a CodeDOM (Part 8) Introduction This article is about basic analysis of code in a CodeDOM, such as calculating metrics on it and searching it. Sources are included. This is Part 8 of a series on CodeDOMs. In the previous parts, I’ve discussed CodeDOMs, provided a C# CodeDOM, a WPF UI and IDE, a C# parser, solution/project CodeDOM classes, covered loading type metadata, and handled resolving symbolic references in a CodeDOM.

The Visitor Pattern.


Head First C# - Source Code. Why doesn’t MEF support open-generics for exports? Because MEF is not type based. Open-generic support in MEF Contrib. A while ago I said it couldn’t be done, at least without hacky string parsing. Managed Extensibility Framework - Understanding ContractBasedImportDefinition & GetExports. Математическая библиотека для .NET. Нарастающий итог - сравнение производительности - Microsoft Russia ISV Team. Среднеквадратичное приближение функций.

Энциклопедия Turbo Pascal. Главы 5-8. Math - Non-linear regression in C# Linear Regression with Math.NET Numerics - Christoph Rüegg. Likely the most requested feature for Math.NET Numerics is support for some form of regression, or fitting data to a curve. Прогнозирование финансовых временных рядов. 2.4 Методы прогнозной экстраполяции - Основы экономического прогнозирования - Монографии - Российская Академия Естествознания.

.NET - Localization using Resource file.

Image Analyzing

ЕСИА. Using the OPTION (RECOMPILE) option for a statement - Kimberly L. Tripp. I started this series with the post titled: Little Bobby Tables, SQL Injection and EXECUTE AS. I then moved to discussing some of the differences with the post titled: EXEC and sp_executesql – how are they different? Today, I want to address a few of the comments as well as continue with a few tips and tricks using these commands.

First off – could we have helped the performance of the sp_executesql statement? Chris Tacke - Not all Custom Attributes are created equal. P/Invoke. Demo Europe: VCs Get Their Pick Of Hungry Start-ups. Матричные фильтры обработки изображений. How to Add Custom Configuration Settings for an (ASP).NET Application. Serialization. POCO Proxies Part 2: Serializing POCO Proxies.

General Topics

PM & Patterns. How Proxy Server serves FTP clients? C# Delegates, Anonymous Methods, and Lambda Expressions – O My! Iis6 - Certificates: Cannot find the certificate and private key for decryption Error when sign. .NET interop marshaling made easier. Mastering C# structs - C. Passing Managed Structures With Strings To Unmanaged Code Part 2 « limbioliong. Набор полезных утилит и библиотек мира .NET. Mifare для разработчиков, Техническая документация. Chained null checks and the Maybe monad at C# - Using dynamic objects in codedom created LINQ queries. Implementing Dynamic Interfaces. Studio Styles - Visual Studio color schemes. Open-Generics Support in MEF– Building a simple sample - Ariel's Remote Data Center. Damn Cool Algorithms: Cardinality Estimation.

MEF vs. Unity in composite application (Prism) CavityServiceLocation - cavity - Provides XML configuration assistance for IoC providers - Tools and utilities for .NET. StructureMap — краткий справочник для работы (1/3) IoC libraries compared. .Net 4.0: Configuring MEF with Linq to Xml.

Ruby on Rails

.Net & Excel. MultiThreading. SerialPort. BinaryFormatter vs. Manual Serializing. Documentation:introduction [ - Public platform independent Near Field Communication (NFC) library] Йет эназер говноблог (лайт вершн) - Про копирование Mifare Classic и нехороших людей. Пишем свой сервис авто-обновлений. Введение в Windows Server AppFabric. Hosting Services вместе с BizTalk и Service Bus / Блог компании Microsoft. Движок Azopho для создания галерей фотографий - Гайдар Магдануров. Convert C# to VB.NET - A free code conversion tool. Сайт поддержки сервис-инженеров и пользователей Контрольно-Кассовых Машин. MathML 2.0 installation in web browser. MathML Samples. Хеширование. Пепелсбей.net. Design, Build and Release » Getting JQuery and WCF to talk (part one of two) Dreamsongs.

DSL and EF

F# ASP.Net & MVC. Objects Have Not Failed. FreeCssTemplates. Creating Custom Action for WIX Written in Managed Code without Votive. Loading the WCF configuration from different files on the client side - Pablo M. Cibraro (aka Cibrax) Gis. WPF.