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.
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.
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.
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
- 08/15/2017
From performance improvements to new platforms, here’s a look at what’s coming down the road for Xamarin.Forms developers.
- By Greg Shackles
- 08/10/2017
Learn how providing information in available HTTP header elements can help make interactions between unrelated systems straightforward and meaningful.
Squash the dangers lurking in your SQL queries by setting parameters by way of parameterized queries.
Test, test and test again. You can automate those tests with a TestServer-based Web app that doesn't even touch the Web server.
- By Jason Roberts
- 07/27/2017
Playing around with Apple's Core Image imaging technology, using some simple C# code to perform facial recognition and apply filters to photos.
- By Wallace McClure
- 07/26/2017
Part 2: Now that we've nailed down the serverless compute concepts, we'll use a handful of online tools to develop Azure Functions.
- By Joseph Fultz, Darren Brust
- 07/21/2017
James McCaffrey uses cross entropy error via Python to train a neural network model for predicting a species of iris flower.
- By James McCaffrey
- 07/20/2017
The cloud has enabled some incredible innovation, like serverless compute, which is transforming the way we build applications for the cloud. We dive into serverless concepts and explore how they are supported by Azure Functions.
- By Joseph Fultz, Darren Brust
- 07/17/2017
Get Visual Studio to be more helpful when you're working with HTML.
Here's how to use Angular2 and TypeScript to retrieve JSON objects from an ASP.NET MVC controller and populate your page with the results.
When something goes wrong with your Web Service the decent thing to do is to return your errors in a variety of ways.
You like the idea of an AJAX application, but would rather not write the JavaScript yourself. You're in luck: ASP.NET MVC provides two tools that write the client-side code for you. And these tools even make sense if you’re comfortable with writing your own JavaScript.
You don't need to write tons of JavaScript code to create a JavaScript-friendly MVVM app. Let DotVVM can take over. Here's a basic tutorial for developing with it.
- By Tomáš Herceg
- 06/27/2017
C# finally gets the BASIC GOSUB feature through local functions, but local functions take that GOSUB-like capability up a few notches.
Sensibly, ASP.NET MVC 5 prevents users from entering HTML or Script tags into your page's textboxes, protecting you from a wide variety of hacks. However, for those rare occasions when you do need to let the user enter tags, here's how to do it.
Wally shows you how to use Xamarin.iOS to create a pedometer app for a Fitbit that employs the CoreMotion Framework.
- By Wallace McClure
- 06/20/2017
You don't have to resort to writing C++ to work with popular machine learning libraries such as Microsoft's CNTK and Google's TensorFlow. Instead, we'll use some Python and NumPy to tackle the task of training neural networks.
- By James McCaffrey
- 06/15/2017
The .NET Framework gives you three different ways to call a Web Service. However, depending on your scenario, the latest and greatest object isn’t necessarily your best choice.