background preloader

DotNet

Facebook Twitter

.NET Gurus Can Cook. .NET Compiler Platform ("Roslyn") - Home. .NET Reflector - Understand and debug any .NET code. Json.NET - Home. Using Regular Expressions with .NET - C# and Visual Basic. The Microsoft .NET Framework, which you can use with any .NET programming language such as C# (C sharp) or Visual Basic.NET, has solid support for regular expressions.

Using Regular Expressions with .NET - C# and Visual Basic

The documentation of the regular expression classes is very poor, however. Read on to learn how to use regular expressions in your .NET applications. In the text below, I will use VB.NET syntax to explain the various classes. After the text, you will find a complete application written in C# to illustrate how to use regular expressions in great detail. I recommend that you download the source code, read the source code and play with the application. CaveAVins Tutoriel 1 : L’accès aux données avec Sql Server et EF Code First - Stéphanie Hertrich. Voici le premier tutoriel de la série d’articles qui introduit les technologies de développement actuelles, dans le cadre d’un projet de gestion de cave à vins.

CaveAVins Tutoriel 1 : L’accès aux données avec Sql Server et EF Code First - Stéphanie Hertrich

Je ne fournirai probablement pas tout le projet en pas à pas de manière exhaustive, mais j’essaierai de le faire pour toutes les parties clés. Les tutoriels figurent à part des articles classiques pour que les étapes ne soient pas noyées dans la théorie et soient ainsi plus faciles à suivre. Je vous conseille vivement de lire l’article technique qui replace le tutoriel dans le contexte du projet avant d’attaquer l’implémentation : Tutoriels: - CaveAVins Tutoriel 1 : L’accès aux données avec Sql Server et EF Code First (vous êtes ici ) - CaveAVins Tutoriel 2 : La publication des données en OData avec WCF Data Services - CaveAVins Tutoriel 3 : Migration d’une base SQL Server vers SQL Azure - CaveAVins Tutoriel 4 : Hébergement du service WCF Data Services dans Azure.

Way to Lambda. Download samples - 17 Kb Table of Contents Introduction Lambda expressions are a powerful way to make code more dynamic, easier to extend and also faster (see this article if you want to know: why!).

Way to Lambda

C# – XML Element Value Generic Extention Method. 0inShare We Recommend These Resources Recently, I was working on integrating a help desk API into one of our applications.

C# – XML Element Value Generic Extention Method

The API would return XML and I was using LINQ-To-XML to get the values of the elements. However, a number of the elements in the API were allowed to be null, like a field for the completed date of a help desk ticket. So, I started out writing my code like this… Alkampfer's Place. One of the greatest problem in Software industry is the rapid change in Technologies and Tools, a change so rapid that your knowledge become stale or obsolete before you have the time to fully master your new toys.

Alkampfer's Place

In this scenario the major problem is how to evaluate some new “stuff”, while not losing money and, most important, how to understand if the new “stuff” is really better than the old one so it worth continue spending time on it and not moving on other newer “stuff”. In traditional long term planning approach, like waterfall, this type of evaluation is really hard to obtain. You have several options, but no one is really good. Suppose you have a six month project, and you heard of some new “stuff” that seems promising, how you should handle this new “stuff”? WPF : Design Time Data « Sacha's blog. If you are using WPF, you are more than likely using Expression BLEND to.

WPF : Design Time Data « Sacha's blog

You may even be one of the lucky ones and have a designer as part of your team. If you do you may be aware of the whole designer/developer workflow and just how important this has become. The idea being that XAML/Binding (and MVVM I would say) have now allowed a designer to work on the same project as the developer. Whilst the developer may be coding away the designer can be polishing up the UI to look fantastic.

SilverLight

Mythz/ScalingDotNET. WPF. Charts. Lib. Linq. Threading. Creating Documentation for a .NET Component with Sandcastle Help File Builder. Contents Introduction Good documentation is an important part of a successful product.

