There's more to RESTful services than just using the HTTP verbs. You should also be leveraging the Location header and status code, for example.
Encrypting data that you want stored in your View and returned to you when the user clicks the Submit button has its own special problems. Here’s a complete solution and, as a bonus, an Encryption object you can use anywhere.
Regular expressions give Tim Patrick the creeps, but he overcame his fears by discovering specially crafted regex patterns can access data in a way that’s actually kind of cool.
Summer is coming to a close, and there's a new class of Visual Studio tools and extensions available specifically for the latest release, Visual Studio 2017.
- By Terrence Dorsey
SQL Server 2016 lets you treat JSON objects like rows in a table, allowing you to use data from AJAX queries in joins, updates and any other SQL statement you can think of.
If there's something you want to do every time an Action method is called in a Controller, there's an easy way to achieve that. It may even be a best practice.
When you want to return a string result -- either as text, HTML or XML -- then a ContentResult object gives you the right balance of simplicity and control.
Sometimes what you want to test is how your Action method behaves when it's invoked through an AJAX call. Here's how to mock up that call using Moq.
If you’ve been programming long enough, then you know that the "right way to do things" keeps changing. Here’s why, a description of where we are now and a guess about where we’re going.
That's often where the real problem is.
Peter completes his walk-through of creating a simple Angular app with TypeScript by responding to events, accepting data from the user and updating data back at the server with an AJAX call.
If you just want to get going with a code-first database, you don't even need to define a connection string -- just write your objects.
Your users will make mistakes ... but it would be a mistake to treat all their errors the same way. You can get more out of ASP.NET MVC's validation infrastructure just by paying attention to how you name your errors.
With JSON now the default format for moving data between clients and servers, SQL Server adds JSON support to make it easier to get your data out of the database and down to the client.
If you've ever worked in an enterprise environment and fielded calls from employees unable to get into their accounts due to a depressed Caps Lock key, you know how essential the following tweak to your code can be.
Internet-connected devices in every home and Windows on every device? We're getting there, and you can develop for most of these IoT devices in Visual Studio.
- By Terrence Dorsey
With the help of Python and the NumPy add-on package, I'll explain how to implement back-propagation training using momentum.
- By James McCaffrey
From performance improvements to new platforms, here’s a look at what’s coming down the road for Xamarin.Forms developers.
- By Greg Shackles
Learn how providing information in available HTTP header elements can help make interactions between unrelated systems straightforward and meaningful.