Master all the essential skills required to develop professional web apps using ASP.NET family of technologies. Instructor-led online training courses with lots of guided hands-on examples and demos. Carefully crafted course content for working professionals. Private coaching for selected individuals and small groups. Click here to know more.

Latest Articles

Integrate IdentityServer with ASP.NET Core (Part 2 - Web API)
In the previous part of this series you created IdentityServerDemo.Server project and also added IdentityServer configuration. In this part we will first create the Employees Web API. Then we will configure the Web API project to use JWT issued by the authorization server. Finally, we will invoke the Web API using Postman and HttpClient.
Posted On : 10 Aug 2020
Integrate IdentityServer with ASP.NET Core (Part 1 - Server Configuration)
IdentityServer is an implementation of OpenID Connect and OAuth2 specifications that ASP.NET Core developers can use to secure their applications and APIs. Beginners often find it bit tricky to setup and configure the applications to use this popular framework. To that end this article series attempts to provide a quick tour of setup and configuration required to put IdentityServer to use. I am not going to explain the basic OAuth2 and OpenID Connect terminology here. A lot of good resources are available on the internet explaining those basics. You can also go through the IdentityServer documentation to familiarize yourself with the framework.
Posted On : 03 Aug 2020
Fluent interface and method chaining in C# for beginners
As a C# developer you expose functionality using classes and objects. Many a times the code required to accomplish a task using these classes and objects tends to be complex. In an attempt to reduce this complexity you might want to device a technique that makes your code more readable and natural. That is where Fluent Interface and Method Chaining can be useful. The remainder of this article discusses these techniques with simple examples. My aim is to quickly introduce you to these concepts. So, the examples are kept simple rather than building a full-fledge example.
Posted On : 20 Jul 2020
Various ways of redirecting a request in ASP.NET Core
ASP.NET Core web applications often need to redirect a request to another resource based on some condition. There are multiple ways in which you can accomplish this task in ASP.NET Core MVC and Razor Pages. To that end this article discusses them with examples.
Posted On : 05 Jul 2020
Dealing with JSON serialization and camel casing in ASP.NET Core
ASP.NET Core Web APIs and controllers often need to serialize JSON data to JavaScript clients. On the server side your C# classes typically use Pascal Casing to name properties whereas JavaScript code often uses Camel Casing for property names. Therefore it would be worthwhile to take a quick look at how ASP.NET Core serializes data in JSON format from Web API and MVC controllers.
Posted On : 15 Jun 2020
Use Generics in TypeScript
In the previous part of this article and video series you learned about various types of decorators. Continuing our learning further this part discusses how generics can be utilized in TypeScript. If you are a C# developer chances are you already know generics. You can use that concept in TypeScript also. To that end this article discusses a few examples that show how to put generics to use in TypeScript classes and methods.
Posted On : 01 Jun 2020
Create property and method decorators in TypeScript
In the previous part of this article and video series you were introduced to TypeScript decorators. You know that decorators come in different flavors such as class, property, method, accessor, and parameter decorators. You also learned to create class decorators. Continuing our learning further this part shows you how to create property and method decorators.
Posted On : 25 May 2020
Create class decorators in TypeScript
In the previous part of this article and video series you learned about TypeScript inheritance. In this article you will learn about a feature of TypeScript that allows you to annotate and modify classes and class members. This feature is called Decorators. Decorators is an experimental feature and you need to enable them in your TypeScript configuration file. You will find TypeScript decorators analogous to C# attributes in that they form the metadata of a class and class members.
Posted On : 18 May 2020
Use inheritance, abstract classes, and polymorphism in TypeScript
Object oriented programming languages such as C# allow you to inherit functionality from base class. TypeScript also offers inheritance capabilities so that your classes can inherit from other classes. TypeScript doesn't support multiple inheritance (although your class can implement multiple interfaces). You can also create abstract classes - classes that can't be instantiated on their own; they must be inherited in other classes. In this article you will learn all these aspects of TypeScript inheritance.
Posted On : 04 May 2020
TypeScript class for UI callback functions and the Web API
In the previous part of this article and video series you developed a TypeScript class that invokes an ASP.NET Core Web API using XMlHttpRequest object. Recollect from the previous part that the EmployeeApiClient class expects a few callback functions. These callback functions receive the response returned by the Employees Web API and display it on to the web page. In this part you will create another TypeScript class that houses those callback functions. You will also create the Employees Web API that performs the CRUD operations. Finally, you will test the functioning of both the TypeScript classes (and the Employees Web API) by calling their methods from a web page.
Posted On : 27 Apr 2020

Tag Cloud

.NET Framework Administration ADO.NET AJAX AngularJS Architecture ASP.NET ASP.NET Core C# Components Configuration Custom Controls Data Access Data Controls Deployment HTML5 JavaScript jQuery LINQ Multithreading MVC Performance Programming Languages Projects Reviews Sample Applications Security Server Controls SQL Server User Controls Utilities VB.NET Visual Studio WCF Web Forms Web Services Windows Windows Forms XML


Subscribe to our newsletter

Get monthly email updates about new articles, tutorials, code samples, and how-tos getting added to our knowledge base.

  

Receive Weekly Updates