Creating Documentation for a .NET Component with Sandcastle Help File Builder

Creating full and comprehensive description of functions and capabilities of a software product or component takes time and patience. In this article, I will discuss some practical aspects of creating documentation for .NET components. Let's assume that we have finished or almost finished creating a .NET developer library (developers are end users in this case). There are different approaches to writing documentation. I have used third-party tools and wrote documentation directly in the code, tried to start writing documentation before and after development is done. Documenting the API The C# and VB.NET compilers are able to recognize comments, decorated in a special way (XML comments) and, if necessary, create an XML file which can then be used to generate the documentation.

Public static int GetR(int abgr) { return (abgr & 0xff); } The creation of an XML file from the comments is disabled by default. Debugging, Tracing and Instrumentation in .NET and ASP.NET (14 FAQ) with full video. So, what’s the agenda?

Debugging, Tracing and Instrumentation in .NET and ASP.NET (14 FAQ) with full video

Diagnosing a software application is an art and this art has to be more skillful when you go on production. In development environment you have the complete VS IDE tool so the diagnosing becomes much easier. On production environment as a best practice you do not install visual studio IDE. So on production it’s like fighting with the lion without a knife. 6 important .NET concepts: - Stack, heap, Value types, reference types, boxing and Unboxing. Download source code - 42.5 KB Introduction This article will explain six important concepts: stack, heap, value types, reference types, boxing, and unboxing.

6 important .NET concepts: - Stack, heap, Value types, reference types, boxing and Unboxing.

This article starts explaining what happens internally when you declare a variable and then it moves ahead to explain two important concepts: stack and heap. The article then talks about reference types and value types and clarifies some of the important fundamentals around them. The article concludes by demonstrating how performance is hampered due to boxing and unboxing, with a sample code. Watch my 500 videos on various topics like design patterns, WCF, WWF, WPF, LINQ, Silverlight, UML, SharePoint, Azure, VSTS, and a lot more: click here. Image taken from. Ricky Leeks Presents The Top 5 .NET Memory Management Fundamentals. What happens to small objects?

Ricky Leeks Presents The Top 5 .NET Memory Management Fundamentals

Aaron Stebner's WebLog. As announced earlier today on the Windows Phone Developer Blog and the Visual Studio Blog, the Windows Phone SDK 8.0 is now available for download. Serial Port Communication In C# - C# Tutorials. Serial Communication using C# and Whidbey. Introduction In this article, I will give you an introduction on how to do serial port communication on .NET platform using C#.

The .NET framework version 2.0 (beta) provides features for serial communication. The framework provides System.IO.Ports namespace. The new framework provides classes with the ability to access the serial ports on a computer, and to communicate with serial I/O devices. How do I use dataReceived event of the SerialPort Port Object in C# .NET Design Patterns in C# and VB.NET - Gang of Four (GOF) - DoFactory.

Design patterns are solutions to software design problems you find again and again in real-world application development. Patterns are about reusable designs and interactions of objects. The 23 Gang of Four (GoF) patterns are generally considered the foundation for all other patterns. They are categorized in three groups: Creational, Structural, and Behavioral (for a complete list see below). To give you a head start, the C# source code for each pattern is provided in 2 forms: structural and real-world.

Structural code uses type names as defined in the pattern definition and UML diagrams. A third form, .NET optimized, demonstrates design patterns that fully exploit built-in .NET 4.5 features, such as, generics, attributes, delegates, reflection, and more. .NET Zone. Filip Ekberg Xamarin and REST APIs I was invited to the Brisbane C# Mobile Developers by Glenn, a tutor I met during my first Xamarin University course. He’s a great tutor and the Xamarin University lectures are of really high quality, if you can I’d really advice you to join the program! Toni Petrina MVP Status, Build, Conferences It was April 1st, but the mail was real – I was re-awarded the MVP status for Visual C#.

Learning F Sharp by Example. C# Book.