Skip to main content

David Hwang

David Hwang is an Associate Technical Consultant in the Sitecore/Microsoft Business Unit. He will be blogging about various concepts in technologies for beginners.

Blogs from this Author

Istock 636932704 (2)

Setting Cookies Globally Across All Controllers in .NET MVC

If you are looking to set the value of the cookies across all the controllers, you can use action filters and apply them on controllers. Action filters contain logic that will be implemented before or after a controller action is executed. They can be applied to an individual action method or the entire controller. I […]

Customer Intelligence

Rebasing Changes in Visual Studio

In this blog post, I will briefly describe the concept of rebasing and go over how it is done in Visual Studio.   Merging vs. Rebasing When you are merging branches, you simply merge the latest dev branch into your current feature branch as shown in the diagram below. Unlike merging, rebasing “re”-bases the feature […]

Place Of Work

How To Set Up .NET Core Web App With React & TypeScript

If you are trying to build a .NET Core Web Application with React.js, there is a template that you can create your project with in Visual Studio. However, if you want to incorporate Typescript in your application, there are a few extra steps that you have to take. This blog post is possible thanks to […]

Digital Process Automation

How to Generate .DACPAC File in Your Build Artifact for Azure SQL Deployment

You’d have to run the Azure SQL DacpacTask in your Release Pipeline to continuously deploy your database to Azure SQL. However, if your .dacpac file is not recognized in your build artifact during the DacpacTask, you have to manually add some lines in your Build Pipeline. NOTE: I’d already deployed our local database to Azure […]

data tables on computer

How to Deploy Your Local SQL Database on Azure SQL

I will be going over how you can export your local SQL Database to Azure SQL within SSMS. If you have not created your SQL server and database on Azure, here is a tutorial I found on Youtube that guides you through the process. Open your SQL Sever Management Studio and enter the Azure SQL […]

Man Working At His Computer

Adding a Database Project to a .NET MVC Framework Web Application

For an updated tutorial with GIFs, click here. We are going to be continuing from where we left off in the last post. If you are trying to follow along and want to take a look at how I set up the folder structure, click here. Overview Create a SQL server database project and configure the […]

Red Hat - Power Innovation with Azure Red Hat OpenShift

How to Host Your Project Using Azure Build & Release Pipelines (GIFs included)

If you have a project in your repository that you want to host on the web, running the build and release pipelines on Azure is one way to go. Although configuring them is super easy, the process itself is not very intuitive especially the first time you encounter it because what each pipeline does is […]

1600x600 Keyboard

Dynamically Set Connection Strings in Web.Config

If you are struggling to set up the web.config files upon hosting your web application, here is a solution to how you can configure your Web.Debug.config and Web.Release.config file so that your application runs dynamically on both the dev and prod environments.   Web.Config Leave the original web.config file as it is. Make sure you […]

Hands typing at keyboard

Configuring Web.config to Redirect to Azure Website Instead of Localhost

If you have created your App Service on Azure but it redirects to a localhost instead of the Azure website URL upon authentication, there are some changes you will have to make in your Web.config file. In our example, we will be using Microsoft.Owin.Security.OpenIdConnect library for authentication (Azure AD). We are using .NET Framework 4.7.2 […]

Typing on laptop

.NET MVC Framework – Async Calling DbContext In a Controller Using a Provider Class

Click here for an updated post explained with GIFs. Now that we have the database in our SQL Server Project a DbContext, how do we pass the data to the view? We can construct asynchronous methods in a provider class to call the data in the controller. Before we move on, if you don’t have […]

Andes Blog 600x400

.NET MVC Framework – Publish Database and Reverse Engineer

Welcome to Part 2 of the tutorial! Now that we have the table, scripts, and post-deployment scripts from Part 1, we are going to publish the table to our local server, reverse engineer to create the Dbcontext, and add other components like providers and models (DTOs and View Models). Details Publish Database and Reverse Engineer […]

Why Sitecore Developers Choose Perficient for jobs

Database-First EF Setup on VS .NET MVC Framework – Initial Folder Structure

Click here to read an updated post explaining the folder structure setup using GIFs. Before you begin reading, keep in mind that this tutorial is designed for beginners. As such, it covers every step without skipping parts that might be obvious to some. This tutorial is made possible thanks to Josh Kostal, who taught me […]

Load More