.NET 2015 : a new era for Microsoft

יום שני, נובמבר 17, 2014

Yes, You read the title correctly. If you haven’t got the word yet then here’s the deal: “Microsoft .NET is going public with its source and will also run on Linux and Mac”. Until recently, this has been science fiction stuff, but today is a new day and a very exiting one for Microsoft based developers and decision makers. Here’s the main features for the upcoming .NET 2015: .NET Core .NET core is a “cloud optimized” version of the .NET framework and will contain the core features of the .NET framework. It focus on being open source and running on multiple platforms, that means it will...
no comments

WCF calls return HTTP 400 response

יום שני, אוגוסט 8, 2011

I've been getting some general HTTP 400 while trying to invoke a certain WCF method. I've also noticed that it did not happened all the times but for some requests. HTTP 400 indicates that The Web server (running the Web site) thinks that the data stream sent by the client (e.g. your Web browser) was 'malformed' i.e. did not respect the HTTP protocol completely. So the Web server was unable to understand the request and process it. I suspected that I was getting those errors for a large requests (I'm using an order service that get...
tags: ,
12 comments

WCF 4.0 Hebrew guide for beginner

יום חמישי, אפריל 21, 2011

Shlomo Goldberg released in his blog a great WCF 4.0 tutorial series, if can read Hebrew you might find it very useful:Part 1 – Service and ContractsPart 2 – Hosting ServicesPart 3 – Consuming ServicesPart 4 -  ConfigurationPart 5 – Configuration (Part 2)Part 6 – Hosting ScenariosPart 7 – Consuming service using JavaScriptPart 8 – Web style services and using GET and POST callsPart 9 - Web style services and using GET and POST calls (Part 2)Part  10 – RSS feed using WCFPart 11 -  Messaging PatternsPart 12 – Duplex PatternPart 13 – IIS HostingPart 14 – Instance context...
tags:
no comments

TFS 2010 doesn’t like cache files

יום רביעי, מרץ 2, 2011

I've copied entire solutions from TFS to TFS an I've noticed a strange issue. The solution won't compile, the errors came from our Cache handling infrastructure based on Enterprise library 5.0. After taking a closer look, I've noticed that some of the files (CS files) does not exists! It's seems that TFS automatically exclude files that contain the phrase : "Cache" as you can see in the following screen shot: So make sure you include your "Cache Files" when adding entire projects or solutions.
one comment

WCF 4.0 routing

יום שני, דצמבר 6, 2010

In previous post, I've created the top layer of my application architecture using Unity 2.0 and WCF. In this post I would like to add the final building block of the application server : "The WCF Router service". WCF routing is a very cool feature in WCF 4.0 that can provides a method for isolating or encapsulating your services from your client,Exposing it only to a router service that will be responsible for routing the messages to the right service. Here's how it works: First we've got our services web application (I've mapped it to...
2 comments

WCF and Unity 2.0

יום שלישי, נובמבר 30, 2010

In my previous posts on Unity 2.0 and infrastructure and Unity 2.0 and application architecture I've shown how can Unity 2.0 can be used In order to create loose coupled layers in your application and I've explained how dependency injection can be used for this matter. If you are developing a distributed application using WCF services (very common scenario this days…) you might consider using Unity 2.0 With WCF services and therefore use dependency injection pattern throughout your application. Think about a scenario when you got an client application developed against your WCF services but you haven't...
4 comments

Application Architecture using Unity 2.0

יום ראשון, נובמבר 21, 2010

In my previous post, I've showed how to use dependency injection to create loose coupled components in order to achieve a greater flexibility For your application's architecture. Today I'll be showing the real thing : achieving loose coupled layers using dependency injection via Unity 2.0 Let's assume that this is your common basic server architecture: Services layers / WCF Services layers – responsible for the entire application server business logic and data sources encapsulation from the client. Business logic layer – representing the entire application business logic Data access...
no comments

Dependency injection using Unity 2.0 and Enterprise Library 5.0

יום ראשון, נובמבר 7, 2010

Decoupling your application layers is a very important guideline when building your application. This is important for several reasons: · Separating your components and writing an atomic unit of codes · Code re-use throughout the application · Test-driven development · Encapsulation of data sources and business logic components Unity 2.0 enables you to achieve that using dependency injection methods. What's "Dependency injection"? Dependency injection (DI) is a design pattern with a core principle of separating behavior from dependency resolution. In other words: a...
26 comments

Working with XMLs and XSDs

יום ראשון, אוקטובר 10, 2010

Working with XML files is common task developers have to handle. There are many ways to tackle this task,Today, I'll be demonstrating my approach to this issue. An XML file is a source of data, just as a database or a web service.You might have got an XML from your client / provider or you might use one for yourself. If you need to access an XML, you might use XPATH using XML Document object included in the Sytem.Xml namespace. In this method you might write something like this: - Code – ...
tags:
no comments

Hello .Net world!

יום שני, ספטמבר 6, 2010

Welcome to my brand new blog! My name is Gadi Berqowitz and I’ve been leading teams and developing web-based applications for more than a decade. In my blog, I’m hoping to share with you some of my experience in Microsoft web technologies, Microsoft servers family and other team leading / management issues that i come across.       Commerce What? yep, Microsoft got a server that is called “Microsoft Commerce Server”, it’s Microsoft's e-commerce product for building e-commerce systems. Basically, it provides a complete e-commerce solution including catalog management,...