The Curious Engineer

All blogs / C# / .NET

Nish Nishant

voidnish.com

Nish’s thoughts on technology leadership, cloud architecture, and APIs, among other things

C# / .NETC++DevOps / SRE / infrastructure

’05’10’15’20’25
Posts
289 from 14 Apr 2004 to 14 Nov 2023
Posting
quiet since 2023
Kind
personal blog
Feed
https://voidnish.com/feed/

2023 9

  1. 3rd Party API Integration Pattern
  2. Using IConfiguration and appsettings.json in a .NET Core Azure Function project
  3. Defaulting Visual Studio git branch to main
  4. Using Newtonsoft JsonConvert to easily construct a derived class from a base instance
  5. 3 lines of code for an ASP.NET Web API
  6. Exiting an Azure WebJob programmatically
  7. Azure WebJobs not logging to Application Insights
  8. Powering Autonomous Capability Domains using an Enterprise Event Stream
  9. Serializing enums as strings

2022 2

  1. Implementing asynchronous endpoints in REST with callbacks
  2. Implementing asynchronous endpoints in REST

2021 2

  1. Adding a lambda target with EventBridge
  2. Amazon EventBridge

2020 1

  1. ASP.NET Core 3.1, Windows 8.1, and Http2

2018 5

  1. .NET Core OData client using Microsoft.OData.Client
  2. ASP.NET Core, OData, and Swashbuckle – workaround for error
  3. OData with ASP.NET Core
  4. Handling application lifetime events for a hosted service
  5. Generic hosted services in .NET Core using IHost and IHostedService

2016 2

  1. VC++ 2015 – Lazy generators
  2. VC++ 2015 – Using resumable functions

2014 17

  1. VS14 CTP – Implement Pure Virtuals
  2. VS14 CTP – Move Definition Location
  3. VS14 CTP – Create Declaration / Definition
  4. VS14 CTP – User-defined literals
  5. VS14 CTP – auto return type
  6. VS14 CTP – Inheriting constructors
  7. VS14 CTP – Extended sizeof
  8. Azure queues – updating messages
  9. Using Azure queues from C++
  10. Downloading blob content
  11. Using Azure blob storage from C++
  12. Writing custom queries against an Azure table
  13. Modifying Azure table data
  14. Azure Storage access using C++
  15. Using weak_ptr
  16. Using shared_ptr
  17. Using unique_ptr instead of auto_ptr

2013 19

  1. VC++ 2013 – Initializer lists and uniform initialization
  2. VC++ 2013 : Explicit conversion operators
  3. Default template arguments for function templates
  4. VC++ 2013 support for delegating constructors
  5. Tuple implementation via variadic templates
  6. Variadic templates and recursive specialization
  7. Variadic templates – The sizeof… operator
  8. Variadic templates in VC++ 2013
  9. Raw string literals in VC++ 2013
  10. C++ REST SDK (Casablanca) included with VS 2013
  11. Support for boxed values in value types
  12. Overriding ToString in C++/CX ref types
  13. Casablanca – showing progress for an HTTP download
  14. Casablanca – JSON POST code snippet
  15. Casablanca code snippets – getting and parsing JSON data
  16. Setting VC++ up to use Casablanca
  17. Mapping a Visual C++ filter to a physical folder
  18. DateTime projection in C++/CX
  19. Compiler errors when using the Bindable attribute

2012 11

  1. Visual C++ WinRT FAQ – Winsock and other APIs
  2. Difference between std::move and std::forward
  3. Building Metro apps without Windows 8
  4. C# and the need (lack of) for move semantics
  5. Visual C++ WinRT FAQ – Inter-Process-Communication
  6. Visual C++ WinRT FAQ – connecting to localhost
  7. Visual C++ WinRT FAQ – Non-RT types in public signature
  8. Visual C++ WinRT FAQ – WRL vs C++/CX
  9. Visual C++ WinRT FAQ – Alternative to C++/CX
  10. Visual C++ WinRT FAQ – Does C++/CX produce managed code?
  11. Announcing the Central Ohio C++ User Group

2011 11

  1. WinRT : Databinding with C++
  2. Intro article on using C++/CX
  3. C++/CX – keeping C++/CLI syntactically alive
  4. The future of C++/CLI
  5. Mixed-mode scenario with tracking handles to value types
  6. Validating a bit flags enum value
  7. Using Socket.Disconnect(true)
  8. What about static indexers in C#?
  9. DateTimePicker focus issue
  10. C++/CLI equivalent for C#’s default(T)
  11. Enum.TryParse missing in Windows Phone 7

