Skip to content

Software Development News: .NET, Java, PHP, Ruby, Agile, Databases, SOA, JavaScript, Open Source

Methods & Tools

Subscribe to Methods & Tools
if you are not afraid to read more than one page to be a smarter software developer, software tester or project manager!

.NET

Injecting Services Into Views

ASP.NET News - Thu, 03/10/2016 - 08:00
ASP.NET MVC 6 supports dependency injection into views. This can be useful for view-specific services, such as localization or data required only for populating view elements. You should try to m...
Categories: .NET

Password Hashing

ASP.NET News - Thu, 03/10/2016 - 08:00
The data protection code base includes a package Microsoft.AspNet.Cryptography.KeyDerivation which contains cryptographic key derivation functions. This package is technically its own standalone com...
Categories: .NET

Limiting identity by scheme

ASP.NET News - Thu, 03/10/2016 - 08:00
In some scenarios, such as Single Page Applications it is possible to end up with multiple authentication methods, cookie authentication to log in and bearer authentication for javascript request. I...
Categories: .NET

Installing ASP.NET 5 On Windows

ASP.NET News - Wed, 03/09/2016 - 08:00
This page shows you how to install ASP.NET 5 on Windows. To run ASP.NET 5 apps on IIS, see Publishing to IIS . In this article: Install ASP.NET 5 with Visual Studio Install ASP.NET ...
Categories: .NET

View Based Authorization

ASP.NET News - Sun, 03/06/2016 - 08:00
Often a developer will want to show, hide or otherwise modify a UI based on the current user identity. You can access the authorization service within MVC views by injecting it. To inject the author...
Categories: .NET

ASP.NET 5 on Nano Server

ASP.NET News - Wed, 03/02/2016 - 08:00
Attention This tutorial uses a pre-release version of the Nano Server installation option of Windows Server Technical Preview 4. You may use the software in the virtual hard disk image only to ...
Categories: .NET

Editor's Note - Chasing Fogbank

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:07
What happens when technical knowledge is lost? The United States government found out when it realized that it had lost the formula to a critical component for its nuclear stockpile. Are there lessons here for the software world?
Categories: .NET

Upstart - The Gift of Anger

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:06
It's time to embrace your inner idiot, says Krishnan Rangachari. Rather than gnash your teeth at dim-witted colleagues, he says its time to realize that everyone has a thick side.
Categories: .NET

Cutting Edge - The Query Stack of a CQRS Architecture

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:05
In the implementation of a modern query stack, the LINQ language backed in the .NET Framework is immensely helpful. Dino Esposito goes through a possible implementation of a read stack where the storage is designed to be close to the organization of data required by the presentation.
Categories: .NET

Visual Studio - Debugging Improvements in Visual Studio 2015

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:05
Visual Studio 2015 included a large number of improvements for debugging everyday problems. In this article we’ll take a tour of what’s new and how you can be more productive than ever debugging complex problems
Categories: .NET

Compilers - Managed Profile-Guided Optimization Using Background JIT

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:04
Background JIT is an optimization technique for managed code that can boost performance by as much as 50 percent and requires little effort to use. This article explores how to use the technology to best effect.
Categories: .NET

C# - Discrete Event Simulation: A Population Growth Example

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:03
Discreet event simulation (DES) models a system or process as an ordered sequence of individual events over time, from the time of one event to the time of the next event. This article show how to use C# to create a DES for modeling the growth of a population.
Categories: .NET

Python - Introduction to SciPy Programming for C# Developers

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:02
James McCaffrey takes you on a quick tour of programming with SciPy, then walks you through a representative program that uses SciPy to solve a system of linear equations, in order to demonstrate similarities and differences with C# programming.
Categories: .NET

Test Run - Neural Network Regression

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:02
Neural network regression is arguably the most powerful form of regression. If you want to explore this potent tool for predicting the values of certain variables based on one or more independent variables, James McCaffrey helps get you get up and running.
Categories: .NET

The Working Programmer - How To Be MEAN: Robust Validation with MongooseJS

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:01
How to validate with MongooseJS, a software layer that sits on top of MongoDB and provides not only a schema-like, language-verified validation layer, but also an opportunity to build a layer of “domain object.”
Categories: .NET

Modern Apps - Parsing CSV Files in UWP Apps

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 02:00
Excel’s implementation of CSV import and export has become the de-facto standard. While most CSV files will fall in line with Excel’s implementation, not every file will. Frank La Vigne introduces a strategy to handle such uncertainty.
Categories: .NET

Don't Get Me Started - The Internet of Invisible Things

MSDN Magazine RSS Feed - Wed, 03/02/2016 - 01:58
Cortana will be at its best when we hardly notice it at all. As Harry Shum, director of Microsoft Research, put it recently: “Any sufficiently advanced technology is invisible."
Categories: .NET

Adding Search

ASP.NET News - Mon, 02/29/2016 - 08:00
Adding a Search Method and Search View In this section you’ll add search capability to the Index action method that lets you search movies by genre or name. Updating Index ¶ Start by...
Categories: .NET

Publishing to IIS

ASP.NET News - Mon, 02/29/2016 - 08:00
Install the HTTP Platform Handler Publish from Visual Studio Deploy to IIS server IIS server configuration Supported operating systems Common errors Additional Resourc...
Categories: .NET

Adding Validation

ASP.NET News - Mon, 02/29/2016 - 08:00
In this this section you’ll add validation logic to the Movie model, and you’ll ensure that the validation rules are enforced any time a user attempts to create or edit a movie usin...
Categories: .NET