geeklyeverafter.blogspot.com
Geekly ever after: WPF Treeview bound to an xml file monitored for changes
http://geeklyeverafter.blogspot.com/2010/03/wpf-treeview-bound-to-xml-file.html
Developer-Speak" about developer subjects! Mainly focused on C# and .NET. WPF Treeview bound to an xml file monitored for changes. Here's a code snippet of a WPF treeview binding to a xml file, which gets reloaded everytime the xml file is physically changed. The sample xml file I'm using (located at "C: data.xml"):. And finally the C# code-behind code for the same window that monitors the xml file changes and updates the binding accordingly:. Published by Bruno Marques. Enviar a mensagem por e-mail.
geeklyeverafter.blogspot.com
Geekly ever after: Test INotifyPropertyChanged Pattern implementations
http://geeklyeverafter.blogspot.com/2011/02/test-inotifypropertychanged-pattern.html
Developer-Speak" about developer subjects! Mainly focused on C# and .NET. Test INotifyPropertyChanged Pattern implementations. That's why there are so many different alternatives out there. I decided to collect a few and test them for performance. Implementations (one using IL weaving and another using a dynamic proxy) and the usage of dependency properties. Dependency properties may seem a little out of place, but they are one of the common alternatives to using the INotifyPropertyChanged. It's not my o...
geeklyeverafter.blogspot.com
Geekly ever after: Fevereiro 2013
http://geeklyeverafter.blogspot.com/2013_02_01_archive.html
Developer-Speak" about developer subjects! Mainly focused on C# and .NET. Transforming web.config in TFS builds. XDT transforms (mostly known as web.config transformations) are most useful to perform transformations on your web.config at deploy time (for more details about web.config transformations you can take a peek at http:/ msdn.microsoft.com/en-us/library/dd465326.aspx. Https:/ nuget.org/packages/Microsoft.Web.Xdt. Http:/ ctt.codeplex.com. Published by Bruno Marques. Enviar a mensagem por e-mail.
geeklyeverafter.blogspot.com
Geekly ever after: Stack Walking
http://geeklyeverafter.blogspot.com/2011/01/stack-walking.html
Developer-Speak" about developer subjects! Mainly focused on C# and .NET. Have you ever needed to determine who's calling your methods or merely needed to inspect the call stack? There's a fairly simple way of doing it by using the StackTrace. Class I'll show you an usage example. First, let's start by creating a small class that creates a stack of 3 method calls just so that we have some to call stack to look into. This should do it:. These tests were made using a Debug version of the application. That ...
geeklyeverafter.blogspot.com
Geekly ever after: Janeiro 2013
http://geeklyeverafter.blogspot.com/2013_01_01_archive.html
Developer-Speak" about developer subjects! Mainly focused on C# and .NET. First of all, happy New Year! Now, on the first post of the year, I would like to quote the great Donald Knuth. We should forget about small efficiencies, say, about 97% of the time: Premature optimization is the root of all evil. Here's another quote (from Continuous Delivery. We rarely have the time to perfect our code until we deem it as good and fast as we'ld like, so in such situations a programmer should be pragmatic (which I...
geeklyeverafter.blogspot.com
Geekly ever after: Abril 2014
http://geeklyeverafter.blogspot.com/2014_04_01_archive.html
Developer-Speak" about developer subjects! Mainly focused on C# and .NET. I've read an interesting post today about a current trend in the software development industry: http:/ jeffknupp.com/blog/2014/04/15/how-devops-is-killing-the-developer/. The post rants about the "full-stack" developer. The "one-man band" that is basically responsible for pretty much everything from writing code, managing databases and even being a system administrator. Published by Bruno Marques. Enviar a mensagem por e-mail.
geeklyeverafter.blogspot.com
Geekly ever after: Code Access Security Cheat Sheet
http://geeklyeverafter.blogspot.com/2010/09/code-access-security-cheat-sheet.html
Developer-Speak" about developer subjects! Mainly focused on C# and .NET. Code Access Security Cheat Sheet. Here’s one thing most developers like: Cheat Sheets! I’ve made a simple cheat sheet about .NET Code Access Security, more specifically about the declarative and imperative way of dealing with permissions. Bear in mind that this cheat sheet doesn’t. Cover any of the new features brought by .NET 4.0 security model. Published by Bruno Marques. Enviar a mensagem por e-mail. Dê a sua opinião! If you sti...
geeklyeverafter.blogspot.com
Geekly ever after: SQLite "available" for .NET 4.0
http://geeklyeverafter.blogspot.com/2010/03/sqlite-available-for-net-40.html
Developer-Speak" about developer subjects! Mainly focused on C# and .NET. SQLite "available" for .NET 4.0. If you're a fan of SQLite and you've already started to use VS2010, you've probably noticed that your ADO.NET provider for SQLite. No longer works as it should. It's now throwing an exception when you try to load data. Where an installer was supplied to install the provider in VS2010 Beta 2 and VS2010RC. So here's the quick link for download. Published by Bruno Marques. Enviar a mensagem por e-mail.
geeklyeverafter.blogspot.com
Geekly ever after: Memory Dump to the Rescue
http://geeklyeverafter.blogspot.com/2010/09/memory-dump-to-rescue.html
Developer-Speak" about developer subjects! Mainly focused on C# and .NET. Memory Dump to the Rescue. Surely you’ve been through those situations where a user or a tester reports a situation that you can’t reproduce in your development environment. Even if your environment is properly set up, some bugs (such as a Heisenbug. Can be very difficult to reproduce. Sometimes you even have to diagnose the program in the testing/production environment! Microsoft supplies a Debug Help Library. Running this program...