If you ever need to work with all of the properties in some object, you can use GetType and GetProperties to retrieve the object's PropertyInfo objects. After that you can do what you want. Here's an extension method that sets all those properties to their defaults, for example.
Online book from C++ expert Andrey Karpov aims to explain away the myths of C++ programming by way of example.
- By Michael Domingo
- 05/26/2016
From Visual Studio Live! Austin: Innovations like Microsoft's HoloLens will require adapting procedural, linear programming and thinking in terms of compositional programming, observes UX expert Billy Hollis.
In part 4 of this series on the C++ Core Guidelines, Kate Gregory reminds you of an oddity in C++ when it comes to initializing member variables, and shows you a best practice that will make sure this oddity never hurts you.
- By Kate Gregory
- 05/25/2016
Creating a form with TypeScript, React and JSX lets you generate the HTML for your form dynamically, at runtime, and on the user's computer. Here's how to integrate a data- driven form into ASP.NET MVC.
Docker is open sourcing developer tools used to facilitate standing up containers targeted for Windows and Mac platforms.
As Microsoft Learning slates two exams for the MCSD: UWP for retirement next year, two more skills-focused exams will take their places.
- By Michael Domingo
- 05/18/2016
Data retrieval and updates are very different activities so the CQRS pattern says that the smart thing to do is treat them differently. Here's a variety of solutions for the retrieval side in an ASP.NET MVC application.
Developers can use the Desktop App Converter to convert Win32- and .NET 4.6.1-based apps to run on the Universal Wndows Platform and related extensions and toolings.
- By Michael Domingo
- 05/17/2016
New updates mainly fall into the performance and reliability categories, but the .NET engineering teams also inlcude an update to the .NET Core SDK, dubbed 'Preview 1.'
- By Michael Domingo
- 05/16/2016
When working with TypeScript it's not unusual to need a class that matches an already existing server-side class written in C#. Here's one way to get from C# to TypeScript by doing what you normally do.
Another preview of the next VS IDE adds debug improvements, including Edit and Continue capability while building XAML apps, as well as latest TACO Update 9.
- By Michael Domingo
- 05/12/2016
Tutorial kit showcases using Play Web app framework to build Java-based apps that interoperate with .NET.
- By John K. Waters
- 05/11/2016
Something as simple as a checkbox has users expressing their excitement with this update, but there are quite a few features that will be rolling out with the latest update that also shouldn't be ignored.
- By Michael Domingo
- 05/10/2016
You can't make a complicated problem simple. But, by leveraging the right tools in your language (and the Visitor pattern) you can ensure that your code doesn't get as complicated as your problem.