Blog

Sharepoint Designer 2010 – Removing Web Cache.

By Omar L.   Sometimes when we are working with SharePoint Designer 2010, some files are shown as “checked out” when we don’t have them clearly in that status. That generates conflicts in the source control and versioning. This common problem can cause waste of time and losses of code. The problem lies in the "local web cache.”Solution.With the following script in CMD, I will show how to solve this problem quickly. Which we will save as a file type .bat 1. Open Notepad2. Copy the following script.   cd "%APPDATA%\Microsoft\Web Server Extensions\Cache"del *.web /S /Q "%APPDATA%\Microsoft\Web Server Extensions\Cache"cd "%USERPROFILE%\AppData\Local\Micros...

Enabling Fiddler on the Windows Phone 7 emulator

By David E. Fiddler is a Web Debugging proxy to capture traffic between our computer and the Internet. It shows in detail all the requests made ​​by any application that accesses the Internet. Sometimes it is useful to review a page using Fiddler if there’s an image that we need or we want to know the logic of some specific client functionality, as Fiddler can tell us all files that are loaded when a page loads: html, aspx, css, js, etc. One of the biggest advantages of a Web Debugging Proxy is that it is possible to see some requests to some services in our applications. Even though we have a desktop application, if there is a reference to a service in our code and we put a call to a m...

Get into Windows Phone 7 Development: Building a To-Do List App

By Denisse Zavala Microsoft recently revealed the details of the Windows Phone Application Platform. It is built upon Silverlight, XNA Framework and the .NET Compact Framework, and MS rely on this combination to claim that development of rich applications will not have a steep learning curve for developers who are familiar with these technologies. I wanted to get my hands on this platform so I used my basic Silverlight skills to create a really simple application to manage a To-Do list. Here the details: First thing to do is get the Windows Phone developer tools CTP, which includes the VS 2010 Express for Windows Phone development tool and an add-on to the VS 2010 RC to enable phone de...

Configuring YUI compressor for .NET

By Guillermo Cedillo An excellent best practice to optimize the performance of web sites and especially web applications, is to combine and minimize our javascript and stylesheet files. Yahoo provides a very useful tool to achieve this, the YUI compressor. To set this up is very simple, you must first download the tool http://yuicompressor.codeplex.com/, and this file contains two dll's: EcmaScript.NET.modified.dll and Yahoo.Yui.Compressor.dll.   Create a folder inside your project with the name of MSBuild and put your dlls there.   Then we need to create a MSBuildCompressor.xml file where we are going to define the compressor options and the files to compress. If you want to k...

Design and Prototypes: SampleData with Expression Blend 3.0.

By David Espino. When we start to build a web application with a right interface its necessary to verify and make sure that we understand every requirement given by the client. For a specific situation of the user interface, the best way to transfer our thinking and understanding with the client is via creating screen prototypes. In some occasions they contain a lot of controls like lists, combos or grids that are based on “dummy” information. They are made not just for making the screen to project the reality of what is going to be the application but also to let the prototype simulate item common elements of selection and editing. Just like the controls that represent information on...

Memory Leak with XmlSerializer

By Fernando Mendoza   I coded a windows service application and tested it throughout its development cycle. This windows service it’s doing work all the time. So one day I left it running the whole night and when came back to the office the next day I found that the service had stopped working due to an OutOfMemoryException exception. I thought it was probably something else but then I ran it again this time monitoring it with Process Explorer (a very useful free application available from Microsoft) and saw it was increasing its memory consumption consistently. The graphic in Process Explorer looks like the one below. Note how the memory consumption never stops growing. By trial...

Hosting several FTP sites in IIS

By Alejandro Villarreal I recently did a deployment for which several sites and components needed to be deployed to the same machine, and we didn’t want to provide access through FTP to the whole disk, but to the specific folders where the components had to be deployed. At a first glance this sounded pretty easy: we created the required sites in IIS (each with a different hostname in its HTTP binding), added bindings for FTP in each site, configured a different host name for each of those bindings (for each site, the same hostname that the HTTP binding had), set up security for FTP, and started the FTP service and sites. I must also say that we had another site with an FTP binding that...