Deploy Angular App to IIS

Steps 1. Before deploying angular app to IIS, don’t forget to download IIS URL Rewrite module. This will solve Angular app’s route problems. 2. When you deploy angular app to IIS server, type the command below in cmd console ng build –base-href “/AngularTest/” –prod(you can use any other name other than AngularTest). If the command

Deploy Angular App to IIS Read More »

SQL SERVER GENERATE SCRIPTs

SQL SERVER has GENERATE SCRIPT command can export vendor’s database schema and data to the client’s SQL SERVER. Besides, GENERATE SCRIPT also provides various customized options. For example, you can check whether the client’s SQL Server already has the same schema table compared to the vendor’s. You can also choose whether you just want to

SQL SERVER GENERATE SCRIPTs Read More »

C# Record

After .net 5 came up, a new C# 9 mechanism called Record has drawn C# developer much attention. Record has both Reference Type and Value Type features. It is used to store data like struct, however as it is Reference Type, it has behaviors like encapsulate and inheritance. Hence we can use record to store

C# Record Read More »

Can’t Set Registry Key and Value, Want a solution?

Registry is windows built-in hierarchical database which stores computer system information. We can modify or insert registry value by hand-on or through programming language. For example in C#, we can use Microsoft.Win32.Registry to set Registry’s key and value,. However, sometimes we cannot Set Registry’s key and value perhaps due to permission problem. Another reason is

Can’t Set Registry Key and Value, Want a solution? Read More »

Custom View Engine

In ASP.NET MVC, every controller can have multiple Action functions and each Action’s result is likely to be View. View Engine does the view render task. We will look the whole View Result Execution Process first. The diagram above shows the framework will choose the default View path to run. If it does not find

Custom View Engine Read More »

IndexedDB

        Modern browser provides many client-side storage options. For example, the early times’ cookie or web storage which came out after HTML5. Nevertheless, none of these two methods can store large amount of data. This results in one another client-side storage method becoming essential in some conditions – that is IndexedDB. IndexedDB is like NoSql,

IndexedDB Read More »

OData Protocol

OData Protocol (Open Data Protocol) was released by Microsoft in 2007. The current version has been upgraded to 4.0. Now OASIS (Organization for the Advancement of Structured Information Standards) has approved this protocol standard. OData is based on REST principle to offer HTTP CRUD service. This protocol also provides special query language expression to help

OData Protocol Read More »