Just Coding

.NET developer spanish bits

Browse by Tags

Tagged Content List
  • Blog Post: App Studio at Build 2014 Conference

    Several people is asking for the code I used in the App Studio @//build: http://channel9.msdn.com/Events/Build/2014/2-565 Here it is.
  • Blog Post: Updated Traces for .Net

    Loooong time ago I wrote: http://blogs.msdn.com/b/rido/archive/2004/05/07/logsandtraces.aspx Today I've updated with a revision to use some features that were not available then, like the TraceEventType As usual it's in my Gist: https://gist.github.com/ridomin/6798405
  • Blog Post: The new DLL Hell (aka as Nugget)

    Today I was preparing a demo about Continuous Deployment to Azure from TFSService. For that demo I created a basic ASP.Net MVC4 with the internet Template, and try to build & deploy from TFS Service. Nothing "fancy" here, however when I start the first build I started to get Build Errors because...
  • Blog Post: Incluir imagenes en HTML sin usar ficheros externos, Conversor de ficheros a base64

    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...
  • Blog Post: Por que me gusta escribir código fuera del trabajo

    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...
  • Blog Post: Mi Obsesión: No Depurar

    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...
  • Blog Post: trx2html 0.7 (Beta)

    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...
  • Blog Post: Default Membership y SQLExpress UserInstance

    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...
  • Blog Post: Enterprise Library Configuration Best Practices

      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...
  • Blog Post: Test Class Inheritance Revisited

    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...
  • Blog Post: How to connect to TFS through authenticated Web Proxy

    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...
  • Blog Post: Sorprendente Assert

    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
  • Blog Post: The webHttpBinding Magic (another Spotify WCF Client)

    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...
  • Blog Post: Moles

    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,...
  • Blog Post: Debugging VB6 code with Visual Studio 2008

    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 !!!
  • Blog Post: RidoCode

    Since gotdotnet is phased out, I'm moving all my samples to codeplex ( http://www.codeplex.com/ridocode ), including the famous FileRollerTraceListener
  • Blog Post: TestResults Reports in TFS Builds

    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...
  • Blog Post: Testing with VS2005 Demo

    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...
  • Blog Post: Mocking SQLException

    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...
  • Blog Post: Some workaround for ObjectDataSource: could not find a non-generic method '...'

    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 '...'
  • Blog Post: The Future of Programming Languages

    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...
  • Blog Post: NUnit vs VSTS

    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...
  • Blog Post: HowToUseXmlDataDocument

    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...
  • Blog Post: PrinciplesOfObjectOrientedDesign

    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...
  • Blog Post: MockObjects again

    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.
Page 1 of 3 (63 items) 123