Attention: We are retiring the ASP.NET Community Blogs. Learn more >

sfeldman.NET

.NET, code, personal thoughts

  • NServiceBus Gotcha - NServiceBus.Host.exe Can’t Locate IConfigureThisEndpoint

    Unhandled Exception: System.InvalidOperationException: No endpoint onfiguration found in scanned assemblies. This usual ly happens when NServiceBus fails to load your assembly contaning IConfigureThisEndpoint. Try specifying the type explicitly in the NServiceBus.Host.exe.config using the appsetting key: EndpointConfigurationTypeScanned path: C:\SearchFeedingService\
       at NServiceBus.Host.Program.ValidateEndpoints(IEnumerable`1 endpointConfigurationTypes)
       at NServiceBus.Host.Program.GetEndpointConfigurationType()
       at NServiceBus.Host.Program.Main(String[] args)

  • Keymaps For R# Plugin

    If you are starting with R# (which you should definitely consider in case you are a professional .NET developer and not use an alternative), this plugin might be helpful to start with all the shortcuts.

  • Moq with NameValueCollection

    Mocking HttpRequest and HttpResponse is not complicated with HttpRequestBase and HttpResponseBase introduced in ASP.NET. I had to mock ServerVariables property of HttpRequest and run into an issue – I was accessing an indexer property and didn’t know how to do this. Gladly, ran into a post that mentioned that indexer is actually utilizing a virtual Get() method. Reflector has confirmed that.

  • Writing a Custom ConfigurationSection

    Writing a Custom ConfigurationSection is not a big task, but can be very challenging if you forget some details. I loved this post as it reminded me that you have to have both the Section tag and the collection within it tag… dah!

  • Join.me

    Working with remote team members can be sometimes challenging. Working with temporary team members is even more challenging. IT can sometime get in your way when you need screen sharing, and you need it fast. Typically I’d go first with the official route – IT provided service (in case company provides that service or has acquired it), VNC (if IT supports it), or something else, more creative.

  • Happy 2012

    Life is a book. Each one of us is an author. Every year is a chapter. Every New Year eve we wish to start fresh, to begin a new chapter in our life. Let me wish you to live your next year in a such way, that you would be proud to add another chapter to your life book, proudly looking at the passing year and building on top of that many other chapters, full with love, happiness, great achievements, and people so dear to your heart.

  • ESENT Database

    Thank to Oren Eini, now I have another tool under my toolbelt – ESENT database. Fully transactional database, deployed with all windows, just add managed wrapper and good to go. Moral of this post – there’s so much under my nose that I am not even aware of…