.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

The power of ASP.NET SignalR

יום שלישי, ספטמבר 9, 2014

One of the coolest features in the latest version of the .Net framework is the open source, real-time web functionality library of SignalR. If you’re not familiar with it, please take the time to learn about it because it might be a “game changer” in developing ASP.NET web applications. Basically, “ASP.NET SignalR is a new library for ASP.NET developers that makes developing real-time web functionality easy. SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers....
no comments

Internet Explorer 8 Performance Issues

יום שני, אוקטובר 17, 2011

Today's web sites are getting richer and richer. In the past rich web sites were usually web sites that were used for promotional purposes, today's demands require that even the most complex web application, has to include rich and user-friendly UI. so how exactly "old" browsers can hold up with this applications? What should be taken into consideration in the development phase? Get the facts Now days, I'm leading a team that is developing a large e-commerce site for our customer. Beside advanced e-commerce features, the web application has a very rich UI...
2 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

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

IIS error–Handler “PageHandlerFactory–integrated” has a bad module “ManagedPipelineHandler” in its moudle list

יום שלישי, אוקטובר 26, 2010

So, you’ve just set your converted or new web site on the IIS 7 / 7.5 and got the following error page : IIS 7.5 Detailed Error - 500.21 - Internal Server Error Server Error in Application "DEFAULT WEB SITE" Internet Information Services 7.5 HTTP Error 500.21 - Internal Server Error Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in...
tags: ,
47 comments

Technical design document template

יום שני, אוקטובר 11, 2010

I’ve been asked to create a technical design document that will be used throughout our division. Every place I’ve worked had it’s own template so I’ve worked with several templates before. I’ve created the following template from all my knowledge and experience from previous templates. this template is for web application based projects. It’s also take into consideration SharePoint server at the front end and Commerce Server as part of the application level. 1. General 1.1. Project general description 1.2. Solution general description ...

TinyGet – load testing on your development environment

יום שלישי, ספטמבר 28, 2010

Load testing and performance testing, are usually done on a dedicated environment that was configured for this specific purpose. using TinyGet you could do some load testing right in your development environment. TinyGet is a small (but very useful) command line based utility,  that is part of the IIS 6 Resource kit that get be downloaded for free from here. you can use it the following way: tinyget -srv:localhost -uri:/<YourVirtualDirectory>/<YourPage>.aspx -threads:30 -loop:50 srv - your server DNS / IP (you can use the “r” parameter is port is needed) uri – the uri for the page...
tags: ,
5 comments