Sign in
Just Coding
.NET developer spanish bits
Tags
Agile
alm
builds
cod
Code
code tools
DevTools
events
IT
load tests results
OOPSLA
Pages
pdc
projects
ReleaseManagement
rido
sharepoint
TechEd
Terra
testign
testing
Tips
TODO List
tools
tools sharepoint
trx2html
visual studio
Web
Browse by Tags
MSDN Blogs
>
Just Coding
>
All Tags
>
code
Tagged Content List
Blog Post:
Incluir imagenes en HTML sin usar ficheros externos, Conversor de ficheros a base64
Rido
Hace tiempo que me enteré de como usar las data urls dentro de HTML, cosa que me parece muy conveniente para usar el formato HTML fuera de HTTP (por ej, para adjuntarlo en un correo) 1: div.pass { 2: width:40px; 3: height:40px; 4: background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA...
on
26 May 2011
Blog Post:
Por que me gusta escribir código fuera del trabajo
Rido
Desde que empecé en esto de la programación, siempre me ha gustado escribir código fuera de un proyecto real. Y cuando digo escribir código no me refiero sólo a pequeños ejemplos, sino a algun programa, por pequeño que parezca, pero que perdure en el tiempo. Creo que lo hago por los siguientes motivos...
on
25 May 2011
Blog Post:
Mi Obsesión: No Depurar
Rido
Tengo una obsesión al trabajar leyendo/escribiendo/cambiando código: no depurar . Puede parecer muy ambicioso, pero cada vez que me veo en la necesidad de depurar es porque me faltan pruebas unitarias, o hay una “deuda con el diseño” Depurar puede convertirse en un agujero negro de tiempo. La mayoría...
on
24 May 2011
Blog Post:
trx2html 0.7 (Beta)
Rido
Acabo de publicar una nueva versión de trx2html. http://trx2html.codeplex.com/releases/view/66144 Hay pocas novedades funcionales en esta versión (ver más abajo). Pero lo realmente nuevo es que he cambiado drásticamente el diseño de la herramienta. Las versiones anteriores se basaban en una combinación...
on
15 May 2011
Blog Post:
Default Membership y SQLExpress UserInstance
Rido
Estos días estoy pegándome con Silverlight RIA Services , y resulta que todas las demos y tutoriales que he encontrado usan Membership, pero en vez de indicar la cadena de conexión en el Web.Config, se usa la configuración por defecto. Esta configuración utiliza una característica de SQLEXPRESS que permite...
on
14 Jan 2011
Blog Post:
Enterprise Library Configuration Best Practices
Rido
There is no doubt, we (as Microsoft Consutants) must use entlib for instrumentation purposes, like logging and exception handling. I must to admit that there are some design decisions I don’t like too much, like the high number of assemblies or the verbose configuration mechanism, but this is...
on
21 Oct 2010
Blog Post:
Test Class Inheritance Revisited
Rido
Some years ago I used to use inheritance in my unit test class design, mainly to avoid code duplication. When VS2005 introduced unit tests, this was one of the most requested features.. but with time, it has been forgotten. Today, I was creating some integration tests that called a WCF service, so I...
on
5 Jul 2010
Blog Post:
How to connect to TFS through authenticated Web Proxy
Rido
Today I was in a customer where the internet access is provided by a WebProxy that requires credentials. For some reason, although VS can navigate, the Team Explorer was not able to connect to our TFS server, because a 407 error (Proxy authentication required) To fix this issue you need a custom proxy...
on
6 May 2010
Blog Post:
Sorprendente Assert
Rido
Estoy revisando el código de un componente, y sorprendentemente tiene pruebas unitarias…. ¿y que me encuentro? Assert.IsTrue(1 != 1, "Se ha producido un error La verdad, para escribir esto … mejor me voy a dormir
on
30 Apr 2010
Blog Post:
The webHttpBinding Magic (another Spotify WCF Client)
Rido
One of the most common programming tasks today is to manage a series of WebRequests, mostly HttpRequests. In .Net we have been using the system.net.httpwebrequest.aspx class and friends like system.net.webclient.aspx to manage the URL I/O. If you need a “C# parameter to queryString converter” you...
on
10 Feb 2010
Blog Post:
Moles
Rido
I’ve been interesting in unit testing for some years now. One major aspect of unit testing is about how use designs that allows a separation of concerns so you can test your program as units (usually at class level), for this the interface basic programming is a MUST. Once you start with interfaces,...
on
5 Nov 2009
Blog Post:
Debugging VB6 code with Visual Studio 2008
Rido
I was reviewing an old DNA app (more on this in a different post) and I got really surprised when I saw that we can debug VB6 code with VS2008 !!!
on
5 Oct 2009
Blog Post:
RidoCode
Rido
Since gotdotnet is phased out, I'm moving all my samples to codeplex ( http://www.codeplex.com/ridocode ), including the famous FileRollerTraceListener
on
26 Sep 2007
Blog Post:
TestResults Reports in TFS Builds
Rido
If you use TFSBuilds with VS UnitTests, you know how to inspect the TestResults: you must download the whole directory to your local machine, and sometimes this folder could be pretty huge. So, if you want to check the error details of your tests, you can use my tool trx2html to convert the *.trx...
on
24 May 2007
Blog Post:
Testing with VS2005 Demo
Rido
Today's workshop was based on a demo to show all the vs features about testing, it covers: Unit Tests (With MockObjects) Integration Tests (Using ASP.Net Host) Functional Tests (With Web Tests) Load Tests (With testcontrollers and test agents) I've packed all the code in a zip that...
on
27 Nov 2006
Blog Post:
Mocking SQLException
Rido
I'm working on a presentation about Testing, and one of the technics I would like to show is MockObjects. One of the mock objects I want to create is a DataAccess Layer, and this one should throw SqlExceptions, however the SqlException class is sealed and has no public constructor. I found a comment...
on
26 Nov 2006
Blog Post:
Some workaround for ObjectDataSource: could not find a non-generic method '...'
Rido
Today I was playing with the new DataBind capabilities of ASP.Net 2.0, and found this error.. here are some links to possible solutions Link to Some workaround for ObjectDataSource: could not find a non-generic method '...'
on
7 Sep 2006
Blog Post:
The Future of Programming Languages
Rido
Two years ago I wrote about "The Future of Programming" bercause it was the keynote at OOPSLA04. I found a nice presentation from VSLive! Toronto 2006 where Lohn Lam talks about RUBY as an example of a language of the future (with lessig style) Link to FTPOnline - VSLive! Toronto 2006 - The Future of...
on
21 Aug 2006
Blog Post:
NUnit vs VSTS
Rido
One of the most popular open source application for .Net developers is NUnit. With the next release of VS2005 and VSTS, the new IDE has integrated unit test support, with a lot of new functionality over NUnit. However there are some basic features that VSTS does not implement. 1) Assert...
on
30 Oct 2005
Blog Post:
HowToUseXmlDataDocument
Rido
One test is better that thousand words... [TestFixture] public class XmlDataDemo { [Test] public void LoadDataSet() { EmployeeDataSet ds = new EmployeeDataSet(); ds.ReadXml(@".\..\..\Employee.xml"); Assert.AreEqual(1,ds.employee.Rows.Count); } [Test] public void...
on
26 Oct 2005
Blog Post:
PrinciplesOfObjectOrientedDesign
Rido
Does everybody agree about the " Principles Of Object Oriented Design " ? from: http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfObjectOrientedDesign "… The first five principles are principles of class design. They are: SRP The Single Responsibility Principle A class should have one...
on
3 Oct 2005
Blog Post:
MockObjects again
Rido
Finally my article about TDD, MockObjects and Dependency Injection is updated to this new URL: http://msdn.microsoft.com/es-es/library/bb932285.aspx It's in Spanish, but the sample code is English readable !! I'm waiting for your feedback.
on
28 Sep 2005
Blog Post:
Unit Test Rules
Rido
Michael Feathers has posted a set of Unit Tests Rules http://www.artima.com/weblogs/viewpost.jsp?thread=126923 he said: A test is not a unit test if: It talks to the database It communicates across the network It touches the file system It can't run at the same time as any of your other unit...
on
21 Sep 2005
Blog Post:
How to learn Design Patterns
Rido
Jeremy D. Miller talks in his blog about how to learn and apply Design Patterns. http://codebetter.com/blogs/jeremy.miller/archive/2005/09/01/131509.aspx I completely agree with his ideas, however I've been in frustrating situations when you come to an existing project, and you want to apply patterns...
on
3 Sep 2005
Blog Post:
Look at this code !!
Rido
At the beginning of this blog I started to submit intersting URL, or sites I don't want to forget. Since I discovered Del.Icio.Us (social bookmark manager) I just post my new links there , but today I've found a blog dedicated to the most horrible code sinppets you've never seen. http://thedailywtf...
on
1 Sep 2005
Page 1 of 3 (60 items)
1
2
3