JavaScript and CSS versioning and minifying

13 ביולי 2011

if you developed web sites before JS and CSS versioning issues must be familiar to you. Versioning The problem You've gone live! Congratulations! You've got a great web site that include external JavaScript and CSS files. Now you found a bug in your jQuery function or maybe you would like to implement a new style change. Because the web browser download these files (images, static htmls, JS and CSS files and etc) the update won't be reflected upon the user's browser. The solution Implementation a versioning mechanic for the files will include the version number in the filename and...
one comment

Cross-Site request forgery – Web site attack

30 ביוני 2011

The web is full of security vulnerabilities, I'm going to describe some in my blog Here's a one that most developers are not aware of it's called CSRF (Cross-Site request forgery) It's not a very common one but easily can be deadly. Unlike other security vulnerabilities that usually exploit the fact a user has some permissions to a specific site , this one depends on a simple fact that a site trust's a user's browser. Trusting the user browser means that a web site will trust the browser's cookies without questioning the source of the...
no 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

Enabling anonymous access to SharePoint 2010

20 באפריל 2011

As you may guessed, SharePoint 2010 dose not enable anonymous access out-of-the-box functionality. If you're developing an internet web application , you'll need to enable this access at some point. Follow these step in order to enable the anonymous access. 1. First go to the central administration  -> Application management -> manage web application 2. Select your web application that you would like to configure for anonymous access 3. Select the default provider under Authentication providers. 4. Check the "Enable anonymous access" checkbox 5....
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

Commerce Server 2009 Resources

17 בינואר 2011

Microsoft Commerce Server developers" , now that's a rather small group J This first thing you notice as a developer or administrator is that good commerce server resources are hard to find. I've compiled a list of good resources for you to use. The official e-commerce blog – the official Microsoft's Commerce 2009 blog MSDN – if you're developing commerce applications , you should probably have this one in your favorites Forum – if you'll have any questions regarding commerce server (and you will), this is the place for good and rather quick answers...
no comments

Commerce Server 2009 Overview

9 בינואר 2011

Never heard about Microsoft's Commerce Server and want a quick overview? This post is for you. Commerce Server (previously known as Merchant Server and Site Server) is Microsoft's product for building e-commerce systems. The latest version is Commerce Server 2009. Microsoft Commerce Server 2009 provides a comprehensive solution for many business scenarios, including: · Business-to-consumer (B2C) sales of tangible or digital goods or online service delivery. · Business-to-business (B2B) scenarios, such as e-procurement and trading communities. · B2X scenarios, combining Business to Consumer (B2C) and Business to Business (B2B). · Self service portals...
2 comments

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