- C# Extension Methods – To Extend or Not To Extend…I’ve been thinking a lot about extension methods lately, and I must admit I both love them and hate them. They are a lot like sugar, they taste so nice…
- C# Fundamentals – What is the Difference Between Const and Readonly?Once again we delve into the world of C# Fundamentals. Those hints and gotchas that tend to bite folks newer to the language. Today I take another look…
- C#/.NET Little Pitfalls: Nullable Math Doesn’t Always Add UpC# is a wonderful language for modern programming. While everything in C# has a reason and a place, occasionally, there are things that can be confusing…
- 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…
- 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…
- 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…
- 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…
- 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…
- Creating a Simple Registration Form in ASP.NETThis example shows how to create a very simple registration form in ASP.NET WebForms. ! STEP1: Creating the Database.
- 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…
- 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,…
- 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. Normally we would just use the Response.Write to write the fileStream to the…
- 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…
- 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…
- 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:…
- 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…
- 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…