2010 22

  1. Directory.GetFiles and extensions longer than 3 characters
  2. Splitting a C++/CLI property’s definition and implementation into separate cpp/header files
  3. Generic arrays and casting to an object array
  4. VC++ 2010 : C++/CLI does not support variant delegates/interfaces
  5. Visual Assist X gives VC++ 2010 intellisense for C++/CLI
  6. VC++ 2008 with MFC and GDI+ dependency
  7. An interesting issue with generics, casting, and explicit/implicit operators
  8. Type.ToString quirk on Array types
  9. Native exe linking with mixed-mode static lib
  10. FAQ: Cannot reuse closed WPF windows
  11. FAQ: C# calling C++ code with callbacks with unmanaged array arguments
  12. FAQ: Cannot re-show a WinForms form that's been closed
  13. Article: Handling a Window's Closed and Closing events in the View-Model
  14. Article : EXIF Compare Utility using WPF
  15. Correction for the instant binding attached behavior for WPF TextBoxes
  16. Article : An MVVM friendly approach to adding system menu entries in a WPF application
  17. An attached behavior for WPF TextBoxes to force instant binding
  18. Article : An extensible ExifReader class with customizable tag handlers
  19. An attached behavior for TextBoxes to support TextChanged commands
  20. Undocumented compiler error CS0226
  21. C++/CLI bug : Operator overloading in an interface
  22. Undocumented compiler error CS0224

2009 22

  1. Rewriting a WCF service in WWS
  2. Consuming a WCF service using a native WWS client
  3. .NET 4.0 : Arrays are now structurally equatable
  4. Setting VC++ directories in VS 2010
  5. Article : Delayed Delegate Invoker
  6. A boolean lock using IDisposable
  7. Checking for Design-Mode
  8. Exposing List vs IList
  9. C# 4.0 and variant generic delegates
  10. C# 4.0 and variant generic interfaces
  11. Named and optional parameters in C# 4.0
  12. A quick look at the C# 4.0 dynamic type
  13. Tip : Flush the keyboard buffer from C#
  14. Tip – Sending multi-line email using the mailto: protocol
  15. Article : A generic Trictionary class
  16. System.String and intellisense for Linq extension methods
  17. An interesting week in Seattle
  18. Simulate a window minimize / memory release in your .NET apps
  19. Using reflection to invoke a constructor that takes a ref parameter
  20. Static initialization goof-up
  21. Follow up to writing enums to a database
  22. Recommendation for writing enums to a database

2008 14

  1. Using StyleCop
  2. WPF : Opaque child windows on a transparent parent background
  3. C++/CLI Article : Deriving from a C# disposable class
  4. Invoking a virtual method in a managed constructor
  5. When the pizza guy called me Neptune
  6. Article : Using a TypeDescriptionProvider to support dynamic run-time properties
  7. Using underscore to prefix private member fields
  8. Nishant is spelt with a t at the end
  9. Adding a DockStyle.Fill control at run-time
  10. Article : A look at STL/CLR performance for linear containers
  11. A singular solicitor at Target
  12. Please wait as I have to reboot my PC!
  13. Article : Deploying MFC applications via ClickOnce
  14. Really getting design patterns

2007 21

  1. Typed URLs Cleaner utility for Windows Vista
  2. Article : Using data selectors to create a listbox with expand/collapse support
  3. WPF tip : Using a custom title bar
  4. Creating an unmovable dialog
  5. A generic function to find a visual child from a visual tree
  6. Setting FontSize programmatically
  7. A data-bound multi-column combobox
  8. Vista rebooted during my VS Orcas beta install!
  9. More on extending the marshal_as library
  10. Extending the marshal_as library
  11. voidnish.com updated to ASP.NET 2
  12. Using marshal_as for mixed-mode string conversions
  13. Got my {Josh Smith on WPF} t-shirt!
  14. A third chapter excerpt from C++/CLI in Action
  15. Another chapter excerpt from C++/CLI in Action
  16. IntelliTXT blocker for Internet Explorer
  17. Chapter excerpt from C++/CLI in Action
  18. It's Tagging time in Microsoft blogger land
  19. Another newbie mistake with PowerShell
  20. A newbie mistake with PowerShell
  21. Lalu and ASCII 3 : One of the earliest programs I wrote

2006 34

  1. New computer speakers
  2. Relocated from Toronto, ON to Marietta, GA
  3. Sample chapter from my C++/CLI book
  4. New article : Drag/Drop a non-existent file into Windows Explorer
  5. Microsoft on its way out from schools in Kerala
  6. ShowDialog and centering the window
  7. Zero-length arrays
  8. Setting default focus to a particular control via XAML
  9. My book's front cover
  10. You *can* delete a NULL pointer!
  11. Examination of a simple C# based Xaml app
  12. C++/CLI in Action
  13. DCOM helps you appreciate WCF
  14. Our Easter trip to Painted Post, NY
  15. Avalon with C++/CLI – what are your options?
  16. Avalon – The end of HWND voyeurism!
  17. Dynamically load a Xaml file from a C++ app
  18. Writing a simple Avalon app with C++/CLI
  19. The SHCreateDirectoryEx API function
  20. A near heart attack!
  21. Article – A modal dialog that fades the background to gray-scale
  22. A Windows Forms component that provides enhanced MessageBox functionality
  23. Selecting a default folder with SHBrowseForFolder
  24. Get the Office 2003 style menus/toolbars in your MFC apps using Windows Forms
  25. One year now!
  26. VS 2005 Document Explorer never finds anything
  27. Preserving method signature for CCW
  28. CCW and returning an array of String^
  29. A managed smart pointer for using native objects in managed code
  30. A finalizer that nearly ended up wrong!
  31. gcnew T vs gcnew T()
  32. You cannot #include wabdefs.h with VC++ 2005
  33. No more implicit overriding for virtual functions of ref types
  34. Windshield fluid that freezes on the windshield!

