Facebook Twitter

Generics in the .NET Compact Framework - Welcome to Live Mesh! 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. 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. 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. Actually, before I go much farther with this:<legal_disclaimer> Disassembling or decompiling applications, reverse engineering, modifying code, etc all have possible legal ramifications. 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. 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

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. 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

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).

Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format

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. The world of Win32® has changed quite a bit in the intervening years, and the article is severely dated. 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.

Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format, Part 2

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. 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. Accessing Assembly Metadata with Reflection or Mono Cecil (Part 6) Introduction This article is about loading type metadata from .NET assemblies using Reflection or Mono Cecil, with the specific goal of supporting the resolution of symbolic references in a codeDOM. Sources are included. This is Part 6 of a series on codeDOMs, but it may be useful for anyone who wishes to retrieve type metadata from .NET assemblies for any reason. In the previous parts, I’ve discussed “CodeDOMs”, provided a C# codeDOM, a WPF UI and IDE, a C# parser, and solution/project codeDOM classes. Background.


Head First C# - Source Code. Why doesn’t MEF support open-generics for exports? Because MEF is not type based. Update: We’ve posted an extension for doing open generics in MEF contrib. Read about it here: I get this question all the time. Recently it popped it’s head on the forums in this thread (which I referred to in my last post) In that thread, Andrew was asking why the following does not work?

Open-generic support in MEF Contrib. A while ago I said it couldn’t be done, at least without hacky string parsing. Folks weren’t happy and they let us know it including Oren. Our team know the power that open-generic support brings to systems, but at the time there was no clean way to implement it in MEF. Managed Extensibility Framework - Understanding ContractBasedImportDefinition & GetExports. May 3, 2011 at 9:35 AM Edited May 3, 2011 at 12:29 PM Hi,

Математическая библиотека для .NET. MVVM (Model-View-ViewModel) Pattern For Windows Form Applications, using C# Introduction. MVVM for .NET Winforms – MVP-VM (Model View Presenter - View Model) Introduction. This post introduces the MVP-VM (Model View Presenter – Model View) design pattern, which is the windows forms (winforms) equivalent of WPF/Silverlight MVVM. Einar Ingebrigtsens Playground. Not everyone has the luxury of jumping on new technologies, it can be historical reasons, don’t have time to learn, deployment reasons – or flat out you simply don’t like anything new :) . Anyways, I was doing a codereview on a project last week, which was written in Windows Forms. The developers had some pain, Windows Forms being one of them – and a constant feeling that they were barking up the wrong tree when using Windows Forms. Its been a couple of years since my last Windows Forms project, and I must admit I remember the feeling of constantly banging my head against the wall without getting the code quality I wanted when doing UI.

One of the things I saw that the project could benefit from, was unit testing – to help them fight problems with regression, and get a constant quality indicator on the project. Нарастающий итог - сравнение производительности - 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. 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. How Proxy Server serves FTP clients? C# Delegates, Anonymous Methods, and Lambda Expressions – O My! Presentation Model (MVVM) Good Practices. Iis6 - Certificates: Cannot find the certificate and private key for decryption Error when sign. [Entity Framework] Using Include with lambda expressions » Thomas Levesque's .NET blog. .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# - Remove Control from Window in WPF. 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. PM & Patterns. SerialPort. BinaryFormatter vs. Manual Serializing. Part 2: Automatic Memory Management in the Microsoft .NET Framework. 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. 10 Tips to Improve your LINQ to SQL Application Performance. 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.