By Carlos Martinez.
The repository is useful when trying to separate the domain logic from the logic that retrieves the data and maps it in entity objects.
The repository is a small layer between the data source layer and the upper domain layers of the application. Gets the data from the data source and retrieves it to the upper layers. Also the repository contains the persistence logic of the domain objects. This logic separation has 3 benefits:
· The logic for web services and data are centralized
· It simplified the unit test.
· It provides a flexible architecture that can be adapted as the overall design of the application evolves.
By Daniel Ramirez.
An important thing through the Software Development Cycle is the feedback a developer gets during or after iteration. He/she gets all kinds of it, from internal things such as code, to all the way up to what’s shown to the end users.
Feedback is important
In any kind of work, I believe we should always look for some kind of feedback. Feedback does not necessarily means you have done things the wrong way, it can help you see how other people see your work, and lets you know if they understood correctly the idea behind it.
Feedback lets you know if things can be improved, motivates you to continue your work. If you get an email saying "Amazing work!"...
By: Alejandro Villarreal
I recently experienced one of the most puzzling issues I’ve dealt with: after I finished coding my project in Visual Studio 2010 I tried to build it but it failed, complaining of namespaces that didn’t exist (which means a bunch of types that weren’t declared and thus code that the compiler didn’t understand). This didn’t make sense because the assembly that contained those namespaces was still in the “References” part of my project, and I had used IntelliSense with the types it contained. So I knew for a fact that Visual Studio did know that the assembly was there, and was able to analyze it and use it.
But then why couldn’t I build my project? I tried removing a...
By Edith C.
This is very useful when you are talking about quickly duplicate or backup your SharePoint Sites structure and information. The site template is saved through the SharePoint web user interface, which empowers users and avoids the need for administrative intervention. Now that we have a customized site, we are ready to save it as a custom site template for others to reuse.
The steps to save the custom site template (for a SharePoint Team Site) are shown below:
1. Navigate to Site Settings in your customized site.
2. Select Save site as template under the Look and Feel section.
3. Fill out the Save Site as Template page and then click OK. At this tim...
By Edith C.
To create a custom List definition, you should define 2 major elements:
· Content Type
Your list will use the content type you define, and the content type will use the columns you define.
To define the columns, you need to create an xml file. I like to define the following structure for my custom lists, and use WSP Builder to deploy them J
As you can see, I have a […] Columns.xml file, and a […] Content Type.xml file. I defined the following for the Columns file:
This is a drop down column, which has 3 choices. The ID for the Field tag, should be generated (via GUID generator), and you can use whatever you want for t...
By Denisse Zavala
Silverlight implementation is one of the services we promote as a nearshore software development firm.
Silverlight 4 includes a new feature that allows developers build rich applications easier and faster without using third party controls.
One interesting feature is the Drag and Drop functionality. Through the following lines I will show how to implement this functionality, dragging files from the desktop right into the Silverlight application.
1. Add a stack panel where the files will be dropped:
Pay attention to the highlighted StackPanel attributes:
a. AllowDrop is used to determine whether the control can be a drop target.
b. Drop is used t...
As you may know, one of the nearshore software development services we offer is the silverlight platform implementation.
And in this post I will guide you through the process of adding a Silverlight application to your existing ASP.NET website.
The process of adding the Silverlight application to the solution is actually quite simple:
1. On the solution explorer, right click the solution. On the context menu, click on Add and then click on New Project.
2. From the Project Types list in the “Add New Project” dialog, chose Silverlight; then chose the template Silverlight Application. Give a name to the app and then click OK.
On the next dialog, check the “Host the Silverli...
By Edith C.
Sometimes, when you install, add or activate features on your SharePoint farm, something goes wrong, and suddenly you can’t just go back and “delete” or uninstall your feature.
To avoid that, you can use these tools:
WssAnalyzeFeatures is a very useful tool, which can help you find the errors on the installation of the feature, and tells you what to do, in order to remove it or fix it.
After you run this tool, just check the ContentDeploymentFeatures.txt file, to find the logged errors.
Then, if you need to delete the feature, use the WssRemoveFeatureFromSite tool, to remove unwanted features easily and with no complications. Just use the desired featureID...
By Denisse Zavala
We all know how dealing with spam can be a real pain. However, nowadays we can rely on several tools to avoid this problem.
reCAPTCHA, a system developed by Carnegie Mellon University, provides an anti-bot service that can be embedded into web pages to protect them from automated applications trying to get access.
While all the information regarding reCAPTCHA is available in their website I will provide the steps to add a reCAPTCHA module into an ASP.NET site, using AJAX and Prototype to perform the validation.
1. Create an account and get the API keys
2. Download the library.
Add the reCAPTCHA module to the page...
Recientemente Sieena ha participado en varios eventos junto con Microsoft de México para la promoción y evangelización de la plataforma de desarrollo para el próximo Windows Phone 7.
Algunos de los videos realizados por nuestro equipo son los siguientes:
Mi primera aplicación para Windows Phone 7 usando Silverlight: Webcast Aquí
Mi primer juego con XNA para WP7. Webcast Aquí.
El nuevo emulador de Windows Phone 7. Webcast Aquí.
Para más webcast e información del Windows Phone 7 en México, acudir a ésta liga....