Integrating Redis Cache with .NET Core 3.1 ASP.NET MVC
November 9, 2022
This tutorial is adapted from the Web Age course https://www.webagesolutions.com/courses/WA3204-introduction-to-kafka-for-c-developers.
In this tutorial, you will integrate Redis Cache with .NET Core 3.1 ASP.NET MVC.
Here is the overall architecture.
Creating an ASP.NET Core MVC Kafka Client
November 7, 2022
This tutorial is adapted from the Web Age course https://www.webagesolutions.com/courses/WA3204-introduction-to-kafka-for-c-developers.
In this tutorial, you will add Kafka support to an existing ASP.NET .NET Core MVC 3.1 application. The website will allow user registration. Each user registration request will be sent to a Kafka topic named user-registration.
Working with GitLab.com
August 29, 2022
Author: Kevin Clements
This tutorial is adapted from the Web Age course https://www.webagesolutions.com/courses/WA3212-ci-cd-with-gitlab.
In this tutorial, you will connect to GitLab website and run through creating a new Project.Part 1 – Connect to GitLab
In this part, you will install the latest version of from git-scm.com and update git.
1. O
Using PolyBase in SQL Server
May 27, 2022
1.1 Understanding PolyBase
PolyBase enables a SQL Server instance to query data with T-SQL directly from SQL Server, Oracle, Teradata, MongoDB, Hadoop clusters, and Cosmos DB. Separate installation of client connection software is not needed. You can also use the generic ODBC connector to connect to additional providers using third-party ODBC drivers. PolyBase allows T-SQL queries to join the data from external sources to relational tables in an instance of SQL Server.<
Azure Cloud Automation Overview
February 11, 2022
1.1 The Infrastructure-As-Code PracticeIn the Infrastructure-as-Code practice, you define the infrastructure (that needs to be deployed in support for your solution) declaratively in code using some sort of domain-specific language (DSL)Azure cloud’s Resource Manager templates (ARM templates) are infrastructure-as-code declarative configuration files written in JSON; we w
Exception handling in ASP.NET MVC applications
February 27, 2016
For exception handling we have been using try..catch..finally block since forever in various languages. In this blog we will see how to handle the unhandled exceptions in ASP.NET MVC. Unhandled exceptions are the exceptions that are not handled using try..catch..finally block. For handling unhandled exceptions or for creating a global exception handler we have to perform following steps:
1. In web.config add following line in the system.web section
<customErrors mode=”RemoteOnly”><
Creating custom HTML helper functions in ASP.NET MVC
February 27, 2016
ASP.NET MVC provides several HTML helper functions that generates HTML automatically. E.g. Html.TextBox, Html.CheckBox etc. We can also create our own custom helper functions as well. For creating HTML functions following steps have to be performed:
1. Create a static class
2. Add a static method that returns either string or MvcHtmlString
3. First Parameter should use this and it should be of type HtmlHelper. HtmlHelper is the class to which we are essentially adding an
New SharePoint CSOM version released for SharePoint Online
February 27, 2016
SharePoint supports two main development / deployment techniques for creating SharePoint projects: Server Object Model and Client-Side Object Model. If you plan on doing development for the hosted version of SharePoint, i.e. Office 365 / SharePoint Online, then you CSOM is the only option. A new SharePoint CSOM has been been released for SharePoint Online / Office 365. It also allows development for Project Online (hosted Project Server). It can be downloaded using “Manage NuGet Packages” option in Visua
SharePoint Server 2016 RC is now available
February 27, 2016
Both SharePoint 2016 and Project Server 2016 Release Candidate are not available. SharePoint 2016 RC is mostly feature complete and it’s now safe enough to evaluate it to get an overall picture of the final product. If you have older Beta 2 then it can be upgraded to RC.
If you have InfoPath 2013 and SharePoint Designer 2013 then they will continue to work with SharePoint 2016. Both will be supported for the duration of SharePoint 2016’s support lifecycle.
You can read about the prominent c
SQL Server 2016 includes R Language
January 4, 2016
SQL Server 2016 should hit RTM sometime later this year. It includes several new features. You can read about some of the new features in my previous blog posts:
JSON support in SQL Server 2016
SQL Server 2016
SQL Server 2016 also includes the R language for statistical computing and graphics. Here are some more details on the topic:
Object Oriented Programming: JavaScript vs TypeScript in Visual Studio 2015
January 4, 2016
JavaScript has been the defacto web language for a very long time. It’s used for implementing client-side validation, animation, DOM manipulation, AJAX and for several other reasons. Developers have been using JavaScript in one form or other: e.g. plain vanilla JavaScript, jQuery, AngularJS etc. OOP in JavaScript is quite different than other languages, say C++/Java/C# etc. Here’s an example of a simple class in JavaScript:
Generating Class(es) from JSON in Visual Studio
January 4, 2016
JSON is a very popular lightweight data-interchange format. Visual Studio makes it very easy to generate class / classes out of JSON. Say, we have the following JSON available: {
"players": {
Changes in SharePoint 2016
January 4, 2016
SharePoint 2016 is due later this year. It includes several changes based on the available preview version. Here are some of the prominent changes: (Note: they could change by the time the final version becomes available)1. 5,000 List View Threshold limit
Technically, SharePoint 2013 allows 30 million items per list. But, OOB, as far as end-users are concerned it enforces 5,000 item limit since querying a large number of items from SQL