- C#/.NET Little Wonders – A PresentationSo I gave a talk at the Jeff City.NET Users Group on Wednesday, November 10th based on my “Little Wonders” series of posts. I spent most of my free time this week getting this presentation together…
- C#/.NET Little Wonders: Interlocked CompareExchange()Once again, in this series of posts I look at the parts of the.NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pas…
- C#/.NET Little Wonders – The DateTimeOffset structOnce again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pa…
- C#/.NET Little Wonders: Use Cast() and OfType() to Change Sequence TypeOnce again, in this series of posts I look at the parts of the.NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my pas…
- Cleaning up XAML code and improving parsing time (with Blend and Studio)XAML being XML-based, it needs to be parsed and processed when the code is loaded in the application. WPF allows multiple scenarios, for example pre-compiling the XAML to BAML (binary application m…
- Creating a Simple Registration Form in ASP.NETThis example shows how to create a very simple registration form in ASP.NET WebForms.
- Developing and debugging Server Side Event Handlers in TFS 2010Martin Hinshelwood wrote an excellent post recently (https://geekswithblogs.net/hinshelm/archive/2010/09/16/team-foundation-server-2010-event-handling-with-subscribers.aspx) about a new type of int…
- DirectorySearcher.FindAll() -should have PageSize=1000When you are calling DirectorySearcher.FindAll() and there is a chance to have more than 1000 records back, you must set PageSize to non-zero value, preferably 1000. Otherwise only the first 1000 r…
- Downloading file using ajax and jquery after submitting form data using ajax HTTP POST in MVCMany a times we find a need to download a file on doing a AJAX POST request.
- Easy Scaling in XAML (WPF)Ran into a problem that needed solving that was kind of fun. I’m not a XAML guru, and I’m sure there are better solutions, but I thought I’d share mine.
- Feature Toggles vs Feature Branches – Dylan’s $0.02There’s been some about an old debate between Feature Branches vs Feature Toggles. I used to be firmly in the Feature Branches camp, but about a year ago (at the ALM Summit) I became convinced that…
- FREE MSDN Flash eBook of the best 13 technical articles of 2009\[16th Dec 2009 – have spotted a small final missing } in the Office XML sample code. Will get that updated with any other changes \]
- How to Bind Enum Types to the Dropdown or any other bindable Control in ASP.Net …..While working on a Data Form in an ASP.Net application you might want to get a value from the user that corresponds to the Enum you created in your Business Layer. Since Enum types are not strings …
- How to create a global exception handler for a Web ServiceIf you are developing ASP.NET you can easily use the Application\Error event within the Global.asax Syntax file for your global exception handling needs.
- How to Enable USB Port through Regedit in Windows if it is blocked1\. Click Start, and then click Run. 2. In the Open box, type regedit, and then click OK. 3. Locate, and then click the following registry key: HKEY\LOCAL\MACHINE\\SYSTEM\\CurrentControlSet\\Servic…
- HOW TO GET DISTINCT VALUES FROM THE LIST WITH LINQRecently I was working with data from a generic List<T> and one of my objectives is to get the distinct values that is found in the List. Consider that we have this simple class that holds the foll…
- How to Hide Top Bar, Ribbon, Quick Launch in SharePoint 2010?Top Bar, Ribbon, Quick Launch are come up with Application Pages by default. If you want to open the page in Dialog Framework then those elements will take more space and make the layout cluttered.…
- How to pin your game or app’s tile in the emulator (and I still love you WP7!)I came across this by accident the other day and thought it was really neat. So I wanted to share it to help karma balance my last post (more on that at the end). As I’m sure you know, Silverlight …
- How to set x509 Certificate private key access rights for AppPoolIdentityIf your website uses the AppPoolIdentity and requires access to the private key of an x509Certficate, you’ll need to grant the read permissions to the iis application pool.
- HOW TO SETUP VISUAL STUDIO 2005 TO USE THE MICROSOFT SYMBOL SERVEROne of the first things you will want to do after installing visual studio is to set it up to automatically pull down the correct symbols for system components when debugging. You do this by config…
