New Features in C# 7

In this article, we’ll look at some of the new language features of C# 7 that will help us write cleaner, less buggy code in a shorter time. Binary literals In C# 6 we can currently represent integers in decimal or hexadecimal formats. int d = 42; int h = 0x2A; In C# 7, we […]
Read More ›

Localizing ASP.NET MVC routes/URLs

Most websites now use some form of “pretty” URL. Gone are the days of URLs that exposed the relative path structure of the server…ending in “Default.aspx”. There are many benefits to decoupling your URLs from the underlying technology. URLs should really be viewed as part of the presentation layer. They are part of the user […]
Read More ›

Face and Emotion Detection using Microsoft Cognitive Services

Microsoft Cognitive Services provide tools to help you include powerful, machine-based artificial intelligence in your applications. There are a range of APIs covering: computer vision speech recognition language understanding knowledge exploration search In this article, we’ll be looking at two APIs in the computer vision areas: Face API Emotion API The Face API allows us […]
Read More ›

Mocking an ASP.NET MVC controller using NSubstitute

I’ve found that the concept of mocking confuses some developers. It’s probably due to the fact that they usually experience the idea formally, at first—in the context of a mocking framework. Some of these frameworks are very powerful—and fairly complex. However, The basic idea is quite simple. Take the following controller public class NotificationController : […]
Read More ›

Extending Excel Functionality with an RTD Server: Part One

Part One: Accessing a Web Service Using C# In the previous installment we saw how to create a COM server for use by Microsoft Excel. We will now look at how we can use this technology to create what Excel calls a “Real-time Data”, or RTD server. An RTD server is called at regularly scheduled […]
Read More ›

Type to search blog.learningtree.com

Do you mean "" ?

Sorry, no results were found for your query.

Please check your spelling and try your search again.