DCSIMG

 Subscribe in a reader

.NET Framework 3.5 - Guy kolbis

Browse by Tags

All Tags » .NET Framework 3.5 (RSS)
Hi, Here is a little sample on how to merge two lists into a single list using Linq To Objects. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { class Person { public int Id { get ; set ; } public string Name { get ; set ; } } static void Main( string [] args) { List < Person > list = new List < Person >(); for ( int i = 0; i < 10000; i++) { list.Add( new Person { Id = i, Name = "guy" + i...
נשלח על ידי kolbis | 1 תגובה/ות
The title is a bit confusing. So, in order to solve that, let me explain the meaning of it. Lets say I have a Client - Server application. The server is hosted in a console application and can perform several operations that are requested from a client application. The client application is a windows application that sends messages to the server using WCF. One thing that I think is extremely important when developing such applications is the acknowledgement process. In other words, I want to know...
Service Oriented Architecture contains 4 tenets: Boundaries are Explicit Services Are Autonomous Services share schema and contract, not class Service compatibility Is based upon policy When someone asks me if he should follow SOA tenets in his design I usually say: "It depends...." And next thing I find myself in, is a long discussion about the pros and cons for going with SOA. In the following post I will provide an argument why I think that SOA is not always the best way to go with....
נשלח על ידי kolbis | 13 תגובה/ות
David Hayden posted that MSPress has apparently put together a Free E-Book that includes excerpts from three recent book releases: You can read about it here . You can download them here .
נשלח על ידי kolbis | 4 תגובה/ות
Code Project announced a Visual Studio 2008 competition. What do you need to do? Download the Beta , install it, play with it, and then write a great article with some code. Submit that article to The Code Project and tag it as VS 2008 and you’re automatically entered into the contest. Your article should focus one or more of the following new technologies: The .NET Framework 3.5 Language Integrated Query (LINQ) Visual Studio Team System and/or Team Foundation Server (TFS) Visual Studio Tools for...
נשלח על ידי kolbis
Visual studio Orcas and C# 3.0 introduce some very cool features. Recently I have been working on several posts that talk about those new features. I recommend you all to review them: Extension Methods . Automated Properties . In this post I will be discussing on yet another cool feature: Lambda Expressions. Overview C# 2.0 introduced a new feature, anonymous methods, that allows you to declare your method code inline instead of with a delegate function: FileSystemWatcher watcher = new FileSystemWatcher...
Extension methods is a new feature introduced by Orcas. As the name implies, the idea behind the extension method is to extend existing types with new methods. Getting Started Creating an extension method is fairly simple. For example, lets say that for each string type, you would like to add a new method that will convert white spaces into underscores: public static string SpaceToUnderscore( this string source) { char [] cArray = source.ToCharArray(); string result = null ; foreach ( char c in cArray...
Visual Studio 2008 introduces a host of new features and enhancements that dramatically improve the experience of software developers. You can all attend this 8-part Web seminar series and learn about the next generation development environment for the Microsoft Windows platform & exciting new technologies coming in Visual Studio 2008. You can find the seminars here .
נשלח על ידי kolbis
Lately I have been working on a design for a web application. For that application I was going to use .NET 3.5 features, which includes WCF, Linq, XLinq, Linq to Sql and WF. My Data layer had to reside on a windows service which exposes WCF services. One requirement I had to implement was a fail over scenario. In other words a load balancer that can redirect requests to an active data layer. For example: lets say I installed three data layers (each one is a windows service), and there are ten clients...
נשלח על ידי kolbis
DinnerNow is a fictious marketplace where customers can order food from local restaurants for delivery to their home or office. This sample is designed to demonstrate how you can develop a connected application using several new Microsoft technologies. The demo utilizes several technologies including: IIS7, ASP.NET Ajax Extensions, Linq, Windows Communication Foundation, Windows Workflow Foundation, Windows Presentation Foundation, Windows Powershell, and the .NET Compact Framework. You can download...
נשלח על ידי kolbis