January 2018 : Instructor-led Online Course in ASP.NET Core 2.0. Conducted by Bipin Joshi. Read more...
Online Courses in ASP.NET MVC, ASP.NET Core, and ASP.NET Design Patterns
Learn ASP.NET MVC, ASP.NET Core and ASP.NET Design Patterns from the comfort of your home. Online courses conducted by Bipin Joshi. Small batches, real world examples, convenient weekend timings. Read more details here.

Latest Articles

Use BindProperty Attribute for Model Binding to Properties
Model binding allows you map request parameters to actions. This means action methods will have one or more parameters and those parameters will receive their values from the model binding framework. Model binding can be performed to simple types as well as complex types. In ASP.NET Core 2.0 you can perform model binding to properties in addition to action parameters. This article explains how.
Posted On : 04 Dec 2017
Seed Users and Roles Data in ASP.NET Core Identity
ASP.NET Core identity allows you to implement authentication and authorization for your web applications. While working with ASP.NET Core Identity at times you need to create default user accounts and roles in the system. In ASP.NET MVC you could have easily done this in Global.asax and Application_Start event handler. In ASP.NET Core the process is bit different since the application startup process is different. To that end this article explains a way to seed such user and roles data in your applications.
Posted On : 27 Nov 2017
Drag-n-Drop File Upload in ASP.NET Core
In one of my earlier articles I discussed how to upload files using full page post-back as well as Ajax post-back. Usually developers use the file input field to select one or more files to be uploaded from the client machine. However, you can also HTML5 drag-n-drop to make it easy for the end user to pick files directly from Windows explorer. To that end this article shows how to implement just that.
Posted On : 20 Nov 2017
Convert XML data to JSON and return it from Web API
Recently I stumbled upon a situation where a large number of XML documents needed to be returned from ASP.NET Web API. This sounds like a straightforward task but there was a small twist to the story. The XML documents existed as physical disk files. The Web API should read these files and convert the XML data into JSON. This was needed because the client applications were designed to handle only JSON format. Here I discuss a quick way to accomplish this task.
Posted On : 13 Nov 2017
Accept / Reject File Upload Depending Upon XML Schema Validation
Recently I came across such an application where the end users are required to upload XML files from their machine onto the server. Uploading the file is a quite straightforward thing but in this case it was also required to validate these uploaded files against an XML schema (XSD).
Posted On : 07 Nov 2017
Integrate reCaptcha V2 in ASP.NET Applications (Web Forms / MVC / Core)
If you are running any website that makes use of Google's reCAPTCHA for keeping bots and automated scripts away, you are probably aware that version 1.0 is being phased out. That means you need to integrate version 2.0 into your websites. To that end this article explains how to do just that. I use ASP.NET MVC project to illustrate the integration process but the same applies even for ASP.NET Web Forms and ASP.NET Core applications.
Posted On : 30 Oct 2017
Invoke ASP.NET Web API using TypeScript and XMLHttpRequest
Invoking Web API is a quite common task in modern ASP.NET web applications. Usually, developers resort to jQuery Ajax to call the Web API. If you are using a client side framework such as Angular, you may also use the inbuilt ways to make the Ajax calls. However, what if you aren't using these approaches? This article discusses an alternative.
Posted On : 16 Oct 2017
Prepare ASP.NET projects (Web Forms / MVC / Core) to use Angular 4
As as ASP.NET developer working with latest trends you might want to use Angular 4 in your projects. Unlike libraries such as jQuery, Angular 4 is a framework and there are quite a few steps involved before you actually start utilizing its powerful features. To that end this article explains the steps necessary to prepare your ASP.NET projects to use Angular 4. We will discuss the process for all the three flavors of ASP.NET available today - ASP.NET Web Forms, ASP.NET MVC and ASP.NET Core.
Posted On : 25 Sep 2017
Use XML Data Format In ASP.NET Web API
Modern web application use JSON as the preferred data format for the sake of transferring data between a Web API and its client. However, at times you may want to use XML data format instead of JSON. Although the overall process to accomplish this task is same, there are certain subtle but important differences. To that end this article shows how XML data exchange can be done between an ASP.NET Web API and a jQuery driven client.
Posted On : 18 Sep 2017
Encode HTML, JavaScript, and URL Query Strings In ASP.NET Core
When a web page accepts an input from the end user it can also include malicious data consisting of special characters, HTML tags, JavaScript code and the things like that. As a safety measure you should encode such data before displaying it back on to a page or while passing through URL query strings. To that end ASP.NET Core providers three encoder classes that help you accomplish just that. This article discuses how these classes can be used to encode HTML markup, JavaScript code and URL query strings.
Posted On : 04 Sep 2017

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