Validation should begin as close to your database as possible: in your Entity Framework entities. Here's how you can integrate validation code into both the entities the Entity Framework generates and the ones you write.
Everything at Henry's company revolved around contracts with vendors. The IT department had relied on the aptly named Contract Manager -- the sole remaining Visual Basic 6 client-server application -- to support that business for the past 12 years.
While you can create classes that contain their own validation code, there are scenarios where it makes sense to separate validation code from the properties it validates using DataAnnotations.
10 questions and answers to help understand the Roslyn complier-as-a-service project for Visual Basic and C# developers.
WPF provides the richest environment for developers to incorporate standalone validation classes into their user interfaces—and for business object developers to support an application's user interface.
Code First frees you up from the chore of creating databases for your project. Here's a primer on how to do it.
Implementing one of three interfaces can turn your business classes into self-validating components that seamlessly integrate into WPF, Silverlight and ASP.NET MVC applications -- and can be easily extended to other environments.
Along with Visual Studio 11, betas of the .NET Framework 4.5 and two versions of Team Foundation Server were released.
WPF makes it very easy to load non-executable resources at run time -- including a complete UI in XAML. Here's how to leverage that functionality to create applications that you can customize without recompiling.
You can use your Master Pages just to structure your pages. Or you can integrate them into your application with custom code that your content pages can access.
Web Parts and User Controls let you easily build customizable UIs with the same tools you use to create inflexible user interfaces -- and implement an MVC-like pattern in ASP.NET.
When Brett was hired on as a senior analyst, he wasn't surprised to learn that the older platforms were built around Visual Basic 6 (VB6), which was no longer supported by Microsoft.
Iterators are available for Visual Basic in Visual Studio 2010. In Part 2 of a series, Joe Kunk discusses Visual Basic iterator syntax, demonstrates how iterators are coded, and compares Visual Basic iterators to C# iterators.
Visual Basic development in Visual Studio 11 offers asynchronous methods, iterators, call hierarchy, the Global keyword and Windows 8 Metro-based applications.
Even with a terrible economy, Microsoft-focused developers are doing well, according to our salary survey.
Peter Vogel solves a reader's problem by integrating data from multiple dropdown lists, the FormView and some Ajax magic that calls code in a method in an ASPX page.
In addition to adding a new paradigm with Windows 8/Metro, Microsoft has upgraded its core development products; this comprehensive overview takes it all in.
Using lambda expressions is a more compact way of wiring up events in both C# and Visual Basic. It also provides a way of passing parameters to an event without having to redefine the event's parameters.
Learn how to utilize the Roslyn Scripting API to host a C# scripting engine in your applications.
Iterators are available for Visual Basic in Visual Studio 2010 after installing the latest Visual Studio Async CTP, and natively in Visual Basic 11.