An HTML Helper is a bit of Razor code that can be called from multiple places in a View. But, if you put your Helper in the right place, you can also use it from any View in your application.
Look behind the curtain on this one, and you'll see that code is quite magical in and of itself.
Moving to TDD with ASP.NET is not, in fact, as easy as everyone tells you it is. But it's not as much work as you might think, either. Here's what you need to do to start doing TDD in the real world with an existing ASP.NET MVC application.
The first preview of the next incremental update to ASP.NET Core comes with a slew of new middleware components for speeding up app performance, while updates to .NET Core and Entity Framework Core come with mainly support additions.
- By Michael Domingo
- 10/26/2016
Decisions, decisions. Here's why overloading will keep you out of trouble.
- By Kate Gregory
- 10/24/2016
HockeyApp SDK for Universal Windows Platform apps is out now, supporting all HockeyApp features from within UWP apps on Windows 10, including full symbolication for .NET Native store apps.
- By Michael Domingo
- 10/21/2016
If you've got a site that contains subsites and want to visually distinguish between those subsites (while still maintaining your site's visual integrity), consider nesting layouts within layouts.
When you have code that is called for many objects it's hard to go through all them and just check line by line. How can you more efficiently debug lots of code?
- By Bartlomiej Filipek
- 10/20/2016
Both the MediaElement and Player Framework provide rich, on-screen elements for controlling media playback. Here's how to use a Universal Windows Platform app to use both the System Media Transport Controls and Cortana to provide an alternative, more integrated player experience.
- By Nick Randolph
- 10/19/2016
If you're not using Const and Enums then you're just making life harder for the next programmer.
As Microsoft ends further development of LightSwitch, the "development" tool aimed at line-of-business types, it introduces an alternative: PowerApps.
- By Michael Domingo
- 10/17/2016
Once you start implementing current design practices, you'll find that your typical object consists of a lot of other objects.
Goto statements, whether they're used in Visual Basic or C#, can be confounding as to their purpose in some contexts.
One month after release, there's already a slew of fixes and enhancements that are responses to user feedback to the toolkit. Also, it's now a .NET Foundation project.
- By Michael Domingo
- 10/13/2016
Fresh from Ignite, the Azure teams have been on a DevOps-heavy kick with a number of new tools for managing Azure services.
- By Michael Domingo
- 10/13/2016
Cross-platform software development has come a long way. Here's a roundup of tools, templates and plug-ins for .NET coding that targets Windows, Mac, Linux, Android and iOS -- even Raspberry Pi and Lego.
- By Terrence Dorsey
- 10/12/2016
That noexcept keyword is tricky, but just know that if you use it, your coding world will spin faster.
- By Kate Gregory
- 10/11/2016
The final point release of Microsoft's JavaScript-like language comes with tagged unions, glob support and new types with which to play around.
- By Michael Domingo
- 10/11/2016
In an object-oriented world you create flexible applications by combining objects. You'll want to keep those objects loosely coupled, though, so that a change in one class doesn't force you to rewrite every class. Here's how to keep them loosely coupled.
Performance comes in the form of shorter load times and more efficient memory usage across the tooling. and productivity are highlights of this latest preview.
- By Michael Domingo
- 10/06/2016