2005 47

  1. Where have all the Indian developers gone?
  2. Article : Using WinForms controls in an MFC dialog
  3. Something to watch out for when using for each
  4. C++/CLI Language Specification 1st Edition
  5. VC++ 2005 and the confusion over its .NET nature
  6. Crossing the road and looking the wrong way!
  7. The futility of const ref objects
  8. Speed up mixed mode apps with __clrcall
  9. The __FUNCSIG__ macro
  10. Got a new desktop
  11. Breaking change – OnNcHitTest
  12. Issue with member function pointers and a feature wish
  13. No more defaulting to int
  14. Scope of for-loop variables
  15. From Toronto
  16. Is MFC dead? Does MFC have a future?
  17. A rational attempt to substantiate C++/CLI as a first class CLI language
  18. The coding gentleman's guide to detecting the .NET Framework
  19. The _countof macro
  20. The PathCompactPath function
  21. Mr .NET colorized my articles!
  22. Locking splitter windows
  23. The set is sorted – searching is faster!
  24. Why have a multiset container?
  25. There's nothing wrong in posting messages!
  26. Web site and Blog updated
  27. Casting to a specific function overload
  28. 0x27F3 days!
  29. GetProcessImageFileName/QueryDosDevice trivia
  30. GetProcAddress in Unicode builds
  31. IsAppThemed and IsThemeActive just don't work
  32. The guy who never combed his hair
  33. Retrieving network adapter info using the IP Helper API
  34. Accessing version information is so damn hard
  35. Three recent CP articles
  36. STL.NET in VC++ 2005 Beta 2
  37. A more .NETish main()
  38. Transcript of my MSDN chat
  39. VS.NET 2005 – Beta 1 to Beta 2 in 100 minutes
  40. My first MSDN chat
  41. Simulating polymorphic operator overloads with C#
  42. Send mail without specifying an SMTP server
  43. The __identifier keyword
  44. /Wp64 and casting pointers to DWORDs
  45. The glorious times of yore; or were they?
  46. Errata – RCW issue when returning a BSTR
  47. Using MessageBoxIndirect to show message boxes with custom icons

2004 50

  1. Bye bye 2004
  2. String interning, pointers and a dangerous side-effect
  3. The spell-checker conundrum
  4. Pinning Pointers article
  5. Article on interior pointers in C++/CLI
  6. Comment Moderation
  7. My talk on .NET Web Services
  8. Using reflection to invoke private methods
  9. Instantiating a generic type parameter in C++/CLI
  10. Tracking References
  11. More on References
  12. C++ References
  13. A geek's nightmare
  14. Running your apps on a hidden desktop
  15. Applying explicit on your constructors
  16. const pointer versus pointer to const
  17. Site updated
  18. Sending mail in an unmanaged VC++ application
  19. Blogger’s Block
  20. Direct manipulation of CLI arrays using native pointers
  21. Another CP article – Arrays in C++/CLI
  22. Dialog windows and WM_CLOSE
  23. Goran's gone – but will never be forgotten
  24. Syntax colorizer fun with C++/CLI
  25. My new CP article – Function overriding in C++/CLI
  26. PreTranslateMessage equivalent in a non-MFC Win32 app
  27. Is gmail just a fashion statement?
  28. Trivandrum – a nocturnal beauty
  29. Managed array syntax in C++/CLI
  30. HTML mails – what's all the fuss about?
  31. My new car
  32. Got myself a new mobile phone
  33. The significance of the C# event keyword
  34. RCW issue when returning a BSTR
  35. Down with viral fever
  36. A simple C# function to add context menu items in Explorer
  37. Jagged arrays in C++/CLI
  38. My first C++/CLI article for CodeProject
  39. Blog updated with some fancy stuff
  40. Using GetFullPathName to compare relative file paths
  41. Press any key to continue…
  42. To C++ or not to C++, that is the question!
  43. IJW still works!
  44. Declaring classes in C++/CLI
  45. New UI theme for blog
  46. Microsoft Visual C++ Toolkit 2003
  47. Checking for internet connectivity
  48. About C++/CLI
  49. Getting a CDialog into the taskbar
  50. This is fun :